From: Ingo Molnar <mingo@elte.hu>
To: Mike Travis <travis@sgi.com>
Cc: Andi Kleen <andi@firstfloor.org>, Pavel Machek <pavel@suse.cz>,
Rusty Russell <rusty@rustcorp.com.au>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Jack Steiner <steiner@sgi.com>, "H. Peter Anvin" <hpa@zytor.com>,
Richard Purdie <rpurdie@rpsys.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver
Date: Mon, 27 Oct 2008 12:42:05 +0100 [thread overview]
Message-ID: <20081027114205.GB5631@elte.hu> (raw)
In-Reply-To: <49024B1D.1050407@sgi.com>
* Mike Travis <travis@sgi.com> wrote:
> Subject: SGI X86 UV: Provide a System Activity Indicator driver
>
> The SGI UV system has no LEDS but uses one of the system controller
> regs to indicate the online internal state of the cpu. There is a
> heartbeat bit indicating that the cpu is responding to interrupts,
> and an idle bit indicating whether the cpu is idle when the heartbeat
> interrupt occurs. The current period is one second.
>
> When a cpu panics, an error code is written by BIOS to this same reg.
>
> This patchset provides the following:
>
> * x86_64: Add base functionality for writing to the specific SCIR's
> for each cpu.
>
> * heartbeat: Invert "heartbeat" bit to indicate the cpu is
> "interruptible". If the current thread is the idle thread,
> then indicate system is "idle".
>
> * if hotplug enabled, all bits are set (0xff) when the cpu is disabled.
>
> Based on linux-2.6.tip/master.
>
> Signed-off-by: Mike Travis <travis@sgi.com>
> ---
> arch/x86/include/asm/uv/uv_hub.h | 63 +++++++++++++++++++++++-
> arch/x86/kernel/genx2apic_uv_x.c | 102 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 164 insertions(+), 1 deletion(-)
applied to tip/x86/uv, thanks Mike!
Please send the cpu_idle() cleanup patch separately.
Another minor thing i noticed:
@@ -130,7 +140,9 @@ struct uv_hub_info_s {
unsigned char blade_processor_id;
unsigned char m_val;
unsigned char n_val;
+ struct uv_scir_s scir;
please align the new field vertically, like they were aligned before -
by adding another tab to the whole lineup. (This will also make it
appear nicer when viewed together with followup definitions below this
section)
Ingo
next prev parent reply other threads:[~2008-10-27 11:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 11:19 [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver Mike Travis
2008-10-24 12:01 ` Pavel Machek
2008-10-24 12:05 ` Ingo Molnar
2008-10-24 12:27 ` Mike Travis
2008-10-24 18:12 ` Andi Kleen
2008-10-24 22:18 ` Mike Travis
2008-10-24 22:24 ` Mike Travis
2008-10-27 11:42 ` Ingo Molnar [this message]
2008-10-27 14:38 ` Mike Travis
2008-10-27 14:51 ` [PATCH 1/1] SGI x86 UV: Update SCIR driver to use idle_cpu function Mike Travis
2008-10-27 18:06 ` Ingo Molnar
2008-10-27 18:46 ` [PATCH 1/1] SGI x86 UV: Use raw_smp_processor_id Mike Travis
2008-10-25 6:56 ` [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver Andi Kleen
2008-10-27 15:12 ` Mike Travis
2008-10-27 11:36 ` Ingo Molnar
2008-10-27 11:43 ` Ingo Molnar
2008-10-24 12:14 ` Mike Travis
-- strict thread matches above, loose matches on Subject: below --
2008-09-19 14:37 [PATCH 0/1] " Mike Travis
2008-09-19 14:37 ` [PATCH 1/1] " Mike Travis
2008-09-22 11:48 ` Ingo Molnar
2008-09-22 14:42 ` Mike Travis
2008-09-28 19:42 ` Pavel Machek
2008-10-01 18:15 ` Mike Travis
2008-10-01 19:41 ` Mike Travis
2008-10-02 8:37 ` Pavel Machek
2008-10-02 14:33 ` Mike Travis
2008-09-22 14:47 ` Mike Travis
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=20081027114205.GB5631@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
--cc=rpurdie@rpsys.net \
--cc=rusty@rustcorp.com.au \
--cc=steiner@sgi.com \
--cc=tglx@linutronix.de \
--cc=travis@sgi.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.