Commit 657ac633 authored by Haren Myneni's avatar Haren Myneni Committed by Michael Ellerman

powerpc/pseries/vas: sysfs comments with the correct entries

VAS entry is created as a misc device and the sysfs comments
should list the proper entries
Reported-by: default avatarMatheus Castanho <mscastanho@ibm.com>
Signed-off-by: default avatarHaren Myneni <haren@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6dee950c7b72a4965c102208041f14a063cf5a8c.camel@linux.ibm.com
parent c127d130
...@@ -74,26 +74,26 @@ struct vas_sysfs_entry { ...@@ -74,26 +74,26 @@ struct vas_sysfs_entry {
/* /*
* Create sysfs interface: * Create sysfs interface:
* /sys/devices/vas/vas0/gzip/default_capabilities * /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities
* This directory contains the following VAS GZIP capabilities * This directory contains the following VAS GZIP capabilities
* for the default credit type. * for the default credit type.
* /sys/devices/vas/vas0/gzip/default_capabilities/nr_total_credits * /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities/nr_total_credits
* Total number of default credits assigned to the LPAR which * Total number of default credits assigned to the LPAR which
* can be changed with DLPAR operation. * can be changed with DLPAR operation.
* /sys/devices/vas/vas0/gzip/default_capabilities/nr_used_credits * /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities/nr_used_credits
* Number of credits used by the user space. One credit will * Number of credits used by the user space. One credit will
* be assigned for each window open. * be assigned for each window open.
* *
* /sys/devices/vas/vas0/gzip/qos_capabilities * /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities
* This directory contains the following VAS GZIP capabilities * This directory contains the following VAS GZIP capabilities
* for the Quality of Service (QoS) credit type. * for the Quality of Service (QoS) credit type.
* /sys/devices/vas/vas0/gzip/qos_capabilities/nr_total_credits * /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/nr_total_credits
* Total number of QoS credits assigned to the LPAR. The user * Total number of QoS credits assigned to the LPAR. The user
* has to define this value using HMC interface. It can be * has to define this value using HMC interface. It can be
* changed dynamically by the user. * changed dynamically by the user.
* /sys/devices/vas/vas0/gzip/qos_capabilities/nr_used_credits * /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/nr_used_credits
* Number of credits used by the user space. * Number of credits used by the user space.
* /sys/devices/vas/vas0/gzip/qos_capabilities/update_total_credits * /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/update_total_credits
* Update total QoS credits dynamically * Update total QoS credits dynamically
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment