Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4218383pxb; Thu, 14 Oct 2021 00:28:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgfp9IcY1Ldvrjd2l6OIINJg+IqetrG7dRE+T/pQvUMp4v5P28CFFGOUratfNHjaQDwM88 X-Received: by 2002:a17:907:20ec:: with SMTP id rh12mr1883631ejb.15.1634196513887; Thu, 14 Oct 2021 00:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634196513; cv=none; d=google.com; s=arc-20160816; b=rydUc/6SjhT9qcGlaZc16G0u9ahcZvhEaMbGl/d55pkgHPPq2uwOD/aFI0sqZ3NslU 8XsfV1aP57OBGiipqf3YQTyLLJC8YXL7yIYZpKve5Nos/PPvcXh85lrEKgrl1GiE0nn+ QNRowKUWjHVR8MWvOEjQCm2jIczMfadIXrjY1Hr0oM/c5G2/jEgMsogVX5u1HqAwAaL2 mgVKqVo3evWhK1Nfn2srboXbuJN+O4GNyUTg2MfPT/DCdd2v5uHxffh6qv/n6kiMfk+W gWl6ikIrY9kPk8DSmXnwuTzBahT8y6TWWOmuOkV9pzD1LPcN4pbQf3x9W4/vgA0BXFZ2 2/HQ== 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=+QAKN50d25siz5OmSFkpapZECA8lNdXMbV6a+/8vesk=; b=UrKGEJUq43+CkprQRLtr87qPDZNthSSUgn9uonesjTwkQW0y6yZGBnv+oBgxzckSPk onse7x148WyTDpA+87vlWr+eug8Xp+PunwcT/16ZpT0hbRv7UJbd5br+ZokvurK3pATU oHVc1i5iZ3cZycJ8iTbOQou/OZqdk1fsgDm8bDuZZ7yy5/X7YWcJXHOJSNLVPDwhkfjm YhNqqGsRO7Lmr1TNB7m1YvjqvKCxESlAaXII1eX+IGOexxoDwP1QTpqDzxDWime6MT3i gfkw9/uhvGwubvs73nn7hjZaeeEo4UP1XnIjoyS5ckig2vO2yxQjlcNSKapxGoP6s3Wg G6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=v8amAsrE; 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 u9si3300503edf.223.2021.10.14.00.28.09; Thu, 14 Oct 2021 00:28:33 -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=v8amAsrE; 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 S230054AbhJNH23 (ORCPT + 99 others); Thu, 14 Oct 2021 03:28:29 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:11623 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbhJNH2V (ORCPT ); Thu, 14 Oct 2021 03:28:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634196377; x=1665732377; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=X5+DjMGj5EkxrHY6Nro2KJlY+qnoR63CziyM5sji3ik=; b=v8amAsrEQoWMEoYR+O1C+FpfdXK8YkJc5RtzSEgeoFB5kuwMNbX5FmS1 j4NQiz6CB1jl14uEjmaMcwJ96nTSWjd3AovN69rxzbl0LCP9h/bK8WVYJ C1DNgfhv2/a9P3C9JcgYkGfsIF2RcgJoLiMwoeKoQeikMVPkSbATud72u XXHJ/lA/eUu3ViOZsFAjTYSjO4IX3fp6nE7WQfsO8sX6vKJ7B2qo7M5xT 9g2t9LWDGwcNUQUyufMUH6bDnt4PUrrVteeaBkRHTk/kYEDiLv30C8DTs 4OotNVKxID1M+I01IITjxpFMZ9/aOZzdd90Ze0nU+6EWfBqmOzSchpROx g==; IronPort-SDR: ZsV1FKRq6JM4cUKFFr54fPshjo6zl66032qWLdWgeljzfM1bNGLGUcuvZLjdQ839Bopx834IxU +EDh1cBdIXMSFCEGWWAVDB4uUQKU6CiJdXV/OQTsMpCQTEuH7z3OM9cVHNicqanaI9WQzd+Jr1 Iw+DQSW8631F5TwA1XdP3ijtzqCtz4RdGl61SCHqpJTjNBPKaUmame/s/TwJnMLm56AM7zCNnG 0qzSKrWy5NCzqr5aBXxdRNIMS9WJlPY5K1xgnib1iMR7b5lOPx3yT0rvQxQqLdyApqvrxI1mSz jMp3lc06bc10Rt9Q2JDtE0yJ X-IronPort-AV: E=Sophos;i="5.85,371,1624345200"; d="scan'208";a="132951845" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Oct 2021 00:26:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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, 14 Oct 2021 00:26:14 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 14 Oct 2021 00:26:14 -0700 From: To: , , , , CC: , Subject: [PATCH v2 0/5] Switchtec Fixes and Improvements Date: Thu, 14 Oct 2021 14:18:54 +0000 Message-ID: <20211014141859.11444-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, 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/20210924110842.6323-1-kelvin.cao@microchip.com/ 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(-) -- 2.25.1