Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-27 Thread Naveen N. Rao
On 08/27/2012 02:42 PM, Borislav Petkov wrote: On Thu, Aug 23, 2012 at 05:26:09PM +0530, Naveen N. Rao wrote: Sure - sounds like a good idea. Further, a #define could eliminate the need to change other references, but I'm not sure that's GENERALLacceptable #define mce_bios_cmci_threshold boot_f

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-27 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:26:09PM +0530, Naveen N. Rao wrote: > Sure - sounds like a good idea. Further, a #define could eliminate > the need to change other references, but I'm not sure that's > GENERALLacceptable > > #define mce_bios_cmci_threshold boot_flags.mce_bios_cmci_threshold > > could el

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-26 Thread Naveen N. Rao
On 08/22/2012 06:16 PM, Borislav Petkov wrote: On Wed, Aug 22, 2012 at 06:00:54PM +0530, Naveen N. Rao wrote: The ACPI spec doesn't provide for a way for the bios to pass down recommended thresholds to the OS on a _per-bank_ basis. This patch adds a new boot option, which if passed, allows bios

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-23 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:38:05PM +0530, Naveen N. Rao wrote: > Sure - that sounds like a good idea. Further, a #define can be used to > avoid the need to change other references, though I'm not sure it's > considered good practice: > > #define mce_bios_cmci_threshold boot_flags.mce_bios_cmci_thre

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-23 Thread Naveen N. Rao
On 08/22/2012 06:16 PM, Borislav Petkov wrote: On Wed, Aug 22, 2012 at 06:00:54PM +0530, Naveen N. Rao wrote: The ACPI spec doesn't provide for a way for the bios to pass down recommended thresholds to the OS on a _per-bank_ basis. This patch adds a new boot option, which if passed, allows bios

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-22 Thread Borislav Petkov
On Wed, Aug 22, 2012 at 06:00:54PM +0530, Naveen N. Rao wrote: > The ACPI spec doesn't provide for a way for the bios to pass down > recommended thresholds to the OS on a _per-bank_ basis. This patch adds > a new boot option, which if passed, allows bios to initialize the CMCI > threshold. In such