Thread (1 message) 1 message, 1 author, 2020-11-07

Re: [PATCH] powerpc/32s: Use relocation offset when setting early hash table

From: Andreas Schwab <hidden>
Date: 2020-11-07 13:24:18
Also in: lkml

On Nov 07 2020, Serge Belyshev wrote:
Christophe Leroy [off-list ref] writes:
quoted
When calling early_hash_table(), the kernel hasn't been yet
relocated to its linking address, so data must be addressed
with relocation offset.

Add relocation offset to write into Hash in early_hash_table().

Reported-by: Erhard Furtner <redacted>
Reported-by: Andreas Schwab <redacted>
Fixes: 69a1593abdbc ("powerpc/32s: Setup the early hash table at all time.")
Signed-off-by: Christophe Leroy <redacted>
Tested-by: Serge Belyshev <redacted>
Works here as well.

Thanks, Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help