android_kernel_samsung_a7y1.../Documentation
Thomas Gleixner aafb3be0cf x86/speculation/mds: Add mitigation mode VMWERV
commit 22dd8365088b6403630b82423cf906491859b65e upstream.

In virtualized environments it can happen that the host has the microcode
update which utilizes the VERW instruction to clear CPU buffers, but the
hypervisor is not yet updated to expose the X86_FEATURE_MD_CLEAR CPUID bit
to guests.

Introduce an internal mitigation mode VMWERV which enables the invocation
of the CPU buffer clearing even if X86_FEATURE_MD_CLEAR is not set. If the
system has no updated microcode this results in a pointless execution of
the VERW instruction wasting a few CPU cycles. If the microcode is updated,
but not exposed to a guest then the CPU buffers will be cleared.

That said: Virtual Machines Will Eventually Receive Vaccine

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jon Masters <jcm@redhat.com>
Tested-by: Jon Masters <jcm@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 16:55:51 +02:00
..
ABI x86/speculation/mds: Add sysfs reporting for MDS 2020-04-06 16:55:48 +02:00
accounting A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
acpi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aoe A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arm ARM: 8833/1: Ensure that NEON code always compiles with Clang 2020-04-06 14:51:24 +02:00
arm64 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
auxdisplay A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
backlight A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blackfin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
block A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blockdev A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus-devices A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cdrom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cgroups A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cma A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
connector A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
console A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-freq A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuidle A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cris A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crypto A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
development-process A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
device-mapper A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devicetree A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmaengine A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
DocBook A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
driver-model A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dvb A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early-userspace A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
EDID A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
extcon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fault-injection A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fb A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
features A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
filesystems A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firmware_class A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fmc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fpga A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
frv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hid A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hwmon A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i2c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ia64 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ide A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
infiniband A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioctl A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
isdn A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ja_JP A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kbuild A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kdump A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ko_KR A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
laptops A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
leds A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
locking A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m68k A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memory-devices A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
metag A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mips A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
misc-devices A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mn10300 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mtd A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
namespaces A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
netlabel A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
networking ipv4: set the tcp_min_rtt_wlen range from 0 to one day 2020-04-06 16:40:50 +02:00
nfc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nios2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nvdimm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nvmem A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
PCI A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcmcia A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
phy A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
platform A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
powerpc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pps A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
prctl A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pti A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ptp A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rapidio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
RCU A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
s390 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scheduler A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scsi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
security A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
serial A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sound A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysctl A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
target A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
thermal A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timers A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usb USB: core: Fix bug caused by duplicate interface PM usage counter 2020-04-06 16:42:04 +02:00
vDSO A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video4linux A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
virtual KVM: Reject device ioctls from processes other than the VM's creator 2020-04-06 13:01:37 +02:00
vm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
w1 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
watchdog A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wimax A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x86 x86/speculation/mds: Add mitigation mode VMWERV 2020-04-06 16:55:51 +02:00
xtensa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zh_CN A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
00-INDEX A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adding-syscalls.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
android.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
applying-patches.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
assoc_array.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atomic_ops.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bad_memory.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
basic_profiling.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcache.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
binfmt_misc.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
braille-console.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bt8xxgpio.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
btmrvl.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
BUG-HUNTING A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus-virt-phys-mapping.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cachetlb.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Changes A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
circular-buffers.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clk.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
coccinelle.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
CodeOfConflict A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
CodingStyle A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-hotplug.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu-load.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cputopology.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crc32.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dcdbas.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugging-modules.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugging-via-ohci1394.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dell_rbu.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devices.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
digsig.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
DMA-API-HOWTO.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
DMA-API.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
DMA-attributes.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma-buf-sharing.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
DMA-ISA-LPC.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dontdiff A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dynamic-debug-howto.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
edac.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
efi-stub.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eisa.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
email-clients.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
flexible-arrays.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
futex-requeue-pi.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gcov.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gdb-kernel-debugging.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
highuid.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
HOWTO A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hsi.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hw_random.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hwspinlock.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
init.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
initrd.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel_txt.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Intel-IOMMU.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io_ordering.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io-mapping.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iostats.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
IPMI.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
IRQ-affinity.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
IRQ-domain.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
IRQ.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irqflags-tracing.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
isapnp.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
java.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kasan.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kcov.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel-doc-nano-HOWTO.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel-docs.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel-parameters.txt x86/speculation/mds: Add mitigation control for MDS 2020-04-06 16:55:43 +02:00
kernel-per-CPU-kthreads.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kmemcheck.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kmemleak.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kobject.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kprobes.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kref.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kselftest.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ldm.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
local_ops.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lockup-watchdogs.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
logo.gif A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
logo.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lzo.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
magic-number.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mailbox.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ManagementStyle A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
md-cluster.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
md.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
media-framework.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memory-barriers.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memory-hotplug.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
men-chameleon-bus.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module-signing.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mono.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nommu-mmap.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ntb.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
numastat.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oops-tracing.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
padata.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parport-lowlevel.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parport.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
percpu-rw-semaphore.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
phy.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pi-futex.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pinctrl.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pnp.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
preempt-locking.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
printk-formats.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pwm.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ramoops.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rbtree.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
remoteproc.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rfkill.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
robust-futex-ABI.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
robust-futexes.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rpmsg.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtc.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SAK.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SecurityBugs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
serial-console.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sgi-ioc4.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SM501.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smsc_ece1099.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparse.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spec_ctrl.txt x86/speculation: Add prctl() control for indirect branch speculation 2020-04-06 16:55:11 +02:00
speculation.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stable_api_nonsense.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stable_kernel_rules.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
static-keys.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SubmitChecklist A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SubmittingDrivers A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
SubmittingPatches A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
svga.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sync.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfs-rules.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysrq.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tee.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
this_cpu_ops.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unaligned-memory-access.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unicode.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
unshare.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfio.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
VGA-softcursor.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vgaarbiter.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
video-output.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vme_api.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
volatile-considered-harmful.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
workqueue.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xillybus.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xz.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zorro.txt A750FXXU4CTBC 2020-03-27 21:51:54 +05:30