diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 20:47:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 12:30:19 +0200 |
commit | 2690ec2a85c8fec1249449a0e7a7ee3b11ef8c02 (patch) | |
tree | 76b5ac86415146a0fc2b7507c8a7ac01fd818b88 /sound | |
parent | beaaa190c654438d1d1afeea69e406d0463ed2a4 (diff) |
x86/apic: Soft disable APIC before initializing it
[ Upstream commit 2640da4cccf5cc613bf26f0998b9e340f4b5f69c ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions