kernel-hacking-2024-linux-s.../arch
Linus Torvalds de5cb0dcb7 Merge branch 'address-masking'
Merge user access fast validation using address masking.

This allows architectures to optionally use a data dependent address
masking model instead of a conditional branch for validating user
accesses.  That avoids the Spectre-v1 speculation barriers.

Right now only x86-64 takes advantage of this, and not all architectures
will be able to do it.  It requires a guard region between the user and
kernel address spaces (so that you can't overflow from one to the
other), and an easy way to generate a guaranteed-to-fault address for
invalid user pointers.

Also note that this currently assumes that there is no difference
between user read and write accesses.  If extended to architectures like
powerpc, we'll also need to separate out the user read-vs-write cases.

* address-masking:
  x86: make the masked_user_access_begin() macro use its argument only once
  x86: do the user address masking outside the user access area
  x86: support user address masking instead of non-speculative conditional
2024-09-22 11:19:35 -07:00
..
alpha ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
arc ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
arm Many singleton patches - please see the various changelogs for details. 2024-09-21 08:20:50 -07:00
arm64 bpf-next-6.12 2024-09-21 09:27:50 -07:00
csky mm: make arch_get_unmapped_area() take vm_flags by default 2024-09-09 16:39:13 -07:00
hexagon mm: remove legacy install_special_mapping() code 2024-09-01 20:26:13 -07:00
loongarch ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
m68k m68k updates for v6.12 2024-09-17 16:41:46 +02:00
microblaze
mips ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
nios2 mm: remove legacy install_special_mapping() code 2024-09-01 20:26:13 -07:00
openrisc
parisc ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
powerpc Many singleton patches - please see the various changelogs for details. 2024-09-21 08:20:50 -07:00
riscv Many singleton patches - please see the various changelogs for details. 2024-09-21 08:20:50 -07:00
s390 s390 updates for 6.12 merge window 2024-09-21 09:02:54 -07:00
sh ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
sparc ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
um
x86 Merge branch 'address-masking' 2024-09-22 11:19:35 -07:00
xtensa ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
.gitignore
Kconfig dma-mapping updates for linux 6.12 2024-09-19 11:12:49 +02:00