x86/APIC: skip unnecessary parts of __setup_APIC_LVTT()
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2022 11:08:04 +0000 (12:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Mar 2022 11:08:04 +0000 (12:08 +0100)
commit0be65a773df00ef6e14ef61f390b05de2149a5f9
treeb6452c4a372f0652a30f7f5f617a39cf9480ff80
parent07aebcd55fd2f7997e9fe50a6c849c8a12ec2e68
x86/APIC: skip unnecessary parts of __setup_APIC_LVTT()

In TDT mode there's no point writing TDCR or TMICT, while outside of
that mode there's no need for the MFENCE.

No change intended to overall functioning.

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