Skip to content

Fixups for random vDSO

Christophe Leroy linux-arch linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4asm-generic/unaligned.h: Extract common header for vDSOinclude/asm-generic/unaligned.h include/vdso/unaligned.h+16 -100 replies
2/4random: vDSO: Don't use PAGE_SIZE and PAGE_MASKlib/vdso/getrandom.c+4 -215 replies
3/4random: vDSO: Clean header inclusion in getrandomarch/x86/include/asm/pvclock.h include/vdso/helpers.h lib/vdso/getrandom.c+5 -50 replies
4/4random: vDSO: don't use 64 bits atomics on 32 bits architecturesdrivers/char/random.c lib/vdso/getrandom.c+9 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fixups for random vDSO

This small series is an extract of fixups for generic part of random vDSO in preparation of implementing vDSO getrandom for powerpc.

See last version of full series at:
https://patchwork.ozlabs.org/project/linuxppc-dev/cover/[email protected]/

This series is based on top of:
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git master

Christophe Leroy (4):
asm-generic/unaligned.h: Extract common header for vDSO
random: vDSO: Don't use PAGE_SIZE and PAGE_MASK
random: vDSO: Clean header inclusion in getrandom
random: vDSO: don't use 64 bits atomics on 32 bits architectures

 arch/x86/include/asm/pvclock.h  |  1 +
 drivers/char/random.c           |  9 ++++++++-
 include/asm-generic/unaligned.h | 11 +----------
 include/vdso/helpers.h          |  1 +
 include/vdso/unaligned.h        | 15 +++++++++++++++
 lib/vdso/getrandom.c            | 16 ++++++++--------
 6 files changed, 34 insertions(+), 19 deletions(-)
 create mode 100644 include/vdso/unaligned.h
Signature · 1 line
2.44.0