RE: [PATCH] x86/mce: Mask out non-address bits from machine check bank

From: Luck, Tony
Date: Wed Jan 04 2023 - 15:35:33 EST


>> +/* MCi_ADDR register defines */
>> +#define MCI_ADDR_PHYSADDR GENMASK(boot_cpu_data.x86_phys_bits - 1, 0)
>
> Should this use GENMASK_ULL in case we're running in 32-bit mode?

Indeed it should! Thanks for the catch. Also for the review.

-Tony