diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 20:47:08 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-25 16:11:56 +0200 |
commit | 2640da4cccf5cc613bf26f0998b9e340f4b5f69c (patch) | |
tree | fd9339f9760a29c0c0cc4beab2bb5ca702ea1c3a /mm | |
parent | 39c89dff9c366ad98d2e5598db41ff9b1bdb9e88 (diff) | |
download | linux-rt-2640da4cccf5cc613bf26f0998b9e340f4b5f69c.tar.gz |
x86/apic: Soft disable APIC before initializing it
If the APIC was already enabled on entry of setup_local_APIC() then
disabling it soft via the SPIV register makes a lot of sense.
That masks all LVT entries and brings it into a well defined state.
Otherwise previously enabled LVTs which are not touched in the setup
function stay unmasked and might surprise the just booting kernel.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.068290579@linutronix.de
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions