diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-11-18 17:38:23 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-07-19 20:22:12 +0200 |
commit | 33385150ac456f6f95a58647583d0a3887620729 (patch) | |
tree | a1143f237d7f687825935bb496dcb0d39026e6be /MAINTAINERS | |
parent | 4ad10a5f5f78a5b3e525a63bd075a4eb1139dde1 (diff) |
x86: vdso: Wire up getrandom() vDSO implementation
Hook up the generic vDSO implementation to the x86 vDSO data page. Since
the existing vDSO infrastructure is heavily based on the timekeeping
functionality, which works over arrays of bases, a new macro is
introduced for vvars that are not arrays.
The vDSO function requires a ChaCha20 implementation that does not write
to the stack, yet can still do an entire ChaCha20 permutation, so
provide this using SSE2, since this is userland code that must work on
all x86-64 processors.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Samuel Neves <sneves@dei.uc.pt> # for vgetrandom-chacha.S
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 7edb30b4abf0..4dc7bfcaf118 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18747,6 +18747,8 @@ F: drivers/char/random.c F: drivers/virt/vmgenid.c F: include/vdso/getrandom.h F: lib/vdso/getrandom.c +F: arch/x86/entry/vdso/vgetrandom* +F: arch/x86/include/asm/vdso/getrandom* RAPIDIO SUBSYSTEM M: Matt Porter <mporter@kernel.crashing.org> |