OpenCloudOS-Kernel/arch/powerpc/kernel/vdso64
Christophe Leroy 74205b3fc2 powerpc/vdso: Add support for time namespaces
This patch adds the necessary glue to provide time namespaces.

Things are mainly copied from ARM64.

__arch_get_timens_vdso_data() calculates timens vdso data position
based on the vdso data position, knowing it is the next page in vvar.
This avoids having to redo the mflr/bcl/mflr/mtlr dance to locate
the page relative to running code position.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> # vDSO parts
Acked-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1a15495f80ec19a87b16cf874dbf7c3fa5ec40fe.1617209142.git.christophe.leroy@csgroup.eu
2021-04-14 23:04:44 +10:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile powerpc/vdso64: remove meaningless vgettimeofday.o build rule 2021-01-30 22:23:42 +11:00
cacheflush.S powerpc/vdso: Merge __kernel_sync_dicache_p5() into __kernel_sync_dicache() 2020-12-04 01:01:17 +11:00
datapage.S powerpc/vdso: Remove __kernel_datapage_offset 2020-12-04 01:01:18 +11:00
gen_vdso_offsets.sh powerpc/vdso: Retrieve sigtramp offsets at buildtime 2020-12-04 01:01:17 +11:00
getcpu.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
gettimeofday.S powerpc/vdso: Switch VDSO to generic C implementation. 2020-12-04 01:01:10 +11:00
note.S
sigtramp.S powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics 2021-02-02 22:14:41 +11:00
vdso64.lds.S powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
vgettimeofday.c powerpc/vdso: Prepare for switching VDSO to generic C implementation. 2020-12-04 01:01:10 +11:00