diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:45 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:45 -0500 |
commit | e34f4262f69e7ad3c159f6262c524352e301a6e6 (patch) | |
tree | b37e037e05372e29b4d68980e7b2f136e00bf551 /include | |
parent | 1ebec13fc9e4ce93736658a95cf35f937e716b1b (diff) | |
parent | 9f37ab0412eba537377c38b1dde1a04fbd7b5264 (diff) | |
download | linux-stable-e34f4262f69e7ad3c159f6262c524352e301a6e6.tar.gz linux-stable-e34f4262f69e7ad3c159f6262c524352e301a6e6.tar.bz2 linux-stable-e34f4262f69e7ad3c159f6262c524352e301a6e6.zip |
Merge branch 'pci/switchtec'
- Return error to application when command execution fails because an
out-of-band reset has cleared the device BARs, Memory Space Enable, etc
(Kelvin Cao)
- Fix MRPC error status handling issue (Kelvin Cao)
- Mask out other bits when reading of management VEP instance ID (Kelvin
Cao)
- Return EOPNOTSUPP instead of ENOTSUPP from sysfs show functions (Kelvin
Cao)
- Add check of event support (Logan Gunthorpe)
* pci/switchtec:
PCI/switchtec: Add check of event support
PCI/switchtec: Replace ENOTSUPP with EOPNOTSUPP
PCI/switchtec: Update the way of getting management VEP instance ID
PCI/switchtec: Fix a MRPC error status handling issue
PCI/switchtec: Error out MRPC execution when MMIO reads fail
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/switchtec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h index 082f1d51957a..be24056ac00f 100644 --- a/include/linux/switchtec.h +++ b/include/linux/switchtec.h @@ -19,6 +19,7 @@ #define SWITCHTEC_EVENT_EN_CLI BIT(2) #define SWITCHTEC_EVENT_EN_IRQ BIT(3) #define SWITCHTEC_EVENT_FATAL BIT(4) +#define SWITCHTEC_EVENT_NOT_SUPP BIT(31) #define SWITCHTEC_DMA_MRPC_EN BIT(0) |