[V3 PATCH 12/16] powerpc/pseries/vas: sysfs interface to export capabilities

Nicholas Piggin npiggin at gmail.com
Mon May 10 16:34:27 AEST 2021

Excerpts from Haren Myneni's message of April 18, 2021 7:10 am:
> pHyp provides GZIP default and GZIP QoS capabilities which gives
> the total number of credits are available in LPAR. This patch
> creates sysfs entries and exports LPAR credits, the currently used
> and the available credits for each feature.
> /sys/kernel/vas/VasCaps/VDefGzip: (default GZIP capabilities)
> 	avail_lpar_creds /* Available credits to use */
> 	target_lpar_creds /* Total credits available which can be
> 			 /* changed with DLPAR operation */
> 	used_lpar_creds  /* Used credits */

/sys/kernel/ is not an appropriate directory to put it in. Also camel 
case is not thought very highly of these days.

And s/capabs/caps/g applies here (and all other patches).


More information about the Linuxppc-dev mailing list