| /linux/arch/x86/kernel/apic/ |
| H A D | init.c | 15 DEFINE_STATIC_CALL_NULL(apic_call_##__cb, *apic->__cb) 41 apic->__cb = __x86_apic_override.__cb 62 static_call_update(apic_call_##__cb, *apic->__cb) 86 apic->native_eoi = apic->eoi; in apic_setup_apic_calls() 91 void __init apic_install_driver(struct apic *driver) in apic_install_driver() 93 if (apic == driver) in apic_install_driver() 96 apic = driver; in apic_install_driver() 98 if (IS_ENABLED(CONFIG_X86_X2APIC) && apic->x2apic_set_max_apicid) in apic_install_driver() 99 apic->max_apic_id = x2apic_max_apicid; in apic_install_driver() 102 if (!apic->native_eoi) in apic_install_driver() [all …]
|
| H A D | apic_flat_64.c | 32 static struct apic apic_physflat __ro_after_init = { 67 struct apic *apic __ro_after_init = &apic_physflat; 68 EXPORT_SYMBOL_GPL(apic);
|
| H A D | x2apic_cluster.c | 111 u32 apicid = apic->cpu_present_to_apicid(cpu_i); in prefill_clustermask() 147 u32 apicid = apic->cpu_present_to_apicid(cpu_i); in alloc_clustermask() 178 u32 phys_apicid = apic->cpu_present_to_apicid(cpu); in x2apic_prepare_cpu() 227 static struct apic apic_x2apic_cluster __ro_after_init = {
|
| H A D | probe_64.c | 19 struct apic **drv; in x86_64_probe_apic() 33 struct apic **drv; in default_acpi_madt_oem_check()
|
| H A D | Makefile | 10 obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_common.o apic_noop.o ipi.o vector.o init.o
|
| H A D | x2apic_uv_x.c | 57 static struct apic apic_x2apic_uv_x; 750 return apic == &apic_x2apic_uv_x; in uv_probe() 753 static struct apic apic_x2apic_uv_x __ro_after_init = {
|
| H A D | vector.c | 136 apicd->hw_irq_cfg.dest_apicid = apic->calc_dest_apicid(cpu); in apic_update_irq_cfg()
|
| /linux/arch/x86/xen/ |
| H A D | apic.c | 14 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) in xen_io_apic_read() argument 19 apic_op.apic_physbase = mpc_ioapic_addr(apic); in xen_io_apic_read() 29 return apic << 24; in xen_io_apic_read() 113 static struct apic xen_pv_apic __ro_after_init = {
|
| /linux/arch/x86/include/asm/ |
| H A D | io_apic.h | 162 extern unsigned int native_io_apic_read(unsigned int apic, unsigned int reg); 165 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) in io_apic_read() argument 167 return x86_apic_ops.io_apic_read(apic, reg); in io_apic_read()
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | amd.c | 402 static bool lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid() argument 414 if (apic < 0) { in lvt_off_valid() 421 if (apic != msr) { in lvt_off_valid() 424 b->cpu, apic, b->bank, b->block, b->address, hi, lo); in lvt_off_valid()
|
| /linux/lib/zstd/common/ |
| H A D | cpu.h | 139 D(apic, 9)
|
| /linux/arch/x86/platform/uv/ |
| H A D | uv_irq.c | 39 entry->dest_mode = apic->dest_mode_logical; in uv_program_mmr()
|
| /linux/arch/x86/kvm/ |
| H A D | trace.h | 666 TP_PROTO(struct kvm_lapic *apic, int vector), 667 TP_ARGS(apic, vector), 675 __entry->apicid = apic->vcpu->vcpu_id; 683 TP_PROTO(struct kvm_lapic *apic, int vector), 684 TP_ARGS(apic, vector), 692 __entry->apicid = apic->vcpu->vcpu_id;
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_crash.c | 396 apic->send_IPI_allbutself(NMI_VECTOR); in hv_crash_stop_other_cpus()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | mshyperv.c | 430 apic->wakeup_secondary_cpu_64 = hv_snp_boot_ap; in hv_smp_prepare_cpus()
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | msr.rst | 318 injection. Value of 1 means that guest can skip writing EOI to the apic 336 whether it can skip EOI apic write and between guest
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | Makefile.kvm | 23 LIBKVM_x86 += lib/x86/apic.c
|
| /linux/arch/x86/events/amd/ |
| H A D | core.c | 1340 .apic = 1,
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 4426 if (!vcpu->arch.apic->apicv_active) in vmx_deliver_posted_interrupt() 4433 void vmx_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in vmx_deliver_interrupt() argument 4436 struct kvm_vcpu *vcpu = apic->vcpu; in vmx_deliver_interrupt() 4439 kvm_lapic_set_irr(vector, apic); in vmx_deliver_interrupt() 5003 __pa(vmx->vcpu.arch.apic->regs)); in init_vmcs() 8369 struct kvm_timer *ktimer = &vcpu->arch.apic->lapic_timer; in vmx_set_hv_timer()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm.c | 33 #include <asm/apic.h> 3904 * apic->apicv_active must be read after vcpu->mode. in svm_fixup_nested_rips() 3910 if (!READ_ONCE(vcpu->arch.apic->apicv_active)) { in svm_complete_interrupt_delivery() 3934 static void svm_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in svm_complete_interrupt_delivery() 3937 kvm_lapic_set_irr(vector, apic); in svm_complete_interrupt_delivery() 3947 svm_complete_interrupt_delivery(apic->vcpu, delivery_mode, trig_mode, vector); in svm_deliver_interrupt() 3944 svm_deliver_interrupt(struct kvm_lapic * apic,int delivery_mode,int trig_mode,int vector) svm_deliver_interrupt() argument
|
| /linux/arch/x86/events/ |
| H A D | perf_event.h | 880 int apic; 884 int apic; global() member
|
| /linux/drivers/iommu/amd/ |
| H A D | iommu.c | 3762 apic->dest_mode_logical, irq_cfg->vector, in irq_remapping_prepare_irte() 4099 entry->lo.fields_remap.dm = apic->dest_mode_logical; in amd_iommu_deactivate_guest_mode()
|
| H A D | init.c | 2442 xt.dest_mode_logical = apic->dest_mode_logical; in intcapxt_unmask_irq()
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 73 0x1, 0, edx, 9, apic , APIC on-chip 703 0x80000001, 0, edx, 9, apic , APIC on-chip
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 25 #include <asm/apic.h> 6682 .apic = 1, 6736 .apic = 1, in intel_clovertown_quirk()
|