summaryrefslogtreecommitdiff
path: root/arch/x86/tools/objdump_reformat.awk
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-12-04 11:47:02 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-12-19 15:03:06 +0300
commit88a2b4edda3d0709727be53f4423b0b832d91de3 (patch)
treeab5774df8d90175de0a0ec56ec31c2080f773d3a /arch/x86/tools/objdump_reformat.awk
parent5225952d74d43e4c054731c74b8afd700b23a94a (diff)
downloadlinux-88a2b4edda3d0709727be53f4423b0b832d91de3.tar.xz
x86/Kconfig: Rework CONFIG_X86_PAE dependency
While looking at a Xen Kconfig dependency issue, I tried to understand the exact dependencies for CONFIG_X86_PAE, which is selected by CONFIG_HIGHMEM64G but can also be enabled manually. Apparently the dependencies for CONFIG_HIGHMEM64G are strictly about CPUs that do support PAE, but the actual feature can be incorrectly enabled on older CPUs as well. The CONFIG_X86_CMPXCHG64 dependencies on the other hand include X86_PAE because cmpxchg8b is requried for PAE to work. Rework this for readability and correctness, using a positive list of CPUs that support PAE in a new X86_HAVE_PAE symbol that can serve as a dependency for both X86_PAE and HIGHMEM64G as well as simplify the X86_CMPXCHG64 dependency list. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20231204084722.3789473-2-arnd@kernel.org
Diffstat (limited to 'arch/x86/tools/objdump_reformat.awk')
0 files changed, 0 insertions, 0 deletions