[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <adar5sns8f8.fsf@cisco.com>
Date: Wed, 28 Oct 2009 11:03:07 -0700
From: Roland Dreier <rdreier@...co.com>
To: Mike Travis <travis@....com>
Cc: Andi Kleen <ak@...ux.intel.com>,
Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH] x86, mce: disable MCE if cpu has no MCE banks
> > But would we want to accumulate all the different combinations of banks
> > along with a CPU mask and then print something like:
> >
> > CPUs 0 4: MCA banks CMCI:2 CMCI:3 CMCI:5 CMCI:6 SHD:8
> > CPUs 1 2 3 5 6 7: MCA banks CMCI:2 CMCI:3 CMCI:5 SHD:6 SHD:8
> > CPUs 8 9 10 11 12 13 14 15: MCA banks SHD:2 SHD:3 SHD:5 SHD:6 SHD:8
>
> Or use a cpumask and cpulist_scnprintf which condenses the cpu list nicely.
Thanks! I didn't know about that API.
However with that said I think the real issue is whether that style of
output is a good idea, no matter how nicely the CPU list is formatted :)
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists