Skip to contentSkip to conversation

Linux 4.19.36

DISCUSSION Greg KH 1 participant 2 messages Apr 20, 2019 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.19.36 kernel.

All users of the 4.19 kernel series must upgrade.

The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 MAINTAINERS                                        |    6 
 Makefile                                           |    2 
 arch/arc/configs/hsdk_defconfig                    |    1 
 arch/arc/kernel/head.S                             |    1 
 arch/arc/kernel/setup.c                            |    8 
 arch/arm/crypto/sha256-armv4.pl                    |    3 
 arch/arm/crypto/sha256-core.S_shipped              |    3 
 arch/arm/crypto/sha512-armv4.pl                    |    3 
 arch/arm/crypto/sha512-core.S_shipped              |    3 
 arch/arm/kernel/patch.c                            |    6 
 arch/arm/plat-samsung/Kconfig                      |    2 
 arch/powerpc/kernel/rtasd.c                        |   17 
 arch/x86/hyperv/hv_init.c                          |    6 
 arch/x86/kernel/aperture_64.c                      |   20 
 arch/x86/kernel/cpu/cyrix.c                        |   14 
 arch/x86/kernel/hpet.c                             |    2 
 arch/x86/kernel/hw_breakpoint.c                    |    1 
 arch/x86/kernel/mpparse.c                          |    4 
 arch/x86/kvm/vmx.c                                 |  173 ++
 block/blk-iolatency.c                              |    1 
 drivers/acpi/ec.c                                  |   65 +
 drivers/acpi/internal.h                            |    2 
 drivers/acpi/sbs.c                                 |    8 
 drivers/acpi/sleep.c                               |   11 
 drivers/acpi/utils.c                               |    1 
 drivers/auxdisplay/hd44780.c                       |    2 
 drivers/base/node.c                                |    7 
 drivers/base/power/domain.c                        |   13 
 drivers/crypto/axis/artpec6_crypto.c               |   28 
 drivers/gpio/gpio-pxa.c                            |    6 
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |   52 
 drivers/gpu/drm/cirrus/cirrus_drv.h                |    2 
 drivers/gpu/drm/cirrus/cirrus_fbdev.c              |   48 
 drivers/gpu/drm/cirrus/cirrus_mode.c               |    2 
 drivers/gpu/drm/exynos/exynos_mixer.c              |  110 +
 drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h |    1 
 drivers/gpu/drm/nouveau/nouveau_debugfs.c          |    2 
 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c  |    2 
 drivers/gpu/drm/nouveau/nvkm/subdev/volt/Kbuild    |    1 
 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf117.c   |   60 
 drivers/gpu/drm/panel/panel-innolux-p079zca.c      |   11 
 drivers/gpu/drm/ttm/ttm_bo.c                       |    1 
 drivers/gpu/drm/ttm/ttm_memory.c                   |    9 
 drivers/gpu/drm/udl/udl_gem.c                      |    2 
 drivers/hid/hid-ids.h                              |    1 
 drivers/hid/hid-quirks.c                           |    1 
 drivers/hid/i2c-hid/Makefile                       |    3 
 drivers/hid/i2c-hid/i2c-hid-core.c                 | 1348 +++++++++++++++++++++
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c           |  376 +++++
 drivers/hid/i2c-hid/i2c-hid.c                      | 1328 --------------------
 drivers/hid/i2c-hid/i2c-hid.h                      |   20 
 drivers/hwtracing/coresight/coresight-cpu-debug.c  |    4 
 drivers/infiniband/hw/hfi1/qp.c                    |    2 
 drivers/infiniband/hw/i40iw/i40iw_utils.c          |   12 
 drivers/infiniband/hw/mlx4/alias_GUID.c            |    2 
 drivers/iommu/dmar.c                               |    2 
 drivers/iommu/intel-iommu.c                        |    3 
 drivers/irqchip/irq-mbigen.c                       |    3 
 drivers/irqchip/irq-stm32-exti.c                   |    5 
 drivers/media/usb/au0828/au0828-core.c             |    1 
 drivers/misc/lkdtm/core.c                          |    2 
 drivers/misc/lkdtm/lkdtm.h                         |    2 
 drivers/misc/lkdtm/perms.c                         |   36 
 drivers/mmc/host/davinci_mmc.c                     |    2 
 drivers/net/ethernet/stmicro/stmmac/ring_mode.c    |    4 
 drivers/net/wireless/rsi/rsi_common.h              |    1 
 drivers/pci/pci.c                                  |   22 
 drivers/pinctrl/core.c                             |    4 
 drivers/platform/x86/Kconfig                       |   12 
 drivers/platform/x86/Makefile                      |    1 
 drivers/platform/x86/intel_atomisp2_pm.c           |  119 +
 drivers/scsi/scsi_lib.c                            |    1 
 drivers/scsi/scsi_transport_iscsi.c                |    2 
 drivers/soc/tegra/pmc.c                            |    8 
 drivers/thermal/broadcom/bcm2835_thermal.c         |    9 
 drivers/thermal/int340x_thermal/int3400_thermal.c  |   21 
 drivers/thermal/intel_powerclamp.c                 |    4 
 drivers/thermal/samsung/exynos_tmu.c               |    2 
 drivers/tty/serial/xilinx_uartps.c                 |    2 
 fs/9p/v9fs.c                                       |   21 
 fs/9p/v9fs.h                                       |    1 
 fs/9p/vfs_dir.c                                    |    8 
 fs/9p/vfs_file.c                                   |    6 
 fs/cifs/inode.c                                    |   67 -
 fs/cifs/smb2maperror.c                             |    3 
 fs/ext4/ioctl.c                                    |    7 
 fs/ext4/resize.c                                   |   17 
 fs/ext4/super.c                                    |   16 
 fs/f2fs/debug.c                                    |    3 
 fs/f2fs/f2fs.h                                     |   15 
 fs/f2fs/file.c                                     |    7 
 fs/f2fs/recovery.c                                 |   32 
 fs/f2fs/segment.c                                  |   65 -
 fs/f2fs/super.c                                    |   65 -
 fs/notify/inotify/inotify_user.c                   |    7 
 fs/proc/kcore.c                                    |   27 
 include/linux/atalk.h                              |   20 
 include/linux/compiler.h                           |    5 
 include/linux/kcore.h                              |    2 
 include/linux/swap.h                               |    4 
 include/net/bluetooth/hci_core.h                   |    2 
 include/net/xfrm.h                                 |   12 
 include/trace/events/rxrpc.h                       |    2 
 include/uapi/linux/netfilter/xt_cgroup.h           |   16 
 kernel/bpf/inode.c                                 |   32 
 kernel/events/core.c                               |    2 
 kernel/hung_task.c                                 |   30 
 kernel/sched/core.c                                |    2 
 kernel/sched/cpufreq_schedutil.c                   |   59 
 lib/div64.c                                        |    4 
 mm/vmstat.c                                        |    4 
 net/9p/protocol.c                                  |    3 
 net/appletalk/atalk_proc.c                         |    2 
 net/appletalk/ddp.c                                |   37 
 net/appletalk/sysctl_net_atalk.c                   |    5 
 net/bluetooth/hci_core.c                           |    2 
 net/bluetooth/smp.c                                |   23 
 net/ipv6/ip6_gre.c                                 |    3 
 net/ipv6/xfrm6_tunnel.c                            |    2 
 net/key/af_key.c                                   |    2 
 net/netfilter/nf_tables_api.c                      |    3 
 net/netfilter/xt_cgroup.c                          |   72 +
 net/rds/rdma.c                                     |   63 
 net/rds/rds.h                                      |   20 
 net/rds/send.c                                     |   50 
 net/rxrpc/conn_client.c                            |   20 
 net/xfrm/xfrm_state.c                              |   30 
 net/xfrm/xfrm_user.c                               |    2 
 sound/drivers/opl3/opl3_voice.h                    |    2 
 sound/isa/sb/sb8.c                                 |    4 
 sound/pci/echoaudio/echoaudio.c                    |    5 
 sound/pci/hda/patch_realtek.c                      |   18 
 sound/soc/soc-ops.c                                |    4 
 tools/perf/Documentation/perf-config.txt           |    2 
 tools/perf/builtin-top.c                           |    5 
 tools/perf/tests/evsel-tp-sched.c                  |    1 
 tools/perf/tests/expr.c                            |    5 
 tools/perf/tests/openat-syscall-all-cpus.c         |    4 
 tools/perf/util/build-id.c                         |    1 
 tools/perf/util/config.c                           |    3 
 tools/perf/util/evsel.c                            |    1 
 tools/perf/util/hist.c                             |    4 
 tools/perf/util/parse-events.c                     |    2 
 tools/power/x86/turbostat/turbostat.c              |    3 
 tools/usb/usbip/libsrc/vhci_driver.c               |    2 
 145 files changed, 3190 insertions(+), 1865 deletions(-)

Aditya Pakki (1):
x86/hpet: Prevent potential NULL pointer dereference

Andrzej Hajda (1):
drm/exynos/mixer: fix MIXER shadow registry synchronisation code

Andy Shevchenko (2):
auxdisplay: hd44780: Fix memory leak on ->remove() ACPI / utils: Drop reference in test for device presence

Ard Biesheuvel (2):
crypto: sha256/arm - fix crash bug in Thumb2 build
crypto: sha512/arm - fix crash bug in Thumb2 build

Arnaldo Carvalho de Melo (1):

      perf evsel: Free evsel->counts in perf_evsel__exit()

Arnd Bergmann (2):
mmc: davinci: remove extraneous __init annotation
appletalk: Fix compile regression

Ayman Bagabas (1):
ALSA: hda: fix front speakers on Huawei MBXP

Bart Van Assche (2):
blk-iolatency: #include "blk.h"
scsi: core: Avoid that system resume triggers a kernel warning

Bartlomiej Zolnierkiewicz (1):
ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms

Brad Love (1):
media: au0828: cannot kfree dev before usb disconnect

Changbin Du (9):
perf list: Don't forget to drop the reference to the allocated thread_map perf config: Fix an error in the config template documentation
perf config: Fix a memory leak in collect_config()
perf build-id: Fix memory leak in print_sdt_events()
perf top: Fix error handling in cmd_top()
perf hist: Add missing map__put() in error case
perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test perf tests: Fix memory leak by expr__find_other() in test__expr()
perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()

Chao Yu (3):
f2fs: fix to avoid NULL pointer dereference on se->discard_map
f2fs: fix to do sanity check with current segment number
f2fs: fix to dirty inode for i_mode recovery

Christophe Leroy (2):
lkdtm: Print real addresses
lkdtm: Add tests for NULL pointer dereference

Colin Ian King (1):
ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration

Cong Wang (1):
xfrm: destroy xfrm_state synchronously on net exit path

Corentin Labbe (1):
arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM

Daniel Borkmann (1):
bpf: fix use after free in bpf_evict_inode

Darrick J. Wong (1):
ext4: prohibit fstrim in norecovery mode

Dave Airlie (1):
drm/udl: use drm_gem_object_put_unlocked.

David Arcari (1):
tools/power turbostat: return the exit status of a command

David Howells (1):
rxrpc: Fix client call connect/disconnect race

Dinu-Razvan Chis-Serban (1):
9p locks: add mount option for lock retry interval

Dmitry Osipenko (1):
soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()

Eugeniy Paltsev (1):
ARC: u-boot args: check that magic number is correct

Fabien Dessenne (1):
irqchip/stm32: Don't clear rising/falling config registers at init

Feng Tang (1):
i40iw: Avoid panic when handling the inetdev event

Gertjan Halkes (1):
9p: do not trust pdu content for stat item size

Greg Kroah-Hartman (1):

      Linux 4.19.36

Hans de Goede (1):
platform/x86: Add Intel AtomISP2 dummy / power-management driver

Hsin-Yi, Wang (1):
drm/panel: panel-innolux: set display off in innolux_panel_unprepare

Ilia Mirkin (1):
drm/nouveau/volt/gf117: fix speedo readout register

Jack Morgenstein (1):
IB/mlx4: Fix race condition between catas error reset and aliasguid flows

Jan Kara (1):
ext4: avoid panic during forced reboot

Jiada Wang (1):
PM / Domains: Avoid a potential deadlock

Jianguo Chen (1):
irqchip/mbigen: Don't clear eventid when freeing an MSI

Julia Cartwright (1):
iommu/dmar: Fix buffer overflow during PCI bus notification

Julian Sax (1):
HID: i2c-hid: override HID descriptors for certain devices

Kai-Heng Feng (1):
HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2

Kaike Wan (1):
IB/hfi1: Failed to drain send queue when QP is put into error state

Kairui Song (1):
x86/gart: Exclude GART aperture from kcore

Kangjie Lu (3):
ALSA: echoaudio: add a check for ioremap_nocache
ALSA: sb8: add a check for request_region x86/hyperv: Prevent potential NULL pointer dereference

Kevin Wang (1):
drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)

Konstantin Khlebnikov (2):
sched/core: Fix buffer overflow in cgroup2 property cpu.max
mm: hide incomplete nr_indirectly_reclaimable in sysfs

Lars Persson (1):
crypto: axis - fix for recursive locking from bottom half

Leo Yan (1):
coresight: cpu-debug: Support for CA73 CPUs

Lorenzo Bianconi (1):
net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version

Lu Baolu (1):
iommu/vt-d: Check capability before disabling protected memory

Luc Van Oostenryck (1):
thermal/intel_powerclamp: fix __percpu declaration of worker_data

Lukas Czerner (2):
ext4: add missing brelse() in add_new_gdb_meta_bg()
ext4: report real fs size after failed resize

Maciej Żenczykowski (1):
usbip: fix vhci_hcd controller counting

Marek Szyprowski (1):
thermal: samsung: Fix incorrect check after code merge

Matias Karhumaa (1):
Bluetooth: Fix debugfs NULL pointer dereference

Matteo Croce (1):
x86/mm: Don't leak kernel addresses

Matthew Garrett (2):

      thermal/int340x_thermal: Add additional UUIDs
      thermal/int340x_thermal: fix mode setting

Matthew Whitehead (1):
x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors

Maurizio Lombardi (1):
scsi: iscsi: flush running unbind operations when removing a session

Michal Simek (1):
serial: uartps: console_setup() can't be placed to init section

Mika Westerberg (1):
PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports

Nathan Chancellor (1):
x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error

Nathan Fontenot (1):
powerpc/pseries: Remove prrn_work workqueue

Pablo Neira Ayuso (1):
netfilter: xt_cgroup: shrink size of v2 path

Peter Zijlstra (1):
sched/cpufreq: Fix 32-bit math overflow

Phil Elwell (1):
thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs

Pi-Hsun Shih (1):
include/linux/swap.h: use offsetof() instead of custom __swapoffset macro

Rafael J. Wysocki (1):
ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle

Robert Jarzmik (1):
gpio: pxa: handle corner case of unprobed device

Rohit kumar (1):
ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()

Roman Gushchin (1):
mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo

Ronald Tschalär (1):
ACPI / SBS: Fix GPE storm on recent MacBookPro's

Sean Christopherson (1):
KVM: nVMX: restore host state in nested_vmx_vmexit for VMFail

Sheng Yong (1):
f2fs: cleanup dirty pages if recover failed

Siva Rebbagondla (1):
rsi: improve kernel thread handling to fix kernel panic

Stanislaw Gruszka (1):
lib/div64.c: off by one in shift

Stephane Eranian (1):
perf/core: Restore mmap record type correctly

Steve French (2):
fix incorrect error code mapping for OBJECTID_NOT_FOUND
cifs: fallback to older infolevels on findfirst queryinfo retry

Taehee Yoo (1):
netfilter: nf_flow_table: remove flowtable hook flush routine in netns exit routine

Thomas Zimmermann (1):
drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up

Thor Thayer (1):
net: stmmac: Set OWN bit for jumbo frames

Trigger Huang (1):
drm/ttm: Fix bo_global and mem_global kfree error

Vitaly Kuznetsov (1):
kernel: hung_task.c: disable on suspend

Yang Shi (1):
ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t

Yanjiang Jin (1):
pinctrl: core: make sure strcmp() doesn't get a null parameter

YueHaibing (2):
drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
appletalk: Fix use-after-free in atalk_proc_exit

Zhang Rui (2):
thermal/intel_powerclamp: fix truncated kthread name Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"

ZhangXiaoxu (1):
inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()

[email protected] (1):
compiler.h: update definition of unreachable()

shamir rabinovitch (1):
net/rds: fix warn in rds_message_alloc_sgs

author maintainer
#1 lore raw
MAINTAINERS +6 -0
index 9e9b19ecf6f7..11a59e82d92e 100644
@@ -7320,6 +7320,12 @@ L:	[email protected] (moderated for non-subscribers)
 S:	Supported
 F:	sound/soc/intel/
 
+INTEL ATOMISP2 DUMMY / POWER-MANAGEMENT DRIVER
+M:	Hans de Goede <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/platform/x86/intel_atomisp2_pm.c
+
 INTEL C600 SERIES SAS CONTROLLER DRIVER
 M:	Intel SCU Linux support <[email protected]>
 M:	Artur Paszkiewicz <[email protected]>
Makefile +1 -1
index f4229975b48c..3fac08f6a11e 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 19
-SUBLEVEL = 35
+SUBLEVEL = 36
 EXTRAVERSION =
 NAME = "People's Front"
 
arch/arc/configs/hsdk_defconfig +1 -0
index 2a1d2cbfee1a..651fa7978e51 100644
@@ -8,6 +8,7 @@ CONFIG_NAMESPACES=y
 # CONFIG_UTS_NS is not set
 # CONFIG_PID_NS is not set
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_BLK_DEV_RAM=y
 CONFIG_EMBEDDED=y
 CONFIG_PERF_EVENTS=y
 # CONFIG_VM_EVENT_COUNTERS is not set
arch/arc/kernel/head.S +1 -0
index 1f945d0f40da..208bf2c9e7b0 100644
@@ -107,6 +107,7 @@ ENTRY(stext)
 	;    r2 = pointer to uboot provided cmdline or external DTB in mem
 	; These are handled later in handle_uboot_args()
 	st	r0, [@uboot_tag]
+	st      r1, [@uboot_magic]
 	st	r2, [@uboot_arg]
 #endif
 
arch/arc/kernel/setup.c +8 -0
index 3320ca2fe20f..a1218937abd6 100644
@@ -35,6 +35,7 @@ unsigned int intr_to_DE_cnt;
 
 /* Part of U-boot ABI: see head.S */
 int __initdata uboot_tag;
+int __initdata uboot_magic;
 char __initdata *uboot_arg;
 
 const struct machine_desc *machine_desc;
@@ -484,6 +485,8 @@ static inline bool uboot_arg_invalid(unsigned long addr)
 #define UBOOT_TAG_NONE		0
 #define UBOOT_TAG_CMDLINE	1
 #define UBOOT_TAG_DTB		2
+/* We always pass 0 as magic from U-boot */
+#define UBOOT_MAGIC_VALUE	0
 
 void __init handle_uboot_args(void)
 {
@@ -499,6 +502,11 @@ void __init handle_uboot_args(void)
 		goto ignore_uboot_args;
 	}
 
+	if (uboot_magic != UBOOT_MAGIC_VALUE) {
+		pr_warn(IGNORE_ARGS "non zero uboot magic\n");
+		goto ignore_uboot_args;
+	}
+
 	if (uboot_tag != UBOOT_TAG_NONE &&
             uboot_arg_invalid((unsigned long)uboot_arg)) {
 		pr_warn(IGNORE_ARGS "invalid uboot arg: '%px'\n", uboot_arg);
arch/arm/crypto/sha256-armv4.pl +2 -1
index b9ec44060ed3..a03cf4dfb781 100644
@@ -212,10 +212,11 @@ K256:
 .global	sha256_block_data_order
 .type	sha256_block_data_order,%function
 sha256_block_data_order:
+.Lsha256_block_data_order:
 #if __ARM_ARCH__<7
 	sub	r3,pc,#8		@ sha256_block_data_order
 #else
-	adr	r3,sha256_block_data_order
+	adr	r3,.Lsha256_block_data_order
 #endif
 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
 	ldr	r12,.LOPENSSL_armcap
arch/arm/crypto/sha256-core.S_shipped +2 -1
index 3b58300d611c..054aae0edfce 100644
@@ -93,10 +93,11 @@ K256:
 .global	sha256_block_data_order
 .type	sha256_block_data_order,%function
 sha256_block_data_order:
+.Lsha256_block_data_order:
 #if __ARM_ARCH__<7
 	sub	r3,pc,#8		@ sha256_block_data_order
 #else
-	adr	r3,sha256_block_data_order
+	adr	r3,.Lsha256_block_data_order
 #endif
 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
 	ldr	r12,.LOPENSSL_armcap
arch/arm/crypto/sha512-armv4.pl +2 -1
index fb5d15048c0b..788c17b56ecc 100644
@@ -274,10 +274,11 @@ WORD64(0x5fcb6fab,0x3ad6faec, 0x6c44198c,0x4a475817)
 .global	sha512_block_data_order
 .type	sha512_block_data_order,%function
 sha512_block_data_order:
+.Lsha512_block_data_order:
 #if __ARM_ARCH__<7
 	sub	r3,pc,#8		@ sha512_block_data_order
 #else
-	adr	r3,sha512_block_data_order
+	adr	r3,.Lsha512_block_data_order
 #endif
 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
 	ldr	r12,.LOPENSSL_armcap
arch/arm/crypto/sha512-core.S_shipped +2 -1
index b1c334a49cda..710ea309769e 100644
@@ -141,10 +141,11 @@ WORD64(0x5fcb6fab,0x3ad6faec, 0x6c44198c,0x4a475817)
 .global	sha512_block_data_order
 .type	sha512_block_data_order,%function
 sha512_block_data_order:
+.Lsha512_block_data_order:
 #if __ARM_ARCH__<7
 	sub	r3,pc,#8		@ sha512_block_data_order
 #else
-	adr	r3,sha512_block_data_order
+	adr	r3,.Lsha512_block_data_order
 #endif
 #if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
 	ldr	r12,.LOPENSSL_armcap
arch/arm/kernel/patch.c +3 -3
index a50dc00d79a2..d0a05a3bdb96 100644
@@ -16,7 +16,7 @@ struct patch {
 	unsigned int insn;
 };
 
-static DEFINE_SPINLOCK(patch_lock);
+static DEFINE_RAW_SPINLOCK(patch_lock);
 
 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
 	__acquires(&patch_lock)
@@ -33,7 +33,7 @@ static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags)
 		return addr;
 
 	if (flags)
-		spin_lock_irqsave(&patch_lock, *flags);
+		raw_spin_lock_irqsave(&patch_lock, *flags);
 	else
 		__acquire(&patch_lock);
 
@@ -48,7 +48,7 @@ static void __kprobes patch_unmap(int fixmap, unsigned long *flags)
 	clear_fixmap(fixmap);
 
 	if (flags)
-		spin_unlock_irqrestore(&patch_lock, *flags);
+		raw_spin_unlock_irqrestore(&patch_lock, *flags);
 	else
 		__release(&patch_lock);
 }
arch/arm/plat-samsung/Kconfig +1 -1
index b600e38364eb..377ff9cda667 100644
@@ -256,7 +256,7 @@ config S3C_PM_DEBUG_LED_SMDK
 
 config SAMSUNG_PM_CHECK
 	bool "S3C2410 PM Suspend Memory CRC"
-	depends on PM
+	depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210)
 	select CRC32
 	help
 	  Enable the PM code's memory area checksum over sleep. This option
arch/powerpc/kernel/rtasd.c +3 -14
index 44d66c33d59d..23b88b923f06 100644
@@ -274,27 +274,16 @@ void pSeries_log_error(char *buf, unsigned int err_type, int fatal)
 }
 
 #ifdef CONFIG_PPC_PSERIES
-static s32 prrn_update_scope;
-
-static void prrn_work_fn(struct work_struct *work)
+static void handle_prrn_event(s32 scope)
 {
 	/*
 	 * For PRRN, we must pass the negative of the scope value in
 	 * the RTAS event.
 	 */
-	pseries_devicetree_update(-prrn_update_scope);
+	pseries_devicetree_update(-scope);
 	numa_update_cpu_topology(false);
 }
 
-static DECLARE_WORK(prrn_work, prrn_work_fn);
-
-static void prrn_schedule_update(u32 scope)
-{
-	flush_work(&prrn_work);
-	prrn_update_scope = scope;
-	schedule_work(&prrn_work);
-}
-
 static void handle_rtas_event(const struct rtas_error_log *log)
 {
 	if (rtas_error_type(log) != RTAS_TYPE_PRRN || !prrn_is_enabled())
@@ -303,7 +292,7 @@ static void handle_rtas_event(const struct rtas_error_log *log)
 	/* For PRRN Events the extended log length is used to denote
 	 * the scope for calling rtas update-nodes.
 	 */
-	prrn_schedule_update(rtas_error_extended_log_length(log));
+	handle_prrn_event(rtas_error_extended_log_length(log));
 }
 
 #else
arch/x86/hyperv/hv_init.c +5 -1
index 87abd5145cc9..3fb855155286 100644
@@ -101,9 +101,13 @@ static int hv_cpu_init(unsigned int cpu)
 	u64 msr_vp_index;
 	struct hv_vp_assist_page **hvp = &hv_vp_assist_page[smp_processor_id()];
 	void **input_arg;
+	struct page *pg;
 
 	input_arg = (void **)this_cpu_ptr(hyperv_pcpu_input_arg);
-	*input_arg = page_address(alloc_page(GFP_KERNEL));
+	pg = alloc_page(GFP_KERNEL);
+	if (unlikely(!pg))
+		return -ENOMEM;
+	*input_arg = page_address(pg);
 
 	hv_get_vp_index(msr_vp_index);
 
arch/x86/kernel/aperture_64.c +13 -7
index 2c4d5ece7456..93426c5fc70f 100644
@@ -14,6 +14,7 @@
 #define pr_fmt(fmt) "AGP: " fmt
 
 #include <linux/kernel.h>
+#include <linux/kcore.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/memblock.h>
@@ -57,7 +58,7 @@ int fallback_aper_force __initdata;
 
 int fix_aperture __initdata = 1;
 
-#ifdef CONFIG_PROC_VMCORE
+#if defined(CONFIG_PROC_VMCORE) || defined(CONFIG_PROC_KCORE)
 /*
  * If the first kernel maps the aperture over e820 RAM, the kdump kernel will
  * use the same range because it will remain configured in the northbridge.
@@ -66,20 +67,25 @@ int fix_aperture __initdata = 1;
  */
 static unsigned long aperture_pfn_start, aperture_page_count;
 
-static int gart_oldmem_pfn_is_ram(unsigned long pfn)
+static int gart_mem_pfn_is_ram(unsigned long pfn)
 {
 	return likely((pfn < aperture_pfn_start) ||
 		      (pfn >= aperture_pfn_start + aperture_page_count));
 }
 
-static void exclude_from_vmcore(u64 aper_base, u32 aper_order)
+static void __init exclude_from_core(u64 aper_base, u32 aper_order)
 {
 	aperture_pfn_start = aper_base >> PAGE_SHIFT;
 	aperture_page_count = (32 * 1024 * 1024) << aper_order >> PAGE_SHIFT;
-	WARN_ON(register_oldmem_pfn_is_ram(&gart_oldmem_pfn_is_ram));
+#ifdef CONFIG_PROC_VMCORE
+	WARN_ON(register_oldmem_pfn_is_ram(&gart_mem_pfn_is_ram));
+#endif
+#ifdef CONFIG_PROC_KCORE
+	WARN_ON(register_mem_pfn_is_ram(&gart_mem_pfn_is_ram));
+#endif
 }
 #else
-static void exclude_from_vmcore(u64 aper_base, u32 aper_order)
+static void exclude_from_core(u64 aper_base, u32 aper_order)
 {
 }
 #endif
@@ -469,7 +475,7 @@ int __init gart_iommu_hole_init(void)
 			 * may have allocated the range over its e820 RAM
 			 * and fixed up the northbridge
 			 */
-			exclude_from_vmcore(last_aper_base, last_aper_order);
+			exclude_from_core(last_aper_base, last_aper_order);
 
 			return 1;
 		}
@@ -515,7 +521,7 @@ int __init gart_iommu_hole_init(void)
 	 * overlap with the first kernel's memory. We can't access the
 	 * range through vmcore even though it should be part of the dump.
 	 */
-	exclude_from_vmcore(aper_alloc, aper_order);
+	exclude_from_core(aper_alloc, aper_order);
 
 	/* Fix up the north bridges */
 	for (i = 0; i < amd_nb_bus_dev_ranges[i].dev_limit; i++) {
arch/x86/kernel/cpu/cyrix.c +7 -7
index 8949b7ae6d92..fa61c870ada9 100644
@@ -124,7 +124,7 @@ static void set_cx86_reorder(void)
 	setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* enable MAPEN */
 
 	/* Load/Store Serialize to mem access disable (=reorder it) */
-	setCx86_old(CX86_PCR0, getCx86_old(CX86_PCR0) & ~0x80);
+	setCx86(CX86_PCR0, getCx86(CX86_PCR0) & ~0x80);
 	/* set load/store serialize from 1GB to 4GB */
 	ccr3 |= 0xe0;
 	setCx86(CX86_CCR3, ccr3);
@@ -135,11 +135,11 @@ static void set_cx86_memwb(void)
 	pr_info("Enable Memory-Write-back mode on Cyrix/NSC processor.\n");
 
 	/* CCR2 bit 2: unlock NW bit */
-	setCx86_old(CX86_CCR2, getCx86_old(CX86_CCR2) & ~0x04);
+	setCx86(CX86_CCR2, getCx86(CX86_CCR2) & ~0x04);
 	/* set 'Not Write-through' */
 	write_cr0(read_cr0() | X86_CR0_NW);
 	/* CCR2 bit 2: lock NW bit and set WT1 */
-	setCx86_old(CX86_CCR2, getCx86_old(CX86_CCR2) | 0x14);
+	setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x14);
 }
 
 /*
@@ -153,14 +153,14 @@ static void geode_configure(void)
 	local_irq_save(flags);
 
 	/* Suspend on halt power saving and enable #SUSP pin */
-	setCx86_old(CX86_CCR2, getCx86_old(CX86_CCR2) | 0x88);
+	setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);
 
 	ccr3 = getCx86(CX86_CCR3);
 	setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10);	/* enable MAPEN */
 
 
 	/* FPU fast, DTE cache, Mem bypass */
-	setCx86_old(CX86_CCR4, getCx86_old(CX86_CCR4) | 0x38);
+	setCx86(CX86_CCR4, getCx86(CX86_CCR4) | 0x38);
 	setCx86(CX86_CCR3, ccr3);			/* disable MAPEN */
 
 	set_cx86_memwb();
@@ -296,7 +296,7 @@ static void init_cyrix(struct cpuinfo_x86 *c)
 		/* GXm supports extended cpuid levels 'ala' AMD */
 		if (c->cpuid_level == 2) {
 			/* Enable cxMMX extensions (GX1 Datasheet 54) */
-			setCx86_old(CX86_CCR7, getCx86_old(CX86_CCR7) | 1);
+			setCx86(CX86_CCR7, getCx86(CX86_CCR7) | 1);
 
 			/*
 			 * GXm : 0x30 ... 0x5f GXm  datasheet 51
@@ -319,7 +319,7 @@ static void init_cyrix(struct cpuinfo_x86 *c)
 		if (dir1 > 7) {
 			dir0_msn++;  /* M II */
 			/* Enable MMX extensions (App note 108) */
-			setCx86_old(CX86_CCR7, getCx86_old(CX86_CCR7)|1);
+			setCx86(CX86_CCR7, getCx86(CX86_CCR7)|1);
 		} else {
 			/* A 6x86MX - it has the bug. */
 			set_cpu_bug(c, X86_BUG_COMA);
arch/x86/kernel/hpet.c +2 -0
index b0acb22e5a46..1e3f1f140ffb 100644
@@ -909,6 +909,8 @@ int __init hpet_enable(void)
 		return 0;
 
 	hpet_set_mapping();
+	if (!hpet_virt_address)
+		return 0;
 
 	/*
 	 * Read the period and check for a sane value:
arch/x86/kernel/hw_breakpoint.c +1 -0
index 34a5c1715148..2882fe1d2a78 100644
@@ -357,6 +357,7 @@ int hw_breakpoint_arch_parse(struct perf_event *bp,
 #endif
 	default:
 		WARN_ON_ONCE(1);
+		return -EINVAL;
 	}
 
 	/*
arch/x86/kernel/mpparse.c +2 -2
index f1c5eb99d445..ddb1ca6923b1 100644
@@ -599,8 +599,8 @@ static int __init smp_scan_config(unsigned long base, unsigned long length)
 			mpf_base = base;
 			mpf_found = true;
 
-			pr_info("found SMP MP-table at [mem %#010lx-%#010lx] mapped at [%p]\n",
-				base, base + sizeof(*mpf) - 1, mpf);
+			pr_info("found SMP MP-table at [mem %#010lx-%#010lx]\n",
+				base, base + sizeof(*mpf) - 1);
 
 			memblock_reserve(base, sizeof(*mpf));
 			if (mpf->physptr)
arch/x86/kvm/vmx.c +153 -20

203 lines not on this page · raw message

block/blk-iolatency.c +1 -0
index b154e057ca67..6b8396ccb5c4 100644
@@ -75,6 +75,7 @@
 #include <linux/blk-mq.h>
 #include "blk-rq-qos.h"
 #include "blk-stat.h"
+#include "blk.h"
 
 #define DEFAULT_SCALE_COOKIE 1000000U
 
drivers/acpi/ec.c +65 -0

101 lines not on this page · raw message

drivers/acpi/internal.h +2 -0
index 530a3f675490..f59d0b9e2683 100644
@@ -188,6 +188,8 @@ int acpi_ec_ecdt_probe(void);
 int acpi_ec_dsdt_probe(void);
 void acpi_ec_block_transactions(void);
 void acpi_ec_unblock_transactions(void);
+void acpi_ec_mark_gpe_for_wake(void);
+void acpi_ec_set_gpe_wake_mask(u8 action);
 void acpi_ec_dispatch_gpe(void);
 int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit,
 			      acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/sbs.c +6 -2
index 295b59271189..96c5e27967f4 100644
@@ -441,9 +441,13 @@ static int acpi_ac_get_present(struct acpi_sbs *sbs)
 
 	/*
 	 * The spec requires that bit 4 always be 1. If it's not set, assume
-	 * that the implementation doesn't support an SBS charger
+	 * that the implementation doesn't support an SBS charger.
+	 *
+	 * And on some MacBooks a status of 0xffff is always returned, no
+	 * matter whether the charger is plugged in or not, which is also
+	 * wrong, so ignore the SBS charger for those too.
 	 */
-	if (!((status >> 4) & 0x1))
+	if (!((status >> 4) & 0x1) || status == 0xffff)
 		return -ENODEV;
 
 	sbs->charger_present = (status >> 15) & 0x1;
drivers/acpi/sleep.c +11 -0
index 754d59f95500..74c489047f57 100644
@@ -940,6 +940,8 @@ static int lps0_device_attach(struct acpi_device *adev,
 
 		acpi_handle_debug(adev->handle, "_DSM function mask: 0x%x\n",
 				  bitmask);
+
+		acpi_ec_mark_gpe_for_wake();
 	} else {
 		acpi_handle_debug(adev->handle,
 				  "_DSM function 0 evaluation failed\n");
@@ -968,11 +970,16 @@ static int acpi_s2idle_prepare(void)
 	if (lps0_device_handle) {
 		acpi_sleep_run_lps0_dsm(ACPI_LPS0_SCREEN_OFF);
 		acpi_sleep_run_lps0_dsm(ACPI_LPS0_ENTRY);
+
+		acpi_ec_set_gpe_wake_mask(ACPI_GPE_ENABLE);
 	}
 
 	if (acpi_sci_irq_valid())
 		enable_irq_wake(acpi_sci_irq);
 
+	/* Change the configuration of GPEs to avoid spurious wakeup. */
+	acpi_enable_all_wakeup_gpes();
+	acpi_os_wait_events_complete();
 	return 0;
 }
 
@@ -1017,10 +1024,14 @@ static void acpi_s2idle_sync(void)
 
 static void acpi_s2idle_restore(void)
 {
+	acpi_enable_all_runtime_gpes();
+
 	if (acpi_sci_irq_valid())
 		disable_irq_wake(acpi_sci_irq);
 
 	if (lps0_device_handle) {
+		acpi_ec_set_gpe_wake_mask(ACPI_GPE_DISABLE);
+
 		acpi_sleep_run_lps0_dsm(ACPI_LPS0_EXIT);
 		acpi_sleep_run_lps0_dsm(ACPI_LPS0_SCREEN_ON);
 	}
drivers/acpi/utils.c +1 -0
index 78db97687f26..c4b06cc075f9 100644
@@ -800,6 +800,7 @@ bool acpi_dev_present(const char *hid, const char *uid, s64 hrv)
 	match.hrv = hrv;
 
 	dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb);
+	put_device(dev);
 	return !!dev;
 }
 EXPORT_SYMBOL(acpi_dev_present);
drivers/auxdisplay/hd44780.c +2 -0
index f1a42f0f1ded..df3da49ff9e8 100644
@@ -299,6 +299,8 @@ static int hd44780_remove(struct platform_device *pdev)
 	struct charlcd *lcd = platform_get_drvdata(pdev);
 
 	charlcd_unregister(lcd);
+
+	kfree(lcd);
 	return 0;
 }
 
drivers/base/node.c +6 -1
index 1ac4c36e13bb..c3968e2d0a98 100644
@@ -197,11 +197,16 @@ static ssize_t node_read_vmstat(struct device *dev,
 			     sum_zone_numa_state(nid, i));
 #endif
 
-	for (i = 0; i < NR_VM_NODE_STAT_ITEMS; i++)
+	for (i = 0; i < NR_VM_NODE_STAT_ITEMS; i++) {
+		/* Skip hidden vmstat items. */
+		if (*vmstat_text[i + NR_VM_ZONE_STAT_ITEMS +
+				 NR_VM_NUMA_STAT_ITEMS] == '\0')
+			continue;
 		n += sprintf(buf+n, "%s %lu\n",
 			     vmstat_text[i + NR_VM_ZONE_STAT_ITEMS +
 			     NR_VM_NUMA_STAT_ITEMS],
 			     node_page_state(pgdat, i));
+	}
 
 	return n;
 }
drivers/base/power/domain.c +6 -7
index 4b5714199490..bf5be0bfaf77 100644
@@ -1388,12 +1388,12 @@ static int genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,
 	if (IS_ERR(gpd_data))
 		return PTR_ERR(gpd_data);
 
-	genpd_lock(genpd);
-
 	ret = genpd->attach_dev ? genpd->attach_dev(genpd, dev) : 0;
 	if (ret)
 		goto out;
 
+	genpd_lock(genpd);
+
 	dev_pm_domain_set(dev, &genpd->domain);
 
 	genpd->device_count++;
@@ -1401,9 +1401,8 @@ static int genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,
 
 	list_add_tail(&gpd_data->base.list_node, &genpd->dev_list);
 
- out:
 	genpd_unlock(genpd);
-
+ out:
 	if (ret)
 		genpd_free_dev_data(dev, gpd_data);
 	else
@@ -1452,15 +1451,15 @@ static int genpd_remove_device(struct generic_pm_domain *genpd,
 	genpd->device_count--;
 	genpd->max_off_time_changed = true;
 
-	if (genpd->detach_dev)
-		genpd->detach_dev(genpd, dev);
-
 	dev_pm_domain_set(dev, NULL);
 
 	list_del_init(&pdd->list_node);
 
 	genpd_unlock(genpd);
 
+	if (genpd->detach_dev)
+		genpd->detach_dev(genpd, dev);
+
 	genpd_free_dev_data(dev, gpd_data);
 
 	return 0;
drivers/crypto/axis/artpec6_crypto.c +23 -5
index 7f07a5085e9b..fdcdc751d03b 100644
@@ -284,6 +284,7 @@ enum artpec6_crypto_hash_flags {
 
 struct artpec6_crypto_req_common {
 	struct list_head list;
+	struct list_head complete_in_progress;
 	struct artpec6_crypto_dma_descriptors *dma;
 	struct crypto_async_request *req;
 	void (*complete)(struct crypto_async_request *req);
@@ -2046,7 +2047,8 @@ static int artpec6_crypto_prepare_aead(struct aead_request *areq)
 	return artpec6_crypto_dma_map_descs(common);
 }
 
-static void artpec6_crypto_process_queue(struct artpec6_crypto *ac)
+static void artpec6_crypto_process_queue(struct artpec6_crypto *ac,
+	    struct list_head *completions)
 {
 	struct artpec6_crypto_req_common *req;
 
@@ -2057,7 +2059,7 @@ static void artpec6_crypto_process_queue(struct artpec6_crypto *ac)
 		list_move_tail(&req->list, &ac->pending);
 		artpec6_crypto_start_dma(req);
 
-		req->req->complete(req->req, -EINPROGRESS);
+		list_add_tail(&req->complete_in_progress, completions);
 	}
 
 	/*
@@ -2087,6 +2089,11 @@ static void artpec6_crypto_task(unsigned long data)
 	struct artpec6_crypto *ac = (struct artpec6_crypto *)data;
 	struct artpec6_crypto_req_common *req;
 	struct artpec6_crypto_req_common *n;
+	struct list_head complete_done;
+	struct list_head complete_in_progress;
+
+	INIT_LIST_HEAD(&complete_done);
+	INIT_LIST_HEAD(&complete_in_progress);
 
 	if (list_empty(&ac->pending)) {
 		pr_debug("Spurious IRQ\n");
@@ -2120,19 +2127,30 @@ static void artpec6_crypto_task(unsigned long data)
 
 		pr_debug("Completing request %p\n", req);
 
-		list_del(&req->list);
+		list_move_tail(&req->list, &complete_done);
 
 		artpec6_crypto_dma_unmap_all(req);
 		artpec6_crypto_copy_bounce_buffers(req);
 
 		ac->pending_count--;
 		artpec6_crypto_common_destroy(req);
-		req->complete(req->req);
 	}
 
-	artpec6_crypto_process_queue(ac);
+	artpec6_crypto_process_queue(ac, &complete_in_progress);
 
 	spin_unlock_bh(&ac->queue_lock);
+
+	/* Perform the completion callbacks without holding the queue lock
+	 * to allow new request submissions from the callbacks.
+	 */
+	list_for_each_entry_safe(req, n, &complete_done, list) {
+		req->complete(req->req);
+	}
+
+	list_for_each_entry_safe(req, n, &complete_in_progress,
+				 complete_in_progress) {
+		req->req->complete(req->req, -EINPROGRESS);
+	}
 }
 
 static void artpec6_crypto_complete_crypto(struct crypto_async_request *req)
drivers/gpio/gpio-pxa.c +6 -0
index eb27fa76e8fc..bcc6be4a5cb2 100644
@@ -777,6 +777,9 @@ static int pxa_gpio_suspend(void)
 	struct pxa_gpio_bank *c;
 	int gpio;
 
+	if (!pchip)
+		return 0;
+
 	for_each_gpio_bank(gpio, c, pchip) {
 		c->saved_gplr = readl_relaxed(c->regbase + GPLR_OFFSET);
 		c->saved_gpdr = readl_relaxed(c->regbase + GPDR_OFFSET);
@@ -795,6 +798,9 @@ static void pxa_gpio_resume(void)
 	struct pxa_gpio_bank *c;
 	int gpio;
 
+	if (!pchip)
+		return;
+
 	for_each_gpio_bank(gpio, c, pchip) {
 		/* restore level with set/clear */
 		writel_relaxed(c->saved_gplr, c->regbase + GPSR_OFFSET);
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +1 -51

58 lines not on this page · raw message

drivers/gpu/drm/cirrus/cirrus_drv.h +1 -1
index ce9db7aab225..a29f87e98d9d 100644
@@ -146,7 +146,7 @@ struct cirrus_device {
 
 struct cirrus_fbdev {
 	struct drm_fb_helper helper;
-	struct drm_framebuffer gfb;
+	struct drm_framebuffer *gfb;
 	void *sysram;
 	int size;
 	int x1, y1, x2, y2; /* dirty rect */
drivers/gpu/drm/cirrus/cirrus_fbdev.c +27 -21

95 lines not on this page · raw message

drivers/gpu/drm/cirrus/cirrus_mode.c +1 -1
index 336bfda40125..90a4e641d3fb 100644
@@ -127,7 +127,7 @@ static int cirrus_crtc_do_set_base(struct drm_crtc *crtc,
 		return ret;
 	}
 
-	if (&cdev->mode_info.gfbdev->gfb == crtc->primary->fb) {
+	if (cdev->mode_info.gfbdev->gfb == crtc->primary->fb) {
 		/* if pushing console in kmap it */
 		ret = ttm_bo_kmap(&bo->bo, 0, bo->bo.num_pages, &bo->kmap);
 		if (ret)
drivers/gpu/drm/exynos/exynos_mixer.c +66 -44

182 lines not on this page · raw message

drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h +1 -0
index 8a0f85f5fc1a..6a765682fbfa 100644
@@ -38,6 +38,7 @@ int nvkm_volt_set_id(struct nvkm_volt *, u8 id, u8 min_id, u8 temp,
 
 int nv40_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
 int gf100_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
+int gf117_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
 int gk104_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
 int gk20a_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
 int gm20b_volt_new(struct nvkm_device *, int, struct nvkm_volt **);
drivers/gpu/drm/nouveau/nouveau_debugfs.c +1 -1
index 9109b69cd052..9635704a1d86 100644
@@ -161,7 +161,7 @@ nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf,
 	}
 
 	ret = pm_runtime_get_sync(drm->dev);
-	if (IS_ERR_VALUE(ret) && ret != -EACCES)
+	if (ret < 0 && ret != -EACCES)
 		return ret;
 	ret = nvif_mthd(ctrl, NVIF_CONTROL_PSTATE_USER, &args, sizeof(args));
 	pm_runtime_put_autosuspend(drm->dev);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c +1 -1
index e294013426ce..347a6a4cb339 100644
@@ -1613,7 +1613,7 @@ nvd7_chipset = {
 	.pci = gf106_pci_new,
 	.therm = gf119_therm_new,
 	.timer = nv41_timer_new,
-	.volt = gf100_volt_new,
+	.volt = gf117_volt_new,
 	.ce[0] = gf100_ce_new,
 	.disp = gf119_disp_new,
 	.dma = gf119_dma_new,
drivers/gpu/drm/nouveau/nvkm/subdev/volt/Kbuild +1 -0
index bcd179ba11d0..146adcdd316a 100644
@@ -2,6 +2,7 @@ nvkm-y += nvkm/subdev/volt/base.o
 nvkm-y += nvkm/subdev/volt/gpio.o
 nvkm-y += nvkm/subdev/volt/nv40.o
 nvkm-y += nvkm/subdev/volt/gf100.o
+nvkm-y += nvkm/subdev/volt/gf117.o
 nvkm-y += nvkm/subdev/volt/gk104.o
 nvkm-y += nvkm/subdev/volt/gk20a.o
 nvkm-y += nvkm/subdev/volt/gm20b.o
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf117.c new file +60 -0

60 lines not on this page · raw message

drivers/gpu/drm/panel/panel-innolux-p079zca.c +5 -6
index 72edb334d997..88c7d035ace6 100644
@@ -70,18 +70,12 @@ static inline struct innolux_panel *to_innolux_panel(struct drm_panel *panel)
 static int innolux_panel_disable(struct drm_panel *panel)
 {
 	struct innolux_panel *innolux = to_innolux_panel(panel);
-	int err;
 
 	if (!innolux->enabled)
 		return 0;
 
 	backlight_disable(innolux->backlight);
 
-	err = mipi_dsi_dcs_set_display_off(innolux->link);
-	if (err < 0)
-		DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n",
-			      err);
-
 	innolux->enabled = false;
 
 	return 0;
@@ -95,6 +89,11 @@ static int innolux_panel_unprepare(struct drm_panel *panel)
 	if (!innolux->prepared)
 		return 0;
 
+	err = mipi_dsi_dcs_set_display_off(innolux->link);
+	if (err < 0)
+		DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n",
+			      err);
+
 	err = mipi_dsi_dcs_enter_sleep_mode(innolux->link);
 	if (err < 0) {
 		DRM_DEV_ERROR(panel->dev, "failed to enter sleep mode: %d\n",
drivers/gpu/drm/ttm/ttm_bo.c +0 -1
index 7c484729f9b2..268f5a3b3122 100644
@@ -1445,7 +1445,6 @@ static void ttm_bo_global_kobj_release(struct kobject *kobj)
 		container_of(kobj, struct ttm_bo_global, kobj);
 
 	__free_page(glob->dummy_read_page);
-	kfree(glob);
 }
 
 void ttm_bo_global_release(struct drm_global_reference *ref)
drivers/gpu/drm/ttm/ttm_memory.c +0 -9
index 450387c92b63..df73d5ff84a8 100644
@@ -216,14 +216,6 @@ static ssize_t ttm_mem_global_store(struct kobject *kobj,
 	return size;
 }
 
-static void ttm_mem_global_kobj_release(struct kobject *kobj)
-{
-	struct ttm_mem_global *glob =
-		container_of(kobj, struct ttm_mem_global, kobj);
-
-	kfree(glob);
-}
-
 static struct attribute *ttm_mem_global_attrs[] = {
 	&ttm_mem_global_lower_mem_limit,
 	NULL
@@ -235,7 +227,6 @@ static const struct sysfs_ops ttm_mem_global_ops = {
 };
 
 static struct kobj_type ttm_mem_glob_kobj_type = {
-	.release = &ttm_mem_global_kobj_release,
 	.sysfs_ops = &ttm_mem_global_ops,
 	.default_attrs = ttm_mem_global_attrs,
 };
drivers/gpu/drm/udl/udl_gem.c +1 -1
index d5a23295dd80..bb7b58407039 100644
@@ -224,7 +224,7 @@ int udl_gem_mmap(struct drm_file *file, struct drm_device *dev,
 	*offset = drm_vma_node_offset_addr(&gobj->base.vma_node);
 
 out:
-	drm_gem_object_put(&gobj->base);
+	drm_gem_object_put_unlocked(&gobj->base);
 unlock:
 	mutex_unlock(&udl->gem_lock);
 	return ret;
drivers/hid/hid-ids.h +1 -0
index b7870e7e41d4..97d33b8ed36c 100644
@@ -348,6 +348,7 @@
 #define USB_DEVICE_ID_DMI_ENC		0x5fab
 
 #define USB_VENDOR_ID_DRAGONRISE		0x0079
+#define USB_DEVICE_ID_REDRAGON_SEYMUR2		0x0006
 #define USB_DEVICE_ID_DRAGONRISE_WIIU		0x1800
 #define USB_DEVICE_ID_DRAGONRISE_PS3		0x1801
 #define USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR	0x1803
drivers/hid/hid-quirks.c +1 -0
index 77316f022c5a..94088c0ed68a 100644
@@ -70,6 +70,7 @@ static const struct hid_device_id hid_quirks[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC), HID_QUIRK_NOGET },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_2NES2SNES), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_4NES4SNES), HID_QUIRK_MULTI_INPUT },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_REDRAGON_SEYMUR2), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE1), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_PS3), HID_QUIRK_MULTI_INPUT },
drivers/hid/i2c-hid/Makefile +3 -0
index 832d8f9aaba2..099e1ce2f234 100644
@@ -3,3 +3,6 @@
 #
 
 obj-$(CONFIG_I2C_HID)				+= i2c-hid.o
+
+i2c-hid-objs					=  i2c-hid-core.o
+i2c-hid-$(CONFIG_DMI)				+= i2c-hid-dmi-quirks.o
drivers/hid/i2c-hid/i2c-hid-core.c new file +1348 -0

1,348 lines not on this page · raw message

drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c new file +376 -0

265 lines not on this page · raw message

drivers/hid/i2c-hid/i2c-hid.c deleted +0 -1328

1,328 lines not on this page · raw message

drivers/hid/i2c-hid/i2c-hid.h new file +20 -0
new file mode 100644
index 000000000000..a8c19aef5824

Lines of this file are not shown. View the raw message.

drivers/hwtracing/coresight/coresight-cpu-debug.c +4 -0
index 45b2460f3166..e8819d750938 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/hfi1/qp.c +1 -1
index 9b1e84a6b1cc..63c5ba66b305 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/i40iw/i40iw_utils.c +11 -1
index a9ea966877f2..dda8e79d4b27 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/mlx4/alias_GUID.c +1 -1
index 155b4dfc0ae8..baab9afa9174 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/dmar.c +1 -1
index d9c748b6f9e4..7f9824b0609e 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/intel-iommu.c +3 -0
index 2b8f5ebae821..603bf5233a99 100644

Lines of this file are not shown. View the raw message.

drivers/irqchip/irq-mbigen.c +3 -0
index 567b29c47608..98b6e1d4b1a6 100644

Lines of this file are not shown. View the raw message.

drivers/irqchip/irq-stm32-exti.c +0 -5
index 0a2088e12d96..97b27f338c30 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/au0828/au0828-core.c +0 -1
index cd363a2100d4..257ae0d8cfe2 100644

Lines of this file are not shown. View the raw message.

drivers/misc/lkdtm/core.c +2 -0
index 2154d1bfd18b..07caaa2cfe1e 100644

Lines of this file are not shown. View the raw message.

drivers/misc/lkdtm/lkdtm.h +2 -0
index 9e513dcfd809..8c3f2e6af256 100644

Lines of this file are not shown. View the raw message.

drivers/misc/lkdtm/perms.c +27 -9
index 53b85c9d16b8..62f76d506f04 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/davinci_mmc.c +1 -1
index 9e68c3645e22..e6f14257a7d0 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/ring_mode.c +2 -2
index afed0f0f4027..c0c75c111abb 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rsi/rsi_common.h +0 -1
index d9ff3b8be86e..60f1f286b030 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.c +22 -0
index 7eb1549cea81..30649addc625 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/core.c +2 -2
index a3dd777e3ce8..c6ff4d5fa482 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/Kconfig +12 -0
index 7563c07e14e4..1e2524de6a63 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/Makefile +1 -0
index e6d1becf81ce..dc29af4d8e2f 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/intel_atomisp2_pm.c new file +119 -0

119 lines not on this page · raw message

drivers/scsi/scsi_lib.c +0 -1
index 18e4289baf99..655790f30434 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/scsi_transport_iscsi.c +2 -0
index 6fd2fe210fc3..4d0fc6b01fa0 100644

Lines of this file are not shown. View the raw message.

drivers/soc/tegra/pmc.c +1 -7
index ed71a4c9c8b2..4b452f36f054 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/broadcom/bcm2835_thermal.c +4 -5
index 24b006a95142..8646fb7425f2 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/int340x_thermal/int3400_thermal.c +17 -4
index e26b01c05e82..e9d58de8b5da 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/intel_powerclamp.c +2 -2
index cde891c54cde..8e8328347c0e 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/samsung/exynos_tmu.c +1 -1
index 48eef552cba4..fc9399d9c082 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/xilinx_uartps.c +1 -1
index 0e3627289047..77efa0a43fe7 100644

Lines of this file are not shown. View the raw message.

fs/9p/v9fs.c +21 -0
index 89bac3d2f05b..619128b55837 100644

Lines of this file are not shown. View the raw message.

fs/9p/v9fs.h +1 -0
index 982e017acadb..129e5243a6bf 100644

Lines of this file are not shown. View the raw message.

fs/9p/vfs_dir.c +3 -5
index 48db9a9f13f9..cb6c4031af55 100644

Lines of this file are not shown. View the raw message.

fs/9p/vfs_file.c +5 -1
index c87e6d6ec069..05454a7e22dc 100644

Lines of this file are not shown. View the raw message.

fs/cifs/inode.c +37 -30

67 lines not on this page · raw message

fs/cifs/smb2maperror.c +2 -1
index c3ae8c1d6089..18814f1d67d9 100644

Lines of this file are not shown. View the raw message.

fs/ext4/ioctl.c +7 -0
index 2e76fb55d94a..5f24fdc140ad 100644

Lines of this file are not shown. View the raw message.

fs/ext4/resize.c +14 -3
index 3d9b18505c0c..e7ae26e36c9c 100644

Lines of this file are not shown. View the raw message.

fs/ext4/super.c +13 -3
index a1cf7d68b4f0..abba7ece78e9 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/debug.c +1 -2
index 214a968962a1..ebe649d9793c 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/f2fs.h +12 -3
index a3ba20e5946f..1f5d5f62bb77 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/file.c +2 -5
index 81c1dd635a8d..b3f46e3bec17 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/recovery.c +21 -11
index 9a8579fb3a30..ae0e5f2e67b4 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/segment.c +28 -37

65 lines not on this page · raw message

fs/f2fs/super.c +51 -14

65 lines not on this page · raw message

fs/notify/inotify/inotify_user.c +5 -2
index 780bba695453..97a51690338e 100644

Lines of this file are not shown. View the raw message.

fs/proc/kcore.c +27 -0
index d297fe4472a9..d0137e3e585e 100644

Lines of this file are not shown. View the raw message.

include/linux/atalk.h +15 -5
index 23f805562f4e..d5cfc0b15b76 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler.h +4 -1
index 269d376f5a11..81c2238b884c 100644

Lines of this file are not shown. View the raw message.

include/linux/kcore.h +2 -0
index 8c3f8c14eeaa..c843f4a9c512 100644

Lines of this file are not shown. View the raw message.

include/linux/swap.h +2 -2
index 77221c16733a..7bd0a6f2ac2b 100644

Lines of this file are not shown. View the raw message.

include/net/bluetooth/hci_core.h +2 -0
index 0db1b9b428b7..1dfb75057580 100644

Lines of this file are not shown. View the raw message.

include/net/xfrm.h +9 -3
index da588def3c61..5e3daf53b3d1 100644

Lines of this file are not shown. View the raw message.

include/trace/events/rxrpc.h +2 -0
index 573d5b901fb1..6d182746afab 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/netfilter/xt_cgroup.h +16 -0
index e96dfa1b34f7..b74e370d6133 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/inode.c +18 -14
index 2ada5e21dfa6..4a8f390a2b82 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +2 -0
index aa996a0854b9..87bd96399d1c 100644

Lines of this file are not shown. View the raw message.

kernel/hung_task.c +29 -1
index 9eca2371f189..4a9191617076 100644

Lines of this file are not shown. View the raw message.

kernel/sched/core.c +1 -1
index 9a4f57d7e931..d7f409866cdf 100644

Lines of this file are not shown. View the raw message.

kernel/sched/cpufreq_schedutil.c +25 -34

59 lines not on this page · raw message

lib/div64.c +2 -2
index 01c8602bb6ff..ee146bb4c558 100644

Lines of this file are not shown. View the raw message.

mm/vmstat.c +4 -0
index 7878da76abf2..2878dc4e9af6 100644

Lines of this file are not shown. View the raw message.

net/9p/protocol.c +2 -1
index ee32bbf12675..b4d80c533f89 100644

Lines of this file are not shown. View the raw message.

net/appletalk/atalk_proc.c +1 -1
index 8006295f8bd7..dda73991bb54 100644

Lines of this file are not shown. View the raw message.

net/appletalk/ddp.c +31 -6
index 9b6bc5abe946..795fbc6c06aa 100644

Lines of this file are not shown. View the raw message.

net/appletalk/sysctl_net_atalk.c +4 -1
index c744a853fa5f..d945b7c0176d 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_core.c +2 -0
index 74b29c7d841c..a06f03047717 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/smp.c +9 -14
index 73f7211d0431..a1c1b7e8a45c 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_gre.c +3 -0
index c4a7db62658e..01ecd510014f 100644

Lines of this file are not shown. View the raw message.

net/ipv6/xfrm6_tunnel.c +1 -1
index f5b4febeaa25..bc65db782bfb 100644

Lines of this file are not shown. View the raw message.

net/key/af_key.c +1 -1
index 7da629d59717..7d4bed955060 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +0 -3
index 7d424fd27025..c06393fc716d 100644

Lines of this file are not shown. View the raw message.

net/netfilter/xt_cgroup.c +72 -0

72 lines not on this page · raw message

net/rds/rdma.c +32 -31

63 lines not on this page · raw message

net/rds/rds.h +16 -4
index c4dcf654d8fe..4234ab81b5af 100644

Lines of this file are not shown. View the raw message.

net/rds/send.c +43 -7

50 lines not on this page · raw message

net/rxrpc/conn_client.c +15 -5
index 6e419b15a9f8..c979a56faaef 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_state.c +19 -11
index cc0203efb584..3f729cd512af 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_user.c +1 -1
index ab557827aac0..7e4904b93004 100644

Lines of this file are not shown. View the raw message.

sound/drivers/opl3/opl3_voice.h +1 -1
index 5b02bd49fde4..4e4ecc21760b 100644

Lines of this file are not shown. View the raw message.

sound/isa/sb/sb8.c +4 -0
index d77dcba276b5..1eb8b61a185b 100644

Lines of this file are not shown. View the raw message.

sound/pci/echoaudio/echoaudio.c +5 -0
index 907cf1a46712..3ef2b27ebbe8 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_realtek.c +18 -0
index b9d832bde23e..bd60eb7168fa 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-ops.c +2 -2
index 592efb370c44..f4dc3d445aae 100644

Lines of this file are not shown. View the raw message.

tools/perf/Documentation/perf-config.txt +1 -1
index 32f4a898e3f2..05c10eb56a0c 100644

Lines of this file are not shown. View the raw message.

tools/perf/builtin-top.c +3 -2
index d21d8751e749..33eefc33e0ea 100644

Lines of this file are not shown. View the raw message.

tools/perf/tests/evsel-tp-sched.c +1 -0
index d0406116c905..926a8e1b5e94 100644

Lines of this file are not shown. View the raw message.

tools/perf/tests/expr.c +4 -1
index 01f0706995a9..9acc1e80b936 100644

Lines of this file are not shown. View the raw message.

tools/perf/tests/openat-syscall-all-cpus.c +3 -1
index c531e6deb104..493ecb611540 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/build-id.c +1 -0
index 04b1d53e4bf9..1d352621bd48 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/config.c +1 -2
index 5ac157056cdf..9bb742accfa5 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/evsel.c +1 -0
index e7dbdcc8d465..b65ad5a273eb 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/hist.c +3 -1
index 828cb9794c76..e1e94b44d588 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/parse-events.c +2 -0
index ebb18a9bc460..1a7c76d2baa8 100644

Lines of this file are not shown. View the raw message.

tools/power/x86/turbostat/turbostat.c +3 -0
index 980bd9d20646..83964f796edb 100644

Lines of this file are not shown. View the raw message.

tools/usb/usbip/libsrc/vhci_driver.c +1 -1
index 4204359c9fee..8159fd98680b 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.