Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86, AMD: Disable wrongly set X86_FEATURE_LAHF_LM CPUID bit
fbd8b18 turns off the bit for /proc/cpuinfo. However, a proper/full fix would be to additionally turn off the bit in the CPUID output so that future callers get correct CPU features info. Do that by basically reversing what the BIOS wrongfully does at boot. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> LKML-Reference: <1251705011-18636-3-git-send-email-petkovbb@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
- Loading branch information