android_kernel_sony_sdm845/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pawan Gupta 0616411a70 x86/bugs: Add "unknown" reporting for MMIO Stale Data
commit 7df548840c496b0141fb2404b889c346380c2b22 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: 8d50cdf8b834 ("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:23:56 +02:00
..
alpha tty: the rest, stop using tty_schedule_flip() 2022-07-29 17:05:47 +02:00
arc ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:14:11 +02:00
arm ARM: crypto: comment out gcc warning that breaks clang builds 2022-08-25 11:09:21 +02:00
arm64 arm64: entry: Restore tramp_map_kernel ISB 2022-07-21 20:40:30 +02:00
avr32
blackfin
c6x
cris
frv futex: Remove duplicated code and fix undefined behaviour 2018-05-19 10:27:00 +02:00
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 13:59:16 +01:00
hexagon hexagon: export raw I/O routines for modules 2021-11-26 11:48:42 +01:00
ia64 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2022-08-25 11:09:24 +02:00
m32r
m68k m68k: use fallback for random_get_entropy() instead of zero 2022-06-25 11:45:13 +02:00
metag
microblaze microblaze: Prevent the overflow of the start 2020-02-28 15:42:42 +01:00
mips MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:09:32 +02:00
mn10300 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy 2018-02-17 13:21:20 +01:00
nios2 nios2: add force_successful_syscall_return() 2022-08-25 11:09:30 +02:00
openrisc openrisc: start CPU timer early in boot 2022-06-14 16:52:29 +02:00
parisc parisc: Fix exception handler for fldw and fstw instructions 2022-09-05 10:23:54 +02:00
powerpc powerpc/64: Init jump labels before parse_early_param() 2022-08-25 11:09:32 +02:00
s390 s390/mm: do not trigger write fault when vma does not allow VM_WRITE 2022-09-05 10:23:56 +02:00
score
sh gup: document and work around "COW can break either way" issue 2022-01-27 08:47:42 +01:00
sparc sparc: use fallback for random_get_entropy() instead of zero 2022-06-25 11:45:13 +02:00
tile locking/x86: Remove the unused atomic_inc_short() methd 2020-01-12 11:24:19 +01:00
um um: use fallback for random_get_entropy() instead of zero 2022-06-25 11:45:13 +02:00
unicore32
x86 x86/bugs: Add "unknown" reporting for MMIO Stale Data 2022-09-05 10:23:56 +02:00
xtensa xtensa: Fix refcount leak bug in time.c 2022-07-02 16:17:15 +02:00
.gitignore
Kconfig cpu/hotplug: Provide knobs to control SMT 2018-08-15 18:14:46 +02:00