[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <4736qn4LRgz9sPj@ozlabs.org>
Date: Wed, 30 Oct 2019 23:16:05 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Thiago Jung Bauermann <bauerman@...ux.ibm.com>,
linuxppc-dev@...ts.ozlabs.org
Cc: Mike Anderson <andmike@...ux.ibm.com>,
Ram Pai <linuxram@...ibm.com>, linux-kernel@...r.kernel.org,
Paul Mackerras <paulus@...ba.org>,
Thiago Jung Bauermann <bauerman@...ux.ibm.com>
Subject: Re: [PATCH] powerpc/prom_init: Undo relocation before entering secure mode
On Wed, 2019-09-11 at 16:34:33 UTC, Thiago Jung Bauermann wrote:
> 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 <bauerman@...ux.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/05d9a952832cb206a32e3705eff6edebdb2207e7
cheers
Powered by blists - more mailing lists