Thread (21 messages) 21 messages, 3 authors, 2019-07-19

Re: [PATCH v2 03/13] powerpc/prom_init: Add the ESM call to prom_init

flat view

From: Thiago Jung Bauermann <hidden>
Date: 2019-07-19 00:48:47
Also in: lkml

Alexey Kardashevskiy [off-list ref] writes:
On 19/07/2019 07:28, Thiago Jung Bauermann wrote:
quoted
Hello Segher,

Thanks for your review and suggestions!

Segher Boessenkool [off-list ref] writes:
quoted
(Sorry to hijack your reply).

On Thu, Jul 18, 2019 at 06:11:48PM +1000, Alexey Kardashevskiy wrote:
quoted
On 13/07/2019 16:00, Thiago Jung Bauermann wrote:
quoted
From: Ram Pai <redacted>
+static int enter_secure_mode(unsigned long kbase, unsigned long fdt)
+{
+	register uint64_t func asm("r3") = UV_ESM;
+	register uint64_t arg1 asm("r4") = (uint64_t)kbase;
+	register uint64_t arg2 asm("r5") = (uint64_t)fdt;
What does UV do with kbase and fdt precisely? Few words in the commit
log will do.

What about this one? :)
Sorry, I don't have an elaborate answer yet. The non-elaborate answer is
that the ultravisor uses the kbase and fdt as part of integrity checking
of the secure guest.

--
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