diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-09 01:04:12 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-08-09 21:58:32 +0300 |
commit | d8666cf780203fe016f13e7d5d1af50811dc01b5 (patch) | |
tree | ac23ceb6dd9302c22ad5d743bec364a4fa07cdbb /block/sed-opal.c | |
parent | b5a5ce58d3d22ce560305ef9c70a2ec21fb887ba (diff) | |
download | linux-d8666cf780203fe016f13e7d5d1af50811dc01b5.tar.xz |
x86/apic: Sanitize APIC 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.
[ dhansen: Fix subject typo ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'block/sed-opal.c')
0 files changed, 0 insertions, 0 deletions