summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/ultravisor-api.h
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2019-08-19 23:13:15 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-30 09:55:40 +1000
commitf7777e008cad17bf757ca256709070c07efd8283 (patch)
tree3ab82df23c46dadad0e48aea702d6273ebe352fa /arch/powerpc/include/asm/ultravisor-api.h
parent6a9c930bd7751bf0630d8b9b73b07af5c6842da6 (diff)
powerpc/pseries/svm: Add helpers for UV_SHARE_PAGE and UV_UNSHARE_PAGE
These functions are used when the guest wants to grant the hypervisor access to certain pages. Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190820021326.6884-6-bauerman@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/ultravisor-api.h')
-rw-r--r--arch/powerpc/include/asm/ultravisor-api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ultravisor-api.h b/arch/powerpc/include/asm/ultravisor-api.h
index 34c8711334cb..0f5b2d718bfc 100644
--- a/arch/powerpc/include/asm/ultravisor-api.h
+++ b/arch/powerpc/include/asm/ultravisor-api.h
@@ -26,5 +26,7 @@
#define UV_WRITE_PATE 0xF104
#define UV_RETURN 0xF11C
#define UV_ESM 0xF110
+#define UV_SHARE_PAGE 0xF130
+#define UV_UNSHARE_PAGE 0xF134
#endif /* _ASM_POWERPC_ULTRAVISOR_API_H */