]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/vas: Use common names in VAS capability structure
authorHaren Myneni <haren@linux.ibm.com>
Tue, 1 Mar 2022 01:11:28 +0000 (17:11 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:04:54 +0000 (00:04 +1100)
commit30db1312b1dcc6d0da2e4f7d1f42b58d13bbe45d
tree0f908060bd5385d9ff458e3e41b41caa47a21d1f
parent8b4abe5f87ca63e34479bd3479729e4826731977
powerpc/pseries/vas: Use common names in VAS capability structure

nr_total/nr_used_credits provides credits usage to user space
via sysfs and the same interface can be used on PowerNV in
future. Changed with proper naming so that applicable on both
pseries and PowerNV.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f4313e9f198ee4f8d4fa4d015d8d1873e17851e6.camel@linux.ibm.com
arch/powerpc/platforms/pseries/vas.c
arch/powerpc/platforms/pseries/vas.h