[PATCH v4 16/16] crypto/nx: Add sysfs interface to export NX capabilities
Michael Ellerman
mpe at ellerman.id.au
Fri Jun 4 21:52:33 AEST 2021
Haren Myneni <haren at linux.ibm.com> writes:
> On Thu, 2021-06-03 at 14:57 +1000, Nicholas Piggin wrote:
>> Excerpts from Haren Myneni's message of May 21, 2021 7:42 pm:
>> > Changes to export the following NXGZIP capabilities through sysfs:
>> >
>> > /sys/devices/vio/ibm,compression-v1/NxGzCaps:
>>
>> Where's the horrible camel case name coming from? PowerVM?
>
> Yes, pHyp provides the capabalities string.
>
> Capability Description Descriptor Value Descriptor ascii Value
> Overall NX Capabilities 0x4E78204361707320 “Nx Caps ”
> NX GZIP Capabilities 0x4E78477A43617073 “NxGzCaps”
That doesn't mean we have to use that name in sysfs though. In fact we
couldn't use the "Nx Caps " name, because it contains spaces.
And we don't have to squeeze our name into 8 bytes, so it can be less
ugly.
Like "nx_gzip_capabilities"?
cheers
More information about the Linuxppc-dev
mailing list