From: Yinghai Lu <Yinghai.Lu@Sun.COM>
To: Andi Kleen <ak@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Joachim Deguara <joachim.deguara@amd.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 10/10] x86_64: k8topology add family 10h and 11h PCI IDs
Date: Mon, 23 Jul 2007 13:18:48 -0700 [thread overview]
Message-ID: <200707231318.49387.yinghai.lu@sun.com> (raw)
this one is dropped by Andi wrongly.
From: "Joachim Deguara" <joachim.deguara@amd.com>
This just adds the PCI IDs of AMD's family 10h and 11h CPU's northbridges to
k8topology discovery.
Signed-off-by: Joachim Deguara <joachim.deguara@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Yinghai Lu <yinghai.lu@sun.com>
arch/x86_64/mm/k8topology.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--- a/arch/x86_64/mm/k8topology.c 2007-07-23 11:14:46.000000000 -0700
+++ b/arch/x86_64/mm/k8topology.c 2007-07-23 11:17:20.000000000 -0700
@@ -28,11 +28,15 @@
u32 header;
header = read_pci_config(0, num, 0, 0x00);
- if (header != (PCI_VENDOR_ID_AMD | (0x1100<<16)))
+ if ((header != (PCI_VENDOR_ID_AMD | (0x1100<<16))) &&
+ (header != (PCI_VENDOR_ID_AMD | (0x1200<<16))) &&
+ (header != (PCI_VENDOR_ID_AMD | (0x1300<<16))))
continue;
header = read_pci_config(0, num, 1, 0x00);
- if (header != (PCI_VENDOR_ID_AMD | (0x1101<<16)))
+ if ((header != (PCI_VENDOR_ID_AMD | (0x1101<<16))) &&
+ (header != (PCI_VENDOR_ID_AMD | (0x1201<<16))) &&
+ (header != (PCI_VENDOR_ID_AMD | (0x1301<<16))))
continue;
return num;
}
reply other threads:[~2007-07-23 20:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707231318.49387.yinghai.lu@sun.com \
--to=yinghai.lu@sun.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=joachim.deguara@amd.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®