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

2019-07-18 Thread Thiago Jung Bauermann
Alexey Kardashevskiy writes: > On 19/07/2019 07:28, Thiago Jung Bauermann wrote: >> >> Hello Segher, >> >> Thanks for your review and suggestions! >> >> Segher Boessenkool writes: >> >>> (Sorry to hijack your reply). >>> >>> On Thu, Jul 18, 2019 at 06:11:48PM +1000, Alexey Kardashevskiy

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

2019-07-18 Thread Alexey Kardashevskiy
On 19/07/2019 07:28, Thiago Jung Bauermann wrote: Hello Segher, Thanks for your review and suggestions! Segher Boessenkool writes: (Sorry to hijack your reply). On Thu, Jul 18, 2019 at 06:11:48PM +1000, Alexey Kardashevskiy wrote: On 13/07/2019 16:00, Thiago Jung Bauermann wrote:

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

2019-07-18 Thread Thiago Jung Bauermann
Hello Segher, Thanks for your review and suggestions! Segher Boessenkool writes: > (Sorry to hijack your reply). > > On Thu, Jul 18, 2019 at 06:11:48PM +1000, Alexey Kardashevskiy wrote: >> On 13/07/2019 16:00, Thiago Jung Bauermann wrote: >> >From: Ram Pai >> >+static int

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

2019-07-18 Thread Segher Boessenkool
(Sorry to hijack your reply). On Thu, Jul 18, 2019 at 06:11:48PM +1000, Alexey Kardashevskiy wrote: > On 13/07/2019 16:00, Thiago Jung Bauermann wrote: > >From: Ram Pai > >+static int enter_secure_mode(unsigned long kbase, unsigned long fdt) > >+{ > >+register uint64_t func asm("r3") =

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

2019-07-18 Thread Alexey Kardashevskiy
On 13/07/2019 16:00, Thiago Jung Bauermann wrote: From: Ram Pai Make the Enter-Secure-Mode (ESM) ultravisor call to switch the VM to secure mode. Add "svm=" command line option to turn on switching to secure mode. Signed-off-by: Ram Pai [ andmike: Generate an RTAS os-term hcall when the

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

2019-07-13 Thread Thiago Jung Bauermann
From: Ram Pai Make the Enter-Secure-Mode (ESM) ultravisor call to switch the VM to secure mode. Add "svm=" command line option to turn on switching to secure mode. Signed-off-by: Ram Pai [ andmike: Generate an RTAS os-term hcall when the ESM ucall fails. ] Signed-off-by: Michael Anderson [