From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754872AbaEHPOT (ORCPT ); Thu, 8 May 2014 11:14:19 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:33825 "EHLO mail-ee0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754547AbaEHPOG (ORCPT ); Thu, 8 May 2014 11:14:06 -0400 Date: Thu, 8 May 2014 17:14:02 +0200 From: Robert Richter To: Suravee Suthikulanit Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Aravind Gopalakrishnan , Borislav Petkov , Daniel J Blueman , Andreas Herrmann , Myron Stowe Subject: Re: [PATCH V3 1/3] x86/PCI: Fix PCI root numa_node info on AMD family15h Message-ID: <20140508151402.GN32718@rric.localhost> References: <1399489127-6961-1-git-send-email-suravee.suthikulpanit@amd.com> <1399489127-6961-2-git-send-email-suravee.suthikulpanit@amd.com> <20140508085905.GK32718@rric.localhost> <20140508090148.GL32718@rric.localhost> <536B973B.2000207@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <536B973B.2000207@amd.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08.05.14 09:39:55, Suravee Suthikulanit wrote: > On 5/8/2014 4:01 AM, Robert Richter wrote: > >On 08.05.14 10:59:05, Robert Richter wrote: > >>On 07.05.14 13:58:45, suravee.suthikulpanit@amd.com wrote: > >>>@@ -113,10 +122,17 @@ static int __init early_fill_mp_bus_info(void) > >>> info = alloc_pci_root_info(min_bus, max_bus, node, link); > >>> } > >>> > >>>+ /* > >>>+ * The following code is only supported until Fam11h. > >>>+ * Newer processors will depend on ACPI MCFG table instead. > >>>+ */ > >>>+ if (boot_cpu_data.x86 > 0x11) > >>>+ return 0; > >>>+ > >>> /* get the default node and link for left over res */ > >> > >>As this is the only substantial change of your patch, I would better > >>drop ther rest or at least split it in two patches. Should this change > >>also be for stable? > > > >Of course adding the hostbridge must be also part of the patch, didn't > >note this due to the other noise. See why the split would be good? > > > >> > >>-Robert > > > Robert, > > I have already added the hostbridge for family15h in this patch. > > +static struct amd_hostbridge hb_probes[] __initdata = { > + { 0, 0x18, 0x1100 }, /* K8 */ > + { 0, 0x18, 0x1200 }, /* Family10h */ > + { 0xff, 0, 0x1200 }, /* Family10h */ > + { 0, 0x18, 0x1300 }, /* Family11h */ > + { 0, 0x18, 0x1600 }, /* Family15h */ <--- HERE Yes, I noticed that, but later, thus my 2nd mail. > }; > > The rest of the changes are mostly comments, some minor renaming of > variables for clarity, and replace hardcode values with preprocessor macro. > If needed, I can split them. I just would drop it, you just need the fam15h device and the cpu mode check. -Robert