Skip to content

Switchtec Fixes and Improvements

[email protected] linux-pci lkml 2 versions – Applied

Status from this message: Applied, replacing the previous set, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesApplied
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Rebase on 5.15-rc5
- Tweak some comment spacing (as suggested by Bjorn)
- Update commit message to elaborate the root cause of MRPC execution hanging (as suggested by Bjorn)
- Rename function check_access() to is_firmware_running() (as suggested by Logan) so the function name suggests the meaning of the return values (as suggested by Bjorn)
- Add comment to function is_firmware_running() (as suggested by Logan)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5PCI/switchtec: Error out MRPC execution when MMIO reads faildrivers/pci/switch/switchtec.c+60 -72 replies
2/5PCI/switchtec: Fix a MRPC error status handling issuedrivers/pci/switch/switchtec.c+4 -20 replies
3/5PCI/switchtec: Update the way of getting management VEP instance IDdrivers/pci/switch/switchtec.c+3 -30 replies
4/5PCI/switchtec: Replace ENOTSUPP with EOPNOTSUPPdrivers/pci/switch/switchtec.c+4 -41 reply
5/5PCI/switchtec: Add check of event supportdrivers/pci/switch/switchtec.c include/linux/switchtec.h+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Switchtec Fixes and Improvements

From: Kelvin Cao <[email protected]>

Hi,

This patchset is mainly for improving the commit message of [PATCH 1/5] in v1[1] to elaborate the root cause, together with a function renaming and some other tweaks.

This patchset is based on v5.15-rc5.

Thanks,
Kelvin

[1] https://lore.kernel.org/lkml/[email protected]/

Changes since v1:
- Rebase on 5.15-rc5
- Tweak some comment spacing (as suggested by Bjorn)
- Update commit message to elaborate the root cause of MRPC execution hanging (as suggested by Bjorn)
- Rename function check_access() to is_firmware_running() (as suggested by Logan) so the function name suggests the meaning of the return values (as suggested by Bjorn)
- Add comment to function is_firmware_running() (as suggested by Logan)

Kelvin Cao (4):
PCI/switchtec: Error out MRPC execution when MMIO reads fail PCI/switchtec: Fix a MRPC error status handling issue PCI/switchtec: Update the way of getting management VEP instance ID PCI/switchtec: Replace ENOTSUPP with EOPNOTSUPP

Logan Gunthorpe (1):
PCI/switchtec: Add check of event support

 drivers/pci/switch/switchtec.c | 95 ++++++++++++++++++++++++++++------
 include/linux/switchtec.h      |  1 +
 2 files changed, 79 insertions(+), 17 deletions(-)
Signature · 1 line
2.25.1