Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1321627rdb; Fri, 20 Oct 2023 15:37:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGiyULtute0r1YUQoZb5Yd+7D2yCVXW6ckMEoihy9DQ19m9qLUcNQygObMR/FXXrzj2aI8m X-Received: by 2002:a17:90b:1810:b0:27d:86a1:ae11 with SMTP id lw16-20020a17090b181000b0027d86a1ae11mr3098472pjb.40.1697841440212; Fri, 20 Oct 2023 15:37:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697841440; cv=pass; d=google.com; s=arc-20160816; b=A0pLRcjc6MSNKFMLxkAt27sYBh2rBiAaCS3E/hSDOcO/CYRCl5TdeAcqvxLEcRcm4S dU2zxB+RrlvAGKsC7JDjbZuyP05YJ6wdVNUTvrSL9dCRiFmCc3Zje8iXb05ROi8zUWbH WvQ4rjiH2lcAsxAiCFUQRfT3zf68werdovUJiER9LsDqy+moxFUgJijrvSwL2OXpjJVQ 7ztonfyzVs6u9vdQp4edLXEejEQ8FFA0xdD+5A6HZxfqxeXDfFKDD96ll3cikUUQxN/S Gb9vBISVcIngut0zID1AN9L2+tOPX0r178jrxWLgIfRKuO7gppYNlW9HmkgHWLPVIAHq 9png== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5vvBu3zF4ozbBpyzGxZfrcwbNPXq3veibqGamDvg9bc=; fh=FMjPMOV5BOnvkRWjDfuOXckTWhi20/EnWMu9wkvgkcM=; b=OJtO/NeEOwqGsLKGxiqu0f2viIREJd8s6G7gScQWSsm4BEq5s2KmT7RokZ8GRKY9DG JgoN8ci9aCcjI69Io7pUhv6zW/ZZXlkqmsvphyxmgFmkmikvW1ksLt8qFpUOz3OSf3A4 LWUtdq6VTxoNQAVvmsfWn33xFrJHz1mynOnUWYiCbqLpGi5Jze7om5EkoA14RykpwF6Q nnqDQRWJ/JIsO3P6TG8SHU7drjmo0yAMIEE+YwmO20kH8C4f3BGQDsQNTPq7fItHNyoM R4er1Uv+JIFoq4hPiDX7FHPpICwUaknTd3UTPRWYCD6cGF5HA0aT7tMbqWiwurX8uDAf 4aAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GCGZBAiV; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id 29-20020a17090a1a5d00b002775999122csi2638286pjl.141.2023.10.20.15.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 15:37:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GCGZBAiV; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8176783A2BF7; Fri, 20 Oct 2023 15:37:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229664AbjJTWgy (ORCPT + 99 others); Fri, 20 Oct 2023 18:36:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjJTWgx (ORCPT ); Fri, 20 Oct 2023 18:36:53 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2040.outbound.protection.outlook.com [40.107.244.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF53219E; Fri, 20 Oct 2023 15:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hgRH63/KyvYi0sx8jEQNAca/6iu7gOWJwDii59G+0HEG0Y2m1wc2JZfo6o15DMELNEzNfBgNEdOdfDLkfAup1zGIXcr07QDn1+STBleaB8MeBis/Y0bpl3H4dY9GSTr+PaN2Vn4TVa6FbRI8Y5GXw7MlZjgvdDVzn0m/yn19zKnUcmGprPHXubTlk4DoIlFDuasKEyMTSnlat382U6po1lgaP8urlahmxFmz6IWVj0VPEVJpGc5kasPkTlix31BjZ3VTwJYhOZrE7qsketj/6IK4++/7S5GYhrU3KeyAoyaCtAAHDEcTwZDxaOaKXtSrFrkTD0/+LawZRunBllEzkQ== 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=5vvBu3zF4ozbBpyzGxZfrcwbNPXq3veibqGamDvg9bc=; b=JT0TVE3sOIHNFa76YAJHrmGYQq2UrIgXt6C7Xn8KifKYOQSWSG95BASGiWBNlkx57i6Boq3/vQS6A6EYtAjzGXFZGK9B2KXiENENvHIp9ryU3ckg9RATQZzKcOETNBKtoQLhQcTzygHckcrILLMegmm+uTL4IT4B6MNC+88ekRgNlzJHNFMD+FrBDqTS9X30fziPk3g80XKk7IBtYGHLFTPfU9Dbztw3JtIDHAFvGKaqW6iw5PaIQDBqn0kCja2TzZWENYi3x9ImDqh4HAQxc7tssrx9B1GqA7GMkrktA5A+ej6zZl9YEyqnbgeuicc6ZdVLkGBBfMg/bu9GM6PNIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; 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=5vvBu3zF4ozbBpyzGxZfrcwbNPXq3veibqGamDvg9bc=; b=GCGZBAiV3s87GjX4IG1/iQb0E1bhqnf00Z9/viYKK6GdlHoSZtMem6x81r46n+vbCvMqExnuM4P3TI+wi6iS4MULNDo89G4Ijt4sXHeS79r6nso+R31ZtoaG9QbUqyA3I7GhK8y9Tw6WflIqWsNs55YjgbUYZ2/hiN/e8nmTozg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB3657.namprd12.prod.outlook.com (2603:10b6:5:149::18) by DM4PR12MB7672.namprd12.prod.outlook.com (2603:10b6:8:103::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 22:36:45 +0000 Received: from DM6PR12MB3657.namprd12.prod.outlook.com ([fe80::befc:607d:b3ce:7dbd]) by DM6PR12MB3657.namprd12.prod.outlook.com ([fe80::befc:607d:b3ce:7dbd%5]) with mapi id 15.20.6907.022; Fri, 20 Oct 2023 22:36:45 +0000 Date: Sat, 21 Oct 2023 00:36:39 +0200 From: Robert Richter To: Jonathan Cameron Cc: Davidlohr Bueso , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Terry Bowman Subject: Re: [PATCH v12 10/20] cxl/pci: Introduce config option PCIEAER_CXL Message-ID: References: <20231018171713.1883517-1-rrichter@amd.com> <20231018171713.1883517-11-rrichter@amd.com> <20231019153045.000038cc@Huawei.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231019153045.000038cc@Huawei.com> X-ClientProxiedBy: FR4P281CA0126.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b9::7) To DM6PR12MB3657.namprd12.prod.outlook.com (2603:10b6:5:149::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB3657:EE_|DM4PR12MB7672:EE_ X-MS-Office365-Filtering-Correlation-Id: cb187f57-c4f3-42e0-5840-08dbd1bd09ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IVU0Wn/d6VPjXl6TWEHajYjlEjSl1bJHtSC8f+41+5B3s0tjFFku+GHGBnVqM+CseNXco18Hc4xXTMaD5uqGxJnqmMfcusahskxiYBz1qFM+XpS4f1rMBgUoKKoQTiVnywx3bANeydnB9qStdvMf2RkHu0V0T/iWqZFbDVShZ8aZYvh4U/uJTsMPz1rRrJKr/23jLCbCbV7X7Mr9L3R4Npq5WqcaSfTjtd+Nzwyy3Lti3lfbRDX0jWfRN0cZIrQvaXt3jaA1gTinUG1YnFpvX5opnSpeqJOaQuS9LI1zhlD5B0ASx4ulyO3jbIDgdCAhNjud9LPcx8VlN/Gy9zSJRzSESNvwvbjyk5KYCuscGGQy1H0x6ZHV/lkGigPG8my6SKE7PoNQsuKAYHOUXElksR8MzdDfQND43biOcozgYL1+ZdDeJ2SQ8U14PxQx3VnTYRNLpT71Hpi/GsyndXSq+75odWryaBjmZkvlYzEPMKWvdFihCcHFlo5KgD2rg4IrI2Ko2t/98BiUmuumix1V/rCB+GRi/L9EigjwQaURqUlvyXoJTCaeXhj9PX6OkA2y X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB3657.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(366004)(39860400002)(376002)(136003)(396003)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(478600001)(66946007)(66556008)(66476007)(54906003)(6916009)(316002)(6486002)(4326008)(8936002)(7416002)(4744005)(5660300002)(8676002)(41300700001)(2906002)(38100700002)(53546011)(9686003)(6512007)(6666004)(6506007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?r8EBZ+XYSPSyMxB7Hipk77d7q2rAPI5rZ6iCQg0QWl2S3GsaAAHcRZmwe5tM?= =?us-ascii?Q?qcl9h8jQTofuuwPEUa1bNjBPYqAn2cD8fL304pLxMQYlybpe8ccVsin5v67M?= =?us-ascii?Q?dgMuuHsJU35HVF+6BxFD5a5TiwUx8Z744dwJxIRPm4C+lyzjJU6osBkwdrR+?= =?us-ascii?Q?EIJciQ/h1v/sjyJy1klOAlTvUPKVVUTHLpFX8XBdCgcKBBNPHb14mnjLYAle?= =?us-ascii?Q?EkQ6YLFwUuhs7LR/NmfIqAUWkjXW1tQuU/CrTDclMw87ACkD6Lxha1QFna43?= =?us-ascii?Q?bwpEVnwykyaqbSmJ2tefpIFqHL/7g4BvEaFpD1D2UA4rOmYYD5A5T7VtHeBq?= =?us-ascii?Q?eEoPgfJiOwPHjSMWHwHpBU9b99KiIXmPUDMZPHTqb4fCXprufBQnCCpCelvS?= =?us-ascii?Q?/Irwfk7m8kqJJ2F8TjRpUflSG8Nuyw306viNF9RxjdyWb8RiXTpKzcT4CFFe?= =?us-ascii?Q?QAvMrVevEiQR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ascii?Q?1aiAgR1jYUYkpH76Y7EZKpePbCY9RxYhCqIZ+kGjNZDesGUDubjSdjR+da74?= =?us-ascii?Q?qGafJZLpfJvuOD5KIMrKnLwe7F3zyHqlRTMhUPAgCVM0CqVZ8EPOd1Q0s0Qj?= =?us-ascii?Q?dtYPHR84SHHy4vWAFev1ZLBL7CQWiOhCU3sX/0iffr9uPBo9nWMH/YmRs14k?= =?us-ascii?Q?d/9kztAI0volLFzh/D+cCt1w/r9O8nH2gDRzqXRs?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb187f57-c4f3-42e0-5840-08dbd1bd09ef X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3657.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 22:36:45.1221 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ylnJrtpmwqmVufoL1e4avWk5YGtb5McWzYKWfhog5D+4GtYrdV5qiCOUDrxIR6ch62GynxvqmydB41If9shhag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7672 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 20 Oct 2023 15:37:15 -0700 (PDT) Jon, On 19.10.23 15:30:45, Jonathan Cameron wrote: > On Wed, 18 Oct 2023 19:17:03 +0200 > Robert Richter wrote: > > > CXL error handling depends on AER. > > > > Introduce config option PCIEAER_CXL in preparation of the AER dport > > error handling. Also, introduce the stub function > > devm_cxl_setup_parent_dport() to setup dports. > > > > This is in preparation of follow on patches. > > > > Note the Kconfg part of the option is added in a later patch to enable > > it once coding of the feature is complete. > > > > Signed-off-by: Robert Richter > LGTM > > Reviewed-by: Jonathan Cameron many thanks for all your instant reviews of that series, that helped a lot. -Robert