Home
last modified time | relevance | path

Searched refs:ioapic (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/arch/x86/kvm/
Dioapic.c54 struct kvm_ioapic *ioapic,
58 static unsigned long ioapic_read_indirect(struct kvm_ioapic *ioapic) in ioapic_read_indirect() argument
62 switch (ioapic->ioregsel) { in ioapic_read_indirect()
70 result = ((ioapic->id & 0xf) << 24); in ioapic_read_indirect()
75 u32 redir_index = (ioapic->ioregsel - 0x10) >> 1; in ioapic_read_indirect()
82 redir_content = ioapic->redirtbl[index].bits; in ioapic_read_indirect()
85 result = (ioapic->ioregsel & 0x1) ? in ioapic_read_indirect()
95 static void rtc_irq_eoi_tracking_reset(struct kvm_ioapic *ioapic) in rtc_irq_eoi_tracking_reset() argument
97 ioapic->rtc_status.pending_eoi = 0; in rtc_irq_eoi_tracking_reset()
98 bitmap_zero(ioapic->rtc_status.dest_map.map, KVM_MAX_VCPU_IDS); in rtc_irq_eoi_tracking_reset()
[all …]
Dioapic.h114 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);
DMakefile13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
Dirq_comm.c42 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()
Dx86.c6140 kvm_get_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_get_irqchip()
6169 kvm_set_ioapic(kvm, &chip->chip.ioapic); in kvm_vm_ioctl_set_irqchip()
/linux-6.6.21/drivers/acpi/
Dioapic.c102 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(sizeof(*ioapic), GFP_KERNEL); in handle_ioapic_add()
124 if (!ioapic) { in handle_ioapic_add()
128 ioapic->root_handle = (acpi_handle)context; in handle_ioapic_add()
129 ioapic->handle = handle; in handle_ioapic_add()
130 ioapic->gsi_base = (u32)gsi_base; in handle_ioapic_add()
131 INIT_LIST_HEAD(&ioapic->list); in handle_ioapic_add()
145 ioapic->pdev = dev; in handle_ioapic_add()
[all …]
Dprocessor_core.c326 struct acpi_madt_io_apic *ioapic = (struct acpi_madt_io_apic *)entry; in get_ioapic_id() local
328 if (ioapic->global_irq_base != gsi_base) in get_ioapic_id()
331 *phys_addr = ioapic->address; in get_ioapic_id()
332 *ioapic_id = ioapic->id; in get_ioapic_id()
DMakefile97 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
/linux-6.6.21/arch/x86/kernel/apic/
Dio_apic.c107 static struct ioapic { struct
142 static inline int mp_ioapic_pin_count(int ioapic) in mp_ioapic_pin_count() argument
144 struct mp_ioapic_gsi *gsi_cfg = mp_ioapic_gsi_routing(ioapic); in mp_ioapic_pin_count()
149 static inline u32 mp_pin_to_gsi(int ioapic, int pin) in mp_pin_to_gsi() argument
151 return mp_ioapic_gsi_routing(ioapic)->gsi_base + pin; in mp_pin_to_gsi()
159 static inline struct irq_domain *mp_ioapic_irqdomain(int ioapic) in mp_ioapic_irqdomain() argument
161 return ioapics[ioapic].irqdomain; in mp_ioapic_irqdomain()
832 int ioapic, pin, idx; in __acpi_get_override_irq() local
837 ioapic = mp_find_ioapic(gsi); in __acpi_get_override_irq()
838 if (ioapic < 0) in __acpi_get_override_irq()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Dintel,ce4100-ioapic.yaml4 $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";
Dintel,ce4100-lapic.yaml18 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.6.21/arch/x86/kernel/acpi/
Dboot.c464 int ioapic; in mp_config_acpi_gsi() local
483 ioapic = mp_find_ioapic(gsi); in mp_config_acpi_gsi()
484 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_config_acpi_gsi()
485 mp_irq.dstirq = mp_find_ioapic_pin(ioapic, gsi); in mp_config_acpi_gsi()
495 int ioapic, pin; in mp_register_ioapic_irq() local
498 ioapic = mp_find_ioapic(gsi); in mp_register_ioapic_irq()
499 if (ioapic < 0) { in mp_register_ioapic_irq()
501 return ioapic; in mp_register_ioapic_irq()
504 pin = mp_find_ioapic_pin(ioapic, gsi); in mp_register_ioapic_irq()
511 mp_irq.dstapic = mpc_ioapic_id(ioapic); in mp_register_ioapic_irq()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dio_apic.h103 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);
Dhw_irq.h85 struct ioapic_alloc_info ioapic; member
/linux-6.6.21/arch/x86/kernel/
Dmpparse.c327 struct mpc_ioapic ioapic; in construct_ioapic_table() local
354 ioapic.type = MP_IOAPIC; in construct_ioapic_table()
355 ioapic.apicid = 2; in construct_ioapic_table()
356 ioapic.apicver = mpc_default_type > 4 ? 0x10 : 0x01; in construct_ioapic_table()
357 ioapic.flags = MPC_APIC_USABLE; in construct_ioapic_table()
358 ioapic.apicaddr = IO_APIC_DEFAULT_PHYS_BASE; in construct_ioapic_table()
359 MP_ioapic_info(&ioapic); in construct_ioapic_table()
Ddevicetree.c224 tmp.ioapic.pin = fwspec->param[0]; in dt_irqdomain_alloc()
/linux-6.6.21/arch/x86/hyperv/
Dirqdomain.c347 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.6.21/arch/x86/platform/ce4100/
Dfalconfalls.dts34 compatible = "intel,ce4100-ioapic";
62 compatible = "intel,ce4100-ioapic";
/linux-6.6.21/drivers/iommu/
Dhyperv-iommu.c302 data->is_level = info->ioapic.is_level; in hyperv_root_irq_remapping_alloc()
/linux-6.6.21/include/asm-generic/
Dhyperv-tlfs.h746 } ioapic; member
/linux-6.6.21/drivers/iommu/intel/
Dirq_remapping.c1270 sub_handle = info->ioapic.pin; in intel_irq_remapping_prepare_irte()
/linux-6.6.21/tools/include/uapi/linux/
Dkvm.h131 struct kvm_ioapic_state ioapic; member
/linux-6.6.21/include/uapi/linux/
Dkvm.h131 struct kvm_ioapic_state ioapic; member
/linux-6.6.21/drivers/iommu/amd/
Diommu.c3397 index = info->ioapic.pin; in irq_remapping_alloc()
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst804 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;