/Linux-v6.1/arch/x86/kvm/ |
D | ioapic.c | 53 struct kvm_ioapic *ioapic, 57 static unsigned long ioapic_read_indirect(struct kvm_ioapic *ioapic) in ioapic_read_indirect() argument 61 switch (ioapic->ioregsel) { in ioapic_read_indirect() 69 result = ((ioapic->id & 0xf) << 24); in ioapic_read_indirect() 74 u32 redir_index = (ioapic->ioregsel - 0x10) >> 1; in ioapic_read_indirect() 81 redir_content = ioapic->redirtbl[index].bits; in ioapic_read_indirect() 84 result = (ioapic->ioregsel & 0x1) ? in ioapic_read_indirect() 94 static void rtc_irq_eoi_tracking_reset(struct kvm_ioapic *ioapic) in rtc_irq_eoi_tracking_reset() argument 96 ioapic->rtc_status.pending_eoi = 0; in rtc_irq_eoi_tracking_reset() 97 bitmap_zero(ioapic->rtc_status.dest_map.map, KVM_MAX_VCPU_IDS); in rtc_irq_eoi_tracking_reset() [all …]
|
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);
|
D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
D | irq_comm.c | 41 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_set_ioapic_irq() local 42 return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, in kvm_set_ioapic_irq()
|
D | x86.c | 6018 kvm_get_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_get_irqchip() 6047 kvm_set_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_set_irqchip()
|
/Linux-v6.1/drivers/acpi/ |
D | ioapic.c | 101 struct acpi_pci_ioapic *ioapic; in handle_ioapic_add() local 110 list_for_each_entry(ioapic, &ioapic_list, list) in handle_ioapic_add() 111 if (ioapic->handle == handle) { in handle_ioapic_add() 122 ioapic = kzalloc(sizeof(*ioapic), GFP_KERNEL); in handle_ioapic_add() 123 if (!ioapic) { in handle_ioapic_add() 127 ioapic->root_handle = (acpi_handle)context; in handle_ioapic_add() 128 ioapic->handle = handle; in handle_ioapic_add() 129 ioapic->gsi_base = (u32)gsi_base; in handle_ioapic_add() 130 INIT_LIST_HEAD(&ioapic->list); in handle_ioapic_add() 144 ioapic->pdev = dev; in handle_ioapic_add() [all …]
|
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()
|
D | Makefile | 97 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
|
/Linux-v6.1/arch/x86/kernel/apic/ |
D | io_apic.c | 106 static struct ioapic { struct 141 static inline int mp_ioapic_pin_count(int ioapic) in mp_ioapic_pin_count() argument 143 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_ioapic_pin_count() 148 static inline u32 mp_pin_to_gsi(int ioapic, int pin) in mp_pin_to_gsi() argument 150 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi() 158 static inline struct irq_domain *mp_ioapic_irqdomain(int ioapic) in mp_ioapic_irqdomain() argument 160 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain() 831 int ioapic, pin, idx; in __acpi_get_override_irq() local 836 ioapic = mp_find_ioapic(gsi); in __acpi_get_override_irq() 837 if (ioapic < 0) in __acpi_get_override_irq() [all …]
|
/Linux-v6.1/arch/x86/kernel/acpi/ |
D | boot.c | 446 int ioapic; in mp_config_acpi_gsi() local 465 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_gsi() 466 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_config_acpi_gsi() 467 mp_irq.dstirq = mp_find_ioapic_pin(ioapic, gsi); in mp_config_acpi_gsi() 477 int ioapic, pin; in mp_register_ioapic_irq() local 480 ioapic = mp_find_ioapic(gsi); in mp_register_ioapic_irq() 481 if (ioapic < 0) { in mp_register_ioapic_irq() 483 return ioapic; in mp_register_ioapic_irq() 486 pin = mp_find_ioapic_pin(ioapic, gsi); in mp_register_ioapic_irq() 493 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_register_ioapic_irq() [all …]
|
/Linux-v6.1/arch/x86/include/asm/ |
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);
|
D | hw_irq.h | 85 struct ioapic_alloc_info ioapic; member
|
/Linux-v6.1/arch/x86/kernel/ |
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()
|
D | devicetree.c | 227 tmp.ioapic.pin = fwspec->param[0]; in dt_irqdomain_alloc()
|
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | intel,ce4100-ioapic.txt | 8 compatible = "intel,ce4100-ioapic";
|
/Linux-v6.1/arch/x86/hyperv/ |
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-v6.1/arch/x86/platform/ce4100/ |
D | falconfalls.dts | 34 compatible = "intel,ce4100-ioapic"; 62 compatible = "intel,ce4100-ioapic";
|
/Linux-v6.1/drivers/iommu/ |
D | hyperv-iommu.c | 297 data->is_level = info->ioapic.is_level; in hyperv_root_irq_remapping_alloc()
|
/Linux-v6.1/include/asm-generic/ |
D | hyperv-tlfs.h | 733 } ioapic; member
|
/Linux-v6.1/drivers/iommu/intel/ |
D | irq_remapping.c | 1285 sub_handle = info->ioapic.pin; in intel_irq_remapping_prepare_irte()
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | kvm.h | 139 struct kvm_ioapic_state ioapic; member
|
/Linux-v6.1/include/uapi/linux/ |
D | kvm.h | 139 struct kvm_ioapic_state ioapic; member
|
/Linux-v6.1/drivers/iommu/amd/ |
D | iommu.c | 3337 index = info->ioapic.pin; in irq_remapping_alloc()
|
/Linux-v6.1/Documentation/virt/kvm/ |
D | api.rst | 827 On x86, creates a virtual ioapic, a virtual PIC (two PICs, nested), and sets up 928 struct kvm_ioapic_state ioapic; 953 struct kvm_ioapic_state ioapic;
|