mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Arjan van de Ven <arjanv@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: finding out the boot cpu number from userspace
Date: Mon, 02 Aug 2004 08:50:53 -0700	[thread overview]
Message-ID: <12690000.1091461852@[10.10.2.4]> (raw)
In-Reply-To: <20040802121635.GE14477@devserv.devel.redhat.com>

> assuming cpu 0 is the boot cpu sounds fragile/incorrect, but for irqbalanced
> I'd like to find out which cpu is the boot cpu, is there a good way of doing
> so ?
> 
> The reason for needing this is that some firmware only likes running on the
> boot cpu so I need to bind firmware-related irq's to that cpu ideally.

On any sane arch, cpu 0 *IS* always the boot CPU, as we dynamically number
CPUs that way ... that doesn't mean that it's apicid 0. I believe that 
PPC64 screwed this up, but AFAIK, everyone else gets it correct ... ;-)

M.


  parent reply	other threads:[~2004-08-02 15:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02 12:16 Arjan van de Ven
2004-08-02 13:37 ` Dave Jones
2004-08-02 14:13 ` Alan Cox
2004-08-02 14:30 ` Zwane Mwaikambo
2004-08-02 14:46   ` Richard B. Johnson
2004-08-02 15:50 ` Martin J. Bligh [this message]
2004-08-02 16:58   ` Jeff Moyer
2004-08-02 17:23     ` Martin J. Bligh
2004-08-02 17:42       ` Alan Cox
2004-08-02 18:49         ` Martin J. Bligh
2004-08-02 18:23           ` Alan Cox
2004-08-02 20:08 ` Chris Wedgwood

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='12690000.1091461852@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=arjanv@redhat.com \
    --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

all inboxes | Powered by JetHome®