From 139c48db9aa9c0c615691e47a7e3d8b34e317005 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 13 Mar 2017 10:24:11 +0000 Subject: [PATCH] kernel: Update to 4.9.14/4.4.53 Signed-off-by: Rolf Neugebauer --- kernel/Dockerfile | 2 +- kernel/Dockerfile.4.4 | 2 +- kernel/Dockerfile.aufs | 2 +- ...make-find_vqs-checkpatch.pl-friendly.patch | 2 +- ...vmci_transport_notify_ops-structures.patch | 2 +- ...the-area-influenced-by-prepare_to_wa.patch | 2 +- ...istener-child-lock-ordering-explicit.patch | 2 +- ...t-specific-vsock_transport-functions.patch | 2 +- ...OCK-defer-sock-removal-to-transports.patch | 2 +- ...OCK-Introduce-virtio_vsock_common.ko.patch | 2 +- ...-VSOCK-Introduce-virtio_transport.ko.patch | 2 +- .../0009-VSOCK-Introduce-vhost_vsock.ko.patch | 2 +- .../0010-VSOCK-Add-Makefile-and-Kconfig.patch | 2 +- .../patches-4.4/0011-VSOCK-Use-kvfree.patch | 2 +- ...vhost-virtio_vsock_pkt-use-after-fre.patch | 2 +- ...-virtio-vsock-fix-include-guard-typo.patch | 2 +- ...drop-space-available-check-for-TX-vq.patch | 2 +- ...-host-network-namespace-to-use-AF_VS.patch | 2 +- ...e-the-channel-type-for-Hyper-V-PCI-E.patch | 2 +- ...-vmbus-Use-uuid_le-type-consistently.patch | 2 +- ...-Use-uuid_le_cmp-for-comparing-GUIDs.patch | 2 +- ...-do-sanity-check-of-channel-state-in.patch | 2 +- ...-release-relid-on-error-in-vmbus_pro.patch | 2 +- ...-channge-vmbus_connection.channel_lo.patch | 2 +- ...e-code-duplication-between-vmbus_rec.patch | 2 +- ...-fix-the-building-warning-with-hyper.patch | 2 +- ...-Treat-Fibre-Channel-devices-as-perf.patch | 2 +- ...us-Add-vendor-and-device-atttributes.patch | 2 +- ...-add-a-helper-function-to-set-a-chan.patch | 2 +- ...-define-the-new-offer-type-for-Hyper.patch | 2 +- ...-vmbus_sendpacket_ctl-hvsock-avoid-u.patch | 2 +- ...-define-a-new-VMBus-message-type-for.patch | 2 +- ...-add-a-hvsock-flag-in-struct-hv_driv.patch | 2 +- ...s-add-a-per-channel-rescind-callback.patch | 2 +- ...-add-an-API-vmbus_hvsock_device_unre.patch | 2 +- ...-Give-control-over-how-the-ring-acce.patch | 2 +- ...s-avoid-wait_for_completion-on-crash.patch | 2 +- ...-avoid-unneeded-compiler-optimizatio.patch | 2 +- ...Kernel-Connection-Multiplexor-module.patch | 2 +- ...AF_KCM-entries-to-family-name-tables.patch | 2 +- .../0038-net-Add-Qualcomm-IPC-router.patch | 2 +- ...39-hv_sock-introduce-Hyper-V-Sockets.patch | 2 +- ...HYPERV-entries-to-family-name-tables.patch | 2 +- ...-fix-the-race-when-querying-updating.patch | 2 +- ...n-t-spam-the-logs-with-unknown-GUIDs.patch | 2 +- .../0043-fs-add-filp_clone_open-API.patch | 2 +- ...persistent-opened-binary-handler-for.patch | 2 +- ...01-hv_sock-introduce-Hyper-V-Sockets.patch | 6 ++-- ...n-t-spam-the-logs-with-unknown-GUIDs.patch | 6 ++-- ...-Fix-the-mapping-between-host-versio.patch | 2 +- ...-Drivers-hv-vss-Improve-log-messages.patch | 18 +++++----- ...peration-timeouts-should-match-host-.patch | 6 ++-- ...-Use-all-supported-IC-versions-to-ne.patch | 34 +++++++++---------- ...rs-hv-Log-the-negotiated-IC-versions.patch | 16 ++++----- ...acct-Show-all-possible-CPUs-in-cpuac.patch | 2 +- 55 files changed, 92 insertions(+), 92 deletions(-) diff --git a/kernel/Dockerfile b/kernel/Dockerfile index dc16e92ef..0ba02a6fc 100644 --- a/kernel/Dockerfile +++ b/kernel/Dockerfile @@ -1,6 +1,6 @@ FROM mobylinux/alpine-build-kernel:0e893fbf6fa7638d2f23354de03ea11017bb8065@sha256:3ef3f9d11f0802b759dbd9c43a7706cf0ec37263c99ae90e2b10c29ea85739fa -ARG KERNEL_VERSION=4.9.13 +ARG KERNEL_VERSION=4.9.14 ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz diff --git a/kernel/Dockerfile.4.4 b/kernel/Dockerfile.4.4 index 74a4186a5..be702ba7f 100644 --- a/kernel/Dockerfile.4.4 +++ b/kernel/Dockerfile.4.4 @@ -1,6 +1,6 @@ FROM mobylinux/alpine-build-kernel:0e893fbf6fa7638d2f23354de03ea11017bb8065@sha256:3ef3f9d11f0802b759dbd9c43a7706cf0ec37263c99ae90e2b10c29ea85739fa -ARG KERNEL_VERSION=4.4.52 +ARG KERNEL_VERSION=4.4.53 ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz diff --git a/kernel/Dockerfile.aufs b/kernel/Dockerfile.aufs index 049bd506f..e41ac77ca 100644 --- a/kernel/Dockerfile.aufs +++ b/kernel/Dockerfile.aufs @@ -1,6 +1,6 @@ FROM mobylinux/alpine-build-kernel:0e893fbf6fa7638d2f23354de03ea11017bb8065@sha256:3ef3f9d11f0802b759dbd9c43a7706cf0ec37263c99ae90e2b10c29ea85739fa -ARG KERNEL_VERSION=4.9.13 +ARG KERNEL_VERSION=4.9.14 ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz 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 0de8f64d8..9ab8d6dc7 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 61fd78e577c0ad4cf846a84351b13da5ecc6529c Mon Sep 17 00:00:00 2001 +From 3247d3efb81d465443e5f1c3cc99527d6a68afa9 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 996bd14d0..5aac2ae57 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 d638b1657598b761e74ef34ce5cb01cf22e75cfd Mon Sep 17 00:00:00 2001 +From 0a88e8e232e42df1cd4a9ff4a4e68a279103f7bb 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 c80270a6d..1baee8cfb 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 9cd649375dc0c366f0ee49778bc2e3a534de40ac Mon Sep 17 00:00:00 2001 +From 3254fabd754480a38330011ac1486e567b6e6d4e 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 040ee6262..a8410a16a 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 e5f12706f75153a82dda557617bbbf6b6de67470 Mon Sep 17 00:00:00 2001 +From 5e399aa12f346742c3e1c46fd9598fccd68a4df5 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 3b732a588..98ac5e702 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 cb7c352af631d64e59189401405150e29fd4a7f8 Mon Sep 17 00:00:00 2001 +From bcc3cbccc720bcd66fc4418971b17d3844628dbc 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 3d2445469..3a1a158da 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 be87c5fd456e2acc03dea851b0bbaf57d8bddf39 Mon Sep 17 00:00:00 2001 +From fac2f720ce4b9ce30130f8fde036b6985262b281 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 0702b236b..27b26fef0 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 e0d432e7d0f2b62d39ffeaf0096247cc6eb9f27d Mon Sep 17 00:00:00 2001 +From f756f520610ddd03c679a38e315a16267b777c24 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 e77c5c6d0..16469fbb3 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 34215f3d72602df6e056d457dff163a0f65fcfa8 Mon Sep 17 00:00:00 2001 +From 7305ac5886d0b7d8f245de4c6fa6f963bf49a8a9 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 2d23a37b6..f31c43084 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 f6fb17811a7684a76293fb84def472f773e85825 Mon Sep 17 00:00:00 2001 +From e3db1c881c956cb558ce0154addd5301f7f326c4 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 cfeb463e7..0667d840f 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 a9e459bcacb097673802a413cd146ab65d626521 Mon Sep 17 00:00:00 2001 +From 7224f245903e82d9e40f7f7ec4ccb5aff5014665 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 f946f8124..08a39fa18 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 3b72c7081f90eb9032e3545c2194690cfabc4037 Mon Sep 17 00:00:00 2001 +From 1e24515f29eeb42e49e32ea096ce583842d7b092 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 c7a5461a7..22d698bae 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 e98f7f6c76db85e9c09c40afb57ca36ff83fbc03 Mon Sep 17 00:00:00 2001 +From b25b992d75038beed1b918fd84007e5c5dcedee2 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 3862068fc..be19fc6e5 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 aca33630bfcc3ad5a44bd5499ce2e976b4006c76 Mon Sep 17 00:00:00 2001 +From 2d54f65074f426f650d76ffa47b98e3563ed5d37 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 420a3d365..6210a2643 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 8377afb64aa0d336492491dcef219ffca537ef20 Mon Sep 17 00:00:00 2001 +From 9ca193d238198f5bfd257d9cf23e6ea3eaf5a750 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 9d17fa4bc..f580ec6ba 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 6217992949cab54dfe9b2ed7fbf63fceda5a5e5d Mon Sep 17 00:00:00 2001 +From 94c31786eeb29deba039222f0ec8394c8fbaa958 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 1fa6ac4a0..4c331a533 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 a008f6f11d416c149a54dfcc24b67a3af0bbb196 Mon Sep 17 00:00:00 2001 +From 8bc3570d70144392f4cb9477a9f19f45ff811cfe 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 8b3dfc1d5..c50020821 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 5bcf2e656a95f4c7812c2473f320ab2e5f66ae12 Mon Sep 17 00:00:00 2001 +From 74e2d74721529e9f44f6500bd0c90a5601fb5981 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 ed42b0d96..ef98befde 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 28758e28a85238fbd9e6050968fd6f9748063e87 Mon Sep 17 00:00:00 2001 +From 0d31ba30a350496bb87203be3ae5f501186c5334 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 0e4100e60..4889e0e09 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 623f4735ea34630bf97a9fb8be88917ab9b9d8eb Mon Sep 17 00:00:00 2001 +From 46c7a28c9aeafd62011b50f01ba518cce7439b7c 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 ff4b19fc2..8f72ca975 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 3345d00f57e35ba814398aa5e56f3a6f0c875b1d Mon Sep 17 00:00:00 2001 +From ca1c2f8adbc0c5e43268709aeed0e0956c478817 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 3e327a1c4..313affb3b 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 f98b8d24c4f556bace1361fead9c87ff4f4e7ab5 Mon Sep 17 00:00:00 2001 +From 560c5b15605425580121c4b2becf662d3e65999b 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 43a5df3a1..1f90d9229 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 3883966d04d1cd764f712500c7d52be256f796f7 Mon Sep 17 00:00:00 2001 +From d066a5bd191442f963533472b1d17f9c05a0e513 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 9d7a4da6d..e84c94025 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 ac7407444fd7662f5cbc47d2de5316af3840a4cc Mon Sep 17 00:00:00 2001 +From 21e7a12713add87e07fc7c7bad297756e3696d89 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 8400a2d77..2ae5cdda6 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 72819f973a71e2529aa93f6c59b4d68278e70fbe Mon Sep 17 00:00:00 2001 +From 030ac68c95ab4f5d9d66bfdd66a4e2faed2589f3 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 c183217c2..d176352fd 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 4e1e3ae98d72583536544987346730da4b9305a3 Mon Sep 17 00:00:00 2001 +From a22b78a8df078dc1d742b2093f8d9c6509e29471 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 0d4795e89..2f2b41e80 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 aa6af3964a88a8baadb5bd6848a94d52f4adfaff Mon Sep 17 00:00:00 2001 +From 2c64ddb05c8a33a06578438c13d1ed5b341664ed 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 0e769d071..118ae8ad0 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 f41fec2934967e925d154eb0cb62cc1f37a024cc Mon Sep 17 00:00:00 2001 +From d5213ccf1d6b6e368f98f007a145589bcb17c68c 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 e815bd08a..08259e7af 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 65c318e1beda9203c974404b9885e7984dabae52 Mon Sep 17 00:00:00 2001 +From 71575d3859e1e266d4e191e247282797dd854768 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 d603281ed..ecfbb59da 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 d053263d02730b3360f9b6aa1942b50b1f93cafe Mon Sep 17 00:00:00 2001 +From b59f3723439788baff877ccded7dfcda32442e55 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 bb9622685..405dfeafd 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 75436f45b4e10256cd7c90da6f2ba2266244ca49 Mon Sep 17 00:00:00 2001 +From 5d0ff4663cd87d9706b4a5c28feb25305f316616 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 e5b27068a..9df4b2fa4 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 33893990d278bc6b7c8c62468c62015a356cf58c Mon Sep 17 00:00:00 2001 +From 528c592401f89ff6683137c26de3438a750c98c0 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 d0eb1704c..354f29f54 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 9bf2e0198bf6779bf7bfe7919f1cd94ebf598f4b Mon Sep 17 00:00:00 2001 +From ba12f022ab72dbbff7e9274500a96fcab2343978 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 bc2a810f9..e950875ee 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 a7b531766523d2d56f5381dfea440b842c109460 Mon Sep 17 00:00:00 2001 +From eb877112c6698db44f53f63579ece520f8651c5c 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 3654f6f69..810ee9783 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 8aff0f967c2347a696e09f7e30877c8284d1403c Mon Sep 17 00:00:00 2001 +From ca07d97610e2210deeba00f0161bea1e18238f7f 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 fa32beca8..823978127 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 901dfe5ad0617751557dbb203e2370c7242fa931 Mon Sep 17 00:00:00 2001 +From d644b3a159b02684a1f29b28e6d28f03f0cd659f 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 9f06591cb..e8394a4ae 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 7ec56ec44593bc606bd40fba8ccb5cec92b05d75 Mon Sep 17 00:00:00 2001 +From f61565bbb3efb2b1e84871047ddc094840967d9c 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 3a9b09e69..1be890fbc 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 32fcb98b37a4ec3cfef9fa4c3d205cb7579ddc74 Mon Sep 17 00:00:00 2001 +From 3347db40b4ef57faa7dcff91a11c7f45711047e1 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 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 366c22767..16a989402 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 9b6a4edfffa580fe858336e8d792768805745b7c Mon Sep 17 00:00:00 2001 +From 4b58120e6407f37dc524dcdb4a591d633128ce04 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 6d0304b79..41e7226f4 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 7a7a1b5ed3865184862a8415347c5e130ea6916e Mon Sep 17 00:00:00 2001 +From 37b905903a0f23cf02c50cbe7fca26b3c16cef51 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 f94dd3744..26d66e4e6 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 fc1a21d7c5bce89b9debee9cd661b19a37514ebc Mon Sep 17 00:00:00 2001 +From 45546091783d2d6eead5bf5fe51623437aa369f4 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 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 959b877c1..f7c1ee631 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 d8244658cbec488c1aad828c3a28418c98c96b57 Mon Sep 17 00:00:00 2001 +From fe368d8b6958fb731157d62f5a2e1fe0ba6c507d 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 f16afb1da..ed14c4e4a 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 aff9a6c4df568a7293e808f0b4f880eef49fa17b Mon Sep 17 00:00:00 2001 +From 322d99fa5019eb1eec34dc59d5bcc8d90ae23510 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 2c468dc39..6c97ee59f 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 7b86296622c6f12cfdf70293d5a82baef3fd3639 Mon Sep 17 00:00:00 2001 +From c88d4bfaef2cb2e4b9ef8e7f2d544ca7387a5555 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 f1b2dd7f1..87356f32b 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 3b851274a7e4f2af30b0aaf70565910ee133417e Mon Sep 17 00:00:00 2001 +From ab7eb9f6a008d965f4683e5600646e931480117a 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 72197833f..f63abbcfd 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,4 +1,4 @@ -From a05e78c17f0efb88f2dca0c91b577930ec8fceef Mon Sep 17 00:00:00 2001 +From 5438a55280cf85a915cf7831b95c853afa842c2e 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 @@ -56,10 +56,10 @@ index 63cefa62324c..e64920219d88 100644 F: Documentation/ABI/stable/sysfs-bus-vmbus diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h -index c92a083bcf16..e34da6846348 100644 +index 192eef2fd766..4148c98dba24 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h -@@ -1622,5 +1622,18 @@ static inline void commit_rd_index(struct vmbus_channel *channel) +@@ -1623,5 +1623,18 @@ static inline void commit_rd_index(struct vmbus_channel *channel) hv_signal_on_read(channel); } 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 f785b7b5c..3ed0982f1 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,4 +1,4 @@ -From 0d87652417884b13270151b427e060f26e59c375 Mon Sep 17 00:00:00 2001 +From 24f244ee525e4457775e079ab2bb0d1719341e96 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 @@ -14,10 +14,10 @@ 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 caf341842464..8f3d9f787288 100644 +index cb9531541a12..eec03051da78 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c -@@ -169,7 +169,6 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) +@@ -192,7 +192,6 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) if (!uuid_le_cmp(*guid, vmbus_devs[i].guid)) return i; } 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 3f01bc713..bbdd10831 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,4 +1,4 @@ -From d59f45195664c102c5b9f135627a2da5d1427034 Mon Sep 17 00:00:00 2001 +From 9f42076d516a01e8e69d71bb7337100fd9521fd0 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 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 88d99a79d..2258f3457 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,4 +1,4 @@ -From 04695dd9fb11a46597a6b4cb4e9ba7f5f0ec0cea Mon Sep 17 00:00:00 2001 +From 49295dc732b4a50c709f92b205746156ed435c9f 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. @@ -15,10 +15,10 @@ Signed-off-by: Greg Kroah-Hartman 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/hv/hv_snapshot.c b/drivers/hv/hv_snapshot.c -index a6707133c297..5c95ba1e2ecf 100644 +index a76e3db0d01f..b1446d51ef45 100644 --- a/drivers/hv/hv_snapshot.c +++ b/drivers/hv/hv_snapshot.c -@@ -120,7 +120,7 @@ static int vss_handle_handshake(struct hv_vss_msg *vss_msg) +@@ -121,7 +121,7 @@ static int vss_handle_handshake(struct hv_vss_msg *vss_msg) default: return -EINVAL; } @@ -27,7 +27,7 @@ index a6707133c297..5c95ba1e2ecf 100644 return 0; } -@@ -128,8 +128,10 @@ static int vss_on_msg(void *msg, int len) +@@ -129,8 +129,10 @@ static int vss_on_msg(void *msg, int len) { struct hv_vss_msg *vss_msg = (struct hv_vss_msg *)msg; @@ -39,7 +39,7 @@ index a6707133c297..5c95ba1e2ecf 100644 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { -@@ -137,8 +139,11 @@ static int vss_on_msg(void *msg, int len) +@@ -138,8 +140,11 @@ static int vss_on_msg(void *msg, int len) * Don't process registration messages if we're in the middle * of a transaction processing. */ @@ -52,7 +52,7 @@ index a6707133c297..5c95ba1e2ecf 100644 return vss_handle_handshake(vss_msg); } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) { vss_transaction.state = HVUTIL_USERSPACE_RECV; -@@ -155,7 +160,7 @@ static int vss_on_msg(void *msg, int len) +@@ -156,7 +161,7 @@ static int vss_on_msg(void *msg, int len) } } else { /* This is a spurious call! */ @@ -61,7 +61,7 @@ index a6707133c297..5c95ba1e2ecf 100644 return -EINVAL; } return 0; -@@ -168,8 +173,10 @@ static void vss_send_op(void) +@@ -169,8 +174,10 @@ static void vss_send_op(void) struct hv_vss_msg *vss_msg; /* The transaction state is wrong. */ @@ -73,7 +73,7 @@ index a6707133c297..5c95ba1e2ecf 100644 vss_msg = kzalloc(sizeof(*vss_msg), GFP_KERNEL); if (!vss_msg) -@@ -210,9 +217,13 @@ static void vss_handle_request(struct work_struct *dummy) +@@ -211,9 +218,13 @@ static void vss_handle_request(struct work_struct *dummy) case VSS_OP_HOT_BACKUP: if (vss_transaction.state < HVUTIL_READY) { /* Userspace is not registered yet */ @@ -87,7 +87,7 @@ index a6707133c297..5c95ba1e2ecf 100644 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED; vss_send_op(); return; -@@ -353,8 +364,10 @@ hv_vss_init(struct hv_util_service *srv) +@@ -356,8 +367,10 @@ hv_vss_init(struct hv_util_service *srv) hvt = hvutil_transport_init(vss_devname, CN_VSS_IDX, CN_VSS_VAL, vss_on_msg, vss_on_reset); 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 620361d81..98b2c78ad 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,4 +1,4 @@ -From 461049b10ecef001bc7fb056539d2e96578bf133 Mon Sep 17 00:00:00 2001 +From fd61ab2432afbbc72d5d8ce5f8a7eaa226b81110 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 @@ -17,7 +17,7 @@ Signed-off-by: Greg Kroah-Hartman 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/hv/hv_snapshot.c b/drivers/hv/hv_snapshot.c -index 5c95ba1e2ecf..eee238cc60bd 100644 +index b1446d51ef45..4e543dbb731a 100644 --- a/drivers/hv/hv_snapshot.c +++ b/drivers/hv/hv_snapshot.c @@ -31,7 +31,10 @@ @@ -32,7 +32,7 @@ index 5c95ba1e2ecf..eee238cc60bd 100644 /* * Global state maintained for transaction that is being processed. For a class -@@ -186,7 +189,8 @@ static void vss_send_op(void) +@@ -187,7 +190,8 @@ static void vss_send_op(void) vss_transaction.state = HVUTIL_USERSPACE_REQ; 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 3d4ee564b..4db4b19a3 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,4 +1,4 @@ -From 54ac3db2f284a4f4885f319f90ca8e23bf5e1c05 Mon Sep 17 00:00:00 2001 +From c14439147f536e0a5c91123fc5a8e2f69cd9bc1c 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 @@ -33,10 +33,10 @@ 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 8f3d9f787288..672a8859a3e9 100644 +index eec03051da78..84c5bc352034 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c -@@ -179,33 +179,34 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) +@@ -202,33 +202,34 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) * @buf: Raw buffer channel data * * @icmsghdrp is of type &struct icmsg_hdr. @@ -84,7 +84,7 @@ index 8f3d9f787288..672a8859a3e9 100644 negop = (struct icmsg_negotiate *)&buf[ sizeof(struct vmbuspipe_hdr) + sizeof(struct icmsg_hdr)]; -@@ -221,13 +222,22 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, +@@ -244,13 +245,22 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, * support. */ @@ -113,7 +113,7 @@ index 8f3d9f787288..672a8859a3e9 100644 } if (!found_match) -@@ -235,14 +245,26 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, +@@ -258,14 +268,26 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, found_match = false; @@ -147,7 +147,7 @@ index 8f3d9f787288..672a8859a3e9 100644 } /* -@@ -259,6 +281,12 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, +@@ -282,6 +304,12 @@ bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, negop->icmsg_vercnt = 1; } @@ -161,7 +161,7 @@ index 8f3d9f787288..672a8859a3e9 100644 negop->icversion_data[0].minor = icframe_minor; negop->icversion_data[1].major = icmsg_major; diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c -index 8b2ba98831ec..3e3a633cab58 100644 +index e47d8c9db03a..0a315e6aa589 100644 --- a/drivers/hv/hv_fcopy.c +++ b/drivers/hv/hv_fcopy.c @@ -31,6 +31,16 @@ @@ -181,7 +181,7 @@ index 8b2ba98831ec..3e3a633cab58 100644 /* * Global state maintained for transaction that is being processed. * For a class of integration services, including the "file copy service", -@@ -227,8 +237,6 @@ void hv_fcopy_onchannelcallback(void *context) +@@ -228,8 +238,6 @@ void hv_fcopy_onchannelcallback(void *context) u64 requestid; struct hv_fcopy_hdr *fcopy_msg; struct icmsg_hdr *icmsghdr; @@ -190,7 +190,7 @@ index 8b2ba98831ec..3e3a633cab58 100644 int fcopy_srv_version; if (fcopy_transaction.state > HVUTIL_READY) -@@ -242,10 +250,10 @@ void hv_fcopy_onchannelcallback(void *context) +@@ -243,10 +251,10 @@ void hv_fcopy_onchannelcallback(void *context) icmsghdr = (struct icmsg_hdr *)&recv_buffer[ sizeof(struct vmbuspipe_hdr)]; if (icmsghdr->icmsgtype == ICMSGTYPE_NEGOTIATE) { @@ -206,7 +206,7 @@ index 8b2ba98831ec..3e3a633cab58 100644 fcopy_msg = (struct hv_fcopy_hdr *)&recv_buffer[ sizeof(struct vmbuspipe_hdr) + diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c -index 5e1fdc8d32ab..70c28b8806de 100644 +index 3abfc5983c97..2cc670442f6c 100644 --- a/drivers/hv/hv_kvp.c +++ b/drivers/hv/hv_kvp.c @@ -46,6 +46,19 @@ @@ -229,7 +229,7 @@ index 5e1fdc8d32ab..70c28b8806de 100644 /* * Global state maintained for transaction that is being processed. For a class * of integration services, including the "KVP service", the specified protocol -@@ -609,8 +622,6 @@ void hv_kvp_onchannelcallback(void *context) +@@ -610,8 +623,6 @@ void hv_kvp_onchannelcallback(void *context) struct hv_kvp_msg *kvp_msg; struct icmsg_hdr *icmsghdrp; @@ -238,7 +238,7 @@ index 5e1fdc8d32ab..70c28b8806de 100644 int kvp_srv_version; static enum {NEGO_NOT_STARTED, NEGO_IN_PROGRESS, -@@ -639,28 +650,10 @@ void hv_kvp_onchannelcallback(void *context) +@@ -640,28 +651,10 @@ void hv_kvp_onchannelcallback(void *context) sizeof(struct vmbuspipe_hdr)]; if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { @@ -272,7 +272,7 @@ index 5e1fdc8d32ab..70c28b8806de 100644 kvp_msg = (struct hv_kvp_msg *)&recv_buffer[ sizeof(struct vmbuspipe_hdr) + diff --git a/drivers/hv/hv_snapshot.c b/drivers/hv/hv_snapshot.c -index eee238cc60bd..8e62bf7f6265 100644 +index 4e543dbb731a..d14f10b924a0 100644 --- a/drivers/hv/hv_snapshot.c +++ b/drivers/hv/hv_snapshot.c @@ -31,6 +31,16 @@ @@ -292,7 +292,7 @@ index eee238cc60bd..8e62bf7f6265 100644 /* * Timeout values are based on expecations from host */ -@@ -296,7 +306,6 @@ void hv_vss_onchannelcallback(void *context) +@@ -297,7 +307,6 @@ void hv_vss_onchannelcallback(void *context) struct icmsg_hdr *icmsghdrp; @@ -300,7 +300,7 @@ index eee238cc60bd..8e62bf7f6265 100644 if (vss_transaction.state > HVUTIL_READY) return; -@@ -309,9 +318,10 @@ void hv_vss_onchannelcallback(void *context) +@@ -310,9 +319,10 @@ void hv_vss_onchannelcallback(void *context) sizeof(struct vmbuspipe_hdr)]; if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { @@ -469,10 +469,10 @@ index e7707747f56d..f3797c07be10 100644 srv->util_cb, dev->channel); if (ret) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h -index e34da6846348..6c3ed0c001ff 100644 +index 4148c98dba24..514cdf390370 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h -@@ -1452,9 +1452,10 @@ struct hyperv_service_callback { +@@ -1453,9 +1453,10 @@ struct hyperv_service_callback { }; #define MAX_SRV_VER 0x7ffffff 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 c2cb5bba7..eb8688fdc 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,4 +1,4 @@ -From 9152d9869acc43f61cb8070219a1da678a51ea32 Mon Sep 17 00:00:00 2001 +From 7dff3cafcae06e10d568956b988b88e5fc90926e 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. @@ -17,10 +17,10 @@ Signed-off-by: Greg Kroah-Hartman 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c -index 3e3a633cab58..a5596a642ed0 100644 +index 0a315e6aa589..9aee6014339d 100644 --- a/drivers/hv/hv_fcopy.c +++ b/drivers/hv/hv_fcopy.c -@@ -250,10 +250,15 @@ void hv_fcopy_onchannelcallback(void *context) +@@ -251,10 +251,15 @@ void hv_fcopy_onchannelcallback(void *context) icmsghdr = (struct icmsg_hdr *)&recv_buffer[ sizeof(struct vmbuspipe_hdr)]; if (icmsghdr->icmsgtype == ICMSGTYPE_NEGOTIATE) { @@ -39,10 +39,10 @@ index 3e3a633cab58..a5596a642ed0 100644 fcopy_msg = (struct hv_fcopy_hdr *)&recv_buffer[ sizeof(struct vmbuspipe_hdr) + diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c -index 70c28b8806de..a1adfe2cfb34 100644 +index 2cc670442f6c..de263712e247 100644 --- a/drivers/hv/hv_kvp.c +++ b/drivers/hv/hv_kvp.c -@@ -650,10 +650,14 @@ void hv_kvp_onchannelcallback(void *context) +@@ -651,10 +651,14 @@ void hv_kvp_onchannelcallback(void *context) sizeof(struct vmbuspipe_hdr)]; if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { @@ -60,10 +60,10 @@ index 70c28b8806de..a1adfe2cfb34 100644 kvp_msg = (struct hv_kvp_msg *)&recv_buffer[ sizeof(struct vmbuspipe_hdr) + diff --git a/drivers/hv/hv_snapshot.c b/drivers/hv/hv_snapshot.c -index 8e62bf7f6265..e659d1b94a57 100644 +index d14f10b924a0..bcc03f0748d6 100644 --- a/drivers/hv/hv_snapshot.c +++ b/drivers/hv/hv_snapshot.c -@@ -303,7 +303,7 @@ void hv_vss_onchannelcallback(void *context) +@@ -304,7 +304,7 @@ void hv_vss_onchannelcallback(void *context) u32 recvlen; u64 requestid; struct hv_vss_msg *vss_msg; @@ -72,7 +72,7 @@ index 8e62bf7f6265..e659d1b94a57 100644 struct icmsg_hdr *icmsghdrp; -@@ -318,10 +318,15 @@ void hv_vss_onchannelcallback(void *context) +@@ -319,10 +319,15 @@ void hv_vss_onchannelcallback(void *context) sizeof(struct vmbuspipe_hdr)]; if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { diff --git a/kernel/patches-4.9/0008-Revert-sched-cpuacct-Show-all-possible-CPUs-in-cpuac.patch b/kernel/patches-4.9/0008-Revert-sched-cpuacct-Show-all-possible-CPUs-in-cpuac.patch index e01e33ed7..c390cf97a 100644 --- a/kernel/patches-4.9/0008-Revert-sched-cpuacct-Show-all-possible-CPUs-in-cpuac.patch +++ b/kernel/patches-4.9/0008-Revert-sched-cpuacct-Show-all-possible-CPUs-in-cpuac.patch @@ -1,4 +1,4 @@ -From 3fc81fca77e4368e219e528880d9fcd871506bf0 Mon Sep 17 00:00:00 2001 +From 5ce1896fbe1de3c393f8275fc3ac92b9521a5a41 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 17 Feb 2017 11:45:31 +0000 Subject: [PATCH 8/8] Revert "sched/cpuacct: Show all possible CPUs in cpuacct