• Ingo Molnar's avatar
    x86/cpufeatures: Move X86_FEATURE_CALL_DEPTH from bit 18 to bit 19 of word 11,... · b1599915
    Ingo Molnar authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
    b1599915
cpufeatures.h 29.8 KB