Re: [PATCH 0/5] Switchtec Fixes and Improvements

From: Bjorn Helgaas
Date: Mon Sep 27 2021 - 12:40:19 EST


On Fri, Sep 24, 2021 at 11:08:37AM +0000, kelvin.cao@xxxxxxxxxxxxx wrote:
> From: Kelvin Cao <kelvin.cao@xxxxxxxxxxxxx>
>
> Hi,
>
> Please find a bunch of patches for the switchtec driver collected over the
> last few months.
>
> The first 2 patches fix two minor bugs. Patch 3 updates the method of
> getting management VEP instance ID based on a new firmware change. Patch
> 4 replaces ENOTSUPP with EOPNOTSUPP to follow the preference of kernel.
> And the last patch adds check of event support to align with new firmware
> implementation.
>
> This patchset is based on v5.15-rc2.
>
> Thanks,
> Kelvin
>
> Kelvin Cao (4):
> PCI/switchtec: Error out MRPC execution when no GAS access
> 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 | 87 +++++++++++++++++++++++++++-------
> include/linux/switchtec.h | 1 +
> 2 files changed, 71 insertions(+), 17 deletions(-)

Applied with Logan's reviewed-by to pci/switchtec for v5.16, thanks!

I tweaked the comment spacing in "PCI/switchtec: Error out MRPC
execution when no GAS access" so it matches the existing similar
comments.