]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27a393a54833808d7ca0cd7fd9b9c94b55ab61af
tree5566fdcf67f14697769574fe07646191342a5f08
parent22b84161c703eca2be60e9d2ebb284381ba460c5
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