From: Kenji Kaneshige <kaneshige.kenji@soft.fujitsu.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH][BUG] Ignore disabled Local SAPIC Affinity Structure in SRAT
Date: Wed, 15 Mar 2006 05:45:11 +0000 [thread overview]
Message-ID: <4417A9E7.3030904@soft.fujitsu.com> (raw)
Hi,
Here is a patch to fix a bug in the code for parsing SRAT.
Thanks,
Kenji Kaneshige
According to the ACPI spec, the OSPM must ignore the contents of the
Processor Local APIC/SAPIC Affinity Structure in System Resource
Affinity Table (SRAT), if its enable flag is cleared. However, ia64
linux refers all of the Processor Local APIC/SAPIC Affinity Structures
in SRAT regardless of the enable flag. This is obviously against the
ACPI spec. This patch fixes this bug.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
---
arch/ia64/kernel/acpi.c | 3 +++
1 files changed, 3 insertions(+)
Index: linux-2.6.16-rc6/arch/ia64/kernel/acpi.c
=================================--- linux-2.6.16-rc6.orig/arch/ia64/kernel/acpi.c 2006-03-15 12:59:46.000000000 +0900
+++ linux-2.6.16-rc6/arch/ia64/kernel/acpi.c 2006-03-15 12:59:57.000000000 +0900
@@ -437,6 +437,9 @@
void __init
acpi_numa_processor_affinity_init(struct acpi_table_processor_affinity *pa)
{
+ if (!pa->flags.enabled)
+ return;
+
/* record this node in proximity bitmap */
pxm_bit_set(pa->proximity_domain);
reply other threads:[~2006-03-15 5:45 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=4417A9E7.3030904@soft.fujitsu.com \
--to=kaneshige.kenji@soft.fujitsu.com \
--cc=linux-ia64@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