Merge branch 'pci/switchtec'
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 5 Nov 2021 16:28:45 +0000 (11:28 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 5 Nov 2021 16:28:45 +0000 (11:28 -0500)
commite34f4262f69e7ad3c159f6262c524352e301a6e6
treeb37e037e05372e29b4d68980e7b2f136e00bf551
parent1ebec13fc9e4ce93736658a95cf35f937e716b1b
parent9f37ab0412eba537377c38b1dde1a04fbd7b5264
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