head_32.S (ab1c247094e323177a578b38f0325bf79f0317ac) head_32.S (ea4654e0885348f0faa47f6d7b44a08d75ad16e9)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 *
6 * Enhanced CPU detection and feature setting code by Mike Jagdis
7 * and Martin Mares, November 1997.
8 */

--- 400 unchanged lines hidden (view full) ---

409__INITDATA
410 .align 4
411SYM_DATA(early_recursion_flag, .long 0)
412
413__REFDATA
414 .align 4
415SYM_DATA(initial_code, .long i386_start_kernel)
416
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 *
6 * Enhanced CPU detection and feature setting code by Mike Jagdis
7 * and Martin Mares, November 1997.
8 */

--- 400 unchanged lines hidden (view full) ---

409__INITDATA
410 .align 4
411SYM_DATA(early_recursion_flag, .long 0)
412
413__REFDATA
414 .align 4
415SYM_DATA(initial_code, .long i386_start_kernel)
416
417#ifdef CONFIG_PAGE_TABLE_ISOLATION
417#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
418#define PGD_ALIGN (2 * PAGE_SIZE)
419#define PTI_USER_PGD_FILL 1024
420#else
421#define PGD_ALIGN (PAGE_SIZE)
422#define PTI_USER_PGD_FILL 0
423#endif
424/*
425 * BSS section

--- 43 unchanged lines hidden (view full) ---

469 .long 0,0
470 .long 0,0
471 .long pa(initial_pg_pmd+PGD_IDENT_ATTR),0
472# else
473# error "Kernel PMDs should be 1, 2 or 3"
474# endif
475 .align PAGE_SIZE /* needs to be page-sized too */
476
418#define PGD_ALIGN (2 * PAGE_SIZE)
419#define PTI_USER_PGD_FILL 1024
420#else
421#define PGD_ALIGN (PAGE_SIZE)
422#define PTI_USER_PGD_FILL 0
423#endif
424/*
425 * BSS section

--- 43 unchanged lines hidden (view full) ---

469 .long 0,0
470 .long 0,0
471 .long pa(initial_pg_pmd+PGD_IDENT_ATTR),0
472# else
473# error "Kernel PMDs should be 1, 2 or 3"
474# endif
475 .align PAGE_SIZE /* needs to be page-sized too */
476
477#ifdef CONFIG_PAGE_TABLE_ISOLATION
477#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
478 /*
479 * PTI needs another page so sync_initial_pagetable() works correctly
480 * and does not scribble over the data which is placed behind the
481 * actual initial_page_table. See clone_pgd_range().
482 */
483 .fill 1024, 4, 0
484#endif
485

--- 52 unchanged lines hidden ---
478 /*
479 * PTI needs another page so sync_initial_pagetable() works correctly
480 * and does not scribble over the data which is placed behind the
481 * actual initial_page_table. See clone_pgd_range().
482 */
483 .fill 1024, 4, 0
484#endif
485

--- 52 unchanged lines hidden ---