diff --git a/kernel/Makefile b/kernel/Makefile index 80e7d1cd0..f85f1b8a0 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -19,18 +19,18 @@ all: bzImage tag # # IMAGE_VERSION is used to determine if a new image should be pushed to hub. ifeq ($(KERNEL),v4.4) -KERNEL_VERSION=4.4.57 +KERNEL_VERSION=4.4.58 IMAGE_VERSION=$(KERNEL_VERSION)-0 IMAGE_MAJOR_VERSION=4.4.x DEPS=Dockerfile.4.4 Makefile kernel_config kernel_config.debug kernel_config.4.4 patches-4.4 else ifeq ($(KERNEL),v4.10) -KERNEL_VERSION=4.10.6 +KERNEL_VERSION=4.10.7 IMAGE_VERSION=$(KERNEL_VERSION)-0 IMAGE_MAJOR_VERSION=4.10.x DEPS=Dockerfile.4.10 Makefile kernel_config kernel_config.debug patches-4.10 else -KERNEL_VERSION=4.9.18 +KERNEL_VERSION=4.9.19 IMAGE_VERSION=$(KERNEL_VERSION)-0 IMAGE_MAJOR_VERSION=4.9.x DEPS=Dockerfile Makefile kernel_config kernel_config.debug patches-4.9 diff --git a/kernel/patches-4.10/0001-hv_sock-introduce-Hyper-V-Sockets.patch b/kernel/patches-4.10/0001-hv_sock-introduce-Hyper-V-Sockets.patch index 94c03e609..8da3a6cad 100644 --- a/kernel/patches-4.10/0001-hv_sock-introduce-Hyper-V-Sockets.patch +++ b/kernel/patches-4.10/0001-hv_sock-introduce-Hyper-V-Sockets.patch @@ -1,7 +1,7 @@ -From 3be38bf120ec1165e991ed223b1f64f8105ab76e Mon Sep 17 00:00:00 2001 +From f8892ad868fdcd96ccf6edc93ed61d8a97af88e4 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Thu, 21 Jul 2016 16:04:38 -0600 -Subject: [PATCH 1/4] hv_sock: introduce Hyper-V Sockets +Subject: [PATCH 1/3] hv_sock: introduce Hyper-V Sockets Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over @@ -22,6 +22,7 @@ Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Cc: Cathy Avery +Origin: git@github.com:dcui/linux.git (cherry picked from commit 8c902827bfd9c5d47ecbfbe7687e001b74de3930) --- MAINTAINERS | 2 + diff --git a/kernel/patches-4.10/0002-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch b/kernel/patches-4.10/0002-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch index ff28ec015..750f8bfd3 100644 --- a/kernel/patches-4.10/0002-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch +++ b/kernel/patches-4.10/0002-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch @@ -1,7 +1,7 @@ -From 350d124854fcb5ecfe9347fb4b893d27d6b6660e Mon Sep 17 00:00:00 2001 +From 268b402c42c140328224ff994d1d76053f3113f9 Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:17 -0700 -Subject: [PATCH 2/4] Drivers: hv: vmbus: Use all supported IC versions to +Subject: [PATCH 2/3] Drivers: hv: vmbus: Use all supported IC versions to negotiate Previously, we were assuming that each IC protocol version was tied to a @@ -22,6 +22,7 @@ Reported-by: Rolf Neugebauer Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit a1656454131880980bc3a5313c8bf66ef5990c91) --- drivers/hv/channel_mgmt.c | 80 +++++++++++++++++++++++++++------------- @@ -33,7 +34,7 @@ Signed-off-by: Greg Kroah-Hartman 6 files changed, 154 insertions(+), 106 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c -index 0af7e39006c8..b42d69c05ebb 100644 +index a58cd102af1b..feca5d2e7b25 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -203,33 +203,34 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) diff --git a/kernel/patches-4.10/0003-Drivers-hv-Log-the-negotiated-IC-versions.patch b/kernel/patches-4.10/0003-Drivers-hv-Log-the-negotiated-IC-versions.patch index 027cfe6e9..ea84c5465 100644 --- a/kernel/patches-4.10/0003-Drivers-hv-Log-the-negotiated-IC-versions.patch +++ b/kernel/patches-4.10/0003-Drivers-hv-Log-the-negotiated-IC-versions.patch @@ -1,13 +1,14 @@ -From 15a8be4e26e2ab23e2bff953aed060f0cb5fab39 Mon Sep 17 00:00:00 2001 +From 1dc474194b72f224081c90311887317415f987dc Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:18 -0700 -Subject: [PATCH 3/4] Drivers: hv: Log the negotiated IC versions. +Subject: [PATCH 3/3] Drivers: hv: Log the negotiated IC versions. Log the negotiated IC versions. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit 1274a690f6b2bd2b37447c47e3062afa8aa43f93) --- drivers/hv/hv_fcopy.c | 9 +++++++-- diff --git a/kernel/patches-4.10/0004-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch b/kernel/patches-4.10/0004-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch deleted file mode 100644 index 862af09bd..000000000 --- a/kernel/patches-4.10/0004-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch +++ /dev/null @@ -1,47 +0,0 @@ -From be86c6dee392d2f7d4b42b7c191c429ac5e3f263 Mon Sep 17 00:00:00 2001 -From: "K. Y. Srinivasan" -Date: Sun, 12 Mar 2017 20:00:30 -0700 -Subject: [PATCH 4/4] Drivers: hv: vmbus: Don't leak memory when a channel is - rescinded - -When we close a channel that has been rescinded, we will leak memory since -vmbus_teardown_gpadl() returns an error. Fix this so that we can properly -cleanup the memory allocated to the ring buffers. - -Fixes: ccb61f8a99e6 ("Drivers: hv: vmbus: Fix a rescind handling bug") - -Signed-off-by: K. Y. Srinivasan -Signed-off-by: Greg Kroah-Hartman -(cherry picked from commit 5e030d5ce9d99a899b648413139ff65bab12b038) ---- - drivers/hv/channel.c | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c -index be34547cdb68..1606e7f08f4b 100644 ---- a/drivers/hv/channel.c -+++ b/drivers/hv/channel.c -@@ -506,12 +506,15 @@ int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle) - - wait_for_completion(&info->waitevent); - -- if (channel->rescind) { -- ret = -ENODEV; -- goto post_msg_err; -- } -- - post_msg_err: -+ /* -+ * If the channel has been rescinded; -+ * we will be awakened by the rescind -+ * handler; set the error code to zero so we don't leak memory. -+ */ -+ if (channel->rescind) -+ ret = 0; -+ - spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); - list_del(&info->msglistentry); - spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); --- -2.11.0 - diff --git a/kernel/patches-4.4/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch b/kernel/patches-4.4/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch index fa0c67357..a98d60ded 100644 --- a/kernel/patches-4.4/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch +++ b/kernel/patches-4.4/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch @@ -1,4 +1,4 @@ -From f609cbcf7e261fecf0285dafe9960de7bc946ba2 Mon Sep 17 00:00:00 2001 +From e6c41b6c46816d22a502e998dc85c97613510652 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 17 Dec 2015 16:53:43 +0800 Subject: [PATCH 01/44] virtio: make find_vqs() checkpatch.pl-friendly diff --git a/kernel/patches-4.4/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch b/kernel/patches-4.4/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch index 84bc4364e..480969ac4 100644 --- a/kernel/patches-4.4/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch +++ b/kernel/patches-4.4/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch @@ -1,4 +1,4 @@ -From 47fddf67540bce994ef48320af50780069a4487a Mon Sep 17 00:00:00 2001 +From 7dbbed8d7baabd34ddc5207a9d7d07516715df3f Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sat, 21 Nov 2015 18:39:17 +0100 Subject: [PATCH 02/44] VSOCK: constify vmci_transport_notify_ops structures diff --git a/kernel/patches-4.4/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch b/kernel/patches-4.4/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch index 8adf96e0f..3e03f6512 100644 --- a/kernel/patches-4.4/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch +++ b/kernel/patches-4.4/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch @@ -1,4 +1,4 @@ -From 71330f083c95bf08f9003dde832336a1fe59332c Mon Sep 17 00:00:00 2001 +From fbb2959723e8650757156863abdab49dc3b70b97 Mon Sep 17 00:00:00 2001 From: Claudio Imbrenda Date: Tue, 22 Mar 2016 17:05:52 +0100 Subject: [PATCH 03/44] AF_VSOCK: Shrink the area influenced by prepare_to_wait diff --git a/kernel/patches-4.4/0004-vsock-make-listener-child-lock-ordering-explicit.patch b/kernel/patches-4.4/0004-vsock-make-listener-child-lock-ordering-explicit.patch index 2c54f2f9a..748cf97c3 100644 --- a/kernel/patches-4.4/0004-vsock-make-listener-child-lock-ordering-explicit.patch +++ b/kernel/patches-4.4/0004-vsock-make-listener-child-lock-ordering-explicit.patch @@ -1,4 +1,4 @@ -From 5258b00ab6d2cc6180ac1c8d938b0f949fa3a70c Mon Sep 17 00:00:00 2001 +From f4d71c373f925899ea9b11f2dd98e1294aac92c7 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 23 Jun 2016 16:28:58 +0100 Subject: [PATCH 04/44] vsock: make listener child lock ordering explicit diff --git a/kernel/patches-4.4/0005-VSOCK-transport-specific-vsock_transport-functions.patch b/kernel/patches-4.4/0005-VSOCK-transport-specific-vsock_transport-functions.patch index 078597db1..4afebf9fd 100644 --- a/kernel/patches-4.4/0005-VSOCK-transport-specific-vsock_transport-functions.patch +++ b/kernel/patches-4.4/0005-VSOCK-transport-specific-vsock_transport-functions.patch @@ -1,4 +1,4 @@ -From 0a646670d90865b154390820c6150ec72e0f4fca Mon Sep 17 00:00:00 2001 +From 4f88a2171686507500661c6b403dacbbee0bc79d Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 28 Jul 2016 15:36:30 +0100 Subject: [PATCH 05/44] VSOCK: transport-specific vsock_transport functions diff --git a/kernel/patches-4.4/0006-VSOCK-defer-sock-removal-to-transports.patch b/kernel/patches-4.4/0006-VSOCK-defer-sock-removal-to-transports.patch index 4e7ef1da4..e533706a0 100644 --- a/kernel/patches-4.4/0006-VSOCK-defer-sock-removal-to-transports.patch +++ b/kernel/patches-4.4/0006-VSOCK-defer-sock-removal-to-transports.patch @@ -1,4 +1,4 @@ -From 96ec12e1052d002eb024d19e016682729e3cc8cf Mon Sep 17 00:00:00 2001 +From 8a8beec90402b31271e908d41fca767798e81676 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 28 Jul 2016 15:36:31 +0100 Subject: [PATCH 06/44] VSOCK: defer sock removal to transports diff --git a/kernel/patches-4.4/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch b/kernel/patches-4.4/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch index 6e91b35f5..49ba18506 100644 --- a/kernel/patches-4.4/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch +++ b/kernel/patches-4.4/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch @@ -1,4 +1,4 @@ -From 8fbd614bbb155c91ef7b420b2a654ef8c53d67e0 Mon Sep 17 00:00:00 2001 +From cc11a7e2ae0dc124da2a93bd551463d046a387ac Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 28 Jul 2016 15:36:32 +0100 Subject: [PATCH 07/44] VSOCK: Introduce virtio_vsock_common.ko diff --git a/kernel/patches-4.4/0008-VSOCK-Introduce-virtio_transport.ko.patch b/kernel/patches-4.4/0008-VSOCK-Introduce-virtio_transport.ko.patch index 54d26283b..63b12b18f 100644 --- a/kernel/patches-4.4/0008-VSOCK-Introduce-virtio_transport.ko.patch +++ b/kernel/patches-4.4/0008-VSOCK-Introduce-virtio_transport.ko.patch @@ -1,4 +1,4 @@ -From bc950a7d03d15e59bac430c0a77e7418db614bd8 Mon Sep 17 00:00:00 2001 +From 7f2ef8f638c728daa7df588225fa117d87cfefde Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 28 Jul 2016 15:36:33 +0100 Subject: [PATCH 08/44] VSOCK: Introduce virtio_transport.ko diff --git a/kernel/patches-4.4/0009-VSOCK-Introduce-vhost_vsock.ko.patch b/kernel/patches-4.4/0009-VSOCK-Introduce-vhost_vsock.ko.patch index c8444b6dc..4aeaf007c 100644 --- a/kernel/patches-4.4/0009-VSOCK-Introduce-vhost_vsock.ko.patch +++ b/kernel/patches-4.4/0009-VSOCK-Introduce-vhost_vsock.ko.patch @@ -1,4 +1,4 @@ -From 8c891d7e147e4515c22b67216776a05cd232f638 Mon Sep 17 00:00:00 2001 +From a0b0f3bdf891086e680940b1742590acd08eb38c Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 28 Jul 2016 15:36:34 +0100 Subject: [PATCH 09/44] VSOCK: Introduce vhost_vsock.ko diff --git a/kernel/patches-4.4/0010-VSOCK-Add-Makefile-and-Kconfig.patch b/kernel/patches-4.4/0010-VSOCK-Add-Makefile-and-Kconfig.patch index 9b99183e2..8a6653da5 100644 --- a/kernel/patches-4.4/0010-VSOCK-Add-Makefile-and-Kconfig.patch +++ b/kernel/patches-4.4/0010-VSOCK-Add-Makefile-and-Kconfig.patch @@ -1,4 +1,4 @@ -From 6fb88b14e8b096eb0c6d490eaafabff87fa40d69 Mon Sep 17 00:00:00 2001 +From 1c2fe7a0a54f2320241299844362b568b09e4122 Mon Sep 17 00:00:00 2001 From: Asias He Date: Thu, 28 Jul 2016 15:36:35 +0100 Subject: [PATCH 10/44] VSOCK: Add Makefile and Kconfig diff --git a/kernel/patches-4.4/0011-VSOCK-Use-kvfree.patch b/kernel/patches-4.4/0011-VSOCK-Use-kvfree.patch index 2c2a40385..ecd8419ba 100644 --- a/kernel/patches-4.4/0011-VSOCK-Use-kvfree.patch +++ b/kernel/patches-4.4/0011-VSOCK-Use-kvfree.patch @@ -1,4 +1,4 @@ -From 39f091319312580b581a4f64de76c73466dd20e2 Mon Sep 17 00:00:00 2001 +From 38db62c5e7dee857ff2d33125b3c0cf542cded7f Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Tue, 2 Aug 2016 13:50:42 +0000 Subject: [PATCH 11/44] VSOCK: Use kvfree() diff --git a/kernel/patches-4.4/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch b/kernel/patches-4.4/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch index 42b6de6f2..93055bafe 100644 --- a/kernel/patches-4.4/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch +++ b/kernel/patches-4.4/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch @@ -1,4 +1,4 @@ -From ad5fde73d72766b69445ef6b94740912b962542b Mon Sep 17 00:00:00 2001 +From 80f2ceccf81bfc3ece1626d2a8cb379aebdd5244 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 4 Aug 2016 14:52:53 +0100 Subject: [PATCH 12/44] vhost/vsock: fix vhost virtio_vsock_pkt use-after-free diff --git a/kernel/patches-4.4/0013-virtio-vsock-fix-include-guard-typo.patch b/kernel/patches-4.4/0013-virtio-vsock-fix-include-guard-typo.patch index c21b882f1..516bbdb65 100644 --- a/kernel/patches-4.4/0013-virtio-vsock-fix-include-guard-typo.patch +++ b/kernel/patches-4.4/0013-virtio-vsock-fix-include-guard-typo.patch @@ -1,4 +1,4 @@ -From 8c5b0e95393280c29bda5c87f921470dee326829 Mon Sep 17 00:00:00 2001 +From 7f6324aea12837bd07ea5de449e1b5ca5d5365de Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Fri, 5 Aug 2016 13:52:09 +0100 Subject: [PATCH 13/44] virtio-vsock: fix include guard typo diff --git a/kernel/patches-4.4/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch b/kernel/patches-4.4/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch index f69bb7dd1..e5986077f 100644 --- a/kernel/patches-4.4/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch +++ b/kernel/patches-4.4/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch @@ -1,4 +1,4 @@ -From b62b8ac0df932a45659e98a0072f53a281fde234 Mon Sep 17 00:00:00 2001 +From 5417fd5be01b316be0071767311067c641d6a822 Mon Sep 17 00:00:00 2001 From: Gerard Garcia Date: Wed, 10 Aug 2016 17:24:34 +0200 Subject: [PATCH 14/44] vhost/vsock: drop space available check for TX vq diff --git a/kernel/patches-4.4/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch b/kernel/patches-4.4/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch index 5d42e00d9..9cc5efcc5 100644 --- a/kernel/patches-4.4/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch +++ b/kernel/patches-4.4/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch @@ -1,4 +1,4 @@ -From c6a4cf264d47cca0609ae25bc53fe9659fa74759 Mon Sep 17 00:00:00 2001 +From 94de69da89c2365d359a7e948b71ee5cfb4898f9 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 4 Apr 2016 14:50:10 +0100 Subject: [PATCH 15/44] VSOCK: Only allow host network namespace to use diff --git a/kernel/patches-4.4/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch b/kernel/patches-4.4/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch index 7f5b881b7..c9e02d147 100644 --- a/kernel/patches-4.4/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch +++ b/kernel/patches-4.4/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch @@ -1,4 +1,4 @@ -From e79159e1fe83564499dcdf8b3246c6c8021f8f44 Mon Sep 17 00:00:00 2001 +From 15b01147e41ae62c7698990b60a80da27d8d9bc6 Mon Sep 17 00:00:00 2001 From: Jake Oshins Date: Mon, 14 Dec 2015 16:01:41 -0800 Subject: [PATCH 16/44] drivers:hv: Define the channel type for Hyper-V PCI diff --git a/kernel/patches-4.4/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch b/kernel/patches-4.4/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch index e2e122cb8..bef2d8e3c 100644 --- a/kernel/patches-4.4/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch +++ b/kernel/patches-4.4/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch @@ -1,4 +1,4 @@ -From d3203316d4990cbfed4d9fa6849c82f6bf17698e Mon Sep 17 00:00:00 2001 +From 323a1c2b080a944c967cd6048909037834ea6cb6 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Mon, 14 Dec 2015 16:01:43 -0800 Subject: [PATCH 17/44] Drivers: hv: vmbus: Use uuid_le type consistently diff --git a/kernel/patches-4.4/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch b/kernel/patches-4.4/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch index 463a85fc4..3572d16eb 100644 --- a/kernel/patches-4.4/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch +++ b/kernel/patches-4.4/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch @@ -1,4 +1,4 @@ -From 660faacaab63072bd6cce85a15b9f12172e957d6 Mon Sep 17 00:00:00 2001 +From 64e19146cdc8e5af07e5fd2a7e881a74d2cf4d03 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Mon, 14 Dec 2015 16:01:44 -0800 Subject: [PATCH 18/44] Drivers: hv: vmbus: Use uuid_le_cmp() for comparing diff --git a/kernel/patches-4.4/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch b/kernel/patches-4.4/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch index 9e556a7cc..6cc553096 100644 --- a/kernel/patches-4.4/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch +++ b/kernel/patches-4.4/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch @@ -1,4 +1,4 @@ -From 0d08fd09131b9376891a20832cb032b57eb0b7e4 Mon Sep 17 00:00:00 2001 +From 3d59990858b390f17f3e92084d4bd500faf74ec1 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 14 Dec 2015 16:01:48 -0800 Subject: [PATCH 19/44] Drivers: hv: vmbus: do sanity check of channel state in diff --git a/kernel/patches-4.4/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch b/kernel/patches-4.4/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch index 39da4354b..3d3db5257 100644 --- a/kernel/patches-4.4/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch +++ b/kernel/patches-4.4/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch @@ -1,4 +1,4 @@ -From 4a11c27e225efac7b5c83293b35b491e6fc206fa Mon Sep 17 00:00:00 2001 +From 62e289eb22c3217cbea5ee66bdf32ad865e541aa Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 14 Dec 2015 16:01:50 -0800 Subject: [PATCH 20/44] Drivers: hv: vmbus: release relid on error in diff --git a/kernel/patches-4.4/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch b/kernel/patches-4.4/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch index f85db864f..90e43e8d1 100644 --- a/kernel/patches-4.4/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch +++ b/kernel/patches-4.4/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch @@ -1,4 +1,4 @@ -From 8fd76670d0030231caf284661cd41b31f50919aa Mon Sep 17 00:00:00 2001 +From 0554553d75d339e5e159b08a846b9a791ad0e02f Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 14 Dec 2015 16:01:51 -0800 Subject: [PATCH 21/44] Drivers: hv: vmbus: channge diff --git a/kernel/patches-4.4/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch b/kernel/patches-4.4/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch index 8086f937e..253e979b2 100644 --- a/kernel/patches-4.4/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch +++ b/kernel/patches-4.4/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch @@ -1,4 +1,4 @@ -From 7f5f3108931dd156d30f6aa01b1828be2996c4f6 Mon Sep 17 00:00:00 2001 +From 0476f778ff5f8a41dd47014b8b6d7f1c84e1bffc Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Mon, 14 Dec 2015 19:02:00 -0800 Subject: [PATCH 22/44] Drivers: hv: remove code duplication between diff --git a/kernel/patches-4.4/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch b/kernel/patches-4.4/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch index 16024bca2..fd8e1c49a 100644 --- a/kernel/patches-4.4/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch +++ b/kernel/patches-4.4/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch @@ -1,4 +1,4 @@ -From 78aba226343625e407c1e35b0a8d8872cfa689d1 Mon Sep 17 00:00:00 2001 +From f54038d47e136a948e86c0d4591ea9beda4074d4 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 21 Dec 2015 12:21:22 -0800 Subject: [PATCH 23/44] Drivers: hv: vmbus: fix the building warning with diff --git a/kernel/patches-4.4/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch b/kernel/patches-4.4/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch index 2ebdbd3ee..1806fcb07 100644 --- a/kernel/patches-4.4/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch +++ b/kernel/patches-4.4/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch @@ -1,4 +1,4 @@ -From cc4d402849a6594f8939795f2ee25ed490481f19 Mon Sep 17 00:00:00 2001 +From 1883a7b53669ce799df3fe88a0b356558f2f28cf Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Tue, 15 Dec 2015 16:27:27 -0800 Subject: [PATCH 24/44] Drivers: hv: vmbus: Treat Fibre Channel devices as diff --git a/kernel/patches-4.4/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch b/kernel/patches-4.4/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch index 91d707bcd..46f5ea7ac 100644 --- a/kernel/patches-4.4/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch +++ b/kernel/patches-4.4/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch @@ -1,4 +1,4 @@ -From 0ffbed6c39e20d8871354ada8d71acbea5436de8 Mon Sep 17 00:00:00 2001 +From 179386708a6b002928f78b743aea4dab8bcfccc3 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Fri, 25 Dec 2015 20:00:30 -0800 Subject: [PATCH 25/44] Drivers: hv: vmbus: Add vendor and device atttributes diff --git a/kernel/patches-4.4/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch b/kernel/patches-4.4/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch index 43d30210e..9f9f514bd 100644 --- a/kernel/patches-4.4/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch +++ b/kernel/patches-4.4/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch @@ -1,4 +1,4 @@ -From dde5ae12edb1fe8eafc8149c588663f2c4467392 Mon Sep 17 00:00:00 2001 +From a4b2dcb94d291db84ba87df47190dc4d161b5fc8 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:37 -0800 Subject: [PATCH 26/44] Drivers: hv: vmbus: add a helper function to set a diff --git a/kernel/patches-4.4/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch b/kernel/patches-4.4/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch index b43011563..1dbe222a1 100644 --- a/kernel/patches-4.4/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch +++ b/kernel/patches-4.4/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch @@ -1,4 +1,4 @@ -From 395b20806a2c2df902dcb7413d4c47ff70bd8a18 Mon Sep 17 00:00:00 2001 +From 8c8e6ed70717ff34dc591c42fb9cfc8a27e9b3f5 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:38 -0800 Subject: [PATCH 27/44] Drivers: hv: vmbus: define the new offer type for diff --git a/kernel/patches-4.4/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch b/kernel/patches-4.4/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch index b0c22f362..a3f23a1a7 100644 --- a/kernel/patches-4.4/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch +++ b/kernel/patches-4.4/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch @@ -1,4 +1,4 @@ -From a81d89d49e989e620b801d19c21f1fa793c506b3 Mon Sep 17 00:00:00 2001 +From 67412c57376529169173595ffac6fd848ed58035 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:39 -0800 Subject: [PATCH 28/44] Drivers: hv: vmbus: vmbus_sendpacket_ctl: hvsock: avoid diff --git a/kernel/patches-4.4/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch b/kernel/patches-4.4/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch index 25a8a9815..1264611e2 100644 --- a/kernel/patches-4.4/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch +++ b/kernel/patches-4.4/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch @@ -1,4 +1,4 @@ -From 95be5eb3975f43a75f80b9414387c90b296cc82a Mon Sep 17 00:00:00 2001 +From 061ef00724d38f9c073064fc6b4ae57f599edfc5 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:40 -0800 Subject: [PATCH 29/44] Drivers: hv: vmbus: define a new VMBus message type for diff --git a/kernel/patches-4.4/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch b/kernel/patches-4.4/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch index e86bad1ea..c05a5490c 100644 --- a/kernel/patches-4.4/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch +++ b/kernel/patches-4.4/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch @@ -1,4 +1,4 @@ -From 9c4c8be9ef0fb7bd67145dade8082754b686b8d0 Mon Sep 17 00:00:00 2001 +From 4db1fe1f55bb82c474faa0f721b5bdc3dfe0cd57 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:41 -0800 Subject: [PATCH 30/44] Drivers: hv: vmbus: add a hvsock flag in struct diff --git a/kernel/patches-4.4/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch b/kernel/patches-4.4/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch index 5b5ca1fc4..1fcc033cc 100644 --- a/kernel/patches-4.4/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch +++ b/kernel/patches-4.4/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch @@ -1,4 +1,4 @@ -From 109111b9519f6c6128da5115e24e18410e69f1a2 Mon Sep 17 00:00:00 2001 +From 3dfea6738dedebff57eb3b7a532a9cd42d193360 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:42 -0800 Subject: [PATCH 31/44] Drivers: hv: vmbus: add a per-channel rescind callback diff --git a/kernel/patches-4.4/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch b/kernel/patches-4.4/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch index 49a3244b0..78eb838d8 100644 --- a/kernel/patches-4.4/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch +++ b/kernel/patches-4.4/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch @@ -1,4 +1,4 @@ -From 08f9e7c593d157ce4dc03c2a4856fd84971a7cbd Mon Sep 17 00:00:00 2001 +From a7a847f0fe2023408ccdec4ab17d362ce588007c Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 27 Jan 2016 22:29:43 -0800 Subject: [PATCH 32/44] Drivers: hv: vmbus: add an API diff --git a/kernel/patches-4.4/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch b/kernel/patches-4.4/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch index 9a77e4cb3..c3a82de9a 100644 --- a/kernel/patches-4.4/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch +++ b/kernel/patches-4.4/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch @@ -1,4 +1,4 @@ -From 6cf4900b125efa655cac0855f71caaf37d129087 Mon Sep 17 00:00:00 2001 +From f3ede00d134158654bf4c42aa07299892baacac4 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Wed, 27 Jan 2016 22:29:45 -0800 Subject: [PATCH 33/44] Drivers: hv: vmbus: Give control over how the ring diff --git a/kernel/patches-4.4/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch b/kernel/patches-4.4/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch index 167be4ea0..f19c02601 100644 --- a/kernel/patches-4.4/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch +++ b/kernel/patches-4.4/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch @@ -1,4 +1,4 @@ -From 8c1531920129543abc16064dfa975e0c43479ac1 Mon Sep 17 00:00:00 2001 +From 0ac65eb964a6a6a659a72c38a3145941eda499e7 Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Fri, 26 Feb 2016 15:13:16 -0800 Subject: [PATCH 34/44] Drivers: hv: vmbus: avoid wait_for_completion() on diff --git a/kernel/patches-4.4/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch b/kernel/patches-4.4/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch index 91cd2c6f1..4734124df 100644 --- a/kernel/patches-4.4/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch +++ b/kernel/patches-4.4/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch @@ -1,4 +1,4 @@ -From 297cc0460b13aaafefa3b36f59b34f554a94a273 Mon Sep 17 00:00:00 2001 +From 0a5949c41fa0979c613626cc295ba628082ed487 Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Fri, 26 Feb 2016 15:13:18 -0800 Subject: [PATCH 35/44] Drivers: hv: vmbus: avoid unneeded compiler diff --git a/kernel/patches-4.4/0036-kcm-Kernel-Connection-Multiplexor-module.patch b/kernel/patches-4.4/0036-kcm-Kernel-Connection-Multiplexor-module.patch index 32c41df6d..6c52eaa90 100644 --- a/kernel/patches-4.4/0036-kcm-Kernel-Connection-Multiplexor-module.patch +++ b/kernel/patches-4.4/0036-kcm-Kernel-Connection-Multiplexor-module.patch @@ -1,4 +1,4 @@ -From a0c7198f3417369926962219c6b7a15b6bd4bc2e Mon Sep 17 00:00:00 2001 +From 709d44d11caec69f73fdeaf9835ca18885d846da Mon Sep 17 00:00:00 2001 From: Tom Herbert Date: Mon, 7 Mar 2016 14:11:06 -0800 Subject: [PATCH 36/44] kcm: Kernel Connection Multiplexor module diff --git a/kernel/patches-4.4/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch b/kernel/patches-4.4/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch index d01d870c1..cd6ca91a3 100644 --- a/kernel/patches-4.4/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch +++ b/kernel/patches-4.4/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch @@ -1,4 +1,4 @@ -From 5e39f91f019412407ed0e28f7f0a7502d7883258 Mon Sep 17 00:00:00 2001 +From 4c0016aad9295d0096315519c0ade153731ed314 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 21 Mar 2016 02:51:09 -0700 Subject: [PATCH 37/44] net: add the AF_KCM entries to family name tables @@ -14,7 +14,7 @@ Origin: https://patchwork.ozlabs.org/patch/600006 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/core/sock.c b/net/core/sock.c -index f4c0917e66b5..ba24aeb6999c 100644 +index 9c708a5fb751..36afa5d4598b 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -263,7 +263,8 @@ static const char *const af_family_key_strings[AF_MAX+1] = { diff --git a/kernel/patches-4.4/0038-net-Add-Qualcomm-IPC-router.patch b/kernel/patches-4.4/0038-net-Add-Qualcomm-IPC-router.patch index 9c577444a..f179a61e5 100644 --- a/kernel/patches-4.4/0038-net-Add-Qualcomm-IPC-router.patch +++ b/kernel/patches-4.4/0038-net-Add-Qualcomm-IPC-router.patch @@ -1,4 +1,4 @@ -From c95c1bb451b392a6c6917b6140f0ec5b943c2523 Mon Sep 17 00:00:00 2001 +From e894e87f386637462f82582fd28d71f2be3a2213 Mon Sep 17 00:00:00 2001 From: Courtney Cavin Date: Wed, 27 Apr 2016 12:13:03 -0700 Subject: [PATCH 38/44] net: Add Qualcomm IPC router diff --git a/kernel/patches-4.4/0039-hv_sock-introduce-Hyper-V-Sockets.patch b/kernel/patches-4.4/0039-hv_sock-introduce-Hyper-V-Sockets.patch index f14b116bc..4e9a4e327 100644 --- a/kernel/patches-4.4/0039-hv_sock-introduce-Hyper-V-Sockets.patch +++ b/kernel/patches-4.4/0039-hv_sock-introduce-Hyper-V-Sockets.patch @@ -1,4 +1,4 @@ -From 51ea1e21ce9aeefabac1c60545df6facbff79073 Mon Sep 17 00:00:00 2001 +From e00605a4b71e1d3bfeb45ff1dc5ac6c68d079cfb Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Sun, 15 May 2016 09:53:11 -0700 Subject: [PATCH 39/44] hv_sock: introduce Hyper-V Sockets diff --git a/kernel/patches-4.4/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch b/kernel/patches-4.4/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch index e69c83068..7a01c66e2 100644 --- a/kernel/patches-4.4/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch +++ b/kernel/patches-4.4/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch @@ -1,4 +1,4 @@ -From b4376d9a14b091c9db022998d31f57d419836293 Mon Sep 17 00:00:00 2001 +From 7e5f6c44e05bb8f757ef546b55e32b750bee2ba9 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 21 Mar 2016 02:53:08 -0700 Subject: [PATCH 40/44] net: add the AF_HYPERV entries to family name tables @@ -14,7 +14,7 @@ Origin: https://patchwork.ozlabs.org/patch/600009 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/sock.c b/net/core/sock.c -index ba24aeb6999c..c75ebeec3290 100644 +index 36afa5d4598b..5077059e352b 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -264,7 +264,7 @@ static const char *const af_family_key_strings[AF_MAX+1] = { diff --git a/kernel/patches-4.4/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch b/kernel/patches-4.4/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch index 131beb147..7978bdde5 100644 --- a/kernel/patches-4.4/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch +++ b/kernel/patches-4.4/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch @@ -1,4 +1,4 @@ -From 773bb65bd15a0be1de10b24abd7574921aae3d37 Mon Sep 17 00:00:00 2001 +From 0a66e4e4bad73310b72191221473400a6fb583de Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Sat, 21 May 2016 16:55:50 +0800 Subject: [PATCH 41/44] Drivers: hv: vmbus: fix the race when querying & diff --git a/kernel/patches-4.4/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch b/kernel/patches-4.4/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch index 0c9896cb7..12f1492ba 100644 --- a/kernel/patches-4.4/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch +++ b/kernel/patches-4.4/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch @@ -1,4 +1,4 @@ -From f2c5c2999fbeed4c04ac054273e86626e1626f23 Mon Sep 17 00:00:00 2001 +From f3fe4f74930c79446965f030181c151209d720bc Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 23 May 2016 18:55:45 +0100 Subject: [PATCH 42/44] vmbus: Don't spam the logs with unknown GUIDs diff --git a/kernel/patches-4.4/0043-fs-add-filp_clone_open-API.patch b/kernel/patches-4.4/0043-fs-add-filp_clone_open-API.patch index a384d3b2b..1c6c5d1c1 100644 --- a/kernel/patches-4.4/0043-fs-add-filp_clone_open-API.patch +++ b/kernel/patches-4.4/0043-fs-add-filp_clone_open-API.patch @@ -1,4 +1,4 @@ -From 5fc2cf4e57f189396851d1954af1b502ab9da55c Mon Sep 17 00:00:00 2001 +From 4f3ad45e7292ab9bacb11f872f10019829ed75a4 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Wed, 17 Feb 2016 16:49:38 -0800 Subject: [PATCH 43/44] fs: add filp_clone_open API diff --git a/kernel/patches-4.4/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch b/kernel/patches-4.4/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch index b69bfacf9..e94fd3b5f 100644 --- a/kernel/patches-4.4/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch +++ b/kernel/patches-4.4/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch @@ -1,4 +1,4 @@ -From 680928026b4253ea4df25a932ca10198aa440ab6 Mon Sep 17 00:00:00 2001 +From cbc6fd69ae20926da84358ee8529184379da259c Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Wed, 17 Feb 2016 16:51:16 -0800 Subject: [PATCH 44/44] binfmt_misc: add persistent opened binary handler for diff --git a/kernel/patches-4.9/0001-hv_sock-introduce-Hyper-V-Sockets.patch b/kernel/patches-4.9/0001-hv_sock-introduce-Hyper-V-Sockets.patch index ee44b865b..ba3983b38 100644 --- a/kernel/patches-4.9/0001-hv_sock-introduce-Hyper-V-Sockets.patch +++ b/kernel/patches-4.9/0001-hv_sock-introduce-Hyper-V-Sockets.patch @@ -1,7 +1,7 @@ -From fb994fc98cd8e945230494ba2750b93805dc2a88 Mon Sep 17 00:00:00 2001 +From 687435d249d10985e1c6d6d6cc143e8004e8b976 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Sat, 23 Jul 2016 01:35:51 +0000 -Subject: [PATCH 1/8] hv_sock: introduce Hyper-V Sockets +Subject: [PATCH 1/7] hv_sock: introduce Hyper-V Sockets Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over diff --git a/kernel/patches-4.9/0002-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch b/kernel/patches-4.9/0002-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch index 5c2471728..a21634ea1 100644 --- a/kernel/patches-4.9/0002-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch +++ b/kernel/patches-4.9/0002-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch @@ -1,7 +1,7 @@ -From 1bca2f8a8059291f0b3f24f11694eafafb413886 Mon Sep 17 00:00:00 2001 +From 554ba8b0c4d9aa719d239b2f97eb59075c6c33d9 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 23 May 2016 18:55:45 +0100 -Subject: [PATCH 2/8] vmbus: Don't spam the logs with unknown GUIDs +Subject: [PATCH 2/7] vmbus: Don't spam the logs with unknown GUIDs With Hyper-V sockets device types are introduced on the fly. The pr_info() then prints a message on every connection, which is way too verbose. Since @@ -14,7 +14,7 @@ Signed-off-by: Rolf Neugebauer 1 file changed, 1 deletion(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c -index cb9531541a12..eec03051da78 100644 +index d8bc4b910192..8df02f3ca0b2 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -192,7 +192,6 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) diff --git a/kernel/patches-4.9/0003-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch b/kernel/patches-4.9/0003-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch index 721a7fde0..9a11ed82e 100644 --- a/kernel/patches-4.9/0003-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch +++ b/kernel/patches-4.9/0003-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch @@ -1,7 +1,7 @@ -From 9db0219d4a8338b91da3a57e61b0238412980596 Mon Sep 17 00:00:00 2001 +From a9c848779876b7b98a6c588494cd20010894fbf1 Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:07 -0800 -Subject: [PATCH 3/8] Drivers: hv: utils: Fix the mapping between host version +Subject: [PATCH 3/7] Drivers: hv: utils: Fix the mapping between host version and protocol to use We should intentionally declare the protocols to use for every known host @@ -10,6 +10,7 @@ and default to using the latest protocol if the host is unknown or new. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit 3da0401b4d0e17aea7526db0235d98fa535d903e) --- drivers/hv/hv_util.c | 9 ++++++--- diff --git a/kernel/patches-4.9/0004-Drivers-hv-vss-Improve-log-messages.patch b/kernel/patches-4.9/0004-Drivers-hv-vss-Improve-log-messages.patch index a7eef5121..37e9cd873 100644 --- a/kernel/patches-4.9/0004-Drivers-hv-vss-Improve-log-messages.patch +++ b/kernel/patches-4.9/0004-Drivers-hv-vss-Improve-log-messages.patch @@ -1,7 +1,7 @@ -From c3e4ab7b456d60a2672cbad46ba0ca31b18ff03b Mon Sep 17 00:00:00 2001 +From ccab2062a98a38bd5ff2d57e184229345ff057ff Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:10 -0800 -Subject: [PATCH 4/8] Drivers: hv: vss: Improve log messages. +Subject: [PATCH 4/7] Drivers: hv: vss: Improve log messages. Adding log messages to help troubleshoot error cases and transaction handling. @@ -9,6 +9,7 @@ handling. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit 23d2cc0c29eb0e7c6fe4cac88098306c31c40208) --- drivers/hv/hv_snapshot.c | 25 +++++++++++++++++++------ diff --git a/kernel/patches-4.9/0005-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch b/kernel/patches-4.9/0005-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch index 93672274e..af697292a 100644 --- a/kernel/patches-4.9/0005-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch +++ b/kernel/patches-4.9/0005-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch @@ -1,7 +1,7 @@ -From dc9e5688dad32ec5874c767b6660665d014a1e45 Mon Sep 17 00:00:00 2001 +From d303deabd611b45b7574015c06ad2d7408235e77 Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:11 -0800 -Subject: [PATCH 5/8] Drivers: hv: vss: Operation timeouts should match host +Subject: [PATCH 5/7] Drivers: hv: vss: Operation timeouts should match host expectation Increase the timeout of backup operations. When system is under I/O load, @@ -11,6 +11,7 @@ host timeout values more closely. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit b357fd3908c1191f2f56e38aa77f2aecdae18bc8) --- drivers/hv/hv_snapshot.c | 8 ++++++-- diff --git a/kernel/patches-4.9/0006-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch b/kernel/patches-4.9/0006-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch index 605ca15b8..433ecfad2 100644 --- a/kernel/patches-4.9/0006-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch +++ b/kernel/patches-4.9/0006-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch @@ -1,7 +1,7 @@ -From 0fd2ca415da1435d5fee3fab638bd5fdc2e1a432 Mon Sep 17 00:00:00 2001 +From bd8b51edd59a3326bf6457fd939e5503ff3f8efb Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:17 -0700 -Subject: [PATCH 6/8] Drivers: hv: vmbus: Use all supported IC versions to +Subject: [PATCH 6/7] Drivers: hv: vmbus: Use all supported IC versions to negotiate Previously, we were assuming that each IC protocol version was tied to a @@ -22,6 +22,7 @@ Reported-by: Rolf Neugebauer Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit a1656454131880980bc3a5313c8bf66ef5990c91) --- drivers/hv/channel_mgmt.c | 80 +++++++++++++++++++++++++++------------- @@ -33,7 +34,7 @@ Signed-off-by: Greg Kroah-Hartman 6 files changed, 154 insertions(+), 106 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c -index eec03051da78..84c5bc352034 100644 +index 8df02f3ca0b2..e7949b64bfbc 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -202,33 +202,34 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) diff --git a/kernel/patches-4.9/0007-Drivers-hv-Log-the-negotiated-IC-versions.patch b/kernel/patches-4.9/0007-Drivers-hv-Log-the-negotiated-IC-versions.patch index 8d718403c..28295c497 100644 --- a/kernel/patches-4.9/0007-Drivers-hv-Log-the-negotiated-IC-versions.patch +++ b/kernel/patches-4.9/0007-Drivers-hv-Log-the-negotiated-IC-versions.patch @@ -1,13 +1,14 @@ -From ae3d3b814fdd28fe77eb7ec2e7b32046d3b11fcb Mon Sep 17 00:00:00 2001 +From d692ce39b600298e6c60481d46c284c3c1bf975f Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:18 -0700 -Subject: [PATCH 7/8] Drivers: hv: Log the negotiated IC versions. +Subject: [PATCH 7/7] Drivers: hv: Log the negotiated IC versions. Log the negotiated IC versions. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman +Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (cherry picked from commit 1274a690f6b2bd2b37447c47e3062afa8aa43f93) --- drivers/hv/hv_fcopy.c | 9 +++++++-- diff --git a/kernel/patches-4.9/0008-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch b/kernel/patches-4.9/0008-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch deleted file mode 100644 index 3a02285d9..000000000 --- a/kernel/patches-4.9/0008-Drivers-hv-vmbus-Don-t-leak-memory-when-a-channel-is.patch +++ /dev/null @@ -1,47 +0,0 @@ -From a8c7a3307f4a4a2cff3cd66ae90aeb45c2cfe017 Mon Sep 17 00:00:00 2001 -From: "K. Y. Srinivasan" -Date: Sun, 12 Mar 2017 20:00:30 -0700 -Subject: [PATCH 8/8] Drivers: hv: vmbus: Don't leak memory when a channel is - rescinded - -When we close a channel that has been rescinded, we will leak memory since -vmbus_teardown_gpadl() returns an error. Fix this so that we can properly -cleanup the memory allocated to the ring buffers. - -Fixes: ccb61f8a99e6 ("Drivers: hv: vmbus: Fix a rescind handling bug") - -Signed-off-by: K. Y. Srinivasan -Signed-off-by: Greg Kroah-Hartman -(cherry picked from commit 5e030d5ce9d99a899b648413139ff65bab12b038) ---- - drivers/hv/channel.c | 13 ++++++++----- - 1 file changed, 8 insertions(+), 5 deletions(-) - -diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c -index be34547cdb68..1606e7f08f4b 100644 ---- a/drivers/hv/channel.c -+++ b/drivers/hv/channel.c -@@ -506,12 +506,15 @@ int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle) - - wait_for_completion(&info->waitevent); - -- if (channel->rescind) { -- ret = -ENODEV; -- goto post_msg_err; -- } -- - post_msg_err: -+ /* -+ * If the channel has been rescinded; -+ * we will be awakened by the rescind -+ * handler; set the error code to zero so we don't leak memory. -+ */ -+ if (channel->rescind) -+ ret = 0; -+ - spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); - list_del(&info->msglistentry); - spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); --- -2.11.0 -