Merge 4.19.105 into android-4.19
Changes in 4.19.105 Input: synaptics - switch T470s to RMI4 by default Input: synaptics - enable SMBus on ThinkPad L470 Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list ALSA: usb-audio: Fix UAC2/3 effect unit parsing ALSA: hda/realtek - Fix silent output on MSI-GL73 ALSA: usb-audio: Apply sample rate quirk for Audioengine D1 arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly arm64: nofpsmid: Handle TIF_FOREIGN_FPSTATE flag cleanly ALSA: usb-audio: sound: usb: usb true/false for bool return type ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000 ext4: don't assume that mmp_nodename/bdevname have NUL ext4: fix support for inode sizes > 1024 bytes ext4: fix checksum errors with indexed dirs ext4: add cond_resched() to ext4_protect_reserved_inode ext4: improve explanation of a mount failure caused by a misconfigured kernel Btrfs: fix race between using extent maps and merging them btrfs: ref-verify: fix memory leaks btrfs: print message when tree-log replay starts btrfs: log message when rw remount is attempted with unclean tree-log ARM: npcm: Bring back GPIOLIB support arm64: ssbs: Fix context-switch when SSBS is present on all CPUs KVM: nVMX: Use correct root level for nested EPT shadow page tables perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event map nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info IB/hfi1: Acquire lock to release TID entries when user file is closed IB/hfi1: Close window for pq and request coliding IB/rdmavt: Reset all QPs when the device is shut down RDMA/core: Fix invalid memory access in spec_filter_size RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq RDMA/core: Fix protection fault in get_pkey_idx_qp_list s390/time: Fix clk type in get_tod_clock perf/x86/intel: Fix inaccurate period in context switch for auto-reload hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions. NFSv4.1 make cachethis=no for writes jbd2: move the clearing of b_modified flag to the journal_unmap_buffer() jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer KVM: x86/mmu: Fix struct guest_walker arrays for 5-level paging Linux 4.19.105 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I411bf0e21a24cee878f1a114175090e8fe69be46
This commit is contained in:
@@ -424,6 +424,13 @@ static void ssbs_thread_switch(struct task_struct *next)
|
||||
if (unlikely(next->flags & PF_KTHREAD))
|
||||
return;
|
||||
|
||||
/*
|
||||
* If all CPUs implement the SSBS extension, then we just need to
|
||||
* context-switch the PSTATE field.
|
||||
*/
|
||||
if (cpu_have_feature(cpu_feature(SSBS)))
|
||||
return;
|
||||
|
||||
/* If the mitigation is enabled, then we leave SSBS clear. */
|
||||
if ((arm64_get_ssbd_state() == ARM64_SSBD_FORCE_ENABLE) ||
|
||||
test_tsk_thread_flag(next, TIF_SSBD))
|
||||
|
||||
Reference in New Issue
Block a user