summaryrefslogtreecommitdiff
path: root/documentation/3.kernel/thread-sync
diff options
context:
space:
mode:
authorOld-Ding <[email protected]>2026-07-06 04:30:13 +0800
committerRbb666 <[email protected]>2026-07-08 14:03:38 +0800
commitc7f21bddeb25a37d03193054592a083e73bba37b (patch)
treece6cf26ca95330682e41b2d09a395b0a3b48ca03 /documentation/3.kernel/thread-sync
parent3eac0a8a17dd425b0696b0155adfdda2b78af1d9 (diff)
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 <[email protected]>
Diffstat (limited to 'documentation/3.kernel/thread-sync')
0 files changed, 0 insertions, 0 deletions