[PATCH v5 0/2] x86_64: fix KASan shadow region page tables

From: Alexander Popov
Date: Tue Jun 09 2015 - 05:41:44 EST


This patch series:
- fixes kernel halt caused by incorrect physical addresses
in KASan shadow region page tables in case of non-zero phys_base;
- consolidates early KASan initialization.

Changes from v2:
- move KASan shadow region page tables to BSS;
- use __PAGE_KERNEL flags for describing kasan_zero_page in kasan_zero_pte.

Changes from v3:
- improve commit message.

Changes from v4:
- add Andrey's patch which removes faulty clear_page(init_level4_pgt);
- call kasan_map_early_shadow() for early_level4_pgt and init_level4_pgt
in kasan_early_init().

Alexander Popov (1):
x86_64: fix KASan shadow region page tables

Andrey Ryabinin (1):
x86_64: remove not needed clear_page for init_level4_page

arch/x86/include/asm/kasan.h | 8 ++------
arch/x86/kernel/head64.c | 12 ++++++------
arch/x86/kernel/head_64.S | 29 -----------------------------
arch/x86/mm/kasan_init_64.c | 36 ++++++++++++++++++++++++++++++++++--
4 files changed, 42 insertions(+), 43 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/