| /linux/arch/x86/kvm/ |
| H A D | ioapic.c | 32 #include "ioapic.h" 40 static unsigned long ioapic_read_indirect(struct kvm_ioapic *ioapic) in ioapic_read_indirect() argument 44 switch (ioapic->ioregsel) { in ioapic_read_indirect() 52 result = ((ioapic->id & 0xf) << 24); in ioapic_read_indirect() 57 u32 redir_index = (ioapic->ioregsel - 0x10) >> 1; in ioapic_read_indirect() 64 redir_content = ioapic->redirtbl[index].bits; in ioapic_read_indirect() 67 result = (ioapic->ioregsel & 0x1) ? in ioapic_read_indirect() 77 static void rtc_irq_eoi_tracking_reset(struct kvm_ioapic *ioapic) in rtc_irq_eoi_tracking_reset() argument 79 ioapic->rtc_status.pending_eoi = 0; in rtc_irq_eoi_tracking_reset() 80 bitmap_zero(ioapic->rtc_status.map, KVM_MAX_VCPU_IDS); in rtc_irq_eoi_tracking_reset() [all …]
|
| H A D | i8254.h | 11 #include "ioapic.h"
|
| H A D | irq.c | 17 #include "ioapic.h" 596 kvm_get_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_get_irqchip() 625 kvm_set_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_set_irqchip()
|
| /linux/drivers/acpi/ |
| H A D | ioapic.c | 3 * IOAPIC/IOxAPIC/IOSAPIC driver 10 * Based on original drivers/pci/ioapic.c 21 #define pr_fmt(fmt) "ACPI: IOAPIC: " fmt 87 *type = "IOAPIC"; in acpi_is_ioapic() 102 struct acpi_pci_ioapic *ioapic; in handle_ioapic_add() local 111 list_for_each_entry(ioapic, &ioapic_list, list) in handle_ioapic_add() 112 if (ioapic->handle == handle) { in handle_ioapic_add() 123 ioapic = kzalloc_obj(*ioapic); in handle_ioapic_add() 124 if (!ioapic) { in handle_ioapic_add() 125 pr_err("cannot allocate memory for new IOAPIC\n"); in handle_ioapic_add() [all …]
|
| H A D | Makefile | 99 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
|
| H A D | acpi_platform.c | 28 {"ACPI000A", 0}, /* IOAPIC */
|
| /linux/arch/x86/kernel/apic/ |
| H A D | io_apic.c | 107 static struct ioapic { struct 138 static inline int mp_ioapic_pin_count(int ioapic) in mp_ioapic_pin_count() argument 140 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_ioapic_pin_count() 145 static inline u32 mp_pin_to_gsi(int ioapic, int pin) in mp_pin_to_gsi() argument 147 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi() 155 static inline struct irq_domain *mp_ioapic_irqdomain(int ioapic) in mp_ioapic_irqdomain() argument 157 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain() 180 * disable_ioapic_support() - disables ioapic support at runtime 228 pr_err("IOAPIC %d: suspend/resume impossible!\n", idx); in alloc_ioapic_saved_registers() 598 * Restore IO APIC entries which was saved in the ioapic structure. [all …]
|
| H A D | vector.c | 3 * Local APIC related interfaces to support IOAPIC, MSI, etc. 594 * Legacy vectors are already assigned when the IOAPIC in x86_vector_alloc_irqs() 676 "intel,ce4100-ioapic"); in x86_fwspec_is_ioapic() 832 /* Check whether the irq is handled by the IOAPIC */ in __setup_vector_irq() 968 * and in the worst case the ioapic irq line becomes stale. in apic_force_complete_move() 982 * able to expose this, but AFAICT the IOAPIC emulation is not in apic_force_complete_move()
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | intel,ce4100-ioapic.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-ioapic.yaml# 18 from internal sources and from an external I/O APIC (ioapic). 22 Many of the Intel's generic devices like hpet, ioapic, lapic have 32 const: intel,ce4100-ioapic 56 compatible = "intel,ce4100-ioapic";
|
| H A D | intel,ce4100-lapic.yaml | 18 from internal sources and from an external I/O APIC (ioapic). 22 Many of the Intel's generic devices like hpet, ioapic, lapic have
|
| /linux/Documentation/translations/zh_CN/core-api/irq/ |
| H A D | irq-domain.rst | 175 Device --> IOAPIC -> Interrupt remapping Controller -> Local APIC -> CPU 179 1) IOAPIC 控制器 196 IOAPIC irq_domain (manage IOAPIC delivery entries/pins)
|
| /linux/arch/x86/include/asm/ |
| H A D | hw_irq.h | 70 * @ioapic: IOAPIC specific allocation data 83 struct ioapic_alloc_info ioapic; member
|
| H A D | io_apic.h | 103 extern int mpc_ioapic_id(int ioapic); 104 extern unsigned int mpc_ioapic_addr(int ioapic); 145 extern int mp_find_ioapic_pin(int ioapic, u32 gsi);
|
| /linux/drivers/platform/x86/ |
| H A D | intel_scu_wdt.c | 37 /* IOAPIC builds identity mapping between GSI and IRQ on MID */ in tangier_probe() 41 dev_warn(&pdev->dev, "cannot find interrupt %d in ioapic\n", gsi); in tangier_probe()
|
| /linux/arch/x86/kernel/ |
| H A D | mpparse.c | 328 struct mpc_ioapic ioapic; in construct_ioapic_table() local 355 ioapic.type = MP_IOAPIC; in construct_ioapic_table() 356 ioapic.apicid = 2; in construct_ioapic_table() 357 ioapic.apicver = mpc_default_type > 4 ? 0x10 : 0x01; in construct_ioapic_table() 358 ioapic.flags = MPC_APIC_USABLE; in construct_ioapic_table() 359 ioapic.apicaddr = IO_APIC_DEFAULT_PHYS_BASE; in construct_ioapic_table() 360 MP_ioapic_info(&ioapic); in construct_ioapic_table()
|
| H A D | devicetree.c | 227 tmp.ioapic.pin = fwspec->param[0]; in dt_irqdomain_alloc() 261 for_each_compatible_node(dn, NULL, "intel,ce4100-ioapic") in dtb_ioapic_setup()
|
| /linux/drivers/iommu/ |
| H A D | hyperv-iommu.c | 164 * max cpu affinity for IOAPIC irqs. Scan cpu 0-255 and set cpu in hyperv_prepare_irq_remapping() 293 data->is_level = info->ioapic.is_level; in hyperv_root_irq_remapping_alloc()
|
| H A D | irq_remapping.c | 37 * both IOAPIC RTE as well as interrupt-remapping table entry). in irq_remapping_restore_boot_irq_mode()
|
| /linux/arch/x86/platform/ce4100/ |
| H A D | falconfalls.dts | 34 compatible = "intel,ce4100-ioapic"; 62 compatible = "intel,ce4100-ioapic";
|
| /linux/arch/x86/hyperv/ |
| H A D | irqdomain.c | 401 device_id.ioapic.ioapic_id = (u8)ioapic_id; in hv_unmap_ioapic_interrupt() 414 device_id.ioapic.ioapic_id = (u8)ioapic_id; in hv_map_ioapic_interrupt()
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_ce4100.c | 68 * PCI memmaped driver hangs the IOAPIC. in ce4100_serial_fixup()
|
| /linux/arch/x86/pci/ |
| H A D | intel_mid.c | 276 * MRST only have IOAPIC, the PCI irq lines are 1:1 mapped to in intel_mid_pci_irq_enable() 277 * IOAPIC RTE entries, so we just enable RTE for the device. in intel_mid_pci_irq_enable()
|
| H A D | xen.c | 92 name = "ioapic-edge"; in xen_register_pirq() 95 name = "ioapic-level"; in xen_register_pirq()
|
| /linux/drivers/mfd/ |
| H A D | intel_soc_pmic_mrfld.c | 24 * as a separate RTE in IOAPIC.
|
| /linux/Documentation/virt/ |
| H A D | ne_overview.rst | 61 APIC and IOAPIC - to get interrupts from virtio-vsock device. The virtio-mmio
|