Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10906573rwd; Thu, 22 Jun 2023 06:29:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eTAZAPmtrtl/uFzEWqC+LbARHRqKkKMPvBOPKySLo5OIKWVXic1jqYGksngCJeI1Ch5Qk X-Received: by 2002:a05:6a20:1590:b0:122:de52:eaf4 with SMTP id h16-20020a056a20159000b00122de52eaf4mr7584459pzj.22.1687440546259; Thu, 22 Jun 2023 06:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687440546; cv=none; d=google.com; s=arc-20160816; b=UFPZzT3/qr3vsNiUDCHN9kqsvreX7SgIJvn5olI8uVPM6hpJ7VE4zYrFN93VpefebB t/LFVcvsvEUNTj7ka0eLRwN4/q2R4UvhLYEw+P6rGNEMp3quLNOG+H2s2vf/OfzDn2jh pQgkDoFmF8x3wUrm0X6joD+QEvEXKqyzfkLjUnF1en136K/bxTspB5FbrZkCPjjKMx2M fX9NNH/Zormq5ilL0LCPMvbCAyds9E85DGR3kvfsxG/tGmkjE1Hq7+YfURW0YxBSS53b N7Ci4Y0Qbmx7XTKIoJ/+0WYyANDBl8XDJdpHRSlEVEII1vMGrFDMpaIpv9+57yrprk1I sDKw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=KfJTZAJqtUSMcLIf/NSRpVqMQO6RDnuNHDs0+fp8JFw=; b=reZMiVnrCJXp5khQBwW0ACA7qiTdLLvyuvH8aEXBqDHimRb/nUaCTiko88ss2CL9PL mAV/4ibS3z2ppGMarV3d+hPKaHSvPgRn9bdq7JqwMi7cdCBVz3zS4xWYaTSy4Y7ip7v3 XgWbG9UGWAdkIpADxFdx8mJ1A3PZeKgS2t4yQdcuswLCH+S21dswSd6+L+T2OG+8g678 H466YxS4kmC+FLHKix34MTUPw+bE4vx4cYnqDA2C4TzVqmUkM3hktOLiFFOTxvrWYpje F33kBcdQ2f7p7y0ayFPdJnEanG/Zec84q0S8rp7XEcSVduDzda6ioZYaos3Bvt3ZACyK gLvg== ARC-Authentication-Results: i=1; mx.google.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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i185-20020a636dc2000000b005533c53f5cesi6703701pgc.27.2023.06.22.06.28.53; Thu, 22 Jun 2023 06:29:06 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbjFVNSD (ORCPT + 99 others); Thu, 22 Jun 2023 09:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbjFVNSA (ORCPT ); Thu, 22 Jun 2023 09:18:00 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42F8D1BF9; Thu, 22 Jun 2023 06:17:57 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Qn19W3wK9z6J73H; Thu, 22 Jun 2023 21:16:47 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 22 Jun 2023 14:17:54 +0100 Date: Thu, 22 Jun 2023 14:17:53 +0100 From: Jonathan Cameron To: Terry Bowman CC: , , , , , , , , , Subject: Re: [PATCH v6 20/27] cxl/pci: Add RCH downstream port AER register discovery Message-ID: <20230622141753.00001317@Huawei.com> In-Reply-To: <20230622035126.4130151-21-terry.bowman@amd.com> References: <20230622035126.4130151-1-terry.bowman@amd.com> <20230622035126.4130151-21-terry.bowman@amd.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 > > diff --git a/drivers/cxl/core/port.c b/drivers/cxl/core/port.c > index cfae8307de90..37ecd756b224 100644 > --- a/drivers/cxl/core/port.c > +++ b/drivers/cxl/core/port.c > @@ -678,7 +678,6 @@ static struct cxl_port *cxl_port_alloc(struct device *uport_dev, > device_set_pm_not_required(dev); > dev->bus = &cxl_bus_type; > dev->type = &cxl_port_type; > - :( I can't see any argument that removing the blank line is an improvement. > return port; > > err: > @@ -974,6 +973,8 @@ __devm_cxl_add_dport(struct cxl_port *port, struct device *dport_dev, > return ERR_PTR(-ENOMEM); > > if (rcrb != CXL_RESOURCE_NONE) { > + struct pci_host_bridge *host_bridge; > +