]> 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)
commitab8003f26f817445ac7e0b4ee9fe9dfc45e49bef
tree5566fdcf67f14697769574fe07646191342a5f08
parentf77c9ba62864cf874c2d982393fd9ce5892b7bf4
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