Skip to content

Commit 1e9fda9

Browse files
author
Mukesh Chaurasiya
committed
powerpc/pseries/vas: sysfs comments with the correct entries
Bugzilla: https://bugzilla.redhat.com/2130348 commit 657ac63 Author: Haren Myneni <haren@linux.ibm.com> Date: Sat Apr 9 01:46:15 2022 -0700 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: Matheus Castanho <mscastanho@ibm.com> Signed-off-by: Haren Myneni <haren@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/6dee950c7b72a4965c102208041f14a063cf5a8c.camel@linux.ibm.com Signed-off-by: Mukesh Chaurasiya <mchauras@redhat.com>
1 parent 9a90f1f commit 1e9fda9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

arch/powerpc/platforms/pseries/vas-sysfs.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,26 @@ struct vas_sysfs_entry {
7474

7575
/*
7676
* Create sysfs interface:
77-
* /sys/devices/vas/vas0/gzip/default_capabilities
77+
* /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities
7878
* This directory contains the following VAS GZIP capabilities
7979
* for the defaule credit type.
80-
* /sys/devices/vas/vas0/gzip/default_capabilities/nr_total_credits
80+
* /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities/nr_total_credits
8181
* Total number of default credits assigned to the LPAR which
8282
* can be changed with DLPAR operation.
83-
* /sys/devices/vas/vas0/gzip/default_capabilities/nr_used_credits
83+
* /sys/devices/virtual/misc/vas/vas0/gzip/default_capabilities/nr_used_credits
8484
* Number of credits used by the user space. One credit will
8585
* be assigned for each window open.
8686
*
87-
* /sys/devices/vas/vas0/gzip/qos_capabilities
87+
* /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities
8888
* This directory contains the following VAS GZIP capabilities
8989
* for the Quality of Service (QoS) credit type.
90-
* /sys/devices/vas/vas0/gzip/qos_capabilities/nr_total_credits
90+
* /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/nr_total_credits
9191
* Total number of QoS credits assigned to the LPAR. The user
9292
* has to define this value using HMC interface. It can be
9393
* changed dynamically by the user.
94-
* /sys/devices/vas/vas0/gzip/qos_capabilities/nr_used_credits
94+
* /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/nr_used_credits
9595
* Number of credits used by the user space.
96-
* /sys/devices/vas/vas0/gzip/qos_capabilities/update_total_credits
96+
* /sys/devices/virtual/misc/vas/vas0/gzip/qos_capabilities/update_total_credits
9797
* Update total QoS credits dynamically
9898
*/
9999

0 commit comments

Comments
 (0)