Re: [RFC PATCH v2 5/5] cxl: Add mce notifier to emit aliased address for extended linear cache

Dave Jiang
2024-11-13T15:27:37Z

On 11/13/24 1:11 AM, Borislav Petkov wrote:
> On Tue, Nov 12, 2024 at 03:12:37PM -0700, Dave Jiang wrote:
>> diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
>> index 3b9970117a0f..a8ad140d5692 100644
>> --- a/arch/x86/include/asm/mce.h
>> +++ b/arch/x86/include/asm/mce.h
>> @@ -182,6 +182,7 @@ enum mce_notifier_prios {
>> MCE_PRIO_NFIT,
>> MCE_PRIO_EXTLOG,
>> MCE_PRIO_UC,
>> + MCE_PRIO_CXL,
>> MCE_PRIO_EARLY,
>> MCE_PRIO_CEC,
>> MCE_PRIO_HIGHEST = MCE_PRIO_CEC
>
> Why this priority exactly?

Hi Boris,
I'm actually looking for recommendation on what the proper one is. The handler is expected to offline the aliased address of the reported MCE if there is one.

>