Re: [patch V3 45/60] x86/apic: Sanitize APID ID range validation
From: Qiuxu Zhuo
Date: Tue Aug 08 2023 - 13:18:50 EST
Hi Thomas,
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ...
> Subject: [patch V3 45/60] x86/apic: Sanitize APID ID range validation
> Now that everything has apic::max_apic_id set and the eventual update for
> the x2APIC case is in place, switch the apic_id_valid() helper to use
> apic::max_apic_id and remove the apic::apic_id_valid() callback.
>
This patch removes default_apic_id_valid() and all references to it.
So may also need to remove the useless declaration of
"extern int default_apic_id_valid(u32 apicid)"
from arch/x86/include/asm/apic.h?
-Qiuxu
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> ...