zephyr/drivers
Zide Chen 87b65c5ac2 interrupt_controller: program local APIC LDR register for xAPIC
If IO APIC is in logical destination mode, local APICs compare their
logical APIC ID defined in LDR (Logical Destination Register) with
the destination code sent with the interrupt to determine whether or not
to accept the incoming interrupt.

This patch programs LDR in xAPIC mode to support IO APIC logical mode.

The local APIC ID from local APIC ID register can't be used as the
'logical APIC ID' because LAPIC ID may not be consecutive numbers hence
it makes it impossible for LDR to encode 8 IDs within 8 bits.

This patch chooses 0 for BSP, and for APs, cpu_number which is the index
to x86_cpuboot[], which ultimately assigned in z_smp_init[].

Signed-off-by: Zide Chen <zide.chen@intel.com>
2020-02-19 10:25:10 -08:00
..
adc boards: frdm_kw41z: Override ADC vref choice properly 2020-02-14 22:12:21 +02:00
audio drivers: audio: tlv320dac310x: Convert to the new GPIO API 2020-02-05 12:00:36 +01:00
bluetooth kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
can drivers: can: mcp2515: Switch to new GPIO API 2020-02-05 12:00:36 +01:00
clock_control dts: stm32f3: Remap USB IRQ to avoid conflict with CAN 2020-02-18 18:44:42 +02:00
console
counter kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
crypto kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
dma
eeprom kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
entropy kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
espi kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
ethernet kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
flash kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
gpio drivers: gpio_cc32xx: disable interrupts before changing interrupt type 2020-02-17 18:14:57 -06:00
hwinfo
i2c kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
i2s
ieee802154 drivers/ieee802154: Adapt cc1200 driver to new GPIO API 2020-02-05 12:00:36 +01:00
interrupt_controller interrupt_controller: program local APIC LDR register for xAPIC 2020-02-19 10:25:10 -08:00
ipm
kscan kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
led drivers: led: ht16k33: reorder pin interrupt configuration 2020-02-05 12:00:36 +01:00
led_strip kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
lora kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
modem drivers: modem: sara-r4: fix APN setting for U2 modem 2020-02-10 20:00:15 +02:00
net
neural_net
pcie
pinmux kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
ps2
ptp_clock
pwm kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
sensor sensors: grove_light: convert to devicetree bindings 2020-02-12 10:31:26 -06:00
serial kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
spi drivers: spi: sifive: Fix comment to match ifdef 2020-02-17 09:05:32 +01:00
timer native_posix: timer: Improve arch_busy_wait() doc 2020-02-07 11:48:41 +01:00
usb dts: stm32f3: Remap USB IRQ to avoid conflict with CAN 2020-02-18 18:44:42 +02:00
video
watchdog kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
wifi gpio: replace gpio pin write/read with set/get 2020-02-05 12:00:36 +01:00
CMakeLists.txt
Kconfig tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00