This set of patches is cherry-picked from 5.4 to stable to fix:
https://bugzilla.kernel.org/show_bug.cgi?id=204181
Please apply!
Thanks,
Alex
Nicholas Kazlauskas (3):
drm/amd/display: Allow cursor async updates for framebuffer swaps
drm/amd/display: Skip determining update type for async updates
drm/amd/display: Don't replace the dc_state for fast updates
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 56 ++++++++++++++-----
1 file changed, 41 insertions(+), 15 deletions(-)
--
2.20.1
This is the start of the stable review cycle for the 5.3.1 release.
There are 21 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 21 Sep 2019 09:44:25 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.3.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.3.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.3.1-rc1
Sean Young <sean(a)mess.org>
media: technisat-usb2: break out of loop at end of buffer
Jann Horn <jannh(a)google.com>
floppy: fix usercopy direction
Bjorn Andersson <bjorn.andersson(a)linaro.org>
phy: qcom-qmp: Correct ready status, again
Amir Goldstein <amir73il(a)gmail.com>
ovl: fix regression caused by overlapping layers detection
Will Deacon <will(a)kernel.org>
Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
Masashi Honma <masashi.honma(a)gmail.com>
nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
Razvan Stefanescu <razvan.stefanescu(a)microchip.com>
tty/serial: atmel: reschedule TX after RX was started
Chunyan Zhang <chunyan.zhang(a)unisoc.com>
serial: sprd: correct the wrong sequence of arguments
Hung-Te Lin <hungte(a)chromium.org>
firmware: google: check if size is valid when decoding VPD data
Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Documentation: sphinx: Add missing comma to list of strings
Matt Delco <delco(a)chromium.org>
KVM: coalesced_mmio: add bounds checking
Jose Abreu <Jose.Abreu(a)synopsys.com>
net: stmmac: Hold rtnl lock in suspend/resume callbacks
Andrew Lunn <andrew(a)lunn.ch>
net: dsa: Fix load order between DSA drivers and taggers
Dongli Zhang <dongli.zhang(a)oracle.com>
xen-netfront: do not assume sk_buff_head list is empty in error handling
Willem de Bruijn <willemb(a)google.com>
udp: correct reuseport selection with connected sockets
Cong Wang <xiyou.wangcong(a)gmail.com>
net_sched: let qdisc_put() accept NULL pointer
Paolo Abeni <pabeni(a)redhat.com>
net/sched: fix race between deactivation and dequeue for NOLOCK qdisc
Xin Long <lucien.xin(a)gmail.com>
ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
Sean Young <sean(a)mess.org>
media: tm6000: double free if usb disconnect while streaming
Alan Stern <stern(a)rowland.harvard.edu>
USB: usbcore: Fix slab-out-of-bounds bug during device reset
-------------
Diffstat:
Documentation/filesystems/overlayfs.txt | 2 +-
Documentation/sphinx/automarkup.py | 2 +-
Makefile | 4 +-
arch/arm64/include/asm/pgtable.h | 12 +++-
drivers/block/floppy.c | 4 +-
drivers/firmware/google/vpd.c | 4 +-
drivers/firmware/google/vpd_decode.c | 55 ++++++++++-------
drivers/firmware/google/vpd_decode.h | 6 +-
drivers/media/usb/dvb-usb/technisat-usb2.c | 22 ++++---
drivers/media/usb/tm6000/tm6000-dvb.c | 3 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 12 ++--
drivers/net/xen-netfront.c | 2 +-
drivers/phy/qualcomm/phy-qcom-qmp.c | 33 +++++-----
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 2 +
drivers/tty/serial/atmel_serial.c | 1 -
drivers/tty/serial/sprd_serial.c | 2 +-
drivers/usb/core/config.c | 12 ++--
fs/overlayfs/ovl_entry.h | 1 +
fs/overlayfs/super.c | 73 +++++++++++++++--------
include/net/pkt_sched.h | 7 ++-
include/net/sock_reuseport.h | 20 ++++++-
net/core/dev.c | 16 +++--
net/core/sock_reuseport.c | 15 ++++-
net/dsa/dsa2.c | 2 +
net/ipv4/datagram.c | 2 +
net/ipv4/udp.c | 5 +-
net/ipv6/datagram.c | 2 +
net/ipv6/ip6_gre.c | 2 +-
net/ipv6/udp.c | 5 +-
net/sched/sch_generic.c | 3 +
net/wireless/nl80211.c | 4 +-
virt/kvm/coalesced_mmio.c | 19 +++---
32 files changed, 227 insertions(+), 127 deletions(-)
As the endpoint is unregistered there might still be work pending to
handle incoming messages, which will result in a use after free
scenario. The plan is to remove the rx_worker, but until then (and for
stable@) ensure that the work is stopped before the node is freed.
Fixes: bdabad3e363d ("net: Add Qualcomm IPC router")
Cc: stable(a)vger.kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson(a)linaro.org>
---
net/qrtr/qrtr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c
index 6c8b0f6d28f9..88f98f27ad88 100644
--- a/net/qrtr/qrtr.c
+++ b/net/qrtr/qrtr.c
@@ -150,6 +150,7 @@ static void __qrtr_node_release(struct kref *kref)
list_del(&node->item);
mutex_unlock(&qrtr_node_lock);
+ cancel_work_sync(&node->work);
skb_queue_purge(&node->rx_queue);
kfree(node);
}
--
2.18.0
On Sat, 21 Sep 2019 12:06:18 +0000
Sasha Levin <sashal(a)kernel.org> wrote:
> Hi,
>
> [This is an automated email]
>
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: .
>
> The bot has tested the following trees: v5.2.16, v4.19.74, v4.14.145, v4.9.193, v4.4.193.
The fixes tag is 7e8b88a30b085 which was added to mainline in 4.17.
According to this email, it applies fine to 5.2 and 4.19, but fails on
4.14 and earlier. As the commit was added in 4.17 that makes perfect
sense. Can you update your scripts to test when the fixes commit was
added, and not send spam about it not applying to stable trees where
it's not applicable.
On a git repo containing only Linus's tree, I have:
$ git describe --contains 7e8b88a30b085
v4.17-rc1~28^2~43
Which shows me when it was applied.
Thanks!
-- Steve
>
> v5.2.16: Build OK!
> v4.19.74: Build OK!
> v4.14.145: Failed to apply! Possible dependencies:
> 00b4145298ae ("ring-buffer: Add interface for setting absolute time stamps")
> 067fe038e70f ("tracing: Add variable reference handling to hist triggers")
> 0d7a8325bf33 ("tracing: Clean up hist_field_flags enum")
> 100719dcef44 ("tracing: Add simple expression support to hist triggers")
> 30350d65ac56 ("tracing: Add variable support to hist triggers")
> 442c94846190 ("tracing: Add Documentation for log2 modifier")
> 5819eaddf35b ("tracing: Reimplement log2")
> 7e8b88a30b08 ("tracing: Add hist trigger support for variable reference aliases")
> 85013256cf01 ("tracing: Add hist_field_name() accessor")
> 860f9f6b02e9 ("tracing: Add usecs modifier for hist trigger timestamps")
> 8b7622bf94a4 ("tracing: Add cpu field for hist triggers")
> ad42febe51ae ("tracing: Add hist trigger timestamp support")
> b559d003a226 ("tracing: Add hist_data member to hist_field")
> b8df4a3634e0 ("tracing: Move hist trigger Documentation to histogram.txt")
>
> v4.9.193: Failed to apply! Possible dependencies:
> 00b4145298ae ("ring-buffer: Add interface for setting absolute time stamps")
> 067fe038e70f ("tracing: Add variable reference handling to hist triggers")
> 0d7a8325bf33 ("tracing: Clean up hist_field_flags enum")
> 100719dcef44 ("tracing: Add simple expression support to hist triggers")
> 30350d65ac56 ("tracing: Add variable support to hist triggers")
> 442c94846190 ("tracing: Add Documentation for log2 modifier")
> 5819eaddf35b ("tracing: Reimplement log2")
> 7e8b88a30b08 ("tracing: Add hist trigger support for variable reference aliases")
> 85013256cf01 ("tracing: Add hist_field_name() accessor")
> 860f9f6b02e9 ("tracing: Add usecs modifier for hist trigger timestamps")
> 8b7622bf94a4 ("tracing: Add cpu field for hist triggers")
> ad42febe51ae ("tracing: Add hist trigger timestamp support")
> b559d003a226 ("tracing: Add hist_data member to hist_field")
> b8df4a3634e0 ("tracing: Move hist trigger Documentation to histogram.txt")
>
> v4.4.193: Failed to apply! Possible dependencies:
> 08d43a5fa063 ("tracing: Add lock-free tracing_map")
> 0c4a6b4666e8 ("tracing: Add hist trigger 'hex' modifier for displaying numeric fields")
> 0fc3813ce103 ("tracing: Add 'hist' trigger Documentation")
> 52a7f16dedff ("tracing: Add support for multiple hist triggers per event")
> 5463bfda327b ("tracing: Add support for named hist triggers")
> 76a3b0c8ac34 ("tracing: Add hist trigger support for compound keys")
> 7e8b88a30b08 ("tracing: Add hist trigger support for variable reference aliases")
> 7ef224d1d0e3 ("tracing: Add 'hist' event trigger command")
> 83e99914c9e2 ("tracing: Add hist trigger support for pausing and continuing a trace")
> 8b7622bf94a4 ("tracing: Add cpu field for hist triggers")
> b8df4a3634e0 ("tracing: Move hist trigger Documentation to histogram.txt")
> c6afad49d127 ("tracing: Add hist trigger 'sym' and 'sym-offset' modifiers")
> e62347d24534 ("tracing: Add hist trigger support for user-defined sorting ('sort=' param)")
> f2606835d70d ("tracing: Add hist trigger support for multiple values ('vals=' param)")
>
>
> NOTE: The patch will not be queued to stable trees until it is upstream.
>
> How should we proceed with this patch?
>
> --
> Thanks,
> Sasha
On Fri, 2019-09-20 at 21:26 -0400, Hui Peng wrote:
> I want to confirm the patches.
>
> Which version of GCC do you use to compile 3.16?
>
> I tried gcc-4.8, it seems that the built kernel can not be boot by qemu.
[...]
For my own limited testing, I build for x86 with gcc 4.9. Debian's
packages are built with gcc 4.8 (arm) or 4.9 (x86).
Guenter Roeck does build and boot tests on multiple architectures using
a variety of (mostly quite recent) compiler versions.
Ben.
--
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.
Hello,
We ran automated tests on a patchset that was proposed for merging into this
kernel tree. The patches were applied to:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: c9a59a82366b - Linux 5.3.1
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
All kernel binaries, config files, and logs are available for download here:
https://artifacts.cki-project.org/pipelines/178680
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Merge testing
-------------
We cloned this repository and checked out the following commit:
Repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: c9a59a82366b - Linux 5.3.1
We grabbed the f2de500c2573 commit of the stable queue repository.
We then merged the patchset with `git am`:
netfilter-add-missing-is_enabled-config_nf_tables-check-to-header-file.patch
Compile testing
---------------
We compiled the kernel for 3 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test
✅ Podman system integration test (as root)
✅ Podman system integration test (as user)
✅ jvm test suite
✅ AMTU (Abstract Machine Test Utility)
✅ LTP: openposix test suite
✅ audit: audit testsuite test
✅ httpd: mod_ssl smoke sanity
✅ iotop: sanity
✅ tuned: tune-processes-through-perf
✅ stress: stress-ng
🚧 ✅ LTP lite
Host 2:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
⚡⚡⚡ selinux-policy: serge-testsuite
ppc64le:
Host 1:
✅ Boot test
✅ selinux-policy: serge-testsuite
Host 2:
✅ Boot test
✅ Podman system integration test (as root)
✅ Podman system integration test (as user)
✅ jvm test suite
✅ AMTU (Abstract Machine Test Utility)
✅ LTP: openposix test suite
✅ audit: audit testsuite test
✅ httpd: mod_ssl smoke sanity
✅ iotop: sanity
✅ tuned: tune-processes-through-perf
🚧 ✅ LTP lite
x86_64:
Host 1:
✅ Boot test
✅ selinux-policy: serge-testsuite
Host 2:
✅ Boot test
✅ Podman system integration test (as root)
✅ Podman system integration test (as user)
✅ jvm test suite
✅ AMTU (Abstract Machine Test Utility)
✅ LTP: openposix test suite
✅ audit: audit testsuite test
✅ httpd: mod_ssl smoke sanity
✅ iotop: sanity
✅ tuned: tune-processes-through-perf
✅ pciutils: sanity smoke test
✅ stress: stress-ng
🚧 ✅ LTP lite
Test sources: https://github.com/CKI-project/tests-beaker
💚 Pull requests are welcome for new tests or improvements to existing tests!
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.