Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9816161rwd; Wed, 21 Jun 2023 12:14:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49tJ1jTpqGbaQlD3/UokL8HuXRkCbYVknYJ7dCDv0QCdyylJbr890yc3/ZEnZ+18Jde9DU X-Received: by 2002:a17:902:e5c2:b0:1b5:5162:53bd with SMTP id u2-20020a170902e5c200b001b5516253bdmr17117430plf.33.1687374881702; Wed, 21 Jun 2023 12:14:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687374881; cv=pass; d=google.com; s=arc-20160816; b=RuShNEhsrlEY1ist4zzGl8p2tPyRGur/HHInKP7xShU5zZ9xokMePXifoauadGAwgI MFXLs1Ewp3uzamwFHdp6Buu8BI8TtJbNmReuDbaqBrwoZ19anMEhQmVhavgk0PpISIP2 PL8n9A5jBqbO3vRMOkL9lK0xyiakBQ8pCvJ/1/OptN68kV7wxxuZPehC9eTAJ8Z+VbEO pqW8O2lwt+Brlo7xi7GClCTRoIpGiMlGqoLd4b09CIfq5i/G6ShDadl6kwn1bYLH5J4Z qWdiQJPKBaIqSm5Txc7bo6SmeV+IPIQ+iEywNjzAxqkcfaPWGZGuFKl848vtcgrWE+4r LqbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=IQmd5CIaVqIqJgewV7MARdUTtyvzhThvmxN3sQWj5Wo=; b=WzTjwiWqk9pdEeK5d1O9AcpBi5Hmm/7OIw/hKti/DW0xHwY5Lxj0XkcI9s4BiP+2kB vGNpA2ItS98+AqFBM9IvwAV5FImh9xTic2Er7FQHgXGx4jiGOCcObFwFrW4FTFxrfBmL oqlh7sdenPh339RVzSrwFllCVnQ6r9bPCqpOYPphI1TNE0UDBrbQPN0CyWnRl92o2PmX wP6TXqiYmKS5vZZRQFKh/j2qnBW0fE1jDmR8MCpbZW52meNMWeWGNUINowLlH3/1QwNm bBEeg3duLa4QsyGDPOR0YHfYnRri/EjBQ1BOovjp4p+/Qy4cYmwD3umpliGqvvJVzwS/ hx+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=YmFS8ziK; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k21-20020a170902f29500b001b035ce0653si4395925plc.380.2023.06.21.12.14.28; Wed, 21 Jun 2023 12:14:41 -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=@amd.com header.s=selector1 header.b=YmFS8ziK; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjFUSw6 (ORCPT + 99 others); Wed, 21 Jun 2023 14:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230526AbjFUSw4 (ORCPT ); Wed, 21 Jun 2023 14:52:56 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2059.outbound.protection.outlook.com [40.107.244.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1B1AE6C; Wed, 21 Jun 2023 11:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BSD2Z5ldbM4KMgykADLal2bymily/WcL2gZpc3o8rzbF074s0nnlJAcTKnorS2LQV0DtYpzyb6V3BNjAkcIfTARaEaOs3NJipbtN+mRa/Yq3UCJAlHfJan9hMswzXIS2w1zJdilbHPspLzIu69KlF99GuLqbU5UaT4xuhUSA/BMM7A/2xBHsrS9sFMslMO2Minp6UCm8GxFIqnhJmdpckTHdcE1a10SVosGK85grM/j3BIjW/QRpCZX1Mqq6+Cd8L2mF9M3JlsdCcWNLOcuf+y18kFJEs3G8Wudveixc8GQ25fs9WAd86vN9LSnWJYPf4AUYDx2vqMvPIGz5gDWjNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IQmd5CIaVqIqJgewV7MARdUTtyvzhThvmxN3sQWj5Wo=; b=GemmzcO65PqUZobmxYrMaBscREeUOujMl9WOpbCoPkq/lUvZw5wHaqE1LtNqsUOkh7OTz8q8o0KoQS39AneyNqNEnvk6NQzziNf52nIGWnsbbZWoPO6/v4Qv+HwSsOLWEERpF4ItYRkxuUBUDlkZjbxE7AQYOOPvDHjH3Vs9jEnG33KvhLw3j1BWI9WBqAG4UmKuEeKFlOLzulgDn4iL8Fwk9Cv5La1CqtLFHxelUpKeJkep77o61XcioSJfyxGI41TBf4vSB1Tm8fOdeSyu38D8PoS6ZczTr+a0UEA5LJiEp9RaG7J9p98HlZOVajX/BpEfxYxvMTP+24anpfa5fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IQmd5CIaVqIqJgewV7MARdUTtyvzhThvmxN3sQWj5Wo=; b=YmFS8ziK5bbfm4HQ9++a1shUAc/kIQbUF417C1+LxRP1ncDlVCnfNAzegs5MCTu1kiW+wTiUpWVJhc1RJPORvhtwGLXkS1CHBTe2LX61yVcP5QxAN5V6sS7M+k/K4ex0FCM/KsbqjNcX1Wy3PwO6ZSIAgvdWRw5Hvzpjcwzfs9E= Received: from BYAPR02CA0007.namprd02.prod.outlook.com (2603:10b6:a02:ee::20) by PH7PR12MB5926.namprd12.prod.outlook.com (2603:10b6:510:1d9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Wed, 21 Jun 2023 18:52:51 +0000 Received: from MWH0EPF000971E8.namprd02.prod.outlook.com (2603:10b6:a02:ee:cafe::85) by BYAPR02CA0007.outlook.office365.com (2603:10b6:a02:ee::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23 via Frontend Transport; Wed, 21 Jun 2023 18:52:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000971E8.mail.protection.outlook.com (10.167.243.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6521.17 via Frontend Transport; Wed, 21 Jun 2023 18:52:51 +0000 Received: from ethanolx50f7host.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 21 Jun 2023 13:52:48 -0500 From: Smita Koralahalli To: , CC: Bjorn Helgaas , , "Mahesh J Salgaonkar" , Lukas Wunner , "Kuppuswamy Sathyanarayanan" , Yazen Ghannam , Fontenot Nathan , "Smita Koralahalli" Subject: [PATCH v3 0/2] PCI: pciehp: Add support for native AER and DPC handling on async remove Date: Wed, 21 Jun 2023 18:51:50 +0000 Message-ID: <20230621185152.105320-1-Smita.KoralahalliChannabasappa@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000971E8:EE_|PH7PR12MB5926:EE_ X-MS-Office365-Filtering-Correlation-Id: 49ab4c96-6db2-4492-6169-08db7288b6f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fLdNtf23N5vEP6zIvV8Pkzh7lmKNmrzkRyMVP/O+WTKzQWrOpY739/TBvl1DR4rl84VAzqvYoWPfeuJ5tOBVj5Y4yjKthpFbs5iVn/KcLL2VXPV0STrla41Mz8lk7aCS3ZkvaQsFAI62cQ/RJ+gQArCQVeVnWwSzALIk/auYKXJXjobWQTskaU5/TuG4x+UUk0WY4EwxRc4Jx4LieIxTVS/3xSRKCVnkkvezfHAoPWvTpsTlfU2LHRAm2Ww+72EAHsXn3salmbCMP6JjRGfHXDAeaPmSQLmU9Ml4PHh9/gYpI1wlsRmtfurYT6QWAoNNpWcCtUNCLCvtS+KDj16NEeNBQPVwuMylU7AYpE+7w3/892qJdE5xVT06ypNteOW/g31lA/6U4SL8xFVn7uXPOxoGNGGPtLCJflFWaW18hPlL4fygvOtDOxz5LRWDYWxBBmvmOT1HtljC2/Mi1+LCuEuJmsBIzG/bu4t1YcoUYOfIcPuZ9nbMnisr/h4124QY6UAtCVHncUFp4YGGj0xeteF5enP8f1vwzx2qEtR1SdE+fUED6ck7LMxAOkz7ehSDDj4WlJFVcxi1kpoB97b2IwRUCyWr7CFG33IDltbYEHV1jEHtO3uUDecQOmLFmsOUbGwW286Mdzwdj4UfjM3tW+N+dg3sb3MkhIEimeKNi5FTraedMRmu6gDCsfjMeck1eD36y4YmunKPUNrN7KXudwX6+G4vXzUQ7qtMkIM+8BrdbLnjRmNXOwV5y7aUIcEPPf+lhqFThp5D2Pj2abqzZA== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(346002)(396003)(136003)(451199021)(40470700004)(36840700001)(46966006)(82740400003)(36756003)(356005)(81166007)(82310400005)(86362001)(4326008)(40460700003)(41300700001)(8676002)(966005)(5660300002)(26005)(8936002)(1076003)(40480700001)(478600001)(2616005)(16526019)(186003)(4744005)(426003)(336012)(2906002)(47076005)(54906003)(316002)(70586007)(6666004)(7696005)(110136005)(70206006)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2023 18:52:51.1729 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49ab4c96-6db2-4492-6169-08db7288b6f1 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000971E8.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5926 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 This series of patches adds native support to handle AER and DPC events occurred as a side-effect on an async remove. Link to v2: https://lore.kernel.org/all/20230418210526.36514-1-Smita.KoralahalliChannabasappa@amd.com/ Smita Koralahalli (2): PCI: pciehp: Add support for async hotplug with native AER and DPC/EDR PCI: pciehp: Clear the optional capabilities in DEVCTL2 on a hot-plug drivers/pci/hotplug/pciehp_pci.c | 4 +++ drivers/pci/pcie/dpc.c | 58 ++++++++++++++++++++++++++++++++ include/uapi/linux/pci_regs.h | 1 + 3 files changed, 63 insertions(+) -- 2.17.1