Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1050125pxb; Tue, 19 Oct 2021 19:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9K2jd8XdSJGnpj7yIYOAsKiEctIgIrovCixP7RX3/4Dwv5RF+HxJEbY/uHbzQbBcTvpYs X-Received: by 2002:aa7:dcc2:: with SMTP id w2mr57211665edu.192.1634697182162; Tue, 19 Oct 2021 19:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634697182; cv=none; d=google.com; s=arc-20160816; b=odSppQHsDdAHBUm7Jh6XtheB0MS65Mhu/CMDEKySyAiDfA64sdLR9ejD5vOfMhONSK 0FQmprGI9lzr1QwxUrHhQ+vrTL+UP6qsjzTBFcI1MHFUhT8JPvTpQ+PdbAdyhecCf+uI xt1rtxQHVNBrIDoxMTa+BKR7UmNOTNotOBNcRgSuUaG+K0ULExkuFNVvxHYr8AZy0mJ7 gFefnVL9BN2auYrD+ApthQc+PEaUMcZEDEG6qtxbkPMl+lMWklF5rkxPBQczTd5UF0UO 2ejpAuMNH7FSdK10PDSWnfpyQlLgi1AGFkc4FMXFhW5sQySujlgI8gIBLG3NeBqfEn30 OiGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=/jtszfQa73d0RKsWg2Qh3jLJ8epeDSPJGOk1qWyNr38=; b=KoV7KR9cQ/ZcVTDp7TSfs0pH71EK2BnWzAKytUV3pbNzQS5Vaoh47XBknJ9NcziXiE 3DKFAiBIDeOljDEFFio/R89N7CK75tr16Tx9C8VJ3ippz4P6wU6PNKZWplwUDVd3msYX +FfPzNVz/CWPRUWsdbCJl7wARDmcvyiuo+D77KcgpXfskIl0w8w0xmGR6+WHOdjLWOO5 svYh4ucvhXuKjaZPTDj6BnNO0zDv3L42A2k8unw0wOVhzwqrOZYQqNC9o4tpWFmaTV/L lAee1H2oWa6fcYBvgOIuP6eaMjDMWp7PR0kuO4S9A6lpbgh+53lua1xpH4tzK/izvlw4 xFkQ== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si997292ejk.552.2021.10.19.19.32.37; Tue, 19 Oct 2021 19:33:02 -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; 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=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbhJTCaX (ORCPT + 99 others); Tue, 19 Oct 2021 22:30:23 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:52231 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbhJTCaW (ORCPT ); Tue, 19 Oct 2021 22:30:22 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=xuesong.chen@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0Ut-jNXD_1634696886; Received: from 30.225.212.40(mailfrom:xuesong.chen@linux.alibaba.com fp:SMTPD_---0Ut-jNXD_1634696886) by smtp.aliyun-inc.com(127.0.0.1); Wed, 20 Oct 2021 10:28:07 +0800 Message-ID: <90a632cc-352f-1067-718a-a6b515bf87d7@linux.alibaba.com> Date: Wed, 20 Oct 2021 10:28:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v3 0/2] PCI MCFG consolidation and APEI resource filterin To: Bjorn Helgaas Cc: catalin.marinas@arm.com, lorenzo.pieralisi@arm.com, james.morse@arm.com, will@kernel.org, rafael@kernel.org, tony.luck@intel.com, bp@alien8.de, mingo@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20211019151258.GA2336650@bhelgaas> From: Xuesong Chen In-Reply-To: <20211019151258.GA2336650@bhelgaas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/10/2021 23:12, Bjorn Helgaas wrote: > On Tue, Oct 19, 2021 at 12:49:16PM +0800, Xuesong Chen wrote: >> Hello All, >> >> The idea of this patch set is very strainforward, it's somehow a refactor >> of the original codes to share some ones that they should do. Based on that, >> we can resolve the MCFG address access issue in APEI module on x86 in a >> command way instead of the current arch-dependent one, while this issue also >> does happen on ARM64 platform. >> >> The logic of the series is very clear(IMO it's even time-wasting to explain that): > > If you want people to look at and care about your changes, it is never > a waste of time to explain them. En, very good point and professional, I'll keep in mind ;-) > >> Patch #1: Escalating the 'pci_mmcfg_list' and 'pci_mmcfg_region' to the >> pci.[c,h] which will shared by all the arches. A common sense, in some degree. >> >> Patch #2: Since the 'pci_mmcfg_list' now can be shared across all arches, >> the arch-specific fix method can be replaced by the new solution naturally. >> >> Now the v3 patch has been finalized, can we move forward to the next step? - >> either give the concerns/objections or pick it up. > > It's helpful to your reviewers if you include a note about changes > between v2 and v3, as you did in your v2 0/2 cover letter. > > It's also helpful if you thread the series with patches 1 and 2 as > responses to the cover letter. That makes it easy to download the > patches using b4. Here's a little more background: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v5.14#n320 OK, I will rewrite it in the next version... > >> Xuesong Chen (2): >> PCI: MCFG: Consolidate the separate PCI MCFG table entry list >> ACPI: APEI: Filter the PCI MCFG address with an arch-agnostic method >> >> arch/x86/include/asm/pci_x86.h | 17 +--------------- >> arch/x86/pci/mmconfig-shared.c | 30 ---------------------------- >> drivers/acpi/apei/apei-base.c | 45 ++++++++++++++++++++++++++++-------------- >> drivers/acpi/pci_mcfg.c | 34 ++++++++++++------------------- >> drivers/pci/pci.c | 2 ++ >> include/linux/pci.h | 17 ++++++++++++++++ >> 6 files changed, 63 insertions(+), 82 deletions(-) >> >> -- >> 1.8.3.1 >>