diff options
author | 2013-12-19 12:30:17 -0800 | |
---|---|---|
committer | 2013-12-19 15:14:52 -0700 | |
commit | 1c51b50c2995f543d145d3bce78029ac9f8ca6b3 (patch) | |
tree | e45ceda96d94d1141919488165eed037e770e92c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-dev-1c51b50c2995f543d145d3bce78029ac9f8ca6b3.tar.xz linux-dev-1c51b50c2995f543d145d3bce78029ac9f8ca6b3.zip |
PCI/MSI: Export MSI mode using attributes, not kobjects
The PCI MSI sysfs code is a mess with kobjects for things that don't really
need to be kobjects. This patch creates attributes dynamically for the MSI
interrupts instead of using kobjects.
Note, this removes a directory from sysfs. Old MSI kobjects:
pci_device
└── msi_irqs
└── 40
└── mode
New MSI attributes:
pci_device
└── msi_irqs
└── 40
As there was only one file "mode" with the kobject model, the interrupt
number is now a file that returns the "mode" of the interrupt (msi vs.
msix).
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions