]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/cpufeatures: Move X86_FEATURE_CALL_DEPTH from bit 18 to bit 19 of word 11, to...
authorIngo Molnar <mingo@kernel.org>
Sun, 6 Nov 2022 08:55:56 +0000 (09:55 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 6 Nov 2022 08:58:36 +0000 (09:58 +0100)
commitb1599915f09157e98f59556e1b2eafe473603347
tree7a8ae1a33062a06148daa954b59472ec4bb83e8d
parent4fd5f70ce14da230c6a29648c3d51a48ee0b4bfd
x86/cpufeatures: Move X86_FEATURE_CALL_DEPTH from bit 18 to bit 19 of word 11, to leave space for WIP X86_FEATURE_SGX_EDECCSSA bit

Reallocate a soft-cpufeatures bit allocated for call-depth tracking
code, which clashes with this recent KVM/SGX patch being worked on:

        KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest

Instead of reallocating cpufeatures bits in evil merges, make the
allocation explicit.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: x86@kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/cpufeatures.h