Re: [PATCH] KVM: PPC: Book3S HV: read ibm,secure-memory nodes

From: Laurent Dufour
Date: Tue Apr 21 2020 - 13:39:42 EST


Le 21/04/2020 Ã 15:43, Oliver O'Halloran a ÃcritÂ:
On Tue, Apr 21, 2020 at 11:37 PM Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:

Hi Laurent,

Laurent Dufour <ldufour@xxxxxxxxxxxxx> writes:
The newly introduced ibm,secure-memory nodes supersede the
ibm,uv-firmware's property secure-memory-ranges.

Is either documented in a device tree binding document anywhere?

cheers

Firmware will no more expose the secure-memory-ranges property so first
read the new one and if not found rollback to the older one.

There's some in Ryan's UV support series for skiboot:

https://patchwork.ozlabs.org/project/skiboot/patch/20200227204023.22125-2-grimm@xxxxxxxxxxxxx/

...which is also marked RFC. Cool.

Thanks Oliver for this pointer.

Yes this is an RFC but this documentation details the secure memory nodes created by skiboot and parsed by this patch.

Michael, is that enough for you?

Laurent.