x86/APIC: restrict certain messages to BSP
authorJan Beulich <jbeulich@suse.com>
Thu, 14 May 2020 13:04:32 +0000 (15:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 14 May 2020 13:04:32 +0000 (15:04 +0200)
commit5115b437eef595ce77f05bfc02626e31e263e965
treeb6016cc4ce7cf013eb36bbcc7e37b08deaf5605d
parentd155e4aef35cd9c03f6db7030a956f83f33a1e99
x86/APIC: restrict certain messages to BSP

All CPUs get an equal setting of EOI broadcast suppression; no need to
log one message per CPU, even if it's only in verbose APIC mode.

Only the BSP is eligible to possibly get ExtINT enabled; no need to log
that it gets disabled on all APs, even if - again - it's only in verbose
APIC mode.

Take the opportunity and introduce a "bsp" parameter to the function, to
stop using smp_processor_id() to tell BSP from APs. No functional change
from this.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/apic.c
xen/arch/x86/smpboot.c
xen/include/asm-x86/apic.h