aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2025-03-19 10:56:58 +0000
committerThomas Gleixner <[email protected]>2025-04-09 18:47:30 +0000
commit71296eae5887de830a84e9b350bd360c560e74f9 (patch)
tree8ffabfbb33f00a9d203121851e162d24f66a2993 /rust/helpers/xarray.c
parentPCI/MSI: Provide a sane mechanism for TPH (diff)
downloadkernel-71296eae5887de830a84e9b350bd360c560e74f9.tar.gz
kernel-71296eae5887de830a84e9b350bd360c560e74f9.zip
PCI/TPH: Replace the broken MSI-X control word update
The driver walks the MSI descriptors to test whether a descriptor exists for a given index. That's just abuse of the MSI internals. The same test can be done with a single function call by looking up whether there is a Linux interrupt number assigned at the index. What's worse is that the function is completely unserialized against modifications of the MSI-X control by operations issued from the interrupt core. It also brings the PCI/MSI-X internal cached control word out of sync. Remove the trainwreck and invoke the function provided by the PCI/MSI core to update it. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions