| /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 | io_apic.c | 90 int apic, pin; member 264 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) in io_apic_eoi() argument 266 struct io_apic __iomem *io_apic = io_apic_base(apic); in io_apic_eoi() 271 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) in native_io_apic_read() argument 273 struct io_apic __iomem *io_apic = io_apic_base(apic); in native_io_apic_read() 279 static void io_apic_write(unsigned int apic, unsigned int reg, in io_apic_write() argument 282 struct io_apic __iomem *io_apic = io_apic_base(apic); in io_apic_write() 288 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry() argument 292 entry.w1 = io_apic_read(apic, 0x10 + 2 * pin); in __ioapic_read_entry() 293 entry.w2 = io_apic_read(apic, 0x11 + 2 * pin); in __ioapic_read_entry() [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 | apic.c | 1182 if (apic->teardown) in disable_local_APIC() 1183 apic->teardown(); in disable_local_APIC() 1404 if (apic->disable_esr) { in lapic_setup_esr() 1518 if (apic->setup) in setup_local_APIC() 1519 apic->setup(); in setup_local_APIC() 1531 if (lapic_is_integrated() && apic->disable_esr) { in setup_local_APIC() 1545 if (apic->init_apic_ldr) in setup_local_APIC() 1546 apic->init_apic_ldr(); in setup_local_APIC() 2297 msg->arch_addr_lo.dest_mode_logical = apic->dest_mode_logical; in __irq_msi_compose_msg()
|
| 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_savic.c | 390 static struct apic apic_x2apic_savic __ro_after_init = {
|
| 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 = {
|
| /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 = {
|
| H A D | Makefile | 26 obj-$(CONFIG_XEN_PV) += apic.o
|
| /linux/arch/x86/kvm/svm/ |
| H A D | avic.c | 180 if (x2avic_enabled && (!vcpu || apic_x2apic_mode(vcpu->arch.apic))) in __avic_get_max_physical_id() 216 if (x2avic_enabled && apic_x2apic_mode(svm->vcpu.arch.apic)) { in avic_activate_vmcb() 373 return __sme_set(__pa(svm->vcpu.arch.apic->regs)); in avic_get_backing_page_address() 408 vcpu->arch.apic->apicv_active = false; in avic_init_backing_page() 415 if (WARN_ON_ONCE(!vcpu->arch.apic->regs)) in avic_init_backing_page() 472 vcpu->arch.apic->irr_pending = true; in avic_kick_vcpu() 627 struct kvm_lapic *apic = vcpu->arch.apic; in avic_incomplete_ipi_interception() local 649 kvm_apic_send_ipi(apic, icrl, icrh); in avic_incomplete_ipi_interception() 657 avic_kick_target_vcpus(vcpu->kvm, apic, icrl, icrh, index); in avic_incomplete_ipi_interception() 710 flat = kvm_lapic_get_reg(vcpu->arch.apic, APIC_DFR) == APIC_DFR_FLAT; in avic_ldr_write() [all …]
|
| /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()
|
| H A D | x86_init.h | 336 unsigned int (*io_apic_read) (unsigned int apic, unsigned int reg);
|
| /linux/arch/x86/kernel/ |
| H A D | smpboot.c | 1005 if (apic->wakeup_secondary_cpu_64) in do_boot_cpu() 1051 if (apic->wakeup_secondary_cpu_64) in do_boot_cpu() 1052 ret = apic->wakeup_secondary_cpu_64(apicid, start_ip, cpu); in do_boot_cpu() 1053 else if (apic->wakeup_secondary_cpu) in do_boot_cpu() 1054 ret = apic->wakeup_secondary_cpu(apicid, start_ip, cpu); in do_boot_cpu() 1066 u32 apicid = apic->cpu_present_to_apicid(cpu); in native_kick_ap()
|
| H A D | Makefile | 114 obj-y += apic/
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_apic.c | 35 static struct apic orig_apic; 309 orig_apic = *apic; in hv_apic_init()
|
| H A D | hv_crash.c | 396 apic->send_IPI_allbutself(NMI_VECTOR); in hv_crash_stop_other_cpus()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | x86_ops.h | 51 void vmx_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, 141 void tdx_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode,
|
| /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/arch/x86/kvm/ |
| H A D | ioapic.c | 543 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_ioapic_update_eoi_one() local 559 kvm_lapic_suppress_eoi_broadcast(apic)) in kvm_ioapic_update_eoi_one()
|
| H A D | debugfs.c | 18 *val = vcpu->arch.apic->lapic_timer.timer_advance_ns; in vcpu_get_timer_advance_ns()
|
| H A D | cpuid.c | 377 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_vcpu_after_set_cpuid() local 432 if (best && apic) { in kvm_vcpu_after_set_cpuid() 434 apic->lapic_timer.timer_mode_mask = 3 << 17; in kvm_vcpu_after_set_cpuid() 436 apic->lapic_timer.timer_mode_mask = 1 << 17; in kvm_vcpu_after_set_cpuid()
|
| /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()
|