zephyr/include/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 drivers: adc: add ADC emulator 2021-05-07 15:27:37 +02:00
bluetooth Bluetooth: host: Add ISO support for num_completed_packets event 2021-08-25 18:06:09 -04:00
clock_control dts/bindings: Add binding for STM32WL HSE Clock 2021-08-24 07:19:12 -04:00
console drivers: modem: gsm_ppp: Enable start/stop 2020-10-19 18:29:02 +02:00
dma drivers: dma: stm32 dma of type V1 with mux 2021-08-20 06:28:32 -04:00
ec_host_cmd_periph ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
gpio drivers: gpio: gpio_mmio32: remove usage of device_pm_control_nop 2021-04-28 20:40:00 -04:00
i2c/slave Revert "drivers: move eeprom_slave driver to tests directory" 2020-12-16 16:39:49 -05:00
ieee802154 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
interrupt_controller Microchip: MEC172x Add aggregated interrupt driver 2021-07-26 12:24:52 -04:00
led drivers: ht16k33: convert keyscan driver from gpio API to kscan API 2021-06-18 11:22:40 +02:00
misc drv: display: Initial FT800 display driver 2021-03-19 19:05:53 +01:00
modem drivers: modem: add Sierra Wireless HL7800 Modem Driver 2020-08-31 10:46:33 +02:00
pcie pcie: msi: pci_msi_enable() to take IRQ as parameter 2021-08-30 13:04:36 +03:00
pm_cpu_ops arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
rtc drivers: counter: add driver for Microchip MCP7940N RTCC 2021-07-30 19:51:29 -04:00
sensor drivers: sensor: SHT4X Added support 2021-07-22 10:17:13 -04:00
timer pm: device: remove pointer usage for state 2021-08-04 08:23:01 -04:00
uart doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
usb code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
virtualization drivers/virtualization: Make ivshmem driver userspace ready 2020-12-16 18:47:35 -05:00
adc.h doc: doxygen: replace option alias with kconfig 2021-06-29 10:26:28 -04:00
bbram.h nuvoton: battery-backed ram 2021-08-07 20:32:33 -04:00
cache.h cache: Rename sys_{dcache,icache}_* to sys_{data,instr}_cache_* 2021-05-08 07:00:33 +02:00
can.h drivers: can: sjw == 0 in can_set_timing should not change sjw 2021-06-01 07:29:36 -05:00
clock_control.h clock_control: Replace device_is_ready with device_usable_check 2021-05-05 15:54:44 +02:00
counter.h counters: Remove deprecated APIs 2021-03-18 19:35:14 -04:00
dac.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
disk.h include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00
display.h drivers: display: fix doxygen issues 2021-05-19 06:21:53 -04:00
dma.h include: drivers: dma.h DMA_MAGIC is a 32-bit magic code 2021-08-27 13:08:33 -04:00
ec_host_cmd_periph.h ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
edac.h edac: ibecc: Fix return error type 2021-08-17 17:21:50 +02:00
eeprom.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
emul.h include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
entropy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
espi_emul.h emul: espi: Add ACPI Shared Memory functions 2021-08-26 13:14:05 -04:00
espi_saf.h drivers: espi: Microchip eSPI add SAF support 2021-02-15 08:22:01 -05:00
espi.h driver: eSPI: unify the bit fields of ACPI/KBC event data 2021-07-26 22:50:44 -04:00
flash.h include/drivers/flash: deprecation of flash_write_protection_set() 2021-03-29 13:43:55 -04:00
gna.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gpio.h gpio: fixup doxygen on _dt functions 2021-08-05 16:13:54 +02:00
gsm_ppp.h drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
hwinfo.h drivers: hwinfo: add reset causes for PLL and clock 2021-07-08 09:33:32 -05:00
i2c_emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c.h i2c: add _dt variants of i2c functions 2021-08-03 19:05:14 -04:00
i2s.h drivers: i2s: Add missing const qualifiers 2021-05-03 19:57:49 -04:00
ipm.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
kscan.h drivers: kscan: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
led_strip.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led.h led.h: clarify brightness API for on/off LEDs 2021-05-04 16:01:30 +02:00
lora.h lora: lora_send blocks until completion 2021-08-18 05:16:46 -04:00
mdio.h drivers: Add mdio API 2021-08-27 11:43:48 -04:00
peci.h driver: peci: Add supported peci response codes 2021-03-10 17:12:05 -05:00
pinmux.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pm_cpu_ops.h aarch64: pm_cpu_ops: Introduce pm_cpu_ops subsystem 2021-03-04 06:53:19 -05:00
ps2.h drivers: ps2: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
ptp_clock.h include: Move ptp_clock.h to drivers/ptp_clock.h 2021-03-25 10:09:33 +02:00
pwm.h drivers: pwm: clarify API details 2021-08-19 17:14:48 -04:00
regulator.h drivers: add infrastructure for regulator devices 2020-10-28 15:22:53 +01:00
sensor.h Revert "include: driver: sensor: add tank level channel in units of percent" 2021-08-10 09:44:48 -05:00
spi_emul.h emul: spi: Add support for SPI emulators 2020-10-05 15:33:00 -04:00
spi.h spi: update doxygen usage 2021-08-03 07:32:31 -04:00
syscon.h drivers: syscon: Add generic syscon API 2021-07-16 21:31:38 -04:00
uart.h usrt: basic_test: NOSYS return update for cases 2021-06-11 17:39:42 +02:00
video-controls.h drivers: video: add more camera control IDs 2021-08-17 09:18:38 -04:00
video.h drivers: video: add JPEG pixel format 2021-08-17 09:18:38 -04:00
watchdog.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00