Home
last modified time | relevance | path

Searched hist:"215 b823707ce4e8e52b106915f70357fa474c669" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/
H A Dmmu_decl.hdiff 215b823707ce4e8e52b106915f70357fa474c669 Fri Apr 26 11:23:36 CDT 2019 Christophe Leroy <christophe.leroy@c-s.fr> powerpc/32s: set up an early static hash table for KASAN.

KASAN requires early activation of hash table, before memblock()
functions are available.

This patch implements an early hash_table statically defined in
__initdata.

During early boot, a single page table is used.

For hash32, when doing the final init, one page table is allocated
for each PGD entry because of the _PAGE_HASHPTE flag which can't be
common to several virt pages. This is done after memblock get
available but before switching to the final hash table, otherwise
there are issues with TLB flushing due to the shared entries.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>