Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1181457pxb; Thu, 23 Sep 2021 21:17:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFU+KgVSDH4ImsAW9OqjS0SuOew27MH3iph6HGX1PUNtNlDpvx2hJJNeYx2jQaVk1CYFNp X-Received: by 2002:aa7:d592:: with SMTP id r18mr2794340edq.172.1632457047383; Thu, 23 Sep 2021 21:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632457047; cv=none; d=google.com; s=arc-20160816; b=PNlCyyQ1L1g7qIkZBlqS2q7FbbUbp8mWU2REYqhPLN9XsdneKob4JruRKG9+22NP2V pXHJbg2gXCwTijAytcW7fCP1wbb1iT5aMHmEvAB8VOKezeVvEQfiMBo7lRnHLNa3apr5 6ccb6nNsVUbzNtLhF+72UJduMgWRnYjpWscwYNcElD7UsTKu8vFA2Al+GlFUsIvuX1uB z1R73YRDto8xoFGI3p0F9AA+pSzzD8WSbWDXDWJBAE8pVvgLH9+Mp32WA4MCaVgEPv5Q zjmHCTPH5gJigypIaRXcboF1arwpreTH2PoPwdbrHtlwavkmuzcpf4r6gR2CNOFqYg7C zkLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=FtIxm0mvDKBO9Q6fg3pj6BplPf+RCOp0HYit59CSuw4=; b=Buo/7zOp7JFHuPt/4Rd7C1yD5ZXXqW9Axyk47CX5z+yk2XQG+DLm1mJ4HIu+gCG1km VA+Dsq8HW2I4wBZJLkV5HOUWf/IlwYXCnJOmF2COIayyDR8cQF8pkpcq1ckU6P9P26uz V5/M/f3wVbknduq/Bs1ggNdGLjIIc1vCvEQ2GG4uWkzkIcxj3EXNWvllgn7TG/GRkY9g AwIMW57sTXiWw5zYiBXmo1sZKUWIuIiS45TFwia5U1sSTllKPWS9khrpJ1DKprsQJNHO L4MAHIeT0275q2U7pWY0+X1qlJskbH/fP6P/SNIFYyYtWN0FVmRgJgN8eJkJjctIfJvJ A3eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=XsVtegzg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v8si8386472ejv.188.2021.09.23.21.17.03; Thu, 23 Sep 2021 21:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=XsVtegzg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232553AbhIXERV (ORCPT + 99 others); Fri, 24 Sep 2021 00:17:21 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:3740 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbhIXERV (ORCPT ); Fri, 24 Sep 2021 00:17:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1632456948; x=1663992948; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ujSYJSJibS7ZEanYJFqh0rqX/WIrmvvKSo6Fvc8sU5s=; b=XsVtegzgDcFFdUHUig6PRS29ML7/L4tsCby7OxZClfPsKb004SMAAc5P OKAGk/OWAxqILicrmadde6NTC7UV5i3BlIsMVkcNr/nlc6jbK8SlU6Xyw bAdv06ugLIi7CCf2dc/28zxExgnFnMxJ6Qe8jrfRR4xlMrMzodkrjwMV/ HEs/SazAjuyHKNx5Sa8kQvnHySBv4qrJMvqB76FU38uyLSf4WeietVPZi XMxlUi0PSs8pTz8h5K3FfkZ8sEXCTXaBkR+i7i2Jy9A7uipGY9LBKziYt esOBCvsbxNA1UFpkqyaahP4v8+GDkZcPVGs8Tt5AoEPJDegDfWlpkleZG Q==; IronPort-SDR: ssDjp59dke5Or09pxBHKbnZ0yDTP2HtzXLM0YJG/D8Uil/T/jE9s0DD9ph2o+2/nZoKy+PxUj9 ad9Zo2E4ot/AFz1/jB1PEzHbOy475ktIoKH9WbkbglRevrtvt44LhFvTYTbO77ciygn7I/k++Z McczPAhvbNFgNqGmHqUXg6bMlRZ1N4qzQto6NfhQBlko5hYnDIOMql7AOTxhA23JAyBWYQILtY 1vXr2XIM6bYDlQc4pO3RWuJ44FJ8l1/cSZjIJ3utLG03upfzUtzqIMdDdTBgAIyN4Lp5Pw4Ebv kPF+k2FtL6knv6tmKKeVfZnq X-IronPort-AV: E=Sophos;i="5.85,318,1624345200"; d="scan'208";a="130437083" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Sep 2021 21:15:47 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 23 Sep 2021 21:15:47 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 23 Sep 2021 21:15:46 -0700 From: To: , , , , CC: , Subject: [PATCH 0/5] Switchtec Fixes and Improvements Date: Fri, 24 Sep 2021 11:08:37 +0000 Message-ID: <20210924110842.6323-1-kelvin.cao@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kelvin Cao 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(-) -- 2.25.1