No description
Find a file
Stephan Müller 27192927ca crypto: jitter - consider 32 LSB for APT
[ Upstream commit 552d03a223 ]

The APT compares the current time stamp with a pre-set value. The
current code only considered the 4 LSB only. Yet, after reviews by
mathematicians of the user space Jitter RNG version >= 3.1.0, it was
concluded that the APT can be calculated on the 32 LSB of the time
delta. Thi change is applied to the kernel.

This fixes a bug where an AMD EPYC fails this test as its RDTSC value
contains zeros in the LSB. The most appropriate fix would have been to
apply a GCD calculation and divide the time stamp by the GCD. Yet, this
is a significant code change that will be considered for a future
update. Note, tests showed that constantly the GCD always was 32 on
these systems, i.e. the 5 LSB were always zero (thus failing the APT
since it only considered the 4 LSB for its calculation).

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:44:20 +08:00
arch ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART 2023-04-19 17:44:19 +08:00
block scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume() 2023-04-19 17:44:15 +08:00
certs certs: Add support for using elliptic curve keys for signing modules 2021-08-23 19:55:42 +03:00
crypto crypto: jitter - consider 32 LSB for APT 2023-04-19 17:44:20 +08:00
Documentation dt-bindings: thermal: Fix definition of cooling-maps contribution property 2023-04-19 17:44:12 +08:00
drivers HSI: core: Fix return freed object in hsi_new_client 2023-04-19 17:44:20 +08:00
fs fs: dlm: filter user dlm messages for kernel locks 2023-04-19 17:44:17 +08:00
include psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim 2023-04-19 17:44:19 +08:00
init init: make unknown command line param message clearer 2023-04-19 16:57:51 +08:00
ipc shm: extend forced shm destroy to support objects from several IPC nses 2023-04-19 17:42:16 +08:00
kernel psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim 2023-04-19 17:44:19 +08:00
lib lib/mpi: Add the return value check of kcalloc() 2023-04-19 17:44:09 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode 2023-04-19 17:43:49 +08:00
net batman-adv: allow netlink usage in unprivileged containers 2023-04-19 17:44:18 +08:00
samples samples: bpf: Fix 'unknown warning group' build warning on Clang 2023-04-19 17:43:59 +08:00
scripts recordmcount.pl: fix typo in s390 mcount regex 2023-04-19 17:43:29 +08:00
security selinux: fix potential memleak in selinux_add_opt() 2023-04-19 17:44:04 +08:00
sound ASoC: fsl_asrc: refine the check of available clock divider 2023-04-19 17:44:16 +08:00
tools libbpf: Accommodate DWARF/compiler bug with duplicated structs 2023-04-19 17:44:19 +08:00
usr [board]:Init board config for JH7110 2021-11-18 14:06:27 +08:00
virt KVM: downgrade two BUG_ONs to WARN_ON_ONCE 2023-04-19 17:43:06 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: Add entry for RISC-V PMU drivers 2023-01-03 14:26:18 +08:00
Makefile Linux 5.15.16 2023-04-19 17:43:44 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.