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

From: Logan Gunthorpe
Date: Fri Sep 24 2021 - 11:53:33 EST




On 2021-09-24 5:08 a.m., 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(-)

Thanks Kelvin! This all looks good to me.

For the entire series (except the last patch which I wrote):

Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>

Logan