Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753319AbbKYNM2 (ORCPT ); Wed, 25 Nov 2015 08:12:28 -0500 Received: from mga02.intel.com ([134.134.136.20]:32776 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbbKYNM0 (ORCPT ); Wed, 25 Nov 2015 08:12:26 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,342,1444719600"; d="scan'208";a="2106936" Subject: Re: [Bugfix] x86/PCI: Fix regression caused by commit 4d6b4e69a245 To: Jiang Liu , "Rafael J. Wysocki" , Bjorn Helgaas References: <1447648057-13644-1-git-send-email-jiang.liu@linux.intel.com> <20151124164907.GA24819@localhost> <56556D89.6020801@linux.intel.com> Cc: Bjorn Helgaas , Linux Kernel Mailing List , Linux PCI , ACPI Devel Maling List , x86@kernel.org, Keith Busch , Arthur Marsh From: "Rafael J. Wysocki" Organization: Intel Technology Poland Sp. z o. o., KRS 101882, ul. Slowackiego 173, 80-298 Gdansk Message-ID: <5655B392.7070701@intel.com> Date: Wed, 25 Nov 2015 14:11:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56556D89.6020801@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2655 Lines: 56 On 11/25/2015 9:12 AM, Jiang Liu wrote: > On 2015/11/25 6:19, Rafael J. Wysocki wrote: >> On Tue, Nov 24, 2015 at 5:49 PM, Bjorn Helgaas wrote: >>> On Mon, Nov 16, 2015 at 12:27:37PM +0800, Jiang Liu wrote: >>>> From: Liu Jiang >>>> >>>> Commit 4d6b4e69a245 ("x86/PCI/ACPI: Use common interface to support >>>> PCI host bridge") converted x86 to use the common interface >>>> acpi_pci_root_create, but the conversion missed on code piece in >>>> arch/x86/pci/bus_numa.c, which causes regression on some legacy >>>> AMD platforms as reported by Arthur Marsh . >>>> The root causes is that acpi_pci_root_create() fails to insert >>>> host bridge resources into iomem_resource/ioport_resource because >>>> x86_pci_root_bus_resources() has already inserted those resources. >>>> So change x86_pci_root_bus_resources() to not insert resources into >>>> iomem_resource/ioport_resource. >>> Fixes: 4d6b4e69a245 ("x86/PCI/ACPI: Use common interface to support PCI host bridge") >>> >>>> Signed-off-by: Jiang Liu >>>> Reported-and-tested-by: Arthur Marsh >>> What's the status of this? It looks like a regression we need to fix >>> for v4.4. >>> >>> AFAICT, Arthur did *not* test this patch (rather, his response says he >>> did test it and the test failed). >>> >>> 4d6b4e69a245 was merged by Rafael, and I assume he'll merge the fix >>> unless I hear otherwise. >> Quite frankly, I'm more likely to revert the offending commit at this >> point as that's not the only regression reported against it and the >> fix only helps in one case (out of three known to me). > Hi Rafael, > I got regression report from Hans de Bruin, > Keith Busch , and Arthur Marsh > . Hans and Keith also reports > the patch fixes the regression. For Arthur's case, the debug > patch works for him, but the formal patch based on the debug > patch fails, so I need to do more investigation about this. > Is there any other report related to commit 4d6b4e69a245 so > I could help to investigate? OK, so the proposed bug fix works for everybody, right? In that case there's no reason not to apply it. If there's anyone who can reproduce the problem and for whom that patch doesn't work, please let me know. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/