Home
last modified time | relevance | path

Searched full:lapic (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dintel,ce4100-lapic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-lapic.yaml#
7 title: Intel Local Advanced Programmable Interrupt Controller (LAPIC)
15 architecture design, with a local component (LAPIC) integrated
17 (lapic) receives interrupts from the processor's interrupt pins,
22 Many of the Intel's generic devices like hpet, ioapic, lapic have
32 const: intel,ce4100-lapic
47 Virtual Wire Mode - use lapic as virtual wire interrupt delivery mode.
66 compatible = "intel,ce4100-lapic";
Dintel,ce4100-ioapic.yaml15 architecture design, with a local component (LAPIC) integrated
17 (lapic) receives interrupts from the processor's interrupt pins,
22 Many of the Intel's generic devices like hpet, ioapic, lapic have
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/
Dintel-mid.c36 * the clockevent devices on Moorestown/Medfield can be APBT or LAPIC clock,
41 * 2. per cpu always-on lapic clocks only, this is Penwell/Medfield only
42 * 3. per cpu lapic clock (C3STOP) and one apbt clock, with broadcast.
45 * to see if we are on lincroft or penwell, then set up both lapic or apbt
51 * lapic (with C3STOP) --------- 100
53 * lapic (always-on,ARAT) ------ 150
96 /* Lapic only, no apbt */ in intel_mid_time_init()
/kernel/linux/linux-5.10/Documentation/x86/x86_64/
Dcpu-hotplug-spec.rst12 In ACPI each CPU needs an LAPIC object in the MADT table (5.2.11.5 in the
13 ACPI 3.0 specification). ACPI already has the concept of disabled LAPIC
14 objects by setting the Enabled bit in the LAPIC object to zero.
18 it should have its LAPIC Enabled bit set to 0. Linux will use the number
/kernel/linux/linux-6.6/Documentation/arch/x86/x86_64/
Dcpu-hotplug-spec.rst12 In ACPI each CPU needs an LAPIC object in the MADT table (5.2.11.5 in the
13 ACPI 3.0 specification). ACPI already has the concept of disabled LAPIC
14 objects by setting the Enabled bit in the LAPIC object to zero.
18 it should have its LAPIC Enabled bit set to 0. Linux will use the number
/kernel/linux/linux-5.10/drivers/xen/
Dxen-acpi-cpuhotplug.c143 struct acpi_madt_local_apic *lapic; in xen_apic_id() local
154 obj->buffer.length < sizeof(*lapic)) { in xen_apic_id()
159 lapic = (struct acpi_madt_local_apic *)obj->buffer.pointer; in xen_apic_id()
161 if (lapic->header.type != ACPI_MADT_TYPE_LOCAL_APIC || in xen_apic_id()
162 !(lapic->lapic_flags & ACPI_MADT_ENABLED)) { in xen_apic_id()
167 apic_id = (uint32_t)lapic->id; in xen_apic_id()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dirq.c50 * interrupt in the user-mode LAPIC. in kvm_cpu_has_extint()
82 return kvm_apic_has_interrupt(v) != -1; /* LAPIC */ in kvm_cpu_has_injectable_intr()
95 return kvm_apic_has_interrupt(v) != -1; /* LAPIC */ in kvm_cpu_has_interrupt()
DMakefile16 kvm-y += x86.o emulate.o i8259.o irq.o lapic.o \
Ddebugfs.c9 #include "lapic.h"
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic.c163 early_param("lapic", parse_lapic);
206 * Get the LAPIC version
487 /* Lapic used as dummy for broadcast ? */ in lapic_timer_shutdown()
501 /* Lapic used as dummy for broadcast ? */ in lapic_timer_set_periodic_oneshot()
534 .name = "lapic",
616 /* Make LAPIC timer preferrable over percpu HPET */ in setup_APIC_timer()
624 levt->name = "lapic-deadline"; in setup_APIC_timer()
750 /* Correct the lapic counter value */ in calibrate_by_pmtimer()
841 * Check if lapic timer has already been calibrated by platform in calibrate_APIC_clock()
846 apic_printk(APIC_VERBOSE, "lapic timer already calibrated %d\n", in calibrate_APIC_clock()
[all …]
/kernel/linux/linux-6.6/arch/x86/kvm/
Dirq.c55 * interrupt in the user-mode LAPIC. in kvm_cpu_has_extint()
90 return kvm_apic_has_interrupt(v) != -1; /* LAPIC */ in kvm_cpu_has_injectable_intr()
103 return kvm_apic_has_interrupt(v) != -1; /* LAPIC */ in kvm_cpu_has_interrupt()
DMakefile12 kvm-y += x86.o emulate.o i8259.o irq.o lapic.o \
/kernel/linux/linux-6.6/arch/x86/kernel/apic/
Dapic.c162 early_param("lapic", parse_lapic);
203 * Get the LAPIC version
469 /* Lapic used as dummy for broadcast ? */ in lapic_timer_shutdown()
495 /* Lapic used as dummy for broadcast ? */ in lapic_timer_set_periodic_oneshot()
528 .name = "lapic",
610 /* Make LAPIC timer preferable over percpu HPET */ in setup_APIC_timer()
618 levt->name = "lapic-deadline"; in setup_APIC_timer()
744 /* Correct the lapic counter value */ in calibrate_by_pmtimer()
835 * Check if lapic timer has already been calibrated by platform in calibrate_APIC_clock()
840 apic_printk(APIC_VERBOSE, "lapic timer already calibrated %d\n", in calibrate_APIC_clock()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
Drecalc_apic_map_test.c23 struct kvm_lapic_state lapic = {}; in race() local
28 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &lapic); in race()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dacpi.c92 struct acpi_madt_local_apic_override *lapic; in acpi_parse_lapic_addr_ovr() local
94 lapic = (struct acpi_madt_local_apic_override *)header; in acpi_parse_lapic_addr_ovr()
96 if (BAD_MADT_ENTRY(lapic, end)) in acpi_parse_lapic_addr_ovr()
99 if (lapic->address) { in acpi_parse_lapic_addr_ovr()
101 ipi_base_addr = ioremap(lapic->address, 0); in acpi_parse_lapic_addr_ovr()
590 "Error parsing MADT - no LAPIC entries\n"); in early_acpi_boot_init()
632 "Error parsing LAPIC address override entry\n"); in acpi_boot_init()
636 printk(KERN_ERR PREFIX "Error parsing LAPIC NMI entry\n"); in acpi_boot_init()
/kernel/linux/linux-6.6/arch/ia64/kernel/
Dacpi.c92 struct acpi_madt_local_apic_override *lapic; in acpi_parse_lapic_addr_ovr() local
94 lapic = (struct acpi_madt_local_apic_override *)header; in acpi_parse_lapic_addr_ovr()
96 if (BAD_MADT_ENTRY(lapic, end)) in acpi_parse_lapic_addr_ovr()
99 if (lapic->address) { in acpi_parse_lapic_addr_ovr()
101 ipi_base_addr = ioremap(lapic->address, 0); in acpi_parse_lapic_addr_ovr()
590 "Error parsing MADT - no LAPIC entries\n"); in early_acpi_boot_init()
632 "Error parsing LAPIC address override entry\n"); in acpi_boot_init()
636 printk(KERN_ERR PREFIX "Error parsing LAPIC NMI entry\n"); in acpi_boot_init()
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_core.c35 struct acpi_madt_local_apic *lapic = in map_lapic_id() local
38 if (!(lapic->lapic_flags & ACPI_MADT_ENABLED)) in map_lapic_id()
41 if (lapic->processor_id != acpi_id) in map_lapic_id()
44 *apic_id = lapic->id; in map_lapic_id()
/kernel/linux/linux-5.10/arch/x86/hyperv/
Dhv_init.c330 * as we can run with the LAPIC timer as a fallback. in hv_stimer_setup_percpu_clockev()
335 * Still register the LAPIC timer, because the direct-mode STIMER is in hv_stimer_setup_percpu_clockev()
337 * to switch to LAPIC timer via /sys, if they want to. in hv_stimer_setup_percpu_clockev()
421 * hyperv_init() is called before LAPIC is initialized: see in hyperv_init()
424 * depends on LAPIC, so hv_stimer_alloc() should be called from in hyperv_init()
/kernel/linux/linux-5.10/drivers/clocksource/
Dhyperv_timer.c153 * that the LAPIC timer can take over until clockevents in hv_stimer_cleanup()
180 * clockevent based on emulated LAPIC timer hardware. in hv_stimer_alloc()
284 * Mode is not enabled, and fallback to the LAPIC timer. in hv_stimer_global_cleanup()
461 * on the emulated PIT or LAPIC timer. in hv_init_clocksource()
/kernel/linux/linux-6.6/drivers/acpi/
Dprocessor_core.c35 struct acpi_madt_local_apic *lapic = in map_lapic_id() local
38 if (!(lapic->lapic_flags & ACPI_MADT_ENABLED)) in map_lapic_id()
41 if (lapic->processor_id != acpi_id) in map_lapic_id()
44 *apic_id = lapic->id; in map_lapic_id()
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
Dboot.c760 pr_info(PREFIX "Unable to map lapic to logical cpu number\n"); in acpi_map_cpu()
1011 * Parse LAPIC entries in MADT
1023 * Note that the LAPIC address is obtained from the MADT (32-bit value) in early_acpi_parse_madt_lapic_addr_ovr()
1031 "Error parsing LAPIC address override entry\n"); in early_acpi_parse_madt_lapic_addr_ovr()
1064 "Error parsing LAPIC/X2APIC entries\n"); in acpi_parse_madt_lapic_entries()
1072 printk(KERN_ERR PREFIX "No LAPIC entries present\n"); in acpi_parse_madt_lapic_entries()
1076 printk(KERN_ERR PREFIX "Error parsing LAPIC entry\n"); in acpi_parse_madt_lapic_entries()
1086 printk(KERN_ERR PREFIX "Error parsing LAPIC NMI entry\n"); in acpi_parse_madt_lapic_entries()
1246 * Parse MADT LAPIC entries in early_acpi_process_madt()
1273 * Parse MADT LAPIC entries in acpi_process_madt()
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/
Dboot.c844 pr_info("Unable to map lapic to logical cpu number\n"); in acpi_map_cpu()
1087 * Parse LAPIC entries in MADT
1099 * Note that the LAPIC address is obtained from the MADT (32-bit value) in early_acpi_parse_madt_lapic_addr_ovr()
1106 pr_err("Error parsing LAPIC address override entry\n"); in early_acpi_parse_madt_lapic_addr_ovr()
1138 pr_err("Error parsing LAPIC/X2APIC entries\n"); in acpi_parse_madt_lapic_entries()
1146 pr_err("No LAPIC entries present\n"); in acpi_parse_madt_lapic_entries()
1150 pr_err("Error parsing LAPIC entry\n"); in acpi_parse_madt_lapic_entries()
1160 pr_err("Error parsing LAPIC NMI entry\n"); in acpi_parse_madt_lapic_entries()
1341 * Parse MADT LAPIC entries in early_acpi_process_madt()
1367 * Parse MADT LAPIC entries in acpi_process_madt()
[all …]
/kernel/linux/linux-6.6/arch/x86/hyperv/
Dhv_init.c384 * as we can run with the LAPIC timer as a fallback. in hv_stimer_setup_percpu_clockev()
389 * Still register the LAPIC timer, because the direct-mode STIMER is in hv_stimer_setup_percpu_clockev()
391 * to switch to LAPIC timer via /sys, if they want to. in hv_stimer_setup_percpu_clockev()
594 * hyperv_init() is called before LAPIC is initialized: see in hyperv_init()
597 * depends on LAPIC, so hv_stimer_alloc() should be called from in hyperv_init()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dintel,ce4100-ioapic.txt26 compatible = "intel,ce4100-lapic";
/kernel/linux/linux-6.6/drivers/clocksource/
Dhyperv_timer.c168 * that the LAPIC timer can take over until clockevents in hv_stimer_cleanup()
254 * clockevent based on emulated LAPIC timer hardware. in hv_stimer_alloc()
349 * Mode is not enabled, and fallback to the LAPIC timer. in hv_stimer_global_cleanup()
600 * on the emulated PIT or LAPIC timer. in hv_init_clocksource()

12345