From: Nikhil P Rao <nikhil.rao@intel.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: "tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@redhat.com" <mingo@redhat.com>,
"hpa@zytor.com" <hpa@zytor.com>,
"x86@kernel.org" <x86@kernel.org>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: Removing unnecessary check in detect_ht
Date: Wed, 25 May 2011 10:18:41 -0700 [thread overview]
Message-ID: <1306343921.19325.1.camel@fedora13> (raw)
In-Reply-To: <20110520114620.GE14745@elte.hu>
This patch removes a check that causes incorrect scheduler domain
setup (SMP instead of SMT) and bootlog warning messages when cpuid
extensions for topology enumeration are not supported and the number
of processors reported to the OS is smaller than smp_num_siblings
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Nikhil P Rao <nikhil.rao@intel.com>
---
arch/x86/kernel/cpu/common.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index cbc70a2..d2bcd54 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -477,13 +477,6 @@ void __cpuinit detect_ht(struct cpuinfo_x86 *c)
if (smp_num_siblings <= 1)
goto out;
- if (smp_num_siblings > nr_cpu_ids) {
- pr_warning("CPU: Unsupported number of siblings %d",
- smp_num_siblings);
- smp_num_siblings = 1;
- return;
- }
-
index_msb = get_count_order(smp_num_siblings);
c->phys_proc_id = apic->phys_pkg_id(c->initial_apicid, index_msb);
--
1.7.4.4
On Fri, 2011-05-20 at 13:46 +0200, Ingo Molnar wrote:
> Your patch does not apply because it's whitespace damaged (all tabs got
> converted to spaces). Please see Documentation/email-clients.txt.
>
> Thanks,
>
> Ingo
next prev parent reply other threads:[~2011-05-25 17:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <43F901BD926A4E43B106BF17856F0755018E1CF482@orsmsx508.amr.corp.intel.com>
[not found] ` <4FF5AC937153B0459463C1A88EB478F2010DFD3D3F@orsmsx505.amr.corp.intel.com>
[not found] ` <43F901BD926A4E43B106BF17856F0755018E1CF69D@orsmsx508.amr.corp.intel.com>
[not found] ` <1305048201.2736.17.camel@sbsiddha-MOBL3.sc.intel.com>
[not found] ` <1F668163772FA946975B9466A9DFF729B5E5@ORSMSX101.amr.corp.intel.com>
2011-05-18 21:01 ` [PATCH] x86: Removing unnecessary check in detect_ht Rao, Nikhil
2011-05-18 21:07 ` Ingo Molnar
2011-05-18 21:13 ` Rao, Nikhil
2011-05-18 21:23 ` Ingo Molnar
2011-05-19 2:40 ` Rao, Nikhil
2011-05-19 18:09 ` Ingo Molnar
2011-05-19 23:03 ` Rao, Nikhil
2011-05-20 11:46 ` Ingo Molnar
2011-05-25 17:18 ` Nikhil P Rao [this message]
2011-05-25 21:34 ` [tip:x86/urgent] x86: Remove unnecessary check in detect_ht() tip-bot for Nikhil P Rao
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=1306343921.19325.1.camel@fedora13 \
--to=nikhil.rao@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=suresh.b.siddha@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@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