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)
commit40562fe4fa3d94c7462ec909ab89b075e26c59ac
tree0f908060bd5385d9ff458e3e41b41caa47a21d1f
parent9ef78b62938ab0d3068292231a3e161f8ee351fb
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