Re: [RFC PATCH 01/15] x86/apic: Fix 32-bit APIC initialization for extended Intel families

From: Sohil Mehta
Date: Mon Dec 23 2024 - 15:40:36 EST


On 12/20/2024 3:13 PM, Dave Hansen wrote:
> On 12/20/24 13:36, Sohil Mehta wrote:
>> detect_init_APIC() limits the APIC detection to families 6 and 15.
>> Extend the check to family numbers beyond 15. Also, convert it to a VFM
>> check to make it simpler.
>
> This changelog doesn't _quite_ fit the code. I'd rather it was a bit
> more precise. It does not _just_ expand to "numbers beyond 15".
>
> Also, It doesn't _really_ help to have the changelog tell us the
> function name. That's why we have diff -p. How about:
>
> APIC detection is currently limited to a few specific families
> and will not match the upcoming families >=18.
>
> Extend the check to include all families 6 or greater. Also
> convert it to a VFM check to make it simpler.
>
>> arch/x86/kernel/apic/apic.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)

...

> With that changelog tweak:
>
> Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

Thanks for the Ack! The updated changelog does make it more precise.
I'll use that.