powerpc/vas: Add platform specific user window operations
authorHaren Myneni <haren@linux.ibm.com>
Thu, 17 Jun 2021 20:31:06 +0000 (13:31 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 20 Jun 2021 11:58:55 +0000 (21:58 +1000)
commit1a0d0d5ed5e3cd9e3fc1ad4459f1db2f3618fce0
tree5566fdcf67f14697769574fe07646191342a5f08
parent06c6fad9bfe0b6439e18ea1f1cf0d178405ccf25
powerpc/vas: Add platform specific user window operations

PowerNV uses registers to open/close VAS windows, and getting the
paste address. Whereas the hypervisor calls are used on PowerVM.

This patch adds the platform specific user space window operations
and register with the common VAS user space interface.

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/f85091f4ace67f951ac04d60394d67b21e2f5d3c.camel@linux.ibm.com
arch/powerpc/include/asm/vas.h
arch/powerpc/platforms/book3s/vas-api.c
arch/powerpc/platforms/powernv/vas-window.c
arch/powerpc/platforms/powernv/vas.h