public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] x86_64: fix KASan shadow region page tables
@ 2015-06-09  9:41 Alexander Popov
  2015-06-09  9:42 ` [PATCH v5 1/2] x86_64: remove not needed clear_page for init_level4_page Alexander Popov
  2015-06-09  9:42 ` [PATCH v5 2/2] x86_64: fix KASan shadow region page tables Alexander Popov
  0 siblings, 2 replies; 9+ messages in thread
From: Alexander Popov @ 2015-06-09  9:41 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Andrey Konovalov,
	Andrew Morton, Andrey Ryabinin, Andy Lutomirski,
	Alexander Kuleshov, Denys Vlasenko, Borislav Petkov,
	Peter Zijlstra, Kees Cook, Alexander Popov, x86, linux-kernel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-06-17 11:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09  9:41 [PATCH v5 0/2] x86_64: fix KASan shadow region page tables Alexander Popov
2015-06-09  9:42 ` [PATCH v5 1/2] x86_64: remove not needed clear_page for init_level4_page Alexander Popov
2015-06-16 11:16   ` Borislav Petkov
2015-06-16 11:34     ` Borislav Petkov
2015-06-16 11:45       ` Andrey Ryabinin
2015-06-16 15:46         ` Borislav Petkov
2015-06-17 11:43           ` Alexander Popov
2015-06-09  9:42 ` [PATCH v5 2/2] x86_64: fix KASan shadow region page tables Alexander Popov
2015-06-12 17:13   ` Andrey Ryabinin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox