Re: [PATCH RESEND 2/5] x86/MCE: Handle MCA controls in a per_cpu way

From: Borislav Petkov
Date: Wed Apr 10 2019 - 16:04:34 EST


On Wed, Apr 10, 2019 at 07:41:47PM +0000, Ghannam, Yazen wrote:
> So I'm thinking to add another patch to the set. This will set
> mce_bank.init=0 if we read MCA_CTL=0 from the hardware.

Ok.

> Then we check if mce_bank.init=0 in the set/show functions and give a
> message if the bank is not used.

Nah, not a message. return -ENODEV or -EINVAL or so.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.