]> 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)
commit5b015a06dbced1ac37398106cb2ec84ac05aab38
tree0f908060bd5385d9ff458e3e41b41caa47a21d1f
parent7861d3dd0c9107123b698c1312e5a28b48eee4ad
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