• Thomas Gleixner's avatar
    x86/cpu: Prepare TSS.IST setup for guard pages · f6ef7322
    Thomas Gleixner authored
    Convert the TSS.IST setup code to use the cpu entry area information
    directly instead of assuming a linear mapping of the IST stacks.
    
    The store to orig_ist[] is no longer required as there are no users
    anymore.
    
    This is the last preparatory step towards IST guard pages.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Andy Lutomirski <luto@kernel.org>
    Cc: "Chang S. Bae" <chang.seok.bae@intel.com>
    Cc: Dominik Brodowski <linux@dominikbrodowski.net>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Josh Poimboeuf <jpoimboe@redhat.com>
    Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Sean Christopherson <sean.j.christopherson@intel.com>
    Cc: x86-ml <x86@kernel.org>
    Link: https://lkml.kernel.org/r/20190414160145.061686012@linutronix.de
    f6ef7322
common.c 47 KB