aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-01-10 19:12:45 +0100
committerThomas Gleixner <tglx@linutronix.de>2022-01-10 19:22:10 +0100
commit74a5257a0c175810d620b5e631c4e7554955ac25 (patch)
treea45cf74ccde4afd21ae12d5516d5ba81c839099f /Documentation/driver-api
parentPCI/MSI: Unbreak pci_irq_get_affinity() (diff)
downloadlinux-dev-74a5257a0c175810d620b5e631c4e7554955ac25.tar.xz
linux-dev-74a5257a0c175810d620b5e631c4e7554955ac25.zip
genirq/msi: Populate sysfs entry only once
The MSI entries for multi-MSI are populated en bloc for the MSI descriptor, but the current code invokes the population inside the per interrupt loop which triggers a warning in the sysfs code and causes the interrupt allocation to fail. Move it outside of the loop so it works correctly for single and multi-MSI. Fixes: bf5e758f02fc ("genirq/msi: Simplify sysfs handling") Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/87leznqx2a.ffs@tglx
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions