zephyr/drivers
Daniel Leung ec2b9d42af pcie: msi: pci_msi_enable() to take IRQ as parameter
This changes pci_msi_enable() to take IRQ number as a function
parameter. The old behavior relies on putting the IRQ number
into the interrupt line register in the PCI config space
during IRQ allocation, and reading it back when enabling IRQ.
However, the interrupt line register is only required to be
read-/writable when legacy interrupt is supported on the device.
Otherwise it has undefined behavior. On ACRN, they don't even
care about this register and always wires it to 0x00.
So this commit changes the behavior in pci_msi_enable() to not
require reading back the interrupt line register and instead
takes the IRQ number via function parameter.

Fixes #36765

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-08-30 13:04:36 +03:00
..
adc adc: npcx: use new DT pinctrl accessors 2021-08-25 18:09:00 -04:00
audio drivers/audio: Kconfig: Fix dmic INIT_PRIORITY default value 2021-05-04 08:33:46 -05:00
bbram nuvoton: battery-backed ram 2021-08-07 20:32:33 -04:00
bluetooth bluetooth: remove Kconfig options CONFIG_BT_*_ON_DEV_NAME 2021-08-25 18:05:17 -04:00
cache cache: Introduce external cache controller system support 2021-05-08 07:00:33 +02:00
can drivers: can: mcux_flexcan: Update to support rt1170 2021-08-20 06:16:24 -04:00
clock_control drivers/clock_control: stm32: STM32WB: No HSE by-pass 2021-08-24 22:14:20 -04:00
console drivers: remove Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME 2021-08-23 18:53:47 -04:00
counter drivers: counter: Remove unused macros 2021-08-27 13:47:04 -05:00
crypto drivers/crypto: stm32: add support for socs with AES IP 2021-07-23 16:25:27 -04:00
dac drivers: Add Atmel SAM DAC (DACC) driver 2021-08-26 16:46:16 -04:00
debug tracing: fix conflict with RTT locking 2021-05-25 07:36:38 -05:00
disk drivers: disk: Update NXP USDHC driver 2021-08-17 17:53:31 -04:00
display drivers: display: build as static library 2021-08-17 06:06:03 -04:00
dma drivers: dma: stm32 initialize a dma_stm32_data structure 2021-08-27 13:08:33 -04:00
ec_host_cmd_periph drivers: ec_host_cmd_periph: remove usage of device_pm_control_nop 2021-04-28 10:55:22 -04:00
edac drivers: edac: build as static library 2021-08-17 06:06:03 -04:00
eeprom eeprom: at2x: convert to `_dt_spec` 2021-08-09 19:50:53 -04:00
entropy soc: arm: nxp_imx: rt: Configure settings for TRNG IP 2021-08-06 20:29:59 -04:00
espi emul: espi: Add ACPI Shared Memory functions 2021-08-26 13:14:05 -04:00
ethernet drivers: eth_sam_gmac: use PHY driver 2021-08-27 11:43:48 -04:00
flash flash: spi_nor: re-enable write protection 2021-08-18 20:10:59 -04:00
gpio esp32s2: drivers: gpio: add gpio support 2021-08-27 17:34:41 -04:00
hwinfo drivers: hwinfo: build as static library 2021-08-17 06:06:03 -04:00
i2c pwm: it8xxx2: use new DT pinctrl accessors 2021-08-25 18:09:00 -04:00
i2s drivers: i2s: nrfx: fix incorrect direction check 2021-08-26 16:47:27 -04:00
ieee802154 drivers: ieee802154: build as static library 2021-08-17 06:06:03 -04:00
interrupt_controller esp32: drivers: interrupt_controller: make it common for xtensa socs 2021-08-27 17:34:41 -04:00
ipm drivers: ipm: add driver based on stm32 hsem 2021-08-09 16:11:28 +02:00
kscan drivers: ht16k33: convert keyscan driver from gpio API to kscan API 2021-06-18 11:22:40 +02:00
led drivers: led: build as static library 2021-08-17 06:06:03 -04:00
led_strip dts: fix 'colorway' compatibles 2021-08-17 17:51:57 -04:00
lora drivers: lora: sx12xx: fix atomic include 2021-08-20 11:32:45 -04:00
mdio drivers: mdio: add shell 2021-08-27 11:43:48 -04:00
memc drivers: memc: build as static library 2021-08-17 06:06:03 -04:00
misc drv: display: Initial FT800 display driver 2021-03-19 19:05:53 +01:00
modem drivers: modem: hl7800: null terminate DNS server list 2021-08-20 14:10:22 -05:00
net drivers: net: build as static library 2021-08-17 06:06:03 -04:00
neural_net drivers: neural_net: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
pcie pcie: msi: pci_msi_enable() to take IRQ as parameter 2021-08-30 13:04:36 +03:00
peci drivers: peci: remove usage of device_pm_control_nop 2021-04-28 12:25:24 -04:00
pinmux esp32s2: drivers: pinmux: add pinmux support 2021-08-27 17:34:41 -04:00
pm_cpu_ops drivers: pm_cpu_ops: build as static library 2021-08-17 06:06:03 -04:00
ps2 drivers: PS/2: npcx: Replace device_get_binding with DEVICE_DT_GET 2021-07-02 15:41:28 -04:00
ptp_clock drivers: ptp_clock: build as static library 2021-08-17 06:06:03 -04:00
pwm pwm: it8xxx2: use new DT pinctrl accessors 2021-08-25 18:09:00 -04:00
regulator drivers: regulator: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
sensor drivers: sensor: sgp40: fix rounding errors 2021-08-27 13:07:54 -04:00
serial drivers: uart_altera_jtag_hal: use DEVICE_DT_INST_DEFINE() 2021-08-23 18:53:47 -04:00
spi drivers: spi: spi_ll_stm32: not all stm32l1 MCU have SPI_CR2_FRF 2021-08-24 22:14:20 -04:00
syscon drivers: sys_con: build as static library 2021-08-17 06:06:03 -04:00
timer ITE drivers/timer: add disable event timer control 2021-08-24 07:30:47 -04:00
usb drivers: usb: dc: sam: Add full driver fsm 2021-08-26 14:03:44 -04:00
video drivers: video: ov2640: add driver for ov2640 image sensor 2021-08-17 09:18:38 -04:00
virtualization drivers: virtualization: remove usage of device_pm_control_nop 2021-04-28 12:25:39 -04:00
watchdog ITE drivers/watchdog: reduce interval of warning timer 2021-08-24 07:31:08 -04:00
wifi drivers: wifi: build as static library 2021-08-17 06:06:03 -04:00
CMakeLists.txt drivers: Add mdio API 2021-08-27 11:43:48 -04:00
Kconfig drivers: Add mdio API 2021-08-27 11:43:48 -04:00