mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Add the initial files for kernel page table isolation, with a minimal init function and the boot time detection for this misfeature. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Boris Ostrovsky <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Dave Hansen <[email protected]> Cc: David Laight <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: Eduardo Valentin <[email protected]> Cc: Greg KH <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
12 lines
198 B
C
12 lines
198 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef _INCLUDE_PTI_H
|
|
#define _INCLUDE_PTI_H
|
|
|
|
#ifdef CONFIG_PAGE_TABLE_ISOLATION
|
|
#include <asm/pti.h>
|
|
#else
|
|
static inline void pti_init(void) { }
|
|
#endif
|
|
|
|
#endif
|