diff options
author | Haren Myneni <[email protected]> | 2022-02-28 17:15:36 -0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-03-08 00:04:56 +1100 |
commit | b903737bc522e0ef3f45a2a60c364ff547572c9b (patch) | |
tree | 8b5bb7da052b63691585101e2d961d31c29af23d /scripts/gdb/linux/utils.py | |
parent | c656cfe571a9b8b882e31177f554bd79141fc015 (diff) |
powerpc/pseries/vas: sysfs interface to export capabilities
The hypervisor provides the available VAS GZIP capabilities such
as default or QoS window type and the target available credits in
each type. This patch creates sysfs entries and exports the target,
used and the available credits for each feature.
This interface can be used by the user space to determine the credits
usage or to set the target credits in the case of QoS type (for DLPAR).
/sys/devices/vas/vas0/gzip/default_capabilities (default GZIP capabilities)
nr_total_credits /* Total credits available. Can be
/* changed with DLPAR operation */
nr_used_credits /* Used credits */
/sys/devices/vas/vas0/gzip/qos_capabilities (QoS GZIP capabilities)
nr_total_credits
nr_used_credits
Signed-off-by: Haren Myneni <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions