linux-stable/arch
Pawan Gupta ae269412d9 x86/bugs: Add "unknown" reporting for MMIO Stale Data
commit 7df548840c upstream.

Older Intel CPUs that are not in the affected processor list for MMIO
Stale Data vulnerabilities currently report "Not affected" in sysfs,
which may not be correct. Vulnerability status for these older CPUs is
unknown.

Add known-not-affected CPUs to the whitelist. Report "unknown"
mitigation status for CPUs that are not in blacklist, whitelist and also
don't enumerate MSR ARCH_CAPABILITIES bits that reflect hardware
immunity to MMIO Stale Data vulnerabilities.

Mitigation is not deployed when the status is unknown.

  [ bp: Massage, fixup. ]

Fixes: 8d50cdf8b8 ("x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data")
Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Suggested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/a932c154772f2121794a5f2eded1a11013114711.1657846269.git.pawan.kumar.gupta@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-05 10:26:33 +02:00
..
alpha tty: the rest, stop using tty_schedule_flip() 2022-07-29 17:10:37 +02:00
arc ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:39:45 +02:00
arm ARM: dts: qcom: pm8841: add required thermal-sensor-cells 2022-08-25 11:15:02 +02:00
arm64 arm64: map FDT as RW for early_init_dt_scan() 2022-09-05 10:26:32 +02:00
c6x
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 15:00:58 +01:00
hexagon hexagon: export raw I/O routines for modules 2021-11-26 11:36:23 +01:00
ia64 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2022-08-25 11:14:56 +02:00
m68k m68k: use fallback for random_get_entropy() instead of zero 2022-06-25 11:49:10 +02:00
microblaze
mips MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:15:47 +02:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-03-28 08:41:44 +02:00
nios2 nios2: add force_successful_syscall_return() 2022-08-25 11:15:40 +02:00
openrisc openrisc: start CPU timer early in boot 2022-06-14 16:59:17 +02:00
parisc parisc: Fix exception handler for fldw and fstw instructions 2022-09-05 10:26:28 +02:00
powerpc powerpc/64: Init jump labels before parse_early_param() 2022-08-25 11:15:47 +02:00
riscv RISC-V: Add fast call path of crash_kexec() 2022-08-25 11:15:46 +02:00
s390 s390/mm: do not trigger write fault when vma does not allow VM_WRITE 2022-09-05 10:26:33 +02:00
sh mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue 2022-01-27 09:04:34 +01:00
sparc sparc: use fallback for random_get_entropy() instead of zero 2022-06-25 11:49:10 +02:00
um um: use fallback for random_get_entropy() instead of zero 2022-06-25 11:49:10 +02:00
unicore32
x86 x86/bugs: Add "unknown" reporting for MMIO Stale Data 2022-09-05 10:26:33 +02:00
xtensa xtensa: Fix refcount leak bug in time.c 2022-07-02 16:27:36 +02:00
.gitignore
Kconfig x86: Make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol 2021-12-22 09:19:01 +01:00