aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/vas.h
diff options
context:
space:
mode:
authorHaren Myneni <[email protected]>2021-06-17 13:35:54 -0700
committerMichael Ellerman <[email protected]>2021-06-20 21:58:57 +1000
commitca77d48854177bb9749aef7329201f03b2382fbb (patch)
tree31115797e728ae139f837fe1b4d139e304342fad /arch/powerpc/include/asm/vas.h
parentf33ecfde30ce6909fff41339285e0274bb403fb8 (diff)
powerpc/pseries/vas: Implement getting capabilities from hypervisor
The hypervisor provides VAS capabilities for GZIP default and QoS features. These capabilities gives information for the specific features such as total number of credits available in LPAR, maximum credits allowed per window, maximum credits allowed in LPAR, whether usermode copy/paste is supported, and etc. This patch adds the following: - Retrieve all features that are provided by hypervisor using H_QUERY_VAS_CAPABILITIES hcall with 0 as feature type. - Retrieve capabilities for the specific feature using the same hcall and the feature type (1 for QoS and 2 for default type). Signed-off-by: Haren Myneni <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/vas.h')
0 files changed, 0 insertions, 0 deletions