Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp552150pxb; Tue, 19 Oct 2021 08:14:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQP6gvV4wnJfbp5Xm8Vq/ltOWMY6ccFLL2953BcH/4n+MmWVlp0VDtmTCJIJ0DUlgMVmoX X-Received: by 2002:a17:90b:350f:: with SMTP id ls15mr431952pjb.220.1634656499635; Tue, 19 Oct 2021 08:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634656499; cv=none; d=google.com; s=arc-20160816; b=BEB2BH93zeApqWjtD72OQUR0r3npl8Ud1jOT4TrRi/9ccrU5jsKNKfGfMfzc6zsjjO nSgRBva7bgqF8FpjK/sIXezA8kkfRSi32TbrV9pGi91WsKVanUAQCsiYYMcFNkHaK26W gelOny34iL7SS+1vocPMyVDrfPCZCaIWlhdPRK0O2TlhNhd+1Ulgj6CBCLSwj/zEDGGn cnNqxEleeBv0e1SaDv4aCtg91iRhNa3UOtyL9B5A/K/9Zmtbulrl627L+WsDQyeniaKq XKmroHV9LvAbSwMuiVChQz2JrkXAiKhQKzT6EYkYWqEziBi/pOibTjBn4/vjmA1Vllrj Fdug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=mMCXxdTLD45nRzsIUglWM1rVJvMu0SUOjjaDn8qEjrc=; b=zaytY58iAj8JVZc/xLzDyVUiKUTCUup7cxZFVUAoqlUBYOmR3mX4F7LyKLzkjhPWuF PcPYUKwtVlzDKkcRXchy0a/ZuYV0Y+cQVq2Zv08kG7/YRoOALqOpDyfjBmrkKIilSdKH OcX7tZmn8fR37CQSt+2NpaOCa/UQO/aHD+coTFTXDCzyekZii0Vl8w4m153Hcgwx6Afk iHeKDsj0C0gbDYAjx8ADXaK/HMnB8D+0fr5e5YJ52ILsitn6h7FZncgE9/XhSdEn3lCD /ETEHbCkRLm+vqQ9xuSSUwvdL11NlIFL0SeO6CtzjMWErCRwoaoPfy4cXv0q1p8p74pW JCoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bY2Zejpl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si22389082pld.185.2021.10.19.08.14.44; Tue, 19 Oct 2021 08:14:59 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bY2Zejpl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233046AbhJSPPO (ORCPT + 99 others); Tue, 19 Oct 2021 11:15:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:34104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbhJSPPN (ORCPT ); Tue, 19 Oct 2021 11:15:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 55DD760FD8; Tue, 19 Oct 2021 15:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634656380; bh=4YzZkOiFi4XZ+CR6Qd/pNGRdUTCx6OBisb3nvJ/50Pc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=bY2ZejplpTQvQJw1FU3h9lX6KkjvLF2GqQYiZV0M5cPqi6lQxiYNQWiESysA6amQ6 5aODPXKFN4Fs5+lipuh2vvx2NXv+VDdE0JANEnixHS/49Y0PECfA2NKiFecGNA3BAP ghzSaPEo3/pNvRXHoiNI8+ieKL5iczB843BgUgyUgqxV0NdtEbihX/WdHEfpO35VjR dKrSUAl0WLFSTvrBfoAZmmkCvcJklFD9TawdTdRD8NnGX291Uwf8jTB/crvzAcR7eu JrX2Lthpy+pzDBQMJUUPESQ8xw/yXt9f8z+LDrTR1VV65CLkATGCedt4GYd3rxCll2 QLYOLD4TCL4oA== Date: Tue, 19 Oct 2021 10:12:58 -0500 From: Bjorn Helgaas To: Xuesong Chen 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 Subject: Re: [PATCH v3 0/2] PCI MCFG consolidation and APEI resource filterin Message-ID: <20211019151258.GA2336650@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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 > 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 >