rt-thread/components
Old-Ding c7f21bddeb drivers: pci: Fix endpoint MSI setup
rt_pci_ep_set_msi() checked the set_msix callback before calling set_msi. That rejects endpoint controllers that implement MSI without MSI-X, and can call through a NULL set_msi pointer when only MSI-X is provided.

The same helper converts a requested MSI vector count into the log2 field passed to the controller. Stop after the first value large enough for the request so smaller requests are not widened by later loop iterations.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 14:03:38 +08:00
..
dfs fix dfs statfs fullpath leak 2026-07-01 12:23:26 +08:00
drivers drivers: pci: Fix endpoint MSI setup 2026-07-08 14:03:38 +08:00
fal Update fal_flash.c 2026-06-16 09:56:23 +08:00
finsh components: finsh: check token bounds before access 2026-07-08 13:37:21 +08:00
legacy components/usb: configure CDC VCOM strings 2026-07-06 13:17:44 +08:00
libc [ci]:add armclang BSP build coverage (#11577) 2026-07-07 11:52:14 +08:00
lwp fix: move tty_ptmx regression test to utest framework 2026-06-16 15:43:44 +08:00
mm utest: move mm testcases to components/mm 2026-06-12 14:22:53 +08:00
mprotect 实现MPU抽象层 (#8080) 2023-10-30 08:24:55 -04:00
net lwip: fix trailing whitespace in TLS config 2026-07-05 15:48:09 +08:00
rust [rust] Tidy core defaults and migrate docs to README 2025-12-15 12:50:49 +08:00
utilities rt-link: reject frame offset at frame limit 2026-07-07 19:55:21 +08:00
Kconfig Adding Rust Language Support for RT-Thread #10910 2025-12-08 18:34:25 +08:00
SConscript Adding Rust Language Support for RT-Thread #10910 2025-12-08 18:34:25 +08:00