Thread (2 messages) 2 messages, 2 authors, 2020-10-30

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

From: Christophe Leroy <hidden>
Date: 2020-10-30 12:58:19
Also in: lkml

Possibly related (same subject, not in this thread)

Andreas Schwab [off-list ref] a écrit :
On Okt 30 2020, Michael Ellerman wrote:
quoted
Andreas Schwab [off-list ref] writes:
quoted
On Okt 01 2020, Christophe Leroy wrote:
quoted
At the time being, an early hash table is set up when
CONFIG_KASAN is selected.

There is nothing wrong with setting such an early hash table
all the time, even if it is not used. This is a statically
allocated 256 kB table which lies in the init data section.

This makes the code simpler and may in the future allow to
setup early IO mappings with fixmap instead of hard coding BATs.

Put create_hpte() and flush_hash_pages() in the .ref.text section
in order to avoid warning for the reference to early_hash[]. This
reference is removed by MMU_init_hw_patch() before init memory is
freed.
This breaks booting on the iBook G4.
Do you get an oops or anything?
Nope, nothing at all.
Under qemu it was working.

Can you share your .config, or are you using one of the defconfig ?

Christophe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help