/linux-6.3-rc2/arch/x86/kvm/ |
A D | ioapic.c | 218 ioapic->irr &= ~mask; in ioapic_set_irq() 250 ioapic->irr |= mask; in ioapic_set_irq() 672 ioapic->irr = 0; in kvm_ioapic_reset() 674 ioapic->id = 0; in kvm_ioapic_reset() 675 memset(ioapic->irq_eoi, 0x00, sizeof(ioapic->irq_eoi)); in kvm_ioapic_reset() 690 if (!ioapic) in kvm_ioapic_init() 697 ioapic->kvm = kvm; in kvm_ioapic_init() 704 kfree(ioapic); in kvm_ioapic_init() 714 if (!ioapic) in kvm_ioapic_destroy() 722 kfree(ioapic); in kvm_ioapic_destroy() [all …]
|
A D | ioapic.h | 114 int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int irq_source_id, 116 void kvm_ioapic_clear_all(struct kvm_ioapic *ioapic, int irq_source_id);
|
A D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
A D | irq_comm.c | 42 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_set_ioapic_irq() local 43 return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, in kvm_set_ioapic_irq()
|
A D | x86.c | 6045 kvm_get_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_get_irqchip() 6074 kvm_set_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_set_irqchip()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | ioapic.c | 123 ioapic = kzalloc(sizeof(*ioapic), GFP_KERNEL); in handle_ioapic_add() 124 if (!ioapic) { in handle_ioapic_add() 129 ioapic->handle = handle; in handle_ioapic_add() 145 ioapic->pdev = dev; in handle_ioapic_add() 151 crs_res = &ioapic->res; in handle_ioapic_add() 188 if (ioapic->res.flags && ioapic->res.parent) in handle_ioapic_add() 195 kfree(ioapic); in handle_ioapic_add() 221 if (ioapic->pdev) { in pci_ioapic_remove() 239 if (acpi_unregister_ioapic(ioapic->handle, ioapic->gsi_base)) in acpi_ioapic_remove() 241 if (ioapic->res.flags && ioapic->res.parent) in acpi_ioapic_remove() [all …]
|
A D | processor_core.c | 268 struct acpi_madt_io_apic *ioapic = (struct acpi_madt_io_apic *)entry; in get_ioapic_id() local 270 if (ioapic->global_irq_base != gsi_base) in get_ioapic_id() 273 *phys_addr = ioapic->address; in get_ioapic_id() 274 *ioapic_id = ioapic->id; in get_ioapic_id()
|
A D | Makefile | 98 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
|
/linux-6.3-rc2/arch/x86/kernel/apic/ |
A D | io_apic.c | 837 if (ioapic < 0) in __acpi_get_override_irq() 885 dst->ioapic.node = src->ioapic.node; in ioapic_copy_alloc_attr() 886 dst->ioapic.is_level = src->ioapic.is_level; in ioapic_copy_alloc_attr() 887 dst->ioapic.active_low = src->ioapic.active_low; in ioapic_copy_alloc_attr() 1112 if (ioapic < 0) in mp_map_gsi_to_irq() 2338 struct ioapic *ip = &ioapics[ioapic]; in mp_irqdomain_create() 2399 int ioapic; in setup_IO_APIC() local 2918 int ioapic, pin; in mp_unregister_ioapic() local 2953 memset(&ioapics[ioapic], 0, sizeof(ioapics[ioapic])); in mp_unregister_ioapic() 2960 int ioapic; in mp_ioapic_registered() local [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/interrupt-controller/ |
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";
|
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-6.3-rc2/arch/x86/kernel/acpi/ |
A D | boot.c | 459 int ioapic; in mp_config_acpi_gsi() local 478 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_gsi() 490 int ioapic, pin; in mp_register_ioapic_irq() local 493 ioapic = mp_find_ioapic(gsi); in mp_register_ioapic_irq() 494 if (ioapic < 0) { in mp_register_ioapic_irq() 496 return ioapic; in mp_register_ioapic_irq() 525 if (BAD_MADT_ENTRY(ioapic, end)) in acpi_parse_ioapic() 534 mp_register_ioapic(ioapic->id, ioapic->address, ioapic->global_irq_base, in acpi_parse_ioapic() 1203 int ioapic, pin; in mp_config_acpi_legacy_irqs() local 1215 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_legacy_irqs() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | io_apic.h | 103 extern int mpc_ioapic_id(int ioapic); 104 extern unsigned int mpc_ioapic_addr(int ioapic); 146 extern int mp_find_ioapic_pin(int ioapic, u32 gsi);
|
A D | hw_irq.h | 85 struct ioapic_alloc_info ioapic; member
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | mpparse.c | 332 struct mpc_ioapic ioapic; in construct_ioapic_table() local 359 ioapic.type = MP_IOAPIC; in construct_ioapic_table() 360 ioapic.apicid = 2; in construct_ioapic_table() 361 ioapic.apicver = mpc_default_type > 4 ? 0x10 : 0x01; in construct_ioapic_table() 362 ioapic.flags = MPC_APIC_USABLE; in construct_ioapic_table() 363 ioapic.apicaddr = IO_APIC_DEFAULT_PHYS_BASE; in construct_ioapic_table() 364 MP_ioapic_info(&ioapic); in construct_ioapic_table()
|
A D | devicetree.c | 229 tmp.ioapic.pin = fwspec->param[0]; in dt_irqdomain_alloc()
|
/linux-6.3-rc2/arch/x86/hyperv/ |
A D | irqdomain.c | 347 device_id.ioapic.ioapic_id = (u8)ioapic_id; in hv_unmap_ioapic_interrupt() 360 device_id.ioapic.ioapic_id = (u8)ioapic_id; in hv_map_ioapic_interrupt()
|
/linux-6.3-rc2/arch/x86/platform/ce4100/ |
A D | falconfalls.dts | 34 compatible = "intel,ce4100-ioapic"; 62 compatible = "intel,ce4100-ioapic";
|
/linux-6.3-rc2/drivers/iommu/ |
A D | hyperv-iommu.c | 302 data->is_level = info->ioapic.is_level; in hyperv_root_irq_remapping_alloc()
|
/linux-6.3-rc2/include/asm-generic/ |
A D | hyperv-tlfs.h | 739 } ioapic; member
|
/linux-6.3-rc2/drivers/iommu/intel/ |
A D | irq_remapping.c | 1278 sub_handle = info->ioapic.pin; in intel_irq_remapping_prepare_irte()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | kvm.h | 131 struct kvm_ioapic_state ioapic; member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | kvm.h | 131 struct kvm_ioapic_state ioapic; member
|
/linux-6.3-rc2/drivers/iommu/amd/ |
A D | iommu.c | 3331 index = info->ioapic.pin; in irq_remapping_alloc()
|
/linux-6.3-rc2/Documentation/virt/kvm/ |
A D | api.rst | 804 On x86, creates a virtual ioapic, a virtual PIC (two PICs, nested), and sets up 905 struct kvm_ioapic_state ioapic; 930 struct kvm_ioapic_state ioapic;
|