From: Ashok Raj <ashok.raj@intel.com>
To: linux-ia64@vger.kernel.org
Subject: Re: MCA and processors in SAL_BOOT_RENDEZ status
Date: Fri, 11 Jun 2004 23:19:56 +0000 [thread overview]
Message-ID: <20040611161956.A31762@unix-os.sc.intel.com> (raw)
In-Reply-To: <AEBB9AF2F7713A4FAB1397435451162E4BFAF5@spock.invent.psi.com>
On Wed, Jun 02, 2004 at 01:46:49PM -0700, Luck, Tony wrote:
> Interesting questions ...
>
> >Q1: Do they participate in SAL's monarch selection anyway and can
> >possibly be the monarch to execute OS_MCA code ? Or they just cannot
> >join the RENDEZVOUS and receive INIT later ?
>
> Cpus that were never started by the OS shouldn't be a part of an
> MCA rendezvous.
Correct. Or to be more specific SAL should'nt select them as monarch
since officially OS has not taken control of that CPU.
>
> >Q2: the same question w/ the processors in HALT/HALT_LIGHT status.
>
> Once woken, by the OS cpus become part of the system and so will be
> rendezvoused for MCA. PAL_HALT_LIGHT won't change this, I don't think
> that PAL_HALT would either.
>
> >Q3: the same question w/ the processors that are logically deconfigured
> >from Linux kernel at runtime but the deconfiguration has no report back
> >to SAL. In this case, SAL still sees the processor and can select it as
> >a monarch to execute OS_MCA which will conflict with Linux kernel.
>
> This is where it gets interesting ... I don't think that there is a
> clearly defined way for the OS to deconfigure a processor to prevent
> it coming back from the dead after the OS takes it offline.
A first step solution is to put the processor back in BOOT_RENDEZ mode.
which should be the last step to hand off the cpu to SAL.
In the current cpu hotplug code we just spin inside idle thread.
in arch/ia64/kernel/process.c/play_dead(). Ideally this step
(will) cause a jump to the SAL code, by performing a BIG jump to
br0 saved when the processor was woken into AP mode.
See SAL spec 3.2.5 BR0 holds the return into SAL. If we save enough context
and branch, that would techinically put the processor back in the same mode.
(the above change is under devl for cpu hotplug support)
Cheers,
Ashok Raj
- Linux OS Team
next prev parent reply other threads:[~2004-06-11 23:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 20:34 MCA and processors in SAL_BOOT_RENDEZ status John Lee
2004-06-02 20:46 ` Luck, Tony
2004-06-02 21:50 ` John Lee
2004-06-11 23:19 ` Ashok Raj [this message]
2004-06-15 16:12 ` John Lee
2004-06-15 16:17 ` Ashok Raj
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=20040611161956.A31762@unix-os.sc.intel.com \
--to=ashok.raj@intel.com \
--cc=linux-ia64@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