From: Suresh Siddha <suresh.b.siddha@intel.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "ananth@in.ibm.com" <ananth@in.ibm.com>,
Ingo Molnar <mingo@elte.hu>, Yinghai Lu <yinghai@kernel.org>,
lkml <linux-kernel@vger.kernel.org>,
"stable@kernel.org" <stable@kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Subject: Re: [PATCH] Revert 2fbd07a5f so machines with BSPs phsyical apic id != 0 can boot
Date: Mon, 11 Jan 2010 18:27:04 -0800 [thread overview]
Message-ID: <1263263224.2855.274.camel@sbs-t61.sc.intel.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1001111641180.17145@localhost.localdomain>
On Mon, 2010-01-11 at 16:46 -0800, Linus Torvalds wrote:
>
> On Mon, 11 Jan 2010, Suresh Siddha wrote:
> >
> > Linus, We are in -rc3 and thought we have few days atleast to sort it
> > out and post the correct fix to the problem, rather than do a quick
> > revert (as we know that the current code is not fundamentally broken).
>
> You seem to think that -rc3 is "early". It's not.
>
> Also, you seem to dismiss the fact that the commit has been reported to
> break real machines, and then you try to blame the MACHINE instead of
> blaming the commit.
Linus, I spent two hours in the morning reviewing code/testing this on
different platforms (removing/re-arranging sockets on different
platforms so that I am closer to Ananth's failing config) and I haven't
seen the failure. Even Yinghai tried it separately and couldn't see this
on his platform.
And From Ananth's report, we do know there is a problem some where. I am
not blaming his MACHINE. I was trying to understand what is specific to
his platform/configuration, so that I can better understand where the
issue is. Sorry if my words sounded like blaming. Didn't really mean to.
> That makes me irritated. I don't understand why it's so hard for people to
> see that if there is a problem IT NEEDS TO BE FIXED.
>
> The default action should not be "let's keep the problem and then try to
> figure it out". No, the default action is "let's FIX the problem first!"
>
> Once the problem is fixed, you have as much time as you want to try to
> figure out why it happened in the first time. But we do _not_ just keep a
> broken kernel around because you don't know what is broken.
Ok. I read the problem report today morning and after my testing, I had
some confidence that this is a not a widespread problem. So thought I
will take a day more to get more analysis/information from Ananth before
I ask you/x86 folks for revert. Didn't really mean to hold on to the
broken fix. And hence the ack when you wanted to revert.
> Quite frankly, I hope the "re-submit" is not actually that. There's no
> point in submitting something like this again. I still think that the
> whole "let's have different code-paths for Intel and AMD" thing is just
> plain crazy. There's no reason to do this.
>
> For example, quite apart from the actual problem report, your patch causes
> the x86-64 code to simply become UGLIER AND LESS MAINTAINABLE. That whole
> intel-vs-amd issue is total black magic, with no comments and no reason.
I will work with Yinghai who first observed the failure on AMD platform
and introduced this fix.
commit e0da33646826b66ef933d47ea2fb7a693fd849bf
Author: Yinghai Lu <yhlu.kernel@gmail.com>
Date: Sun Jun 8 18:29:22 2008 -0700
x86: introduce max_physical_apicid for bigsmp switching
a multi-socket test-system with 3 or 4 ioapics, when 4 dualcore cpus or
2 quadcore cpus installed, needs to switch to bigsmp or physflat.
CPU apic id is [4,11] instead of [0,7], and we need to check max apic
id instead of cpu numbers.
also add check for 32 bit when acpi is not compiled in or acpi=off.
> So no. I'm not going to take a resubmission.
I will work with Yinghai and Ananth to come up with a clean solution.
thanks,
suresh
next prev parent reply other threads:[~2010-01-12 2:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-09 10:10 [PATCH] Make Intel 8-way Xeons boot again Ananth N Mavinakayanahalli
2010-01-09 18:11 ` Linus Torvalds
2010-01-09 22:51 ` Yinghai Lu
2010-01-11 17:38 ` Suresh Siddha
2010-01-09 21:13 ` Yinghai Lu
2010-01-10 2:30 ` Ananth N Mavinakayanahalli
2010-01-10 6:35 ` Yinghai Lu
2010-01-10 10:26 ` Ingo Molnar
2010-01-11 4:53 ` [PATCH] Revert 2fbd07a5f so machines with BSPs phsyical apic id != 0 can boot Ananth N Mavinakayanahalli
2010-01-11 21:39 ` Suresh Siddha
2010-01-11 22:55 ` Linus Torvalds
2010-01-11 23:45 ` Suresh Siddha
2010-01-11 23:51 ` Suresh Siddha
2010-01-12 0:46 ` Linus Torvalds
2010-01-12 0:50 ` Linus Torvalds
2010-01-12 2:27 ` Suresh Siddha [this message]
2010-01-14 0:03 ` Yuhong Bao
2010-01-11 21:43 ` [PATCH] Make Intel 8-way Xeons boot again Yinghai Lu
2010-01-11 21:53 ` Suresh Siddha
2010-01-12 19:10 ` Yinghai Lu
2010-01-12 20:20 ` Suresh Siddha
2010-01-12 21:02 ` H. Peter Anvin
2010-01-12 21:07 ` Suresh Siddha
2010-01-12 22:46 ` Suresh Siddha
2010-01-13 4:42 ` Ananth N Mavinakayanahalli
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=1263263224.2855.274.camel@sbs-t61.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=ananth@in.ibm.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=stable@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=venkatesh.pallipadi@intel.com \
--cc=yinghai@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®