powerpc/vas: Move VAS API to book3s common platform
authorHaren Myneni <haren@linux.ibm.com>
Thu, 17 Jun 2021 20:29:48 +0000 (13:29 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 20 Jun 2021 11:58:55 +0000 (21:58 +1000)
commit413d6ed3eac387a2876893c337174f0c5b99d01d
treeeca8c48038b74550ab3ec754b7e420524d6938ec
parent91cdbb955aa94ee0841af4685be40937345d29b8
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
arch/powerpc/include/asm/vas.h
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/Makefile
arch/powerpc/platforms/book3s/Kconfig [new file with mode: 0644]
arch/powerpc/platforms/book3s/Makefile [new file with mode: 0644]
arch/powerpc/platforms/book3s/vas-api.c [moved from arch/powerpc/platforms/powernv/vas-api.c with 99% similarity]
arch/powerpc/platforms/powernv/Kconfig
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/vas.h