aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2021-12-14 12:42:14 +0100
committerThomas Gleixner <[email protected]>2021-12-14 13:23:32 +0100
commit94185adbfad56815c2c8401e16d81bdb74a79201 (patch)
tree2a0c49fe48a5a9c592f29c7525129dba20f63431 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent83dbf898a2d45289be875deb580e93050ba67529 (diff)
PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
PCI_MSIX_FLAGS_MASKALL is set in the MSI-X control register at MSI-X interrupt setup time. It's cleared on success, but the error handling path only clears the PCI_MSIX_FLAGS_ENABLE bit. That's incorrect as the reset state of the PCI_MSIX_FLAGS_MASKALL bit is zero. That can be observed via lspci: Capabilities: [b0] MSI-X: Enable- Count=67 Masked+ Clear the bit in the error path to restore the reset state. Fixes: 438553958ba1 ("PCI/MSI: Enable and mask MSI-X early") Reported-by: Stefan Roese <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Stefan Roese <[email protected]> Cc: [email protected] Cc: Bjorn Helgaas <[email protected]> Cc: Michal Simek <[email protected]> Cc: Marek Vasut <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/87tufevoqx.ffs@tglx
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions