diff options
author | Yijing Wang <wangyijing@huawei.com> | 2014-09-23 09:27:24 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-10-01 22:21:23 +0400 |
commit | 468ff15a3ab98ed7153c29c68229ffb97f15a251 (patch) | |
tree | 33726cffacff157deb298a562ebac0d1062725d6 /arch/ia64/kernel/msi_ia64.c | |
parent | 48c3c38f003c25d50a09d3da558667c5ecd530aa (diff) | |
download | linux-468ff15a3ab98ed7153c29c68229ffb97f15a251.tar.xz |
PCI/MSI: Add "msi_bus" sysfs MSI/MSI-X control for endpoints
The "msi_bus" sysfs file for bridges sets a bus flag to allow or disallow
future driver requests for MSI or MSI-X. Previously, the sysfs file
existed for endpoints but did nothing.
Add "msi_bus" support for endpoints, so an administrator can prevent the
use of MSI and MSI-X for individual devices.
Note that as for bridges, these changes only affect future driver requests
for MSI or MSI-X, so drivers may need to be reloaded.
Add documentation for the "msi_bus" sysfs file.
[bhelgaas: changelog, comments, add "subordinate", add endpoint printk,
rework bus_flags setting, make bus_flags printk unconditional]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/ia64/kernel/msi_ia64.c')
0 files changed, 0 insertions, 0 deletions