From: Horms <horms@verge.net.au>
To: "Fernando Luis Vázquez Cao" <fernando@oss.ntt.co.jp>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
akpm@linux-foundation.org, judith@linux-foundation.org,
fastboot@lists.osdl.org, ebiederm@xmission.com, ak@suse.de
Subject: Re: [Fastboot] [PATCH RFC 0/5] hard_smp_processor_id overhaul
Date: Fri, 2 Mar 2007 16:23:48 +0900 [thread overview]
Message-ID: <20070302072348.GC21694@verge.net.au> (raw)
In-Reply-To: <1172733373.1498.264.camel@sebastian.intellilink.co.jp>
On Thu, Mar 01, 2007 at 04:16:13PM +0900, Fernando Luis Vázquez Cao wrote:
> With the advent of kdump, the assumption that the boot CPU when running
> an UP kernel is always the CPU with a hardware ID of 0 (usually referred
> to as BSP on some architectures) does not hold true anymore. The reason
> being that the dump capture kernel boots on the crashed CPU (the CPU
> that invoked crash_kexec).
>
> As a consequence, the hardcoding of hard_smp_processor_id() to 0 on UP
> systems (see "linux/smp.h") is not correct.
>
> This patch-set does the following:
>
> 1- Remove hardcoding of hard_smp_processor_id on UP systems.
>
> 2- Ask the hardware when possible to obtain the hardware processor id on
> i386, x86_64, and ia64, independently of whether CONFIG_SMP is set or
> not.
>
> 3- Move definition of hard_smp_processor_id for the UP case to asm/smp.h
> on alpha, m32r, powerpc, s390, sparc, sparc64, and um architectures. I
> guess that hardware features could be used to implement
> hard_smp_processor_id even in the UP case, but since I am not an expert
> in this architectures I just move the definition.
>
> The patches have been tested on i386, x86_64, and ia64.
Hi Fernando,
These patches seem find to me. Tested on ia64 (Tiger2)
Acked: Simon Horman <horms@verge.net.au>
prev parent reply other threads:[~2007-03-02 7:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 7:16 Fernando Luis Vázquez Cao
2007-03-01 14:06 ` Benjamin LaHaise
2007-03-02 3:10 ` Fernando Luis Vázquez Cao
2007-03-02 4:14 ` [Fastboot] " Vivek Goyal
2007-03-02 8:06 ` Fernando Luis Vázquez Cao
2007-03-02 8:16 ` [PATCH] hard_smp_processor_id definition for UP systems without APIC (i386) Fernando Luis Vázquez Cao
2007-03-02 7:23 ` Horms [this message]
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=20070302072348.GC21694@verge.net.au \
--to=horms@verge.net.au \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=fastboot@lists.osdl.org \
--cc=fernando@oss.ntt.co.jp \
--cc=judith@linux-foundation.org \
--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
Powered by JetHome