Hello. On 12/06/2015 11:56 PM, Heiner Kallweit wrote:
On my machine with single irq AHCI just the PCI id is printed as description in /proc/interrupts. I found a related discussion from beginning of this year: http://www.gossamer-threads.com/lists/linux/kernel/2117335 Seems like commit commit 4f37b504768c952b64bc9469a2d579c7597590f2
^^^^^^ one is enough :-) And scripts/checkpatch.pl now rnofrces certain format for the commit citing.
tried to fix displaying a proper interrupt description for one scenario but broke it for another one. The mentioned discussion ended in the current situation being considered as broken but w/o a patch to fix it. The following patch is based on a proposal in this mail thread. Now the interrupt is properly described as: PCI-MSI 512000-edge ahci[0000:00:1f.2] By combining both values also the scenario that commit 4f37b504768c952b64bc9469a2d579c7597590f2 refers to should still be fine. There it should look like this now: ahci[20100000.ide]
s/ide/sata/?
Using managed memory allocation ensures that the irq description lives at least as long as the interrupt. Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
[...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html