kernel-hacking-2024-linux-s.../arch/x86
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
..
boot
coco
configs
crypto
entry Random number generator updates for Linux 6.12-rc1. 2024-09-18 15:26:31 +02:00
events Performance events changes for v6.12: 2024-09-18 15:03:58 +02:00
hyperv hyperv-next for v6.12 2024-09-19 08:15:30 +02:00
ia32
include Merge branch 'address-masking' 2024-09-22 11:19:35 -07:00
kernel ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
kvm Do not always honor guest PAT on CPUs that support self-snoop. 2024-09-15 09:35:50 +02:00
lib
math-emu
mm Many singleton patches - please see the various changelogs for details. 2024-09-21 08:20:50 -07:00
net
pci
platform platform-drivers-x86 for v6.12-1 2024-09-19 09:16:04 +02:00
power
purgatory
ras
realmode
tools
um
video
virt
xen ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
.gitignore
Kbuild
Kconfig ALong with the usual shower of singleton patches, notable patch series in 2024-09-21 07:29:05 -07:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug
Makefile
Makefile.postlink
Makefile.um
Makefile_32.cpu