android_kernel_samsung_a7y1.../drivers/base
Vineela Tummalapalli 4c326379c5 x86/bugs: Add ITLB_MULTIHIT bug infrastructure
commit db4d30fbb71b47e4ecb11c4efa5d8aad4b03dfae upstream.

Some processors may incur a machine check error possibly resulting in an
unrecoverable CPU lockup when an instruction fetch encounters a TLB
multi-hit in the instruction TLB. This can occur when the page size is
changed along with either the physical address or cache type. The relevant
erratum can be found here:

   https://bugzilla.kernel.org/show_bug.cgi?id=205195

There are other processors affected for which the erratum does not fully
disclose the impact.

This issue affects both bare-metal x86 page tables and EPT.

It can be mitigated by either eliminating the use of large pages or by
using careful TLB invalidations when changing the page size in the page
tables.

Just like Spectre, Meltdown, L1TF and MDS, a new bit has been allocated in
MSR_IA32_ARCH_CAPABILITIES (PSCHANGE_MC_NO) and will be set on CPUs which
are mitigated against this issue.

Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
Co-developed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[bwh: Backported to 4.4:
 - No support for X86_VENDOR_HYGON, ATOM_AIRMONT_NP
 - Adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 12:00:26 +02:00
..
power PM / core: Propagate dev->power.wakeup_path when no callbacks 2020-04-06 18:19:21 +02:00
regmap regmap: fix bulk writes on paged registers 2020-04-06 19:54:53 +02:00
attribute_container.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
base.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cacheinfo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
class.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
component.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
container.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
core.c cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown 2020-04-07 09:27:04 +02:00
cpu.c x86/bugs: Add ITLB_MULTIHIT bug infrastructure 2020-04-07 12:00:26 +02:00
dd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devcoredump.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devres.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devtmpfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma-coherent.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma-contiguous.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dma-mapping.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
driver.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firmware_class.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firmware.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hypervisor.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
init.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
isa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
map.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memory.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
node.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pinctrl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
platform-msi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
platform.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
property.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc.c base: soc: Export soc_device_register/unregister APIs 2020-04-07 07:38:14 +02:00
syscore.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
transport_class.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30