Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13216242rwd; Fri, 23 Jun 2023 18:24:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WjhM+R49RV1tBo3jLaEf9bZFN5s5hVC0oINfbIVQrR/wPJCCF9dcQphJVfx5NUftwUvoc X-Received: by 2002:a6b:fd07:0:b0:777:b464:6ff9 with SMTP id c7-20020a6bfd07000000b00777b4646ff9mr19944139ioi.21.1687569874266; Fri, 23 Jun 2023 18:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687569874; cv=none; d=google.com; s=arc-20160816; b=eRHsFIr93SH4OCx96RbByMZqgzcKEaMXUWy1jf6naA4tD9k8wY0xhWh/nyXQ2qfnOU 1hhBGcDpBzyYrI+lGz2g590fT2bXiw6WoNIJ3yJk2hqc1Cw9j33Ek4YFlfSuyn+QtgSO T4TftvQFStkIuKQeiWjRFHd6t7OWJKRQE1exAQG8DPt9uECSlmTZmQyGzQuCjKA/pSfm F0KTfigi5piQgbEDMmQGzKJbqEodgmT2aEQ78qWx5cBfi9R04oEM1sbe6a/REN3JaTIu PV480nI6VS6EqmT80OrEFBkfambjqevA8yuCF152lmdnS+RxNaKOvB2Z9POT9fbzC43n j2qw== 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:to:from:dkim-signature; bh=YQL45pRH5hMLO/Znkefnq6Ao5hymOrQkWwlU5TlEXmE=; fh=yB2m6/49iT89e1LxflcVBWihaXOOC2D5Ks/j9iVsYiw=; b=0EpbbFZGHPcFs/09gLVAhfFsv8A6zdOt31CgN5hsTfEaDM6lZEq+HDPpkCAA3makqY wWMPbFE0oHs06caL9fB+YElwCKiaiESB/UJkiU9Ton3Ye5pOdFxD/XldHSoU7yuYgikd +UBae6rK4ATcAJTvMgr9izlcrcOSLc8klW9qEZiM7cvNCyPOicVGStCkOkATb1YFMh6P KbxRRgtP+gZ31448t/YB+T8GmW68JD5rwnI5+U0b0Z3TuzVJ04cf5IdEC63o1XGHFdon DOlXj/718conyd4CC/b0PsWLdpE1FZZTSKHvJulh75jEC4MK6abCG2oheifg1ZNf87/G wLnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=HlwvHZOq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a17090a3e0600b0024df4dae398si2856686pjc.18.2023.06.23.18.24.15; Fri, 23 Jun 2023 18:24:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=HlwvHZOq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230293AbjFXBOo (ORCPT + 99 others); Fri, 23 Jun 2023 21:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjFXBOm (ORCPT ); Fri, 23 Jun 2023 21:14:42 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3DBA26BD; Fri, 23 Jun 2023 18:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1687569281; x=1719105281; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=gVBYtovFlShT8nOaYyDi+3MWCsKpoIGfmBUN8cnVydg=; b=HlwvHZOqsBs3iyDeb7LDQoYUmii5B7m/krGfIN6qhC/MjqCAnKYxYpVg TOvm9uE5sh1sQaBrvqO9O92qxSweEcda42z8IVLiFoeD3V8gxgY75U1IK UPjIra7s8Mutg1I7PT398nm6yZzL1N/rMErZuhVdBmo1WCfigTWPoZT5j xfrt51vweqVpj/ugBFk1a/PBGqSP4pC6cMUz0SP1K33/19cL4/PT5XawP EAikdCVJSCm4ixs37cicN4EiapulEkJwg890lQtlyxp0nZ9MRYH1nlCpE YWiJ6eVS2oRXIsGOq5XuOknB9COW2LHPlxWnq7Wj3Asisba6x/vcZXFcl Q==; X-IronPort-AV: E=Sophos;i="6.01,153,1684825200"; d="scan'208";a="158380481" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Jun 2023 18:14:41 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2507.21; Fri, 23 Jun 2023 18:14:40 -0700 Received: from localhost (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 23 Jun 2023 18:14:40 -0700 From: To: , , , , Subject: [PATCH 0/2] PCI: switchtec: Add support for PCIe Gen5 devices Date: Fri, 23 Jun 2023 17:00:01 -0700 Message-ID: <20230624000003.2315364-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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kelvin Cao Hi, This patchset adds support for Switchtec PCIe Gen5 devices by adding device IDs to the driver and PCI quirks. There's also minor code change to accommodate those devices. The patchset is based off of v6.4-rc7. Thanks, Kelvin Kelvin Cao (2): PCI: switchtec: Use normal comment style PCI: switchtec: Add support for PCIe Gen5 devices drivers/pci/quirks.c | 36 ++++++++ drivers/pci/switch/switchtec.c | 158 ++++++++++++++++++++------------- include/linux/switchtec.h | 1 + 3 files changed, 134 insertions(+), 61 deletions(-) -- 2.25.1