Re: [PATCH v2 2/4] powerpc/pseries: check DRCONF_MEM_RESERVED in lmb_is_removable()

2021-05-12 Thread David Gibson
On Wed, May 12, 2021 at 05:28:07PM -0300, Daniel Henrique Barboza wrote: > DRCONF_MEM_RESERVED is a flag that represents the "Reserved Memory" > status in LOPAR v2.10, section 4.2.8. If a LMB is marked as reserved, > quoting LOPAR, "is not to be used or altered by the base OS". This flag > is read

[PATCH v2 2/4] powerpc/pseries: check DRCONF_MEM_RESERVED in lmb_is_removable()

2021-05-12 Thread Daniel Henrique Barboza
DRCONF_MEM_RESERVED is a flag that represents the "Reserved Memory" status in LOPAR v2.10, section 4.2.8. If a LMB is marked as reserved, quoting LOPAR, "is not to be used or altered by the base OS". This flag is read only in the kernel, being set by the firmware/hypervisor in the DT. As an