powerpc/pseries/vas: Add hcall wrappers for VAS handling
authorHaren Myneni <haren@linux.ibm.com>
Thu, 17 Jun 2021 20:35:22 +0000 (13:35 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 20 Jun 2021 11:58:57 +0000 (21:58 +1000)
commitf33ecfde30ce6909fff41339285e0274bb403fb8
tree946398712f53db52b9e1d7dccd4674790846b015
parent540761b7f51067d76b301c64abc50328ded89b1c
powerpc/pseries/vas: Add hcall wrappers for VAS handling

This patch adds the following hcall wrapper functions to allocate,
modify and deallocate VAS windows, and retrieve VAS capabilities.

H_ALLOCATE_VAS_WINDOW: Allocate VAS window
H_DEALLOCATE_VAS_WINDOW: Close VAS window
H_MODIFY_VAS_WINDOW: Setup window before using
H_QUERY_VAS_CAPABILITIES: Get VAS capabilities

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/40fb02a4d56ca4e240b074a15029082055be5997.camel@linux.ibm.com
arch/powerpc/platforms/pseries/vas.c [new file with mode: 0644]