]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function
authorBorislav Petkov (AMD) <bp@alien8.de>
Wed, 1 Nov 2023 11:52:01 +0000 (12:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:35:46 +0000 (16:35 +0200)
commit82454981660945fc7022c799c21e9811b0ebfb96
tree2a0b89efc6916b86b2d44b0871c3e648c8038144
parent702a65272da64980ca2dc9bd8e26e260ad276ac7
x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function

[ Upstream commit bfff3c6692ce64fa9d86eb829d18229c307a0855 ]

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: http://lore.kernel.org/r/20231120104152.13740-9-bp@alien8.de
Stable-dep-of: c7b2edd8377b ("perf/x86/amd/core: Update and fix stalled-cycles-* events for Zen 2 and later")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/amd.c