Thread (6 messages) 6 messages, 4 authors, 2019-10-30

Re: [PATCH] powerpc/prom_init: Undo relocation before entering secure mode

From: Thiago Jung Bauermann <hidden>
Date: 2019-09-27 20:38:57
Also in: lkml

Thiago Jung Bauermann [off-list ref] writes:
Thiago Jung Bauermann [off-list ref] writes:
quoted
The ultravisor will do an integrity check of the kernel image but we
relocated it so the check will fail. Restore the original image by
relocating it back to the kernel virtual base address.

This works because during build vmlinux is linked with an expected virtual
runtime address of KERNELBASE.

Fixes: 6a9c930bd775 ("powerpc/prom_init: Add the ESM call to prom_init")
Signed-off-by: Thiago Jung Bauermann <redacted>
I meant to put a Suggested-by: Paul Mackerras [off-list ref]

Sorry. Will add it if there's a v2.
Ping?

-- 
Thiago Jung Bauermann
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help