summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/vas.h
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2021-06-17 13:29:48 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-20 21:58:55 +1000
commit413d6ed3eac387a2876893c337174f0c5b99d01d (patch)
treeeca8c48038b74550ab3ec754b7e420524d6938ec /arch/powerpc/include/asm/vas.h
parent91cdbb955aa94ee0841af4685be40937345d29b8 (diff)
downloadlinux-413d6ed3eac387a2876893c337174f0c5b99d01d.tar.gz
linux-413d6ed3eac387a2876893c337174f0c5b99d01d.tar.bz2
linux-413d6ed3eac387a2876893c337174f0c5b99d01d.zip
powerpc/vas: Move VAS API to book3s common platform
The pseries platform will share vas and nx code and interfaces with the PowerNV platform, so create the arch/powerpc/platforms/book3s/ directory and move VAS API code there. Functionality is not changed. 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/e05c8db17b9eabe3545b902d034238e4c6c08180.camel@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/vas.h')
-rw-r--r--arch/powerpc/include/asm/vas.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/vas.h b/arch/powerpc/include/asm/vas.h
index e33f80b0ea81..3be76e813e2d 100644
--- a/arch/powerpc/include/asm/vas.h
+++ b/arch/powerpc/include/asm/vas.h
@@ -162,6 +162,9 @@ int vas_copy_crb(void *crb, int offset);
*/
int vas_paste_crb(struct vas_window *win, int offset, bool re);
+void vas_win_paste_addr(struct vas_window *window, u64 *addr,
+ int *len);
+
/*
* Register / unregister coprocessor type to VAS API which will be exported
* to user space. Applications can use this API to open / close window