This is the start of the stable review cycle for the 5.1.1 release.
There are 30 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat 11 May 2019 06:11:35 PM UTC.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.1.1-rc1.…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.1.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.1.1-rc1
Will Deacon <will.deacon(a)arm.com>
arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
Will Deacon <will.deacon(a)arm.com>
locking/futex: Allow low-level atomic operations to return -EAGAIN
Dan Carpenter <dan.carpenter(a)oracle.com>
i3c: Fix a shift wrap bug in i3c_bus_set_addr_slot_status()
Ross Zwisler <zwisler(a)chromium.org>
ASoC: Intel: avoid Oops if DMA setup fails
Oliver Neukum <oneukum(a)suse.com>
UAS: fix alignment of scatter/gather segments
Chen-Yu Tsai <wens(a)csie.org>
Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs
Luiz Augusto von Dentz <luiz.von.dentz(a)intel.com>
Bluetooth: Fix not initializing L2CAP tx_credits
Marcel Holtmann <marcel(a)holtmann.org>
Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
Young Xiao <YangX92(a)hotmail.com>
Bluetooth: hidp: fix buffer overflow
Quinn Tran <qtran(a)marvell.com>
scsi: qla2xxx: Fix device staying in blocked state
Giridhar Malavali <gmalavali(a)marvell.com>
scsi: qla2xxx: Set remote port devloss timeout to 0
Andrew Vasquez <andrewv(a)marvell.com>
scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
Silvio Cesare <silvio.cesare(a)gmail.com>
scsi: lpfc: change snprintf to scnprintf for possible overflow
Samuel Holland <samuel(a)sholland.org>
soc: sunxi: Fix missing dependency on REGMAP_MMIO
Hans de Goede <hdegoede(a)redhat.com>
ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
Gregory CLEMENT <gregory.clement(a)bootlin.com>
cpufreq: armada-37xx: fix frequency calculation for opp
Bjorn Andersson <bjorn.andersson(a)linaro.org>
iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
intel_th: pci: Add Comet Lake support
Prasad Sodagudi <psodagud(a)codeaurora.org>
genirq: Prevent use-after-free and work list corruption
Alan Stern <stern(a)rowland.harvard.edu>
usb-storage: Set virt_boundary_mask to avoid SG overflows
Johan Hovold <johan(a)kernel.org>
USB: cdc-acm: fix unthrottle races
Ji-Ze Hong (Peter Hong) <hpeter(a)gmail.com>
USB: serial: f81232: fix interrupt worker not stop
Thinh Nguyen <Thinh.Nguyen(a)synopsys.com>
usb: dwc3: Fix default lpm_nyet_threshold value
Marc Gonzalez <marc.w.gonzalez(a)free.fr>
usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
Christian Gromm <christian.gromm(a)microchip.com>
staging: most: sound: pass correct device when creating a sound card
Suresh Udipi <sudipi(a)jp.adit-jv.com>
staging: most: cdev: fix chrdev_region leak in mod_exit
Tetsuo Handa <penguin-kernel(a)I-love.SAKURA.ne.jp>
staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
Johan Hovold <johan(a)kernel.org>
staging: greybus: power_supply: fix prop-descriptor request size
Andrey Ryabinin <aryabinin(a)virtuozzo.com>
ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
Dexuan Cui <decui(a)microsoft.com>
Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/include/asm/futex.h | 55 ++--
drivers/acpi/acpi_lpss.c | 4 +-
drivers/bluetooth/hci_bcm.c | 20 +-
drivers/cpufreq/armada-37xx-cpufreq.c | 22 +-
drivers/hv/hv.c | 1 -
drivers/hwtracing/intel_th/pci.c | 5 +
drivers/i3c/master.c | 5 +-
drivers/iio/adc/qcom-spmi-adc5.c | 1 +
drivers/scsi/lpfc/lpfc_attr.c | 196 +++++++-------
drivers/scsi/lpfc/lpfc_ct.c | 12 +-
drivers/scsi/lpfc/lpfc_debugfs.c | 474 +++++++++++++++++----------------
drivers/scsi/lpfc/lpfc_debugfs.h | 6 +-
drivers/scsi/qla2xxx/qla_attr.c | 4 +-
drivers/scsi/qla2xxx/qla_nvme.c | 19 +-
drivers/scsi/qla2xxx/qla_target.c | 4 +-
drivers/soc/sunxi/Kconfig | 1 +
drivers/staging/greybus/power_supply.c | 2 +-
drivers/staging/most/cdev/cdev.c | 2 +-
drivers/staging/most/sound/sound.c | 2 +-
drivers/staging/wilc1000/wilc_netdev.c | 2 +-
drivers/usb/class/cdc-acm.c | 32 ++-
drivers/usb/dwc3/Kconfig | 6 +-
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/musb/Kconfig | 2 +-
drivers/usb/serial/f81232.c | 39 +++
drivers/usb/storage/scsiglue.c | 26 +-
drivers/usb/storage/uas.c | 35 ++-
include/net/bluetooth/hci_core.h | 3 +
kernel/futex.c | 188 ++++++++-----
kernel/irq/manage.c | 4 +-
lib/ubsan.c | 49 ++--
net/bluetooth/hci_conn.c | 8 +
net/bluetooth/hidp/sock.c | 1 +
net/bluetooth/l2cap_core.c | 9 +-
sound/soc/intel/common/sst-firmware.c | 8 +-
36 files changed, 716 insertions(+), 537 deletions(-)
Currently, the driver will attempt to set the mode on all
devices with a center button, but some devices with a center
button lack LEDs, and attempting to set the LEDs on devices
without LEDs results in the kernel error message of the form:
"leds input8::wacom-0.1: Setting an LED's brightness failed (-32)"
This is because the generic codepath erroneously assumes that the
BUTTON_CENTER usage indicates that the device has LEDs, the
previously ignored TOUCH_RING_SETTING usage is a more accurate
indication of the existence of LEDs on the device.
Fixes: 10c55cacb8b2 ("HID: wacom: generic: support LEDs")
Cc: <stable(a)vger.kernel.org> # v4.11+
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra(a)wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke(a)wacom.com>
---
drivers/hid/wacom_sys.c | 3 +++
drivers/hid/wacom_wac.c | 2 --
drivers/hid/wacom_wac.h | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c
index a8633b1437b2..2e3e03df83da 100644
--- a/drivers/hid/wacom_sys.c
+++ b/drivers/hid/wacom_sys.c
@@ -307,6 +307,9 @@ static void wacom_feature_mapping(struct hid_device *hdev,
wacom_hid_usage_quirk(hdev, field, usage);
switch (equivalent_usage) {
+ case WACOM_HID_WD_TOUCH_RING_SETTING:
+ wacom->generic_has_leds = true;
+ break;
case HID_DG_CONTACTMAX:
/* leave touch_max as is if predefined */
if (!features->touch_max) {
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 09b8e4aac82f..10cce2ca6301 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -1930,8 +1930,6 @@ static void wacom_wac_pad_usage_mapping(struct hid_device *hdev,
features->device_type |= WACOM_DEVICETYPE_PAD;
break;
case WACOM_HID_WD_BUTTONCENTER:
- wacom->generic_has_leds = true;
- /* fall through */
case WACOM_HID_WD_BUTTONHOME:
case WACOM_HID_WD_BUTTONUP:
case WACOM_HID_WD_BUTTONDOWN:
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h
index 295fd3718caa..f67d871841c0 100644
--- a/drivers/hid/wacom_wac.h
+++ b/drivers/hid/wacom_wac.h
@@ -145,6 +145,7 @@
#define WACOM_HID_WD_OFFSETBOTTOM (WACOM_HID_UP_WACOMDIGITIZER | 0x0d33)
#define WACOM_HID_WD_DATAMODE (WACOM_HID_UP_WACOMDIGITIZER | 0x1002)
#define WACOM_HID_WD_DIGITIZERINFO (WACOM_HID_UP_WACOMDIGITIZER | 0x1013)
+#define WACOM_HID_WD_TOUCH_RING_SETTING (WACOM_HID_UP_WACOMDIGITIZER | 0x1032)
#define WACOM_HID_UP_G9 0xff090000
#define WACOM_HID_G9_PEN (WACOM_HID_UP_G9 | 0x02)
#define WACOM_HID_G9_TOUCHSCREEN (WACOM_HID_UP_G9 | 0x11)
--
2.7.4