This is the start of the stable review cycle for the 4.9.164 release.
There are 31 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 Wed Mar 20 08:42:01 UTC 2019.
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.164-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.164-rc1
Zha Bin <zhabin(a)linux.alibaba.com>
vhost/vsock: fix vhost vsock cid hashing inconsistent
Sakari Ailus <sakari.ailus(a)linux.intel.com>
of: Support const and non-const use for to_of_node()
Sergei Shtylyov <sergei.shtylyov(a)cogentembedded.com>
mmc: tmio_mmc_core: don't claim spurious interrupts
Xiao Ni <xni(a)redhat.com>
It's wrong to add len to sector_nr in raid10 reshape twice
Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
Peter Zijlstra <peterz(a)infradead.org>
perf/x86: Fixup typo in stub functions
Eric Dumazet <edumazet(a)google.com>
tcp/dccp: remove reqsk_put() from inet_child_forget()
Eric Dumazet <edumazet(a)google.com>
gro_cells: make sure device is up in gro_cells_receive()
David Howells <dhowells(a)redhat.com>
rxrpc: Fix client call queueing, waiting for channel
Stefano Brivio <sbrivio(a)redhat.com>
vxlan: Fix GRO cells race condition between receive and link delete
Daniel Borkmann <daniel(a)iogearbox.net>
ipvlan: disallow userns cap_net_admin to change global mode/flags
Al Viro <viro(a)zeniv.linux.org.uk>
missing barriers in some of unix_sock ->addr and ->path accesses
Kalash Nainwal <kalash(a)arista.com>
net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
YueHaibing <yuehaibing(a)huawei.com>
mdio_bus: Fix use-after-free on device_register fails
Eric Dumazet <edumazet(a)google.com>
net/x25: fix a race in x25_bind()
Jack Morgenstein <jackm(a)dev.mellanox.co.il>
net/mlx4_core: Fix qp mtt size calculation
Jack Morgenstein <jackm(a)dev.mellanox.co.il>
net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
Jack Morgenstein <jackm(a)dev.mellanox.co.il>
net/mlx4_core: Fix reset flow when in command polling mode
Eric Dumazet <edumazet(a)google.com>
vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
Guillaume Nault <gnault(a)redhat.com>
tcp: handle inet_csk_reqsk_queue_add() failures
Xin Long <lucien.xin(a)gmail.com>
route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
Masaru Nagai <masaru.nagai.vx(a)renesas.com>
ravb: Decrease TxFIFO depth of Q3 and Q2 to one
Xin Long <lucien.xin(a)gmail.com>
pptp: dst_release sk_dst_cache in pptp_sock_destruct
Eric Dumazet <edumazet(a)google.com>
net/x25: reset state in x25_connect()
Eric Dumazet <edumazet(a)google.com>
net/x25: fix use-after-free in x25_device_event()
Miaohe Lin <linmiaohe(a)huawei.com>
net: sit: fix UBSAN Undefined behaviour in check_6rd
Eric Dumazet <edumazet(a)google.com>
net/hsr: fix possible crash in add_timer()
Mao Wenan <maowenan(a)huawei.com>
net: hsr: fix memory leak in hsr_dev_finalize()
Eric Dumazet <edumazet(a)google.com>
l2tp: fix infoleak in l2tp_ip6_recvmsg()
Eric Biggers <ebiggers(a)google.com>
KEYS: restrict /proc/keys by credentials at open time
Erik Schmauss <erik.schmauss(a)intel.com>
ACPICA: Reference Counts: increase max to 0x4000 for large servers
-------------
Diffstat:
Makefile | 4 +-
arch/x86/events/perf_event.h | 4 +-
drivers/md/raid10.c | 1 -
drivers/mmc/host/tmio_mmc_pio.c | 11 +++--
drivers/net/ethernet/mellanox/mlx4/cmd.c | 9 ++++
.../net/ethernet/mellanox/mlx4/resource_tracker.c | 6 +--
drivers/net/ethernet/renesas/ravb_main.c | 2 +-
drivers/net/ipvlan/ipvlan_main.c | 9 +++-
drivers/net/phy/mdio_bus.c | 1 -
drivers/net/ppp/pptp.c | 1 +
drivers/net/vxlan.c | 14 ++++++-
drivers/vhost/vsock.c | 2 +-
include/acpi/acconfig.h | 2 +-
include/linux/of.h | 20 +++++----
include/net/gro_cells.h | 22 ++++++++--
net/hsr/hsr_device.c | 18 ++++----
net/hsr/hsr_framereg.c | 12 ++++++
net/hsr/hsr_framereg.h | 1 +
net/ipv4/inet_connection_sock.c | 2 +-
net/ipv4/route.c | 4 ++
net/ipv4/syncookies.c | 7 +++-
net/ipv4/tcp_input.c | 8 +++-
net/ipv6/route.c | 2 +-
net/ipv6/sit.c | 5 ++-
net/l2tp/l2tp_ip6.c | 4 +-
net/rxrpc/conn_client.c | 4 +-
net/unix/af_unix.c | 48 +++++++++++++---------
net/unix/diag.c | 3 +-
net/x25/af_x25.c | 20 ++++++---
security/keys/proc.c | 8 +---
security/lsm_audit.c | 10 +++--
sound/firewire/bebob/bebob.c | 14 ++++++-
32 files changed, 191 insertions(+), 87 deletions(-)
From: Raghuram Hegde <raghuram.hegde(a)intel.com>
Once Firmware download is complete, BULK IN URBs need not be
programmed till the Intel Bluetooth controller switches from
bootloader to operational firmware, as there will not be any data
sent on BULK IN endpoint.
If BULK IN URBs are programmed during this time, a USB turn-around
time error is seen for BULK IN tokens. This results in XHCI resetting
the endpoint data toggle sequence leading to data sequence sync-loss
between Host XHCI controller and Bluetooth controller.
The following fix is required to prevent data sequence sync-loss:
Kill the BULK IN URBs once FW download is complete and re-submit them
after Intel BT controller has booted to operational firmware.
Signed-off-by: Raghuram Hegde <raghuram.hegde(a)intel.com>
Signed-off-by: Chethan T N <chethan.tumkur.narayan(a)intel.com>
Cc: stable(a)vger.kernel.org
---
drivers/bluetooth/btusb.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index ded198328f21..e656acdfd84a 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -2332,6 +2332,15 @@ static int btusb_setup_intel_new(struct hci_dev *hdev)
duration = (unsigned long long) ktime_to_ns(delta) >> 10;
bt_dev_info(hdev, "Firmware loaded in %llu usecs", duration);
+
+ /* Once Firmware download is complete, Bulk endpoints will not be
+ * used until the Bluetooth controller boots with operational
+ * firmware. If we have the Bulk URBs scheduled when Intel Bluetooth
+ * controller switches from bootloader to operational firmware, we
+ * observe Bus Turn-around timeouts for Bulk IN tokens.So, to prevent
+ * such error condition, kill the URBs scheduled on Bulk endpoint.
+ */
+ usb_kill_anchored_urbs(&data->bulk_anchor);
done:
release_firmware(fw);
@@ -2395,6 +2404,18 @@ static int btusb_setup_intel_new(struct hci_dev *hdev)
*/
btintel_set_event_mask(hdev, false);
+ /* As the Intel bluetooth controller has now booted in operational
+ * mode, re-program the URBs for BULK IN endpoint
+ */
+ if (test_bit(BTUSB_BULK_RUNNING, &data->flags)) {
+ err = btusb_submit_bulk_urb(hdev, GFP_NOIO);
+ if (err < 0) {
+ clear_bit(BTUSB_BULK_RUNNING, &data->flags);
+ return err;
+ }
+ btusb_submit_bulk_urb(hdev, GFP_NOIO);
+ }
+
return 0;
}
--
2.7.4
Hello,
We ran automated tests on a patchset that was proposed for merging into this
kernel tree. The patches were applied to:
Kernel repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 9e6fdea016e4 - Linux 5.0.2
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
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 a ref:
Repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Ref: 9e6fdea016e4 - Linux 5.0.2
We then merged the patchset with `git am`:
connector-fix-unsafe-usage-of-real_parent.patch
fou-fou6-avoid-uninit-value-in-gue_err-and-gue6_err.patch
gro_cells-make-sure-device-is-up-in-gro_cells_receive.patch
ipv4-route-fail-early-when-inet-dev-is-missing.patch
l2tp-fix-infoleak-in-l2tp_ip6_recvmsg.patch
lan743x-fix-rx-kernel-panic.patch
lan743x-fix-tx-stall-issue.patch
net-hns3-add-dma_rmb-for-rx-description.patch
net-hsr-fix-memory-leak-in-hsr_dev_finalize.patch
net-hsr-fix-possible-crash-in-add_timer.patch
net-sit-fix-ubsan-undefined-behaviour-in-check_6rd.patch
net-x25-fix-use-after-free-in-x25_device_event.patch
net-x25-reset-state-in-x25_connect.patch
pptp-dst_release-sk_dst_cache-in-pptp_sock_destruct.patch
ravb-decrease-txfifo-depth-of-q3-and-q2-to-one.patch
route-set-the-deleted-fnhe-fnhe_daddr-to-0-in-ip_del_fnhe-to-fix-a-race.patch
rxrpc-fix-client-call-queueing-waiting-for-channel.patch
sctp-remove-sched-init-from-sctp_stream_init.patch
tcp-do-not-report-tcp_cm_inq-of-0-for-closed-connections.patch
tcp-don-t-access-tcp_skb_cb-before-initializing-it.patch
tcp-handle-inet_csk_reqsk_queue_add-failures.patch
vxlan-fix-gro-cells-race-condition-between-receive-and-link-delete.patch
vxlan-test-dev-flags-iff_up-before-calling-gro_cells_receive.patch
net-mlx4_core-fix-reset-flow-when-in-command-polling-mode.patch
net-mlx4_core-fix-locking-in-sriov-mode-when-switching-between-events-and-polling.patch
net-mlx4_core-fix-qp-mtt-size-calculation.patch
net-dsa-mv88e6xxx-set-correct-interface-mode-for-cpu-dsa-ports.patch
net-hns3-fix-to-stop-multiple-hns-reset-due-to-the-aer-changes.patch
vsock-virtio-fix-kernel-panic-from-virtio_transport_reset_no_sock.patch
net-sched-flower-insert-new-filter-to-idr-after-setting-its-mask.patch
f2fs-wait-on-atomic-writes-to-count-f2fs_cp_wb_data.patch
perf-x86-fixup-typo-in-stub-functions.patch
alsa-bebob-use-more-identical-mod_alias-for-saffire-pro-10-i-o-against-liquid-saffire-56.patch
alsa-firewire-motu-fix-construction-of-pcm-frame-for-capture-direction.patch
alsa-hda-extend-i915-component-bind-timeout.patch
alsa-hda-add-more-quirks-for-hp-z2-g4-and-hp-z240.patch
alsa-hda-realtek-enable-audio-jacks-of-asus-ux362fa-with-alc294.patch
alsa-hda-realtek-reduce-click-noise-on-dell-precision-5820-headphone.patch
alsa-hda-realtek-enable-headset-mic-of-acer-travelmate-x514-51t-with-alc255.patch
perf-x86-intel-fix-memory-corruption.patch
perf-x86-intel-make-dev_attr_allow_tsx_force_abort-static.patch
it-s-wrong-to-add-len-to-sector_nr-in-raid10-reshape-twice.patch
drm-block-fb-changes-for-async-plane-updates.patch
Compile testing
---------------
We compiled the kernel for 3 architectures:
aarch64:
make options: make INSTALL_MOD_STRIP=1 -j64 targz-pkg -j64
configuration: https://artifacts.cki-project.org/builds/aarch64/cc5a1b1f9fb951d23219fb2ccd…
ppc64le:
make options: make INSTALL_MOD_STRIP=1 -j64 targz-pkg -j64
configuration: https://artifacts.cki-project.org/builds/ppc64le/549cb070fdafc4f6c34a4b595f…
x86_64:
make options: make INSTALL_MOD_STRIP=1 -j64 targz-pkg -j64
configuration: https://artifacts.cki-project.org/builds/x86_64/3a9bed35b0805fc8a66a91ac1c9…
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
✅ Boot test [0]
✅ LTP lite - release 20190115 [1]
✅ Loopdev Sanity [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ Ethernet drivers sanity [4]
✅ Networking route: pmtu [5]
✅ 🚧 httpd: mod_ssl smoke sanity [6]
✅ 🚧 httpd: php sanity [7]
✅ 🚧 tuned: tune-processes-through-perf [8]
ppc64le:
✅ Boot test [0]
✅ LTP lite - release 20190115 [1]
✅ Loopdev Sanity [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ Ethernet drivers sanity [4]
✅ Networking route: pmtu [5]
✅ 🚧 httpd: mod_ssl smoke sanity [6]
✅ 🚧 httpd: php sanity [7]
✅ 🚧 tuned: tune-processes-through-perf [8]
x86_64:
✅ Boot test [0]
✅ LTP lite - release 20190115 [1]
✅ Loopdev Sanity [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ Ethernet drivers sanity [4]
✅ Networking route: pmtu [5]
✅ 🚧 httpd: mod_ssl smoke sanity [6]
✅ 🚧 httpd: php sanity [7]
✅ 🚧 tuned: tune-processes-through-perf [8]
Test source:
[0]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[1]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[2]: https://github.com/CKI-project/tests-beaker/archive/master.zip#filesystems/…
[3]: https://github.com/CKI-project/tests-beaker/archive/master.zip#misc/amtu
[4]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[5]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[6]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/htt…
[7]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/htt…
[8]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/tun…
Experimental tests (marked with 🚧)
-----------------------------------
This test run included experimental tests. These tests are
still under development and they may not pass or fail correctly under certain
conditions.