From: "Andreas Herrmann" <andreas.herrmann3@amd.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: "Akinobu Mita" <akinobu.mita@gmail.com>,
ak@suse.de, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: fix cpu-hotplug regression
Date: Mon, 12 Nov 2007 11:07:33 +0100 [thread overview]
Message-ID: <20071112100733.GA5560@alberich.amd.com> (raw)
In-Reply-To: <20071109121634.c7812697.akpm@linux-foundation.org>
On Fri, Nov 09, 2007 at 12:16:34PM -0800, Andrew Morton wrote:
> On Wed, 7 Nov 2007 23:15:38 +0900
> "Akinobu Mita" <akinobu.mita@gmail.com> wrote:
>
> > > [PATCH] x86: fix cpu hotplug regression (don't call mce_create_device on CPU_UP_PREPARE)
> > >
> > > Fix regression introduced with d435d862baca3e25e5eec236762a43251b1e7ffc
> > > ("cpu hotplug: mce: fix cpu hotplug error handling").
> > >
> > > For CPUs not brought up during boot (using maxcpus and additional_cpus
> > > parameters) we don't know whether mce is supported or not at "CPU_UP_PREPARE"-time.
> > > Thus mce_cpu_callback should be called after the CPU is online.
> >
> > Thank you for finding and fixing the problem.
> > I added two fixes to your patch:
> >
> > - Avoid mce_remove_device() for the CPU that is not correctly initialized
> > by mce_create_device() failure.
> >
> > - make CPU_ONLINE callback always return NOTIFY_OK.
> > Because CPU_ONLINE callback return value is always ignored.
> >
> > > Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
> >
> > [akinobu.mita@gmail.com: make CPU_ONLINE callback always return NOTIFY_OK]
> > [akinobu.mita@gmail.com: avoid mce_remove_device() for not initialized device]
> >
> > Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
>
> Andreas, could you please review and preferably runtime-test this new
> version?
I'll test it today ...
> Assuming that all goes well could one of you please prepare a final patch
> with a complete changelog?
... and can send a final patch after successful testing.
Regards,
Andreas
--
Operating | AMD Saxony Limited Liability Company & Co. KG,
System | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Research | Register Court Dresden: HRA 4896, General Partner authorized
Center | to represent: AMD Saxony LLC (Wilmington, Delaware, US)
(OSRC) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
next prev parent reply other threads:[~2007-11-12 10:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 1:12 [PATCH] x86: fix cpu-hotplug regression Andreas Herrmann
2007-11-07 2:35 ` Andi Kleen
2007-11-07 13:18 ` Andreas Herrmann
2007-11-07 14:15 ` Akinobu Mita
2007-11-09 20:16 ` Andrew Morton
2007-11-12 10:07 ` Andreas Herrmann [this message]
2007-11-12 17:38 ` [PATCH] x86: don't call mce_create_device on CPU_UP_PREPARE Andreas Herrmann
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=20071112100733.GA5560@alberich.amd.com \
--to=andreas.herrmann3@amd.com \
--cc=ak@suse.de \
--cc=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/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