RE: [tip: ras/core] x86/mce: Add a struct mce.kflags field

From: Luck, Tony
Date: Wed Apr 15 2020 - 14:20:35 EST


> diff --git a/arch/x86/include/uapi/asm/mce.h b/arch/x86/include/uapi/asm/mce.h
> index 955c2a2..5b59d80 100644
> --- a/arch/x86/include/uapi/asm/mce.h
> +++ b/arch/x86/include/uapi/asm/mce.h
> @@ -35,6 +35,7 @@ struct mce {
> __u64 ipid; /* MCA_IPID MSR: only valid on SMCA systems */
> __u64 ppin; /* Protected Processor Inventory Number */
> __u32 microcode; /* Microcode revision */
> + __u64 kflags; /* Internal kernel use. See below */
> };

Minor nit. You moved the #defines for the kflags bits to internal.h (which
was a good thing), but left the "See below" comment here.

-Tony