Re: [patch 35/38] s390: Select ARCH_HAS_RANDOM_ENTROPY
Thomas Gleixner <[email protected]> Thu, 16 Apr 2026 21:29:46 +0200
| Newsgroups | gmane.linux.ports.riscv,gmane.linux.kernel,gmane.linux.network,gmane.linux.kernel.wireless.general,gmane.linux.kernel.cryptoapi,gmane.linux.kernel.mm,gmane.comp.file-systems.ext4,gmane.linux.hams,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.parisc,gmane.linux.ports.ppc64.devel,gmane.linux.ports.sparc |
|---|---|
| Message-ID | <87y0imemad.ffs@tglx> |
On Thu, Apr 16 2026 at 15:42, Heiko Carstens wrote: > On Fri, Apr 10, 2026 at 02:21:19PM +0200, Thomas Gleixner wrote: >> The only remaining non-architecture usage of get_cycles() is to provide >> random_get_entropy(). >> >> Switch s390 over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY and >> providing random_get_entropy() in asm/random.h. >> >> Add 'asm/timex.h' includes to the relevant files, so the global include can >> be removed once all architectures are converted over. >> >> Signed-off-by: Thomas Gleixner <[email protected]> >> Cc: Heiko Carstens <[email protected]> >> Cc: [email protected] >> --- >> arch/s390/Kconfig | 1 + >> arch/s390/include/asm/random.h | 12 ++++++++++++ >> arch/s390/include/asm/timex.h | 6 ------ >> arch/s390/kernel/time.c | 1 + >> arch/s390/kernel/vtime.c | 1 + >> 5 files changed, 15 insertions(+), 6 deletions(-) > > Acked-by: Heiko Carstens <[email protected]> > > Thomas, would you mind adding the below as minor improvement to this > series? Sure. I'll respin it next week.