OSDN Git Service

Merge 4.9.166 into android-4.9
authorGreg Kroah-Hartman <gregkh@google.com>
Sat, 30 Mar 2019 07:45:43 +0000 (08:45 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 30 Mar 2019 07:45:43 +0000 (08:45 +0100)
Changes in 4.9.166
mmc: pxamci: fix enum type confusion
drm/vmwgfx: Don't double-free the mode stored in par->set_mode
iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
libceph: wait for latest osdmap in ceph_monc_blacklist_add()
udf: Fix crash on IO error during truncate
mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
MIPS: Ensure ELF appended dtb is relocated
MIPS: Fix kernel crash for R6 in jump label branch function
futex: Ensure that futex address is aligned in handle_futex_death()
objtool: Move objtool_file struct off the stack
ext4: fix NULL pointer dereference while journal is aborted
ext4: fix data corruption caused by unaligned direct AIO
ext4: brelse all indirect buffer in ext4_ind_remove_space()
media: v4l2-ctrls.c/uvc: zero v4l2_event
Bluetooth: Fix decrementing reference count twice in releasing socket
locking/lockdep: Add debug_locks check in __lock_downgrade()
ALSA: hda - Record the current power state before suspend/resume calls
ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
tcp/dccp: drop SYN packets if accept queue is full
serial: sprd: adjust TIMEOUT to a big value
Hang/soft lockup in d_invalidate with simultaneous calls
arm64: traps: disable irq in die()
serial: sprd: clear timeout interrupt only rather than all interrupts
lib/int_sqrt: optimize small argument
USB: core: only clean up what we allocated
scsi: ufs: fix wrong command type of UTRD for UFSHCI v2.1
rtc: Fix overflow when converting time64_t to rtc_time
pwm-backlight: Enable/disable the PWM before/after LCD enable toggle.
power: supply: charger-manager: Fix incorrect return value
ath10k: avoid possible string overflow
Linux 4.9.166

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
1  2 
Makefile
arch/arm64/kernel/traps.c
drivers/scsi/ufs/ufshcd.c
fs/dcache.c
net/ipv4/tcp_input.c

diff --cc Makefile
Simple merge
@@@ -271,16 -264,19 +271,18 @@@ static DEFINE_RAW_SPINLOCK(die_lock)
   */
  void die(const char *str, struct pt_regs *regs, int err)
  {
 -      struct thread_info *thread = current_thread_info();
        int ret;
+       unsigned long flags;
+       raw_spin_lock_irqsave(&die_lock, flags);
  
        oops_enter();
  
-       raw_spin_lock_irq(&die_lock);
        console_verbose();
        bust_spinlocks(1);
 -      ret = __die(str, err, thread, regs);
 +      ret = __die(str, err, regs);
  
 -      if (regs && kexec_should_crash(thread->task))
 +      if (regs && kexec_should_crash(current))
                crash_kexec(regs);
  
        bust_spinlocks(0);
Simple merge
diff --cc fs/dcache.c
Simple merge
Simple merge