diff options
author | Dongdong Liu <[email protected]> | 2017-12-28 17:53:32 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-01-12 17:54:15 -0600 |
commit | deb86999323661c019ef2740eb9d479d1e526b5c (patch) | |
tree | 11150445f4b449f76e5a3453ce0d69e83b86876a /drivers/fpga/xilinx-spi.c | |
parent | 1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff) |
PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
HiSilicon Hip06/Hip07 can operate as either a Root Port or an Endpoint. It
always advertises an MSI capability, but it can only generate MSIs when in
Endpoint mode.
The device has the same Vendor and Device IDs in both modes, so check the
Class Code and disable MSI only when operating as a Root Port.
[bhelgaas: changelog]
Fixes: 72f2ff0deb87 ("PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports")
Signed-off-by: Dongdong Liu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Zhou Wang <[email protected]>
Cc: [email protected] # v4.11+
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions