Re: [PATCH v4] powerpc/pseries: read the lpar name from the firmware

From: Tyrel Datwyler
Date: Wed Jan 05 2022 - 21:29:14 EST


On 1/5/22 5:36 PM, Nathan Lynch wrote:
> Tyrel Datwyler <tyreld@xxxxxxxxxxxxx> writes:
>> On 1/5/22 3:19 PM, Nathan Lynch wrote:
>>>
>>
>> Is there benefit of adding a partition_name field/value pair to lparcfg? The
>> lparstat utility can just as easily make the get_sysparm call via librtas.
>> Further, rtas_filters allows this particular RTAS call from userspace.
>
> The RTAS syscall is root-only, but we want the partition name (whether
> supplied by RTAS or the device tree) to be available to unprivileged
> programs.
>

Ah, right. I recall this discussion now from previous iterations.

-Tyrel