Prior to this commit we fail to init the DSI panel on the GPD MicroPC:
https://www.indiegogo.com/projects/gpd-micropc-6-inch-handheld-industry-lap…
The problem is intel_dsi_vbt_init() failing with the following error:
*ERROR* Burst mode freq is less than computed
The pclk in the VBT panel modeline is 70000, together with 24 bpp and
4 lines this results in a bitrate value of 70000 * 24 / 4 = 420000.
But the target_burst_mode_freq in the VBT is 418000.
This commit works around this problem by adding an intel_fuzzy_clock_check
when target_burst_mode_freq < bitrate and setting target_burst_mode_freq to
bitrate when that checks succeeds, fixing the panel not working.
Cc: stable(a)vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede(a)redhat.com>
---
drivers/gpu/drm/i915/intel_dsi_vbt.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_dsi_vbt.c b/drivers/gpu/drm/i915/intel_dsi_vbt.c
index 022bf59418df..a2a9b9d0eeaa 100644
--- a/drivers/gpu/drm/i915/intel_dsi_vbt.c
+++ b/drivers/gpu/drm/i915/intel_dsi_vbt.c
@@ -895,6 +895,17 @@ bool intel_dsi_vbt_init(struct intel_dsi *intel_dsi, u16 panel_id)
if (mipi_config->target_burst_mode_freq) {
u32 bitrate = intel_dsi_bitrate(intel_dsi);
+ /*
+ * Sometimes the VBT contains a slightly lower clock,
+ * then the bitrate we have calculated, in this case
+ * just replace it with the calculated bitrate.
+ */
+ if (mipi_config->target_burst_mode_freq < bitrate &&
+ intel_fuzzy_clock_check(
+ mipi_config->target_burst_mode_freq,
+ bitrate))
+ mipi_config->target_burst_mode_freq = bitrate;
+
if (mipi_config->target_burst_mode_freq < bitrate) {
DRM_ERROR("Burst mode freq is less than computed\n");
return false;
--
2.21.0
Most Siano devices require an alignment for the response.
Changeset f3be52b0056a ("media: usb: siano: Fix general protection fault in smsusb")
changed the logic with gets such aligment, but it now produces a
sparce warning:
drivers/media/usb/siano/smsusb.c: In function 'smsusb_init_device':
drivers/media/usb/siano/smsusb.c:447:37: warning: 'in_maxp' may be used uninitialized in this function [-Wmaybe-uninitialized]
447 | dev->response_alignment = in_maxp - sizeof(struct sms_msg_hdr);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
The sparse message itself is bogus, but a broken (or fake) USB
eeprom could produce a negative value for response_alignment.
So, change the code in order to check if the result is not
negative.
Fixes: f3be52b0056a ("media: usb: siano: Fix general protection fault in smsusb")
CC: <stable(a)vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
---
Greg,
As the Alan patches went via your tree, please apply this one too.
drivers/media/usb/siano/smsusb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index f5e69fdf1242..9ba3a2ae36e5 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -389,7 +389,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
struct smsusb_device_t *dev;
void *mdev;
int i, rc;
- int in_maxp = 0;
+ int align = 0;
/* create device object */
dev = kzalloc(sizeof(struct smsusb_device_t), GFP_KERNEL);
@@ -407,14 +407,14 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
if (desc->bEndpointAddress & USB_DIR_IN) {
dev->in_ep = desc->bEndpointAddress;
- in_maxp = usb_endpoint_maxp(desc);
+ align = usb_endpoint_maxp(desc) - sizeof(struct sms_msg_hdr);
} else {
dev->out_ep = desc->bEndpointAddress;
}
}
pr_debug("in_ep = %02x, out_ep = %02x\n", dev->in_ep, dev->out_ep);
- if (!dev->in_ep || !dev->out_ep) { /* Missing endpoints? */
+ if (!dev->in_ep || !dev->out_ep || align < 0) { /* Missing endpoints? */
smsusb_term_device(intf);
return -ENODEV;
}
@@ -433,7 +433,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
/* fall-thru */
default:
dev->buffer_size = USB2_BUFFER_SIZE;
- dev->response_alignment = in_maxp - sizeof(struct sms_msg_hdr);
+ dev->response_alignment = align;
params.flags |= SMS_DEVICE_FAMILY2;
break;
--
2.21.0
This is a note to let you know that I've just added the patch titled
media: smsusb: better handle optional alignment
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From a47686636d84eaec5c9c6e84bd5f96bed34d526d Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
Date: Fri, 24 May 2019 10:59:43 -0400
Subject: media: smsusb: better handle optional alignment
Most Siano devices require an alignment for the response.
Changeset f3be52b0056a ("media: usb: siano: Fix general protection fault in smsusb")
changed the logic with gets such aligment, but it now produces a
sparce warning:
drivers/media/usb/siano/smsusb.c: In function 'smsusb_init_device':
drivers/media/usb/siano/smsusb.c:447:37: warning: 'in_maxp' may be used uninitialized in this function [-Wmaybe-uninitialized]
447 | dev->response_alignment = in_maxp - sizeof(struct sms_msg_hdr);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
The sparse message itself is bogus, but a broken (or fake) USB
eeprom could produce a negative value for response_alignment.
So, change the code in order to check if the result is not
negative.
Fixes: 31e0456de5be ("media: usb: siano: Fix general protection fault in smsusb")
CC: <stable(a)vger.kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung(a)kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/media/usb/siano/smsusb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c
index 59b3c124b49d..e39f3f40dfdd 100644
--- a/drivers/media/usb/siano/smsusb.c
+++ b/drivers/media/usb/siano/smsusb.c
@@ -400,7 +400,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
struct smsusb_device_t *dev;
void *mdev;
int i, rc;
- int in_maxp = 0;
+ int align = 0;
/* create device object */
dev = kzalloc(sizeof(struct smsusb_device_t), GFP_KERNEL);
@@ -418,14 +418,14 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
if (desc->bEndpointAddress & USB_DIR_IN) {
dev->in_ep = desc->bEndpointAddress;
- in_maxp = usb_endpoint_maxp(desc);
+ align = usb_endpoint_maxp(desc) - sizeof(struct sms_msg_hdr);
} else {
dev->out_ep = desc->bEndpointAddress;
}
}
pr_debug("in_ep = %02x, out_ep = %02x\n", dev->in_ep, dev->out_ep);
- if (!dev->in_ep || !dev->out_ep) { /* Missing endpoints? */
+ if (!dev->in_ep || !dev->out_ep || align < 0) { /* Missing endpoints? */
smsusb_term_device(intf);
return -ENODEV;
}
@@ -444,7 +444,7 @@ static int smsusb_init_device(struct usb_interface *intf, int board_id)
/* fall-thru */
default:
dev->buffer_size = USB2_BUFFER_SIZE;
- dev->response_alignment = in_maxp - sizeof(struct sms_msg_hdr);
+ dev->response_alignment = align;
params.flags |= SMS_DEVICE_FAMILY2;
break;
--
2.21.0
This is a note to let you know that I've just added the patch titled
test_firmware: Use correct snprintf() limit
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From bd17cc5a20ae9aaa3ed775f360b75ff93cd66a1d Mon Sep 17 00:00:00 2001
From: Dan Carpenter <dan.carpenter(a)oracle.com>
Date: Wed, 15 May 2019 12:33:22 +0300
Subject: test_firmware: Use correct snprintf() limit
The limit here is supposed to be how much of the page is left, but it's
just using PAGE_SIZE as the limit.
The other thing to remember is that snprintf() returns the number of
bytes which would have been copied if we had had enough room. So that
means that if we run out of space then this code would end up passing a
negative value as the limit and the kernel would print an error message.
I have change the code to use scnprintf() which returns the number of
bytes that were successfully printed (not counting the NUL terminator).
Fixes: c92316bf8e94 ("test_firmware: add batched firmware tests")
Signed-off-by: Dan Carpenter <dan.carpenter(a)oracle.com>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
lib/test_firmware.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/test_firmware.c b/lib/test_firmware.c
index 7222093ee00b..b5487ed829d7 100644
--- a/lib/test_firmware.c
+++ b/lib/test_firmware.c
@@ -223,30 +223,30 @@ static ssize_t config_show(struct device *dev,
mutex_lock(&test_fw_mutex);
- len += snprintf(buf, PAGE_SIZE,
+ len += scnprintf(buf, PAGE_SIZE - len,
"Custom trigger configuration for: %s\n",
dev_name(dev));
if (test_fw_config->name)
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"name:\t%s\n",
test_fw_config->name);
else
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"name:\tEMTPY\n");
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"num_requests:\t%u\n", test_fw_config->num_requests);
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"send_uevent:\t\t%s\n",
test_fw_config->send_uevent ?
"FW_ACTION_HOTPLUG" :
"FW_ACTION_NOHOTPLUG");
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"sync_direct:\t\t%s\n",
test_fw_config->sync_direct ? "true" : "false");
- len += snprintf(buf+len, PAGE_SIZE,
+ len += scnprintf(buf+len, PAGE_SIZE - len,
"read_fw_idx:\t%u\n", test_fw_config->read_fw_idx);
mutex_unlock(&test_fw_mutex);
--
2.21.0
This is the start of the stable review cycle for the 4.9.179 release.
There are 53 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 25 May 2019 06:15:18 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/v4.x/stable-review/patch-4.9.179-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.9.179-rc1
Nikolay Borisov <nborisov(a)suse.com>
btrfs: Honour FITRIM range constraints during free space trim
Nigel Croxon <ncroxon(a)redhat.com>
md/raid: raid5 preserve the writeback action after the parity check
Song Liu <songliubraving(a)fb.com>
Revert "Don't jump to compute_result state from check_result state"
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf bench numa: Add define for RUSAGE_THREAD if not present
Al Viro <viro(a)zeniv.linux.org.uk>
ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
Andrey Smirnov <andrew.smirnov(a)gmail.com>
power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
Andrew Jones <drjones(a)redhat.com>
KVM: arm/arm64: Ensure vcpu target is unset on reset failure
Bhagavathi Perumal S <bperumal(a)codeaurora.org>
mac80211: Fix kernel panic due to use of txq after free
Steffen Klassert <steffen.klassert(a)secunet.com>
xfrm4: Fix uninitialized memory read in _decode_session4
Jeremy Sowden <jeremy(a)azazel.net>
vti4: ipip tunnel deregistration fixes.
Su Yanjun <suyj.fnst(a)cn.fujitsu.com>
xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
YueHaibing <yuehaibing(a)huawei.com>
xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
Mikulas Patocka <mpatocka(a)redhat.com>
dm delay: fix a crash when invalid device is specified
Stefan Mätje <stefan.maetje(a)esd.eu>
PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
Stefan Mätje <stefan.maetje(a)esd.eu>
PCI: Factor out pcie_retrain_link() function
James Prestwood <james.prestwood(a)linux.intel.com>
PCI: Mark Atheros AR9462 to avoid bus reset
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix support for 1024x768-16 mode
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix brightness control on reboot, don't set SR30
Nathan Chancellor <natechancellor(a)gmail.com>
objtool: Allow AR to be overridden with HOSTAR
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix sample timestamp wrt non-taken branches
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix improved sample timestamp
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix instructions sampling rate
Dmitry Osipenko <digetx(a)gmail.com>
memory: tegra: Fix integer overflow on tick value calculation
Elazar Leibovich <elazar(a)lightbitslabs.com>
tracing: Fix partial reading of trace event's id file
Jeff Layton <jlayton(a)kernel.org>
ceph: flush dirty inodes before proceeding with remount
Dmitry Osipenko <digetx(a)gmail.com>
iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
Liu Bo <bo.liu(a)linux.alibaba.com>
fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
Miklos Szeredi <mszeredi(a)redhat.com>
fuse: fix writepages on 32bit
Dmitry Osipenko <digetx(a)gmail.com>
clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
ZhangXiaoxu <zhangxiaoxu5(a)huawei.com>
NFS4: Fix v4.0 client state corruption when mount
Janusz Krzysztofik <jmkrzyszt(a)gmail.com>
media: ov6650: Fix sensor possibly not detected on probe
Christoph Probst <kernel(a)probst.it>
cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
Phong Tran <tranmanphong(a)gmail.com>
of: fix clang -Wunsequenced for be32_to_cpu()
Pan Bian <bianpan2016(a)163.com>
p54: drop device reference count if fails to enable device
Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
intel_th: msu: Fix single mode with IOMMU
Yufen Yu <yuyufen(a)huawei.com>
md: add mddev->pers to avoid potential NULL pointer dereference
Tingwei Zhang <tingwei(a)codeaurora.org>
stm class: Fix channel free in stm output free path
Helge Deller <deller(a)gmx.de>
parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
Helge Deller <deller(a)gmx.de>
parisc: Skip registering LED when running in QEMU
Helge Deller <deller(a)gmx.de>
parisc: Export running_on_qemu symbol for modules
Jorge E. Moreira <jemoreira(a)google.com>
vsock/virtio: Initialize core virtio vsock before registering the driver
Junwei Hu <hujunwei4(a)huawei.com>
tipc: fix modprobe tipc failed after switch order of device registration
Stefano Garzarella <sgarzare(a)redhat.com>
vsock/virtio: free packets during the socket release
Junwei Hu <hujunwei4(a)huawei.com>
tipc: switch order of device registration to fix a crash
YueHaibing <yuehaibing(a)huawei.com>
ppp: deflate: Fix possible crash in deflate_init
Yunjian Wang <wangyunjian(a)huawei.com>
net/mlx4_core: Change the error print to info print
Eric Dumazet <edumazet(a)google.com>
net: avoid weird emergency message
-------------
Diffstat:
Makefile | 4 +-
arch/arm/kvm/arm.c | 11 +-
arch/parisc/include/asm/assembly.h | 6 +-
arch/parisc/kernel/head.S | 4 +-
arch/parisc/kernel/process.c | 1 +
arch/parisc/kernel/syscall.S | 2 +-
drivers/clk/tegra/clk-pll.c | 4 +-
drivers/hwtracing/intel_th/msu.c | 35 ++-
drivers/hwtracing/stm/core.c | 2 +-
drivers/iommu/tegra-smmu.c | 25 ++-
drivers/md/dm-delay.c | 3 +-
drivers/md/md.c | 6 +-
drivers/md/raid5.c | 29 ++-
drivers/media/i2c/soc_camera/ov6650.c | 2 +
drivers/memory/tegra/mc.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/mcg.c | 2 +-
drivers/net/ppp/ppp_deflate.c | 20 +-
drivers/net/wireless/intersil/p54/p54pci.c | 3 +-
drivers/parisc/led.c | 3 +
drivers/pci/pcie/aspm.c | 49 +++--
drivers/pci/quirks.c | 18 ++
drivers/power/supply/power_supply_sysfs.c | 6 -
drivers/video/fbdev/sm712.h | 12 +-
drivers/video/fbdev/sm712fb.c | 242 +++++++++++++++++----
fs/btrfs/extent-tree.c | 25 ++-
fs/ceph/super.c | 7 +
fs/cifs/smb2ops.c | 14 +-
fs/fuse/file.c | 9 +-
fs/nfs/nfs4state.c | 4 +
fs/ufs/util.h | 2 +-
include/linux/of.h | 4 +-
include/linux/pci.h | 2 +
kernel/trace/trace_events.c | 3 -
net/core/dev.c | 2 +-
net/ipv4/ip_vti.c | 5 +-
net/ipv4/xfrm4_policy.c | 24 +-
net/ipv6/xfrm6_tunnel.c | 4 +
net/mac80211/iface.c | 3 +
net/tipc/core.c | 14 +-
net/vmw_vsock/virtio_transport.c | 13 +-
net/vmw_vsock/virtio_transport_common.c | 7 +
net/xfrm/xfrm_user.c | 2 +-
tools/objtool/Makefile | 3 +-
tools/perf/bench/numa.c | 4 +
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 31 ++-
45 files changed, 499 insertions(+), 174 deletions(-)
This is the start of the stable review cycle for the 4.14.122 release.
There are 77 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 25 May 2019 06:15:09 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/v4.x/stable-review/patch-4.14.122-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.122-rc1
Nikolay Borisov <nborisov(a)suse.com>
btrfs: Honour FITRIM range constraints during free space trim
Daniel Borkmann <daniel(a)iogearbox.net>
bpf, lru: avoid messing with eviction heuristics upon syscall lookup
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: add map_lookup_elem_sys_only for lookups from syscall side
John Garry <john.garry(a)huawei.com>
driver core: Postpone DMA tear-down until after devres release for probe failure
Nigel Croxon <ncroxon(a)redhat.com>
md/raid: raid5 preserve the writeback action after the parity check
Song Liu <songliubraving(a)fb.com>
Revert "Don't jump to compute_result state from check_result state"
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf bench numa: Add define for RUSAGE_THREAD if not present
Al Viro <viro(a)zeniv.linux.org.uk>
ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
Gary Hook <Gary.Hook(a)amd.com>
x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
Tobin C. Harding <tobin(a)kernel.org>
sched/cpufreq: Fix kobject memleak
Luca Coelho <luciano.coelho(a)intel.com>
iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
Andrey Smirnov <andrew.smirnov(a)gmail.com>
power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
Andrew Jones <drjones(a)redhat.com>
KVM: arm/arm64: Ensure vcpu target is unset on reset failure
Bhagavathi Perumal S <bperumal(a)codeaurora.org>
mac80211: Fix kernel panic due to use of txq after free
Al Viro <viro(a)zeniv.linux.org.uk>
apparmorfs: fix use-after-free on symlink traversal
Al Viro <viro(a)zeniv.linux.org.uk>
securityfs: fix use-after-free on symlink traversal
Tony Lindgren <tony(a)atomide.com>
power: supply: cpcap-battery: Fix division by zero
Steffen Klassert <steffen.klassert(a)secunet.com>
xfrm4: Fix uninitialized memory read in _decode_session4
Sabrina Dubroca <sd(a)queasysnail.net>
esp4: add length check for UDP encapsulation
Jeremy Sowden <jeremy(a)azazel.net>
vti4: ipip tunnel deregistration fixes.
Su Yanjun <suyj.fnst(a)cn.fujitsu.com>
xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
YueHaibing <yuehaibing(a)huawei.com>
xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
Mikulas Patocka <mpatocka(a)redhat.com>
dm delay: fix a crash when invalid device is specified
Damien Le Moal <damien.lemoal(a)wdc.com>
dm zoned: Fix zone report handling
Nikos Tsironis <ntsironis(a)arrikto.com>
dm cache metadata: Fix loading discard bitset
Stefan Mätje <stefan.maetje(a)esd.eu>
PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
Stefan Mätje <stefan.maetje(a)esd.eu>
PCI: Factor out pcie_retrain_link() function
James Prestwood <james.prestwood(a)linux.intel.com>
PCI: Mark Atheros AR9462 to avoid bus reset
Nikolai Kostrigin <nickel(a)altlinux.org>
PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix support for 1024x768-16 mode
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
Yifeng Li <tomli(a)tomli.me>
fbdev: sm712fb: fix brightness control on reboot, don't set SR30
Nathan Chancellor <natechancellor(a)gmail.com>
objtool: Allow AR to be overridden with HOSTAR
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix sample timestamp wrt non-taken branches
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix improved sample timestamp
Adrian Hunter <adrian.hunter(a)intel.com>
perf intel-pt: Fix instructions sampling rate
Dmitry Osipenko <digetx(a)gmail.com>
memory: tegra: Fix integer overflow on tick value calculation
Elazar Leibovich <elazar(a)lightbitslabs.com>
tracing: Fix partial reading of trace event's id file
Peter Zijlstra <peterz(a)infradead.org>
ftrace/x86_64: Emulate call function while updating in breakpoint handler
Peter Zijlstra <peterz(a)infradead.org>
x86_64: Allow breakpoints to emulate call instructions
Josh Poimboeuf <jpoimboe(a)redhat.com>
x86_64: Add gap to int3 to allow for call emulation
Jeff Layton <jlayton(a)kernel.org>
ceph: flush dirty inodes before proceeding with remount
Dmitry Osipenko <digetx(a)gmail.com>
iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
Liu Bo <bo.liu(a)linux.alibaba.com>
fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
Miklos Szeredi <mszeredi(a)redhat.com>
fuse: fix writepages on 32bit
Jonas Karlman <jonas(a)kwiboo.se>
clk: rockchip: fix wrong clock definitions for rk3328
Dmitry Osipenko <digetx(a)gmail.com>
clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
Leo Yan <leo.yan(a)linaro.org>
clk: hi3660: Mark clk_gate_ufs_subsys as critical
Olga Kornievskaia <kolga(a)netapp.com>
PNFS fallback to MDS if no deviceid found
ZhangXiaoxu <zhangxiaoxu5(a)huawei.com>
NFS4: Fix v4.0 client state corruption when mount
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Revert "cifs: fix memory leak in SMB2_read"
Janusz Krzysztofik <jmkrzyszt(a)gmail.com>
media: ov6650: Fix sensor possibly not detected on probe
Christoph Probst <kernel(a)probst.it>
cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
Phong Tran <tranmanphong(a)gmail.com>
of: fix clang -Wunsequenced for be32_to_cpu()
Pan Bian <bianpan2016(a)163.com>
p54: drop device reference count if fails to enable device
Alexander Shishkin <alexander.shishkin(a)linux.intel.com>
intel_th: msu: Fix single mode with IOMMU
Yufen Yu <yuyufen(a)huawei.com>
md: add mddev->pers to avoid potential NULL pointer dereference
Tingwei Zhang <tingwei(a)codeaurora.org>
stm class: Fix channel free in stm output free path
Helge Deller <deller(a)gmx.de>
parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
Helge Deller <deller(a)gmx.de>
parisc: Use PA_ASM_LEVEL in boot code
Helge Deller <deller(a)gmx.de>
parisc: Skip registering LED when running in QEMU
Helge Deller <deller(a)gmx.de>
parisc: Export running_on_qemu symbol for modules
Florian Fainelli <f.fainelli(a)gmail.com>
net: Always descend into dsa/
Jorge E. Moreira <jemoreira(a)google.com>
vsock/virtio: Initialize core virtio vsock before registering the driver
Junwei Hu <hujunwei4(a)huawei.com>
tipc: fix modprobe tipc failed after switch order of device registration
Stefano Garzarella <sgarzare(a)redhat.com>
vsock/virtio: free packets during the socket release
Junwei Hu <hujunwei4(a)huawei.com>
tipc: switch order of device registration to fix a crash
YueHaibing <yuehaibing(a)huawei.com>
ppp: deflate: Fix possible crash in deflate_init
Daniele Palmas <dnlplm(a)gmail.com>
net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
Willem de Bruijn <willemb(a)google.com>
net: test nouarg before dereferencing zerocopy pointers
Yunjian Wang <wangyunjian(a)huawei.com>
net/mlx4_core: Change the error print to info print
Eric Dumazet <edumazet(a)google.com>
net: avoid weird emergency message
-------------
Diffstat:
Makefile | 4 +-
arch/parisc/boot/compressed/head.S | 6 +-
arch/parisc/include/asm/assembly.h | 6 +-
arch/parisc/kernel/head.S | 4 +-
arch/parisc/kernel/process.c | 1 +
arch/parisc/kernel/syscall.S | 2 +-
arch/x86/entry/entry_64.S | 18 +-
arch/x86/include/asm/text-patching.h | 28 +++
arch/x86/kernel/ftrace.c | 32 ++-
arch/x86/lib/Makefile | 12 +
drivers/base/dd.c | 5 +-
drivers/clk/hisilicon/clk-hi3660.c | 6 +-
drivers/clk/rockchip/clk-rk3328.c | 18 +-
drivers/clk/tegra/clk-pll.c | 4 +-
drivers/hwtracing/intel_th/msu.c | 35 ++-
drivers/hwtracing/stm/core.c | 2 +-
drivers/iommu/tegra-smmu.c | 25 ++-
drivers/md/dm-cache-metadata.c | 9 +-
drivers/md/dm-delay.c | 3 +-
drivers/md/dm-zoned-metadata.c | 5 +
drivers/md/md.c | 6 +-
drivers/md/raid5.c | 29 ++-
drivers/media/i2c/ov6650.c | 2 +
drivers/memory/tegra/mc.c | 2 +-
drivers/net/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlx4/mcg.c | 2 +-
drivers/net/ppp/ppp_deflate.c | 20 +-
drivers/net/usb/qmi_wwan.c | 2 +
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 28 ++-
drivers/net/wireless/intersil/p54/p54pci.c | 3 +-
drivers/parisc/led.c | 3 +
drivers/pci/pcie/aspm.c | 49 +++--
drivers/pci/quirks.c | 19 ++
drivers/power/supply/cpcap-battery.c | 3 +
drivers/power/supply/power_supply_sysfs.c | 6 -
drivers/video/fbdev/sm712.h | 12 +-
drivers/video/fbdev/sm712fb.c | 242 +++++++++++++++++----
fs/btrfs/extent-tree.c | 25 ++-
fs/ceph/super.c | 7 +
fs/cifs/smb2ops.c | 14 +-
fs/cifs/smb2pdu.c | 1 -
fs/fuse/file.c | 9 +-
fs/nfs/filelayout/filelayout.c | 2 +-
fs/nfs/nfs4state.c | 4 +
fs/ufs/util.h | 2 +-
include/linux/bpf.h | 1 +
include/linux/of.h | 4 +-
include/linux/pci.h | 2 +
include/linux/skbuff.h | 9 +-
kernel/bpf/hashtab.c | 23 +-
kernel/bpf/syscall.c | 5 +-
kernel/sched/cpufreq_schedutil.c | 1 +
kernel/trace/trace_events.c | 3 -
lib/Makefile | 11 +
net/core/dev.c | 2 +-
net/ipv4/esp4.c | 20 +-
net/ipv4/ip_vti.c | 5 +-
net/ipv4/xfrm4_policy.c | 24 +-
net/ipv6/xfrm6_tunnel.c | 4 +
net/mac80211/iface.c | 3 +
net/tipc/core.c | 14 +-
net/vmw_vsock/virtio_transport.c | 13 +-
net/vmw_vsock/virtio_transport_common.c | 7 +
net/xfrm/xfrm_user.c | 2 +-
security/apparmor/apparmorfs.c | 13 +-
security/inode.c | 13 +-
tools/objtool/Makefile | 3 +-
tools/perf/bench/numa.c | 4 +
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 31 ++-
virt/kvm/arm/arm.c | 11 +-
70 files changed, 720 insertions(+), 227 deletions(-)