From aa9b718d8ae450e803992ce0ac73e8737dd08c81 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Fri, 7 Jul 2017 18:11:05 +0100 Subject: [PATCH 1/2] kernel: Update to 4.11.9/4.9.36/4.4.76 Added a new patch to the 4.11 and 4.9 kernels based on a patch submitted to stable: https://patchwork.kernel.org/patch/9829039/ This patch fixes a off-by-one error in the VMBus code. Signed-off-by: Rolf Neugebauer --- kernel/Makefile | 10 ++-- kernel/kernel_config-4.11.x | 2 +- kernel/kernel_config-4.4.x | 2 +- kernel/kernel_config-4.9.x | 2 +- ...ools-build-Add-test-for-sched_getcpu.patch | 4 +- ...s-introduce-in-place-packet-iterator.patch | 4 +- ...en-reset-onchannel_callback-on-error.patch | 4 +- ...tching-tasklet_enable-in-vmbus_close.patch | 4 +- ...to-error_clean_msglist-in-vmbus_open.patch | 4 +- ...y-enqueue-dequeue-a-channel-on-vmbus.patch | 4 +- ...ts-Hyper-V-transport-for-Virtual-Soc.patch | 4 +- ...nly-try-to-load-on-VMware-hypervisor.patch | 4 +- ...sock-add-the-support-of-auto-loading.patch | 4 +- ...ock-fix-a-race-in-hvs_stream_dequeue.patch | 4 +- ...ix-vsock_dequeue-enqueue_accept-race.patch | 4 +- ...rivers-hv-vmbus-Fix-rescind-handling.patch | 4 +- ...s-fix-hv_percpu_channel_deq-enq-race.patch | 4 +- ...d-vmbus-onoffer-onoffer_rescind-sync.patch | 4 +- ...issed-signaling-in-hv_signal_on_read.patch | 47 +++++++++++++++++++ ...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.x/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 +- ...ools-build-Add-test-for-sched_getcpu.patch | 4 +- ...returning-garbage-for-a-ret-variable.patch | 4 +- ...03-hv_sock-introduce-Hyper-V-Sockets.patch | 4 +- ...n-t-spam-the-logs-with-unknown-GUIDs.patch | 4 +- ...-Fix-the-mapping-between-host-versio.patch | 4 +- ...-Drivers-hv-vss-Improve-log-messages.patch | 4 +- ...peration-timeouts-should-match-host-.patch | 4 +- ...-Use-all-supported-IC-versions-to-ne.patch | 4 +- ...rs-hv-Log-the-negotiated-IC-versions.patch | 4 +- ...vmbus-fix-missed-ring-events-on-boot.patch | 4 +- ...to-error_clean_msglist-in-vmbus_open.patch | 4 +- ...y-enqueue-dequeue-the-channel-on-vmb.patch | 4 +- ...issed-signaling-in-hv_signal_on_read.patch | 47 +++++++++++++++++++ 76 files changed, 198 insertions(+), 104 deletions(-) create mode 100644 kernel/patches-4.11.x/0015-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch create mode 100644 kernel/patches-4.9.x/0013-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch diff --git a/kernel/Makefile b/kernel/Makefile index fc4e1a6be..b1e56cff8 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -92,8 +92,8 @@ endef # Build Targets # Debug targets only for latest stable and LTS stable # -$(eval $(call kernel,4.11.8,4.11.x)) -$(eval $(call kernel,4.11.8,4.11.x,_dbg)) -$(eval $(call kernel,4.9.35,4.9.x)) -$(eval $(call kernel,4.9.35,4.9.x,_dbg)) -$(eval $(call kernel,4.4.75,4.4.x)) +$(eval $(call kernel,4.11.9,4.11.x)) +$(eval $(call kernel,4.11.9,4.11.x,_dbg)) +$(eval $(call kernel,4.9.36,4.9.x)) +$(eval $(call kernel,4.9.36,4.9.x,_dbg)) +$(eval $(call kernel,4.4.76,4.4.x)) diff --git a/kernel/kernel_config-4.11.x b/kernel/kernel_config-4.11.x index 9666750d1..ac75949ae 100644 --- a/kernel/kernel_config-4.11.x +++ b/kernel/kernel_config-4.11.x @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 4.11.8 Kernel Configuration +# Linux/x86 4.11.9 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y diff --git a/kernel/kernel_config-4.4.x b/kernel/kernel_config-4.4.x index aab56bee7..d53822efd 100644 --- a/kernel/kernel_config-4.4.x +++ b/kernel/kernel_config-4.4.x @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 4.4.75 Kernel Configuration +# Linux/x86 4.4.76 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y diff --git a/kernel/kernel_config-4.9.x b/kernel/kernel_config-4.9.x index c0122eb18..92c54884d 100644 --- a/kernel/kernel_config-4.9.x +++ b/kernel/kernel_config-4.9.x @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 4.9.35 Kernel Configuration +# Linux/x86 4.9.36 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y diff --git a/kernel/patches-4.11.x/0001-tools-build-Add-test-for-sched_getcpu.patch b/kernel/patches-4.11.x/0001-tools-build-Add-test-for-sched_getcpu.patch index 872d5056f..0c1f00e99 100644 --- a/kernel/patches-4.11.x/0001-tools-build-Add-test-for-sched_getcpu.patch +++ b/kernel/patches-4.11.x/0001-tools-build-Add-test-for-sched_getcpu.patch @@ -1,7 +1,7 @@ -From 205984e1ffc461356c45be8a7f34fc076a8d52a3 Mon Sep 17 00:00:00 2001 +From 0000941078ee46f1f5338719c9c9d3f97f4e1d8b Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 2 Mar 2017 12:55:49 -0300 -Subject: [PATCH 01/14] tools build: Add test for sched_getcpu() +Subject: [PATCH 01/15] tools build: Add test for sched_getcpu() Instead of trying to go on adding more ifdef conditions, do a feature test and define HAVE_SCHED_GETCPU_SUPPORT instead, then use it to diff --git a/kernel/patches-4.11.x/0002-vmbus-introduce-in-place-packet-iterator.patch b/kernel/patches-4.11.x/0002-vmbus-introduce-in-place-packet-iterator.patch index c33be61a9..068407309 100644 --- a/kernel/patches-4.11.x/0002-vmbus-introduce-in-place-packet-iterator.patch +++ b/kernel/patches-4.11.x/0002-vmbus-introduce-in-place-packet-iterator.patch @@ -1,7 +1,7 @@ -From c95f6e6fd4c9de7fb4e9030e05a276d61f839b66 Mon Sep 17 00:00:00 2001 +From 19aba7e5812fdb16ccce5da10a8c40025db68cd1 Mon Sep 17 00:00:00 2001 From: stephen hemminger Date: Mon, 27 Feb 2017 10:26:48 -0800 -Subject: [PATCH 02/14] vmbus: introduce in-place packet iterator +Subject: [PATCH 02/15] vmbus: introduce in-place packet iterator This is mostly just a refactoring of previous functions (get_pkt_next_raw, put_pkt_raw and commit_rd_index) to make it easier diff --git a/kernel/patches-4.11.x/0003-vmbus-vmbus_open-reset-onchannel_callback-on-error.patch b/kernel/patches-4.11.x/0003-vmbus-vmbus_open-reset-onchannel_callback-on-error.patch index 1d5b6858b..d8e4d7165 100644 --- a/kernel/patches-4.11.x/0003-vmbus-vmbus_open-reset-onchannel_callback-on-error.patch +++ b/kernel/patches-4.11.x/0003-vmbus-vmbus_open-reset-onchannel_callback-on-error.patch @@ -1,7 +1,7 @@ -From affbdbd2fb8ad3f01771c22a54cead7ddc557b1a Mon Sep 17 00:00:00 2001 +From 1d40c921ce389c72fed07ee180024e8a66f9c1d1 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:12 -0600 -Subject: [PATCH 03/14] vmbus: vmbus_open(): reset onchannel_callback on error +Subject: [PATCH 03/15] vmbus: vmbus_open(): reset onchannel_callback on error No real issue is observed without the patch, but let's add this just in case. diff --git a/kernel/patches-4.11.x/0004-vmbus-add-the-matching-tasklet_enable-in-vmbus_close.patch b/kernel/patches-4.11.x/0004-vmbus-add-the-matching-tasklet_enable-in-vmbus_close.patch index 1ef30b9cd..4cf8af1ae 100644 --- a/kernel/patches-4.11.x/0004-vmbus-add-the-matching-tasklet_enable-in-vmbus_close.patch +++ b/kernel/patches-4.11.x/0004-vmbus-add-the-matching-tasklet_enable-in-vmbus_close.patch @@ -1,7 +1,7 @@ -From 156389cd321dddf61b89786c69dbc402632d3eae Mon Sep 17 00:00:00 2001 +From 450289bfe78b23f55419274b0bf08221b4c918de Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:15 -0600 -Subject: [PATCH 04/14] vmbus: add the matching tasklet_enable() in +Subject: [PATCH 04/15] vmbus: add the matching tasklet_enable() in vmbus_close_internal() If we disable a tasklet that is scheduled but hasn't started to run, diff --git a/kernel/patches-4.11.x/0005-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch b/kernel/patches-4.11.x/0005-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch index 4f80389eb..9737ee326 100644 --- a/kernel/patches-4.11.x/0005-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch +++ b/kernel/patches-4.11.x/0005-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch @@ -1,7 +1,7 @@ -From cfa084cbec012f8eadf38c06c6b16fce9f4cb557 Mon Sep 17 00:00:00 2001 +From fa998da5f367c29df8a7590781a2a7bdc9217afe Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:20 -0600 -Subject: [PATCH 05/14] vmbus: remove "goto error_clean_msglist" in +Subject: [PATCH 05/15] vmbus: remove "goto error_clean_msglist" in vmbus_open() This is just a cleanup patch to simplify the code a little. diff --git a/kernel/patches-4.11.x/0006-vmbus-dynamically-enqueue-dequeue-a-channel-on-vmbus.patch b/kernel/patches-4.11.x/0006-vmbus-dynamically-enqueue-dequeue-a-channel-on-vmbus.patch index c4b6aa469..50a28ab2a 100644 --- a/kernel/patches-4.11.x/0006-vmbus-dynamically-enqueue-dequeue-a-channel-on-vmbus.patch +++ b/kernel/patches-4.11.x/0006-vmbus-dynamically-enqueue-dequeue-a-channel-on-vmbus.patch @@ -1,7 +1,7 @@ -From e4fc4cf26b1f394d19895abb8277e4814f633c06 Mon Sep 17 00:00:00 2001 +From 18f2c9ce4120584b90e5f8d4c1011dbf8fe1c0ee Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:23 -0600 -Subject: [PATCH 06/14] vmbus: dynamically enqueue/dequeue a channel on +Subject: [PATCH 06/15] vmbus: dynamically enqueue/dequeue a channel on vmbus_open/close MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/kernel/patches-4.11.x/0007-hv_sock-implements-Hyper-V-transport-for-Virtual-Soc.patch b/kernel/patches-4.11.x/0007-hv_sock-implements-Hyper-V-transport-for-Virtual-Soc.patch index c46424356..2af148c19 100644 --- a/kernel/patches-4.11.x/0007-hv_sock-implements-Hyper-V-transport-for-Virtual-Soc.patch +++ b/kernel/patches-4.11.x/0007-hv_sock-implements-Hyper-V-transport-for-Virtual-Soc.patch @@ -1,7 +1,7 @@ -From 5ac0691ac6860b1956699558c5ae25da5e132576 Mon Sep 17 00:00:00 2001 +From b2c9515f6c1bdd968c1b0d7c9a285ece2bf7b343 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:26 -0600 -Subject: [PATCH 07/14] hv_sock: implements Hyper-V transport for Virtual +Subject: [PATCH 07/15] hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK) Hyper-V Sockets (hv_sock) supplies a byte-stream based communication diff --git a/kernel/patches-4.11.x/0008-VMCI-only-try-to-load-on-VMware-hypervisor.patch b/kernel/patches-4.11.x/0008-VMCI-only-try-to-load-on-VMware-hypervisor.patch index bdb049737..99440d42f 100644 --- a/kernel/patches-4.11.x/0008-VMCI-only-try-to-load-on-VMware-hypervisor.patch +++ b/kernel/patches-4.11.x/0008-VMCI-only-try-to-load-on-VMware-hypervisor.patch @@ -1,7 +1,7 @@ -From dcd257f478a71d0cf0d9d31cc9e1daf59e08c089 Mon Sep 17 00:00:00 2001 +From daa0ed9004d76620cce3dde8cc2ae679d13aa326 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:29 -0600 -Subject: [PATCH 08/14] VMCI: only try to load on VMware hypervisor +Subject: [PATCH 08/15] VMCI: only try to load on VMware hypervisor Without the patch, vmw_vsock_vmci_transport.ko and vmw_vmci.ko can automatically load when an application creates an AF_VSOCK socket. diff --git a/kernel/patches-4.11.x/0009-hv_sock-add-the-support-of-auto-loading.patch b/kernel/patches-4.11.x/0009-hv_sock-add-the-support-of-auto-loading.patch index ab9a229f2..4d8da2b9f 100644 --- a/kernel/patches-4.11.x/0009-hv_sock-add-the-support-of-auto-loading.patch +++ b/kernel/patches-4.11.x/0009-hv_sock-add-the-support-of-auto-loading.patch @@ -1,7 +1,7 @@ -From 96ad58d5ab22eb2616ee379e49db236bbcc1a80f Mon Sep 17 00:00:00 2001 +From 8c91f3d9e1ecdb49d3669deb951a47b0b186e4a2 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 5 May 2017 16:57:35 -0600 -Subject: [PATCH 09/14] hv_sock: add the support of auto-loading +Subject: [PATCH 09/15] hv_sock: add the support of auto-loading After we disable VMWare virtual sockets driver's auto-loading on Hyper-V, we can enable hv_sock's auto-loading now. diff --git a/kernel/patches-4.11.x/0010-hvsock-fix-a-race-in-hvs_stream_dequeue.patch b/kernel/patches-4.11.x/0010-hvsock-fix-a-race-in-hvs_stream_dequeue.patch index 83570778f..9a696b3b0 100644 --- a/kernel/patches-4.11.x/0010-hvsock-fix-a-race-in-hvs_stream_dequeue.patch +++ b/kernel/patches-4.11.x/0010-hvsock-fix-a-race-in-hvs_stream_dequeue.patch @@ -1,7 +1,7 @@ -From dfc55c3f54d5f19a61059b7d5dba4bfaa8270cb0 Mon Sep 17 00:00:00 2001 +From 86991dc78e3b6fa4a4468553960e60e7059f1d61 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Tue, 16 May 2017 22:14:03 +0800 -Subject: [PATCH 10/14] hvsock: fix a race in hvs_stream_dequeue() +Subject: [PATCH 10/15] hvsock: fix a race in hvs_stream_dequeue() If hv_pkt_iter_next() returns a non-NULL pointer, we must update the recv_data_len/data_off info, otherwise the received data will diff --git a/kernel/patches-4.11.x/0011-hvsock-fix-vsock_dequeue-enqueue_accept-race.patch b/kernel/patches-4.11.x/0011-hvsock-fix-vsock_dequeue-enqueue_accept-race.patch index 5308daa36..44ce591d3 100644 --- a/kernel/patches-4.11.x/0011-hvsock-fix-vsock_dequeue-enqueue_accept-race.patch +++ b/kernel/patches-4.11.x/0011-hvsock-fix-vsock_dequeue-enqueue_accept-race.patch @@ -1,7 +1,7 @@ -From 83fb0b3ad29ddc6fcce68d2f1010efb19146d4ac Mon Sep 17 00:00:00 2001 +From 2517cc6863d81f64da73fcc715458f5331a3eed0 Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 19 May 2017 21:49:59 +0800 -Subject: [PATCH 11/14] hvsock: fix vsock_dequeue/enqueue_accept race +Subject: [PATCH 11/15] hvsock: fix vsock_dequeue/enqueue_accept race Origin: https://github.com/dcui/linux/commits/decui/hv_sock/v4.11/20170511-debug-0605 (cherry picked from commit 29e6c6204845176c78c7840377a72389d188563c) diff --git a/kernel/patches-4.11.x/0012-Drivers-hv-vmbus-Fix-rescind-handling.patch b/kernel/patches-4.11.x/0012-Drivers-hv-vmbus-Fix-rescind-handling.patch index 02d66d739..e785eb100 100644 --- a/kernel/patches-4.11.x/0012-Drivers-hv-vmbus-Fix-rescind-handling.patch +++ b/kernel/patches-4.11.x/0012-Drivers-hv-vmbus-Fix-rescind-handling.patch @@ -1,7 +1,7 @@ -From e96b7fa77ff1bce7cedebe2c2dde9feee69e0ada Mon Sep 17 00:00:00 2001 +From c10d941318f2fd808ff9316d0a8d676c99f6ba6b Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Sun, 30 Apr 2017 16:21:18 -0700 -Subject: [PATCH 12/14] Drivers: hv: vmbus: Fix rescind handling +Subject: [PATCH 12/15] Drivers: hv: vmbus: Fix rescind handling Fix the rescind handling. This patch addresses the following rescind scenario that is currently not handled correctly: diff --git a/kernel/patches-4.11.x/0013-vmbus-fix-hv_percpu_channel_deq-enq-race.patch b/kernel/patches-4.11.x/0013-vmbus-fix-hv_percpu_channel_deq-enq-race.patch index 536a59297..4ad59e6ad 100644 --- a/kernel/patches-4.11.x/0013-vmbus-fix-hv_percpu_channel_deq-enq-race.patch +++ b/kernel/patches-4.11.x/0013-vmbus-fix-hv_percpu_channel_deq-enq-race.patch @@ -1,7 +1,7 @@ -From 49b67e5e6a6e11aad74d379af82021f1eddbaccd Mon Sep 17 00:00:00 2001 +From 6f5032f60fbee1c947cf412599f9f07bd54bd1da Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 5 Jun 2017 16:13:18 +0800 -Subject: [PATCH 13/14] vmbus: fix hv_percpu_channel_deq/enq race +Subject: [PATCH 13/15] vmbus: fix hv_percpu_channel_deq/enq race Signed-off-by: Dexuan Cui Origin: https://github.com/dcui/linux/commits/decui/hv_sock/v4.11/20170511-debug-0605 diff --git a/kernel/patches-4.11.x/0014-vmbus-add-vmbus-onoffer-onoffer_rescind-sync.patch b/kernel/patches-4.11.x/0014-vmbus-add-vmbus-onoffer-onoffer_rescind-sync.patch index 4709a2efa..d797c96e3 100644 --- a/kernel/patches-4.11.x/0014-vmbus-add-vmbus-onoffer-onoffer_rescind-sync.patch +++ b/kernel/patches-4.11.x/0014-vmbus-add-vmbus-onoffer-onoffer_rescind-sync.patch @@ -1,7 +1,7 @@ -From 2064263ca20e400fd5bfe9d13e0c43e081dcc27e Mon Sep 17 00:00:00 2001 +From c2369f25d343852682b888928b560c40942398ae Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Mon, 5 Jun 2017 21:32:00 +0800 -Subject: [PATCH 14/14] vmbus: add vmbus onoffer/onoffer_rescind sync. +Subject: [PATCH 14/15] vmbus: add vmbus onoffer/onoffer_rescind sync. Signed-off-by: Dexuan Cui Origin: https://github.com/dcui/linux/commits/decui/hv_sock/v4.11/20170511-debug-0605 diff --git a/kernel/patches-4.11.x/0015-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch b/kernel/patches-4.11.x/0015-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch new file mode 100644 index 000000000..9de987faa --- /dev/null +++ b/kernel/patches-4.11.x/0015-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch @@ -0,0 +1,47 @@ +From 578f66359c91feb68ba6874522a5b9b357b61e17 Mon Sep 17 00:00:00 2001 +From: Dexuan Cui +Date: Thu, 6 Jul 2017 21:37:11 +0000 +Subject: [PATCH 15/15] vmbus: fix the missed signaling in hv_signal_on_read() + +There is an off-by-one bug here, which can cause host-to-guest write to stall. + +When cur_write_sz == pending_sz, we shouldn't signal the host because it's +meaningless: the ring mustn't be 100% full. + +But when cached_write_sz == pending_sz, we must signal the host. + +Fixes: 433e19cf33d3 ("Drivers: hv: vmbus: finally fix +hv_need_to_signal_on_read()") + +Signed-off-by: John Starks +Signed-off-by: Dexuan Cui +Cc: Haiyang Zhang +Cc: Stephen Hemminger +Cc: "K. Y. Srinivasan" +Cc: +Origin: https://patchwork.kernel.org/patch/9829039/ +--- + include/linux/hyperv.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h +index ba93b7e4a972..246bc6baf745 100644 +--- a/include/linux/hyperv.h ++++ b/include/linux/hyperv.h +@@ -1501,11 +1501,11 @@ static inline void hv_signal_on_read(struct vmbus_channel *channel) + + cur_write_sz = hv_get_bytes_to_write(rbi); + +- if (cur_write_sz < pending_sz) ++ if (cur_write_sz <= pending_sz) + return; + + cached_write_sz = hv_get_cached_bytes_to_write(rbi); +- if (cached_write_sz < pending_sz) ++ if (cached_write_sz <= pending_sz) + vmbus_setevent(channel); + + return; +-- +2.13.0 + diff --git a/kernel/patches-4.4.x/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch b/kernel/patches-4.4.x/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch index 8859bb172..cc9082644 100644 --- a/kernel/patches-4.4.x/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch +++ b/kernel/patches-4.4.x/0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch @@ -1,4 +1,4 @@ -From e4a0ff81812a15335eefe473ef1e3d26c5720b17 Mon Sep 17 00:00:00 2001 +From 61c4b9d2e6ac6993fe3451ae8b56cb14f71e33ab 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.x/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch b/kernel/patches-4.4.x/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch index 034065a34..0d2028f01 100644 --- a/kernel/patches-4.4.x/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch +++ b/kernel/patches-4.4.x/0002-VSOCK-constify-vmci_transport_notify_ops-structures.patch @@ -1,4 +1,4 @@ -From 2afd939a42523dfe912d449bf7baddf5af0f7efd Mon Sep 17 00:00:00 2001 +From c5945b252d54fdea8c6020485da6eaafa9a1a158 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.x/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch b/kernel/patches-4.4.x/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch index 74373ba7e..df736231b 100644 --- a/kernel/patches-4.4.x/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch +++ b/kernel/patches-4.4.x/0003-AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch @@ -1,4 +1,4 @@ -From b37a1dfe5f1884ab489d08d51c1868057623188f Mon Sep 17 00:00:00 2001 +From 63eb7067e48c11847a38efd91a5f419bf231bd7b 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.x/0004-vsock-make-listener-child-lock-ordering-explicit.patch b/kernel/patches-4.4.x/0004-vsock-make-listener-child-lock-ordering-explicit.patch index 64766bb44..41cd95d6a 100644 --- a/kernel/patches-4.4.x/0004-vsock-make-listener-child-lock-ordering-explicit.patch +++ b/kernel/patches-4.4.x/0004-vsock-make-listener-child-lock-ordering-explicit.patch @@ -1,4 +1,4 @@ -From 3e92f9475b2b02c56a8ef7f8f158a45fd3aadfde Mon Sep 17 00:00:00 2001 +From d8b3974c5ea20dfb8fae8cc4467a131749a6901c 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.x/0005-VSOCK-transport-specific-vsock_transport-functions.patch b/kernel/patches-4.4.x/0005-VSOCK-transport-specific-vsock_transport-functions.patch index 868df8e84..2a7bb6ac4 100644 --- a/kernel/patches-4.4.x/0005-VSOCK-transport-specific-vsock_transport-functions.patch +++ b/kernel/patches-4.4.x/0005-VSOCK-transport-specific-vsock_transport-functions.patch @@ -1,4 +1,4 @@ -From 2c13d09c17e04a4655f530f55bf0f2e0fde45aaa Mon Sep 17 00:00:00 2001 +From 6882f1a32034f3c02fdff2d99c9bbcc554068c8f 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.x/0006-VSOCK-defer-sock-removal-to-transports.patch b/kernel/patches-4.4.x/0006-VSOCK-defer-sock-removal-to-transports.patch index 4a8bc4148..578fb303b 100644 --- a/kernel/patches-4.4.x/0006-VSOCK-defer-sock-removal-to-transports.patch +++ b/kernel/patches-4.4.x/0006-VSOCK-defer-sock-removal-to-transports.patch @@ -1,4 +1,4 @@ -From 38fc9d60aab651cf413165e51e9437833567fbfa Mon Sep 17 00:00:00 2001 +From 87bb91cdfafec2384948a51c4162ab46df55a717 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.x/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch b/kernel/patches-4.4.x/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch index e6ce64cb7..1ce213ae6 100644 --- a/kernel/patches-4.4.x/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch +++ b/kernel/patches-4.4.x/0007-VSOCK-Introduce-virtio_vsock_common.ko.patch @@ -1,4 +1,4 @@ -From 7128858b69a8c0b955d464f2662b00ff6d3cb924 Mon Sep 17 00:00:00 2001 +From b7064324d23999fabaa168d9109df4f50a927f57 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.x/0008-VSOCK-Introduce-virtio_transport.ko.patch b/kernel/patches-4.4.x/0008-VSOCK-Introduce-virtio_transport.ko.patch index a2babbc4f..6d96691f0 100644 --- a/kernel/patches-4.4.x/0008-VSOCK-Introduce-virtio_transport.ko.patch +++ b/kernel/patches-4.4.x/0008-VSOCK-Introduce-virtio_transport.ko.patch @@ -1,4 +1,4 @@ -From 5990f7d37e7b9a87d328bb478dd158ea09126c06 Mon Sep 17 00:00:00 2001 +From 437075b170a4322eea1f0910fe17893d0c5116fb 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.x/0009-VSOCK-Introduce-vhost_vsock.ko.patch b/kernel/patches-4.4.x/0009-VSOCK-Introduce-vhost_vsock.ko.patch index 1c82c9e10..7067ac020 100644 --- a/kernel/patches-4.4.x/0009-VSOCK-Introduce-vhost_vsock.ko.patch +++ b/kernel/patches-4.4.x/0009-VSOCK-Introduce-vhost_vsock.ko.patch @@ -1,4 +1,4 @@ -From 5aa64dd4924210f579f221cafde187d415d70f1d Mon Sep 17 00:00:00 2001 +From b9b5ed227cdabeea10dc94b087c8f4580649cdfc 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.x/0010-VSOCK-Add-Makefile-and-Kconfig.patch b/kernel/patches-4.4.x/0010-VSOCK-Add-Makefile-and-Kconfig.patch index 4fab45091..8b4fada60 100644 --- a/kernel/patches-4.4.x/0010-VSOCK-Add-Makefile-and-Kconfig.patch +++ b/kernel/patches-4.4.x/0010-VSOCK-Add-Makefile-and-Kconfig.patch @@ -1,4 +1,4 @@ -From 571ec139b36241e2ec6aac2e9b9e0e7acf64bb0c Mon Sep 17 00:00:00 2001 +From 939918468a20dd0a78e1bb4d0797eb4785c433ae 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.x/0011-VSOCK-Use-kvfree.patch b/kernel/patches-4.4.x/0011-VSOCK-Use-kvfree.patch index 07f544744..76bfe5f8b 100644 --- a/kernel/patches-4.4.x/0011-VSOCK-Use-kvfree.patch +++ b/kernel/patches-4.4.x/0011-VSOCK-Use-kvfree.patch @@ -1,4 +1,4 @@ -From 4a1cbb2af13cb3622342f76e359b664e0c3692e7 Mon Sep 17 00:00:00 2001 +From c05b4c52e92d3c94f03e5007372408c9113eec6d 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.x/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch b/kernel/patches-4.4.x/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch index 7ea7f29f2..22b1260dc 100644 --- a/kernel/patches-4.4.x/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch +++ b/kernel/patches-4.4.x/0012-vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch @@ -1,4 +1,4 @@ -From 89853a77fd05ea9d701695355f3bd1345db74cd2 Mon Sep 17 00:00:00 2001 +From f5bcc4ad4c86f00d51fd732291dd634278b491a3 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.x/0013-virtio-vsock-fix-include-guard-typo.patch b/kernel/patches-4.4.x/0013-virtio-vsock-fix-include-guard-typo.patch index 7859a357e..4fa2f8cb6 100644 --- a/kernel/patches-4.4.x/0013-virtio-vsock-fix-include-guard-typo.patch +++ b/kernel/patches-4.4.x/0013-virtio-vsock-fix-include-guard-typo.patch @@ -1,4 +1,4 @@ -From e9c161e1f73884b45d053172f49e546ee0ac5277 Mon Sep 17 00:00:00 2001 +From 3171e7a86fc6ade5f4587837221a4423c5900ffb 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.x/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch b/kernel/patches-4.4.x/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch index 69dbf5841..91d2f7e32 100644 --- a/kernel/patches-4.4.x/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch +++ b/kernel/patches-4.4.x/0014-vhost-vsock-drop-space-available-check-for-TX-vq.patch @@ -1,4 +1,4 @@ -From 18a49c5ae196143c579a2aee103634bb74964159 Mon Sep 17 00:00:00 2001 +From a21a2eb0101e4f68f852e9f259b34f4b37466589 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.x/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch b/kernel/patches-4.4.x/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch index 4d4439bb2..51f2f83b2 100644 --- a/kernel/patches-4.4.x/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch +++ b/kernel/patches-4.4.x/0015-VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch @@ -1,4 +1,4 @@ -From ef212dbc96d8d84cbc66620915c9c9d24b8049f6 Mon Sep 17 00:00:00 2001 +From d873deeedd06e8103a9ebe5244ba22d287a94bda 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.x/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch b/kernel/patches-4.4.x/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch index aa840ee45..9d59aa58d 100644 --- a/kernel/patches-4.4.x/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch +++ b/kernel/patches-4.4.x/0016-drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch @@ -1,4 +1,4 @@ -From d380545b39c226675945a911bf1044c04d276486 Mon Sep 17 00:00:00 2001 +From 934e246ecf25ce2e1f10e0d3caed5da0be1200f9 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.x/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch b/kernel/patches-4.4.x/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch index 0f5c467d2..f6318f3a0 100644 --- a/kernel/patches-4.4.x/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch +++ b/kernel/patches-4.4.x/0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch @@ -1,4 +1,4 @@ -From 9fdc94969d5729152c9f2d0dd64d194a4d6b10e5 Mon Sep 17 00:00:00 2001 +From ac4de2acdfcc7d45000bfbd657dc0f2ffa7f7f25 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.x/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch b/kernel/patches-4.4.x/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch index 10a50d436..56ff0f2bb 100644 --- a/kernel/patches-4.4.x/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch +++ b/kernel/patches-4.4.x/0018-Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch @@ -1,4 +1,4 @@ -From a309df3556bfcb9076437a3e6bd2196884658256 Mon Sep 17 00:00:00 2001 +From 32ec586052699938458ad07ac8dc50a168896b2e 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.x/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch b/kernel/patches-4.4.x/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch index 2fe8f1ed6..b8adacbc9 100644 --- a/kernel/patches-4.4.x/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch +++ b/kernel/patches-4.4.x/0019-Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch @@ -1,4 +1,4 @@ -From 33b49b776d2c38ebe316fe909de5140bded2f5c4 Mon Sep 17 00:00:00 2001 +From 133a7d0168e517f9df046be8c83300d83049695f 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.x/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch b/kernel/patches-4.4.x/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch index 067658a61..6dfecde43 100644 --- a/kernel/patches-4.4.x/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch +++ b/kernel/patches-4.4.x/0020-Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch @@ -1,4 +1,4 @@ -From 142dac251a331e35e507df0a11836429ccc56f8a Mon Sep 17 00:00:00 2001 +From 963ac64008a410062a9a606a94e8c121e8fac98d 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.x/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch b/kernel/patches-4.4.x/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch index 5db37eacc..b217e784c 100644 --- a/kernel/patches-4.4.x/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch +++ b/kernel/patches-4.4.x/0021-Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch @@ -1,4 +1,4 @@ -From 5ae89f78f61bc94a7f77f212a3d303e1e745db6f Mon Sep 17 00:00:00 2001 +From 62e4e442b00bff9d9d65c84a7bde38b139e0c45c 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.x/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch b/kernel/patches-4.4.x/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch index 470f9478e..34969dc3d 100644 --- a/kernel/patches-4.4.x/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch +++ b/kernel/patches-4.4.x/0022-Drivers-hv-remove-code-duplication-between-vmbus_rec.patch @@ -1,4 +1,4 @@ -From c87840ac9a5bb42fc1435df8dcd52363f62d267b Mon Sep 17 00:00:00 2001 +From 74c01ca434a7fa426397d3c4c084676b0ed46aaa 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.x/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch b/kernel/patches-4.4.x/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch index 2cfe9e5fd..333d4ed3c 100644 --- a/kernel/patches-4.4.x/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch +++ b/kernel/patches-4.4.x/0023-Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch @@ -1,4 +1,4 @@ -From 3464c462193365d9156fd3d50fd1033c5d153b87 Mon Sep 17 00:00:00 2001 +From c6c2e2cd6f1c3c332b79d541023499b7517d73d0 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.x/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch b/kernel/patches-4.4.x/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch index c8d3ee6f7..13f2640e5 100644 --- a/kernel/patches-4.4.x/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch +++ b/kernel/patches-4.4.x/0024-Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch @@ -1,4 +1,4 @@ -From ac7140d1ade22b5aca0cac21709f02f640d1612e Mon Sep 17 00:00:00 2001 +From 2b5bfe62a794308bc4fab6cc1bcc7522c293b247 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.x/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch b/kernel/patches-4.4.x/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch index fc9331d89..8c0729e31 100644 --- a/kernel/patches-4.4.x/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch +++ b/kernel/patches-4.4.x/0025-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch @@ -1,4 +1,4 @@ -From 6501d201efcfbfa991f47563590ef4a99d8ec284 Mon Sep 17 00:00:00 2001 +From e515e31524a6825304aa1e5c1f0284164c85460c 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.x/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch b/kernel/patches-4.4.x/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch index a0ead0ec4..8c2c9cf4e 100644 --- a/kernel/patches-4.4.x/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch +++ b/kernel/patches-4.4.x/0026-Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch @@ -1,4 +1,4 @@ -From a8edeef6b397e6aff386cffc28d7b97eeea1498e Mon Sep 17 00:00:00 2001 +From 5e6b154c8a7f1b33683ed7e2cdf6711ed003c834 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.x/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch b/kernel/patches-4.4.x/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch index ba85746f3..46650d8e0 100644 --- a/kernel/patches-4.4.x/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch +++ b/kernel/patches-4.4.x/0027-Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch @@ -1,4 +1,4 @@ -From c500132877126cca4be91b7eb86a4935b3193c9f Mon Sep 17 00:00:00 2001 +From 546d05baf3ec141f3c1e41785997ad788e5770b2 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.x/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch b/kernel/patches-4.4.x/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch index 5da324dae..7da098a92 100644 --- a/kernel/patches-4.4.x/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch +++ b/kernel/patches-4.4.x/0028-Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch @@ -1,4 +1,4 @@ -From 108daaa532b9d9c0c46f1b848e51bdd6faf00175 Mon Sep 17 00:00:00 2001 +From 3baf2ff90d0f86fe92252d58e93fb2ca72fec28a 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.x/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch b/kernel/patches-4.4.x/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch index 9d705c13a..bb0efc2b9 100644 --- a/kernel/patches-4.4.x/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch +++ b/kernel/patches-4.4.x/0029-Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch @@ -1,4 +1,4 @@ -From 140c14b3d36ef889058bf94bb807e6d5e5fd8f4f Mon Sep 17 00:00:00 2001 +From 0d13ce69d4eb9944f403f4789e7248b8345c696e 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.x/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch b/kernel/patches-4.4.x/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch index fadc9c1da..dfc7187be 100644 --- a/kernel/patches-4.4.x/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch +++ b/kernel/patches-4.4.x/0030-Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch @@ -1,4 +1,4 @@ -From b38a03f924424025c3a45da0f0e6f0a20839f48c Mon Sep 17 00:00:00 2001 +From 7b89be011acfeb8a1d97604443620ebad4119ac5 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.x/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch b/kernel/patches-4.4.x/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch index 328b0f7d8..11ea4e615 100644 --- a/kernel/patches-4.4.x/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch +++ b/kernel/patches-4.4.x/0031-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch @@ -1,4 +1,4 @@ -From cfff035c8ab318155e708b9e95e149a5066ca06e Mon Sep 17 00:00:00 2001 +From 1c7e4192688e75b92757be973e4dec1c53753910 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.x/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch b/kernel/patches-4.4.x/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch index b4b455875..2ca77dec5 100644 --- a/kernel/patches-4.4.x/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch +++ b/kernel/patches-4.4.x/0032-Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch @@ -1,4 +1,4 @@ -From cde8aabc4018a988b2750edd901dedc5cb39566f Mon Sep 17 00:00:00 2001 +From a23e9018aef7706dfe9733ebacad7e5312e0e907 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.x/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch b/kernel/patches-4.4.x/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch index 5a880a3b6..1aa124652 100644 --- a/kernel/patches-4.4.x/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch +++ b/kernel/patches-4.4.x/0033-Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch @@ -1,4 +1,4 @@ -From 92c179584bdbd0a0ad1b154f4115517ca8bdeafb Mon Sep 17 00:00:00 2001 +From 97dc15186b101ab8a4061d1892045adead6de0c4 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.x/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch b/kernel/patches-4.4.x/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch index 6a87464b4..91e8ae90d 100644 --- a/kernel/patches-4.4.x/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch +++ b/kernel/patches-4.4.x/0034-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch @@ -1,4 +1,4 @@ -From 2e87edbeab0c3d701db120e3b5aa9cfb63c31791 Mon Sep 17 00:00:00 2001 +From 8e1cfc9a58801a1d75141aedaa26ee3250fb2ea3 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.x/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch b/kernel/patches-4.4.x/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch index 5eb62a00f..846ae7b79 100644 --- a/kernel/patches-4.4.x/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch +++ b/kernel/patches-4.4.x/0035-Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch @@ -1,4 +1,4 @@ -From 588d34829ca843e7b769573322f4eba8b0870b57 Mon Sep 17 00:00:00 2001 +From c037111137ee2cd1fd1289af160e218d41665ce8 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.x/0036-kcm-Kernel-Connection-Multiplexor-module.patch b/kernel/patches-4.4.x/0036-kcm-Kernel-Connection-Multiplexor-module.patch index 6c6091e2e..3f082fb69 100644 --- a/kernel/patches-4.4.x/0036-kcm-Kernel-Connection-Multiplexor-module.patch +++ b/kernel/patches-4.4.x/0036-kcm-Kernel-Connection-Multiplexor-module.patch @@ -1,4 +1,4 @@ -From 643d46669e8bb4d4f61714f2fd9dc103d4284ce4 Mon Sep 17 00:00:00 2001 +From 4ee5930d8afb6edbd4da52f03fb11b40116e185e 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.x/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch b/kernel/patches-4.4.x/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch index 389134ff6..a1446874d 100644 --- a/kernel/patches-4.4.x/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch +++ b/kernel/patches-4.4.x/0037-net-add-the-AF_KCM-entries-to-family-name-tables.patch @@ -1,4 +1,4 @@ -From 59be6a8f13fc4088d1bdb88b53cd59842847c89f Mon Sep 17 00:00:00 2001 +From 5637934f2bac626756475bcfbd82dbf292f4faa8 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.x/0038-net-Add-Qualcomm-IPC-router.patch b/kernel/patches-4.4.x/0038-net-Add-Qualcomm-IPC-router.patch index e1df56419..b959c0725 100644 --- a/kernel/patches-4.4.x/0038-net-Add-Qualcomm-IPC-router.patch +++ b/kernel/patches-4.4.x/0038-net-Add-Qualcomm-IPC-router.patch @@ -1,4 +1,4 @@ -From 6131c2f3e236ddeda4b284d44e850a1dbe7ff202 Mon Sep 17 00:00:00 2001 +From 77c0cfd6d63b85ccb47b236114848af1bd542fbb 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.x/0039-hv_sock-introduce-Hyper-V-Sockets.patch b/kernel/patches-4.4.x/0039-hv_sock-introduce-Hyper-V-Sockets.patch index a3afab28b..250bb76d4 100644 --- a/kernel/patches-4.4.x/0039-hv_sock-introduce-Hyper-V-Sockets.patch +++ b/kernel/patches-4.4.x/0039-hv_sock-introduce-Hyper-V-Sockets.patch @@ -1,4 +1,4 @@ -From df312baac9b81641cc79beef2296ff326afa3730 Mon Sep 17 00:00:00 2001 +From 553c4016a33f4392ddc57776e15fe9b941200fff 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.x/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch b/kernel/patches-4.4.x/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch index 01d56f4db..36d107107 100644 --- a/kernel/patches-4.4.x/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch +++ b/kernel/patches-4.4.x/0040-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch @@ -1,4 +1,4 @@ -From efc0bbd847306776b77dfd990bae4bda8b196762 Mon Sep 17 00:00:00 2001 +From 7fc07c332b4cb17c519f4660fff5731659e8430d 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.x/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch b/kernel/patches-4.4.x/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch index 6d0f7fc04..a5af7da7a 100644 --- a/kernel/patches-4.4.x/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch +++ b/kernel/patches-4.4.x/0041-Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch @@ -1,4 +1,4 @@ -From 800940f68eb44a19fbbb86d45665c482d872317b Mon Sep 17 00:00:00 2001 +From 831750b0a264de15a495de720403b9385c3b6d1c 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.x/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch b/kernel/patches-4.4.x/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch index 4d051553e..a99f8c4d6 100644 --- a/kernel/patches-4.4.x/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch +++ b/kernel/patches-4.4.x/0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch @@ -1,4 +1,4 @@ -From 373e5518e960606f6e6a21b302abb6304d9faae1 Mon Sep 17 00:00:00 2001 +From e209cd27ed3958efc05e7bac7a23d64495705cb3 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.x/0043-fs-add-filp_clone_open-API.patch b/kernel/patches-4.4.x/0043-fs-add-filp_clone_open-API.patch index 0ca0146f6..b3dc8d49b 100644 --- a/kernel/patches-4.4.x/0043-fs-add-filp_clone_open-API.patch +++ b/kernel/patches-4.4.x/0043-fs-add-filp_clone_open-API.patch @@ -1,4 +1,4 @@ -From 5d085ef69c450c9b4f38297181a35561c8f5cc75 Mon Sep 17 00:00:00 2001 +From 441070052852e615194df40e83260611eeb34e77 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.x/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch b/kernel/patches-4.4.x/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch index 3067912b7..62b144edd 100644 --- a/kernel/patches-4.4.x/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch +++ b/kernel/patches-4.4.x/0044-binfmt_misc-add-persistent-opened-binary-handler-for.patch @@ -1,4 +1,4 @@ -From d9b498804640edef8a62a431847ad184e4ec11aa Mon Sep 17 00:00:00 2001 +From 5b697cfb94fa9fcd10963396780082538eea0609 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.x/0001-tools-build-Add-test-for-sched_getcpu.patch b/kernel/patches-4.9.x/0001-tools-build-Add-test-for-sched_getcpu.patch index a9f978739..7e5af17d6 100644 --- a/kernel/patches-4.9.x/0001-tools-build-Add-test-for-sched_getcpu.patch +++ b/kernel/patches-4.9.x/0001-tools-build-Add-test-for-sched_getcpu.patch @@ -1,7 +1,7 @@ -From 2cc3dabd63a3fa03d08a3076a8c1e4432382221c Mon Sep 17 00:00:00 2001 +From f5aea11ed9d906ce3103f0d4430cca9155c93212 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 2 Mar 2017 12:55:49 -0300 -Subject: [PATCH 01/12] tools build: Add test for sched_getcpu() +Subject: [PATCH 01/13] tools build: Add test for sched_getcpu() Instead of trying to go on adding more ifdef conditions, do a feature test and define HAVE_SCHED_GETCPU_SUPPORT instead, then use it to diff --git a/kernel/patches-4.9.x/0002-perf-jit-Avoid-returning-garbage-for-a-ret-variable.patch b/kernel/patches-4.9.x/0002-perf-jit-Avoid-returning-garbage-for-a-ret-variable.patch index 8ee662640..964831156 100644 --- a/kernel/patches-4.9.x/0002-perf-jit-Avoid-returning-garbage-for-a-ret-variable.patch +++ b/kernel/patches-4.9.x/0002-perf-jit-Avoid-returning-garbage-for-a-ret-variable.patch @@ -1,7 +1,7 @@ -From c5ebf3aff82b5b19b0ed0f968baa191641c2f515 Mon Sep 17 00:00:00 2001 +From dc9fa7c0450759a36de276392de4f224106eb497 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 13 Oct 2016 17:12:35 -0300 -Subject: [PATCH 02/12] perf jit: Avoid returning garbage for a ret variable +Subject: [PATCH 02/13] perf jit: Avoid returning garbage for a ret variable When the loop body isn't executed at all, then the 'ret' local variable, that is uninitialized will be used as the return value. diff --git a/kernel/patches-4.9.x/0003-hv_sock-introduce-Hyper-V-Sockets.patch b/kernel/patches-4.9.x/0003-hv_sock-introduce-Hyper-V-Sockets.patch index 5d51020fe..2e6540d70 100644 --- a/kernel/patches-4.9.x/0003-hv_sock-introduce-Hyper-V-Sockets.patch +++ b/kernel/patches-4.9.x/0003-hv_sock-introduce-Hyper-V-Sockets.patch @@ -1,7 +1,7 @@ -From 56ee9d694a08907d0efdf71e9c027d850aacdc85 Mon Sep 17 00:00:00 2001 +From 1d169b4be370f2308ee7505b22e6f485bdc0cd9f Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Sat, 23 Jul 2016 01:35:51 +0000 -Subject: [PATCH 03/12] hv_sock: introduce Hyper-V Sockets +Subject: [PATCH 03/13] 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.x/0004-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch b/kernel/patches-4.9.x/0004-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch index e94eb7146..893c0fec0 100644 --- a/kernel/patches-4.9.x/0004-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch +++ b/kernel/patches-4.9.x/0004-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch @@ -1,7 +1,7 @@ -From 9b6de9e8c8ee75835aa2e4295661bd87ac3dab70 Mon Sep 17 00:00:00 2001 +From 30311bc867ce9674e68b6b991be9fc1deecb500f Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 23 May 2016 18:55:45 +0100 -Subject: [PATCH 04/12] vmbus: Don't spam the logs with unknown GUIDs +Subject: [PATCH 04/13] 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 diff --git a/kernel/patches-4.9.x/0005-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch b/kernel/patches-4.9.x/0005-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch index 23a203c1e..8f9a760ac 100644 --- a/kernel/patches-4.9.x/0005-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch +++ b/kernel/patches-4.9.x/0005-Drivers-hv-utils-Fix-the-mapping-between-host-versio.patch @@ -1,7 +1,7 @@ -From 5f8c8f891dc87e7aff04f7808becfafcc74ba237 Mon Sep 17 00:00:00 2001 +From 6e65be543a2f926a03d4e547430b4b36393cde4b Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:07 -0800 -Subject: [PATCH 05/12] Drivers: hv: utils: Fix the mapping between host +Subject: [PATCH 05/13] 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 diff --git a/kernel/patches-4.9.x/0006-Drivers-hv-vss-Improve-log-messages.patch b/kernel/patches-4.9.x/0006-Drivers-hv-vss-Improve-log-messages.patch index f6fc5519c..178062105 100644 --- a/kernel/patches-4.9.x/0006-Drivers-hv-vss-Improve-log-messages.patch +++ b/kernel/patches-4.9.x/0006-Drivers-hv-vss-Improve-log-messages.patch @@ -1,7 +1,7 @@ -From 85644aee027b10b8681aa0290b1a28edb6efb6f2 Mon Sep 17 00:00:00 2001 +From 7c2b9d64116a27cd32eae737fe43d3315256a93d Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:10 -0800 -Subject: [PATCH 06/12] Drivers: hv: vss: Improve log messages. +Subject: [PATCH 06/13] Drivers: hv: vss: Improve log messages. Adding log messages to help troubleshoot error cases and transaction handling. diff --git a/kernel/patches-4.9.x/0007-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch b/kernel/patches-4.9.x/0007-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch index 5c1821f8e..5fa849320 100644 --- a/kernel/patches-4.9.x/0007-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch +++ b/kernel/patches-4.9.x/0007-Drivers-hv-vss-Operation-timeouts-should-match-host-.patch @@ -1,7 +1,7 @@ -From f28561352bc2cb4f98635f1865eda3125653935e Mon Sep 17 00:00:00 2001 +From 8475deba8ff1b8d71f456d2601a839005b63e9ed Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sun, 6 Nov 2016 13:14:11 -0800 -Subject: [PATCH 07/12] Drivers: hv: vss: Operation timeouts should match host +Subject: [PATCH 07/13] Drivers: hv: vss: Operation timeouts should match host expectation Increase the timeout of backup operations. When system is under I/O load, diff --git a/kernel/patches-4.9.x/0008-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch b/kernel/patches-4.9.x/0008-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch index e2aa68baa..1ff9cf791 100644 --- a/kernel/patches-4.9.x/0008-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch +++ b/kernel/patches-4.9.x/0008-Drivers-hv-vmbus-Use-all-supported-IC-versions-to-ne.patch @@ -1,7 +1,7 @@ -From 5a7956f48067b446094b85b556abbddf65e97ff8 Mon Sep 17 00:00:00 2001 +From b1689718a4002d8c20ccfcbe6b5d053c589fa6e1 Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:17 -0700 -Subject: [PATCH 08/12] Drivers: hv: vmbus: Use all supported IC versions to +Subject: [PATCH 08/13] Drivers: hv: vmbus: Use all supported IC versions to negotiate Previously, we were assuming that each IC protocol version was tied to a diff --git a/kernel/patches-4.9.x/0009-Drivers-hv-Log-the-negotiated-IC-versions.patch b/kernel/patches-4.9.x/0009-Drivers-hv-Log-the-negotiated-IC-versions.patch index 23d713439..d5ffeb8ea 100644 --- a/kernel/patches-4.9.x/0009-Drivers-hv-Log-the-negotiated-IC-versions.patch +++ b/kernel/patches-4.9.x/0009-Drivers-hv-Log-the-negotiated-IC-versions.patch @@ -1,7 +1,7 @@ -From 4d68fd9d0c701890c2a908dff58aa631edb96582 Mon Sep 17 00:00:00 2001 +From 63e1872a61c4c22dc2ac055286892a5a387a66d5 Mon Sep 17 00:00:00 2001 From: Alex Ng Date: Sat, 28 Jan 2017 12:37:18 -0700 -Subject: [PATCH 09/12] Drivers: hv: Log the negotiated IC versions. +Subject: [PATCH 09/13] Drivers: hv: Log the negotiated IC versions. Log the negotiated IC versions. diff --git a/kernel/patches-4.9.x/0010-vmbus-fix-missed-ring-events-on-boot.patch b/kernel/patches-4.9.x/0010-vmbus-fix-missed-ring-events-on-boot.patch index 4e26dd4ec..87cc8db4d 100644 --- a/kernel/patches-4.9.x/0010-vmbus-fix-missed-ring-events-on-boot.patch +++ b/kernel/patches-4.9.x/0010-vmbus-fix-missed-ring-events-on-boot.patch @@ -1,7 +1,7 @@ -From 6c5277a578628643afc3948c20322cd36fda7fb1 Mon Sep 17 00:00:00 2001 +From 30a4d8677415cf73d821146f674d556fdd54547d Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Sun, 26 Mar 2017 16:42:20 +0800 -Subject: [PATCH 10/12] vmbus: fix missed ring events on boot +Subject: [PATCH 10/13] vmbus: fix missed ring events on boot During initialization, the channel initialization code schedules the tasklet to scan the VMBUS receive event page (i.e. simulates an diff --git a/kernel/patches-4.9.x/0011-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch b/kernel/patches-4.9.x/0011-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch index 211ec6325..06b55c0d6 100644 --- a/kernel/patches-4.9.x/0011-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch +++ b/kernel/patches-4.9.x/0011-vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch @@ -1,7 +1,7 @@ -From 8a69896438ed9da6b71ef13ba40b7c4998eb5b68 Mon Sep 17 00:00:00 2001 +From 231d7886eb06926ead5821b250132afd5e67d30f Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Wed, 29 Mar 2017 18:37:10 +0800 -Subject: [PATCH 11/12] vmbus: remove "goto error_clean_msglist" in +Subject: [PATCH 11/13] vmbus: remove "goto error_clean_msglist" in vmbus_open() This is just a cleanup patch to simplify the code a little. diff --git a/kernel/patches-4.9.x/0012-vmbus-dynamically-enqueue-dequeue-the-channel-on-vmb.patch b/kernel/patches-4.9.x/0012-vmbus-dynamically-enqueue-dequeue-the-channel-on-vmb.patch index 8ccb64d99..3de353b9e 100644 --- a/kernel/patches-4.9.x/0012-vmbus-dynamically-enqueue-dequeue-the-channel-on-vmb.patch +++ b/kernel/patches-4.9.x/0012-vmbus-dynamically-enqueue-dequeue-the-channel-on-vmb.patch @@ -1,7 +1,7 @@ -From ae0fb9a8d9b90ee3d47a05cdad2ce01d7ac90736 Mon Sep 17 00:00:00 2001 +From 1eb8aed951c049eb4ee8f4bb9a06d0034168a1ca Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 24 Mar 2017 20:53:18 +0800 -Subject: [PATCH 12/12] vmbus: dynamically enqueue/dequeue the channel on +Subject: [PATCH 12/13] vmbus: dynamically enqueue/dequeue the channel on vmbus_open/close Signed-off-by: Dexuan Cui diff --git a/kernel/patches-4.9.x/0013-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch b/kernel/patches-4.9.x/0013-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch new file mode 100644 index 000000000..4162b2950 --- /dev/null +++ b/kernel/patches-4.9.x/0013-vmbus-fix-the-missed-signaling-in-hv_signal_on_read.patch @@ -0,0 +1,47 @@ +From 3ea66bc238f2c698a174263c090434f642283958 Mon Sep 17 00:00:00 2001 +From: Dexuan Cui +Date: Thu, 6 Jul 2017 21:37:11 +0000 +Subject: [PATCH 13/13] vmbus: fix the missed signaling in hv_signal_on_read() + +There is an off-by-one bug here, which can cause host-to-guest write to stall. + +When cur_write_sz == pending_sz, we shouldn't signal the host because it's +meaningless: the ring mustn't be 100% full. + +But when cached_write_sz == pending_sz, we must signal the host. + +Fixes: 433e19cf33d3 ("Drivers: hv: vmbus: finally fix +hv_need_to_signal_on_read()") + +Signed-off-by: John Starks +Signed-off-by: Dexuan Cui +Cc: Haiyang Zhang +Cc: Stephen Hemminger +Cc: "K. Y. Srinivasan" +Cc: +Origin: https://patchwork.kernel.org/patch/9829039/ +--- + include/linux/hyperv.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h +index 9ee292b28e41..a87757cf277b 100644 +--- a/include/linux/hyperv.h ++++ b/include/linux/hyperv.h +@@ -1525,11 +1525,11 @@ static inline void hv_signal_on_read(struct vmbus_channel *channel) + + cur_write_sz = hv_get_bytes_to_write(rbi); + +- if (cur_write_sz < pending_sz) ++ if (cur_write_sz <= pending_sz) + return; + + cached_write_sz = hv_get_cached_bytes_to_write(rbi); +- if (cached_write_sz < pending_sz) ++ if (cached_write_sz <= pending_sz) + vmbus_setevent(channel); + + return; +-- +2.13.0 + From dca5671fc19be923f01e874941eef38a65f1e2f9 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Fri, 7 Jul 2017 18:13:54 +0100 Subject: [PATCH 2/2] Update kernel version in all YAML files Signed-off-by: Rolf Neugebauer --- blueprints/docker-for-mac/base.yml | 2 +- examples/aws.yml | 2 +- examples/azure.yml | 2 +- examples/docker.yml | 2 +- examples/gcp.yml | 2 +- examples/getty.yml | 2 +- examples/minimal.yml | 2 +- examples/node_exporter.yml | 2 +- examples/packet.yml | 2 +- examples/redis-os.yml | 2 +- examples/sshd.yml | 2 +- examples/swap.yml | 2 +- examples/vmware.yml | 2 +- examples/vpnkit-forwarder.yml | 2 +- examples/vsudd.yml | 2 +- examples/vultr.yml | 2 +- linuxkit.yml | 2 +- projects/compose/compose-dynamic.yml | 2 +- projects/compose/compose-static.yml | 2 +- projects/etcd/etcd.yml | 2 +- projects/kubernetes/kube-master.yml | 2 +- projects/kubernetes/kube-node.yml | 2 +- projects/logging/examples/logging.yml | 2 +- projects/miragesdk/examples/mirage-dhcp.yml | 2 +- projects/swarmd/swarmd.yml | 2 +- test/cases/000_build/000_outputs/test.yml | 2 +- test/cases/010_platforms/000_qemu/000_run_kernel/test.yml | 2 +- test/cases/010_platforms/000_qemu/010_run_iso/test.yml | 2 +- test/cases/010_platforms/000_qemu/020_run_efi/test.yml | 2 +- test/cases/010_platforms/000_qemu/030_run_qcow/test.yml | 2 +- test/cases/010_platforms/000_qemu/040_run_raw/test.yml | 2 +- test/cases/010_platforms/000_qemu/100_container/test.yml | 2 +- test/cases/010_platforms/010_hyperkit/000_run_kernel/test.yml | 2 +- test/cases/010_platforms/010_hyperkit/010_acpi/test.yml | 2 +- test/cases/020_kernel/000_config_4.4.x/test-kernel-config.yml | 2 +- test/cases/020_kernel/001_config_4.9.x/test-kernel-config.yml | 2 +- test/cases/020_kernel/003_config_4.11.x/test-kernel-config.yml | 2 +- test/cases/020_kernel/010_kmod_4.9.x/Dockerfile | 2 +- test/cases/020_kernel/010_kmod_4.9.x/kmod.yml | 2 +- test/cases/020_kernel/010_kmod_4.9.x/test.sh | 2 +- test/cases/030_security/000_docker-bench/test-docker-bench.yml | 2 +- test/cases/030_security/010_ports/test.yml | 2 +- test/cases/040_packages/002_binfmt/test-binfmt.yml | 2 +- .../040_packages/003_ca-certificates/test-ca-certificates.yml | 2 +- test/cases/040_packages/003_containerd/test-containerd.yml | 2 +- test/cases/040_packages/004_dhcpcd/test-dhcpcd.yml | 2 +- test/cases/040_packages/013_mkimage/mkimage.yml | 2 +- test/cases/040_packages/013_mkimage/run.yml | 2 +- test/cases/040_packages/019_sysctl/test-sysctl.yml | 2 +- test/hack/test-ltp.yml | 2 +- test/hack/test.yml | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/blueprints/docker-for-mac/base.yml b/blueprints/docker-for-mac/base.yml index f482c88b0..4d919f8f0 100644 --- a/blueprints/docker-for-mac/base.yml +++ b/blueprints/docker-for-mac/base.yml @@ -1,6 +1,6 @@ # This is a blueprint for building the open source components of Docker for Mac kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/vpnkit-expose-port:e2b49a6c56fbf876ea24f0a5ce4ccae5f940d1be # install vpnkit-expose-port and vpnkit-iptables-wrapper on host diff --git a/examples/aws.yml b/examples/aws.yml index 2976ca262..5664b8cb7 100644 --- a/examples/aws.yml +++ b/examples/aws.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/azure.yml b/examples/azure.yml index 22e4a540a..2c112d57a 100644 --- a/examples/azure.yml +++ b/examples/azure.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/docker.yml b/examples/docker.yml index 3b5a8e58f..9e513386d 100644 --- a/examples/docker.yml +++ b/examples/docker.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/gcp.yml b/examples/gcp.yml index b41cb57fa..2819b3935 100644 --- a/examples/gcp.yml +++ b/examples/gcp.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/getty.yml b/examples/getty.yml index d4baa6f78..49621c1fe 100644 --- a/examples/getty.yml +++ b/examples/getty.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/minimal.yml b/examples/minimal.yml index aff1bdfb9..7d678819c 100644 --- a/examples/minimal.yml +++ b/examples/minimal.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/node_exporter.yml b/examples/node_exporter.yml index 83eeafb3f..f5f5ca8e6 100644 --- a/examples/node_exporter.yml +++ b/examples/node_exporter.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/packet.yml b/examples/packet.yml index 14588b621..e623c82b6 100644 --- a/examples/packet.yml +++ b/examples/packet.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS1 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/redis-os.yml b/examples/redis-os.yml index 82626ef6d..c32506131 100644 --- a/examples/redis-os.yml +++ b/examples/redis-os.yml @@ -1,7 +1,7 @@ # Minimal YAML to run a redis server (used at DockerCon'17) # connect: nc localhost 6379 kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/sshd.yml b/examples/sshd.yml index 14f3ebd18..4b36ad88f 100644 --- a/examples/sshd.yml +++ b/examples/sshd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/swap.yml b/examples/swap.yml index 64f373785..308fec2bc 100644 --- a/examples/swap.yml +++ b/examples/swap.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/vmware.yml b/examples/vmware.yml index c95be82f8..584707b38 100644 --- a/examples/vmware.yml +++ b/examples/vmware.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/vpnkit-forwarder.yml b/examples/vpnkit-forwarder.yml index f7b544ef8..8ff4d3edc 100644 --- a/examples/vpnkit-forwarder.yml +++ b/examples/vpnkit-forwarder.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/vsudd.yml b/examples/vsudd.yml index f3009b710..cd596777b 100644 --- a/examples/vsudd.yml +++ b/examples/vsudd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/examples/vultr.yml b/examples/vultr.yml index 548d7c61e..419e7253a 100644 --- a/examples/vultr.yml +++ b/examples/vultr.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/linuxkit.yml b/linuxkit.yml index fe0312368..afd98c4ee 100644 --- a/linuxkit.yml +++ b/linuxkit.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/projects/compose/compose-dynamic.yml b/projects/compose/compose-dynamic.yml index 0061c0ff7..4e844f9b8 100644 --- a/projects/compose/compose-dynamic.yml +++ b/projects/compose/compose-dynamic.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e diff --git a/projects/compose/compose-static.yml b/projects/compose/compose-static.yml index 7c2c5eabb..17b423644 100644 --- a/projects/compose/compose-static.yml +++ b/projects/compose/compose-static.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e diff --git a/projects/etcd/etcd.yml b/projects/etcd/etcd.yml index b8a72bd47..ddfbb9524 100644 --- a/projects/etcd/etcd.yml +++ b/projects/etcd/etcd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e diff --git a/projects/kubernetes/kube-master.yml b/projects/kubernetes/kube-master.yml index 8269b2395..1fc26953d 100644 --- a/projects/kubernetes/kube-master.yml +++ b/projects/kubernetes/kube-master.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/projects/kubernetes/kube-node.yml b/projects/kubernetes/kube-node.yml index 4f399c3ba..e92fbe2cb 100644 --- a/projects/kubernetes/kube-node.yml +++ b/projects/kubernetes/kube-node.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/projects/logging/examples/logging.yml b/projects/logging/examples/logging.yml index 722bd9c2b..007e76eaf 100644 --- a/projects/logging/examples/logging.yml +++ b/projects/logging/examples/logging.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 console=tty0 page_poison=1" init: - linuxkit/init:12348442d56c2ee9abf13ff38dff2e36b515bd1e # with runc, logwrite, startmemlogd diff --git a/projects/miragesdk/examples/mirage-dhcp.yml b/projects/miragesdk/examples/mirage-dhcp.yml index cd4a6aa54..faa432be2 100644 --- a/projects/miragesdk/examples/mirage-dhcp.yml +++ b/projects/miragesdk/examples/mirage-dhcp.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/projects/swarmd/swarmd.yml b/projects/swarmd/swarmd.yml index c0497cf42..014df80be 100644 --- a/projects/swarmd/swarmd.yml +++ b/projects/swarmd/swarmd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/000_build/000_outputs/test.yml b/test/cases/000_build/000_outputs/test.yml index e20eaf2e1..d94e3d106 100644 --- a/test/cases/000_build/000_outputs/test.yml +++ b/test/cases/000_build/000_outputs/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/000_run_kernel/test.yml b/test/cases/010_platforms/000_qemu/000_run_kernel/test.yml index 38624be0b..24cdb57e3 100644 --- a/test/cases/010_platforms/000_qemu/000_run_kernel/test.yml +++ b/test/cases/010_platforms/000_qemu/000_run_kernel/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/010_run_iso/test.yml b/test/cases/010_platforms/000_qemu/010_run_iso/test.yml index 9426a058b..6ed5fe9da 100644 --- a/test/cases/010_platforms/000_qemu/010_run_iso/test.yml +++ b/test/cases/010_platforms/000_qemu/010_run_iso/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/020_run_efi/test.yml b/test/cases/010_platforms/000_qemu/020_run_efi/test.yml index 38624be0b..24cdb57e3 100644 --- a/test/cases/010_platforms/000_qemu/020_run_efi/test.yml +++ b/test/cases/010_platforms/000_qemu/020_run_efi/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/030_run_qcow/test.yml b/test/cases/010_platforms/000_qemu/030_run_qcow/test.yml index 38624be0b..24cdb57e3 100644 --- a/test/cases/010_platforms/000_qemu/030_run_qcow/test.yml +++ b/test/cases/010_platforms/000_qemu/030_run_qcow/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/040_run_raw/test.yml b/test/cases/010_platforms/000_qemu/040_run_raw/test.yml index 38624be0b..24cdb57e3 100644 --- a/test/cases/010_platforms/000_qemu/040_run_raw/test.yml +++ b/test/cases/010_platforms/000_qemu/040_run_raw/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/000_qemu/100_container/test.yml b/test/cases/010_platforms/000_qemu/100_container/test.yml index a33ae2285..f0db2843b 100644 --- a/test/cases/010_platforms/000_qemu/100_container/test.yml +++ b/test/cases/010_platforms/000_qemu/100_container/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/010_hyperkit/000_run_kernel/test.yml b/test/cases/010_platforms/010_hyperkit/000_run_kernel/test.yml index 38624be0b..24cdb57e3 100644 --- a/test/cases/010_platforms/010_hyperkit/000_run_kernel/test.yml +++ b/test/cases/010_platforms/010_hyperkit/000_run_kernel/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/010_platforms/010_hyperkit/010_acpi/test.yml b/test/cases/010_platforms/010_hyperkit/010_acpi/test.yml index 9bacce385..c0a6a491f 100644 --- a/test/cases/010_platforms/010_hyperkit/010_acpi/test.yml +++ b/test/cases/010_platforms/010_hyperkit/010_acpi/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/020_kernel/000_config_4.4.x/test-kernel-config.yml b/test/cases/020_kernel/000_config_4.4.x/test-kernel-config.yml index 19d2ae6bd..cfe6a326f 100644 --- a/test/cases/020_kernel/000_config_4.4.x/test-kernel-config.yml +++ b/test/cases/020_kernel/000_config_4.4.x/test-kernel-config.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.4.75" + image: "linuxkit/kernel:4.4.76" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/020_kernel/001_config_4.9.x/test-kernel-config.yml b/test/cases/020_kernel/001_config_4.9.x/test-kernel-config.yml index 26402362e..b47ee5e93 100644 --- a/test/cases/020_kernel/001_config_4.9.x/test-kernel-config.yml +++ b/test/cases/020_kernel/001_config_4.9.x/test-kernel-config.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/020_kernel/003_config_4.11.x/test-kernel-config.yml b/test/cases/020_kernel/003_config_4.11.x/test-kernel-config.yml index fc30ffb94..dfa597476 100644 --- a/test/cases/020_kernel/003_config_4.11.x/test-kernel-config.yml +++ b/test/cases/020_kernel/003_config_4.11.x/test-kernel-config.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.11.8" + image: "linuxkit/kernel:4.11.9" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/020_kernel/010_kmod_4.9.x/Dockerfile b/test/cases/020_kernel/010_kmod_4.9.x/Dockerfile index 1491f6acd..25c950b51 100644 --- a/test/cases/020_kernel/010_kmod_4.9.x/Dockerfile +++ b/test/cases/020_kernel/010_kmod_4.9.x/Dockerfile @@ -3,7 +3,7 @@ # In the last stage, it creates a package, which can be used for # testing. -FROM linuxkit/kernel:4.9.35 AS ksrc +FROM linuxkit/kernel:4.9.36 AS ksrc # Extract headers and compile module FROM linuxkit/kernel-compile:1b396c221af673757703258159ddc8539843b02b@sha256:6b32d205bfc6407568324337b707d195d027328dbfec554428ea93e7b0a8299b AS build diff --git a/test/cases/020_kernel/010_kmod_4.9.x/kmod.yml b/test/cases/020_kernel/010_kmod_4.9.x/kmod.yml index 2984ad5eb..5c8a04c4a 100644 --- a/test/cases/020_kernel/010_kmod_4.9.x/kmod.yml +++ b/test/cases/020_kernel/010_kmod_4.9.x/kmod.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/020_kernel/010_kmod_4.9.x/test.sh b/test/cases/020_kernel/010_kmod_4.9.x/test.sh index 5c3a3dfc5..3de7e1d0e 100644 --- a/test/cases/020_kernel/010_kmod_4.9.x/test.sh +++ b/test/cases/020_kernel/010_kmod_4.9.x/test.sh @@ -18,7 +18,7 @@ clean_up() { trap clean_up EXIT # Make sure we have the latest kernel image -docker pull linuxkit/kernel:4.9.35 +docker pull linuxkit/kernel:4.9.36 # Build a package docker build -t ${IMAGE_NAME} . diff --git a/test/cases/030_security/000_docker-bench/test-docker-bench.yml b/test/cases/030_security/000_docker-bench/test-docker-bench.yml index 94b7b4011..cffdba680 100644 --- a/test/cases/030_security/000_docker-bench/test-docker-bench.yml +++ b/test/cases/030_security/000_docker-bench/test-docker-bench.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/030_security/010_ports/test.yml b/test/cases/030_security/010_ports/test.yml index a521ab036..b2a0d550d 100644 --- a/test/cases/030_security/010_ports/test.yml +++ b/test/cases/030_security/010_ports/test.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/002_binfmt/test-binfmt.yml b/test/cases/040_packages/002_binfmt/test-binfmt.yml index 83a42c154..d66eaa987 100644 --- a/test/cases/040_packages/002_binfmt/test-binfmt.yml +++ b/test/cases/040_packages/002_binfmt/test-binfmt.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/003_ca-certificates/test-ca-certificates.yml b/test/cases/040_packages/003_ca-certificates/test-ca-certificates.yml index ef28fdc29..a357d65f0 100644 --- a/test/cases/040_packages/003_ca-certificates/test-ca-certificates.yml +++ b/test/cases/040_packages/003_ca-certificates/test-ca-certificates.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/003_containerd/test-containerd.yml b/test/cases/040_packages/003_containerd/test-containerd.yml index b57d0b1d9..2d449ff6a 100644 --- a/test/cases/040_packages/003_containerd/test-containerd.yml +++ b/test/cases/040_packages/003_containerd/test-containerd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/004_dhcpcd/test-dhcpcd.yml b/test/cases/040_packages/004_dhcpcd/test-dhcpcd.yml index be9790350..73dedba2e 100644 --- a/test/cases/040_packages/004_dhcpcd/test-dhcpcd.yml +++ b/test/cases/040_packages/004_dhcpcd/test-dhcpcd.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/013_mkimage/mkimage.yml b/test/cases/040_packages/013_mkimage/mkimage.yml index 034358bd6..5a8433a84 100644 --- a/test/cases/040_packages/013_mkimage/mkimage.yml +++ b/test/cases/040_packages/013_mkimage/mkimage.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/013_mkimage/run.yml b/test/cases/040_packages/013_mkimage/run.yml index 8d0d3120f..a6ff3aae1 100644 --- a/test/cases/040_packages/013_mkimage/run.yml +++ b/test/cases/040_packages/013_mkimage/run.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/cases/040_packages/019_sysctl/test-sysctl.yml b/test/cases/040_packages/019_sysctl/test-sysctl.yml index 02fb96f94..353c11277 100644 --- a/test/cases/040_packages/019_sysctl/test-sysctl.yml +++ b/test/cases/040_packages/019_sysctl/test-sysctl.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/hack/test-ltp.yml b/test/hack/test-ltp.yml index 0d13c7a6b..cc80cf603 100644 --- a/test/hack/test-ltp.yml +++ b/test/hack/test-ltp.yml @@ -1,5 +1,5 @@ kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083 diff --git a/test/hack/test.yml b/test/hack/test.yml index 814e773d6..c729df7f1 100644 --- a/test/hack/test.yml +++ b/test/hack/test.yml @@ -1,7 +1,7 @@ # FIXME: This should use the minimal example # We continue to use the kernel-config-test as CI is currently expecting to see a success message kernel: - image: "linuxkit/kernel:4.9.35" + image: "linuxkit/kernel:4.9.36" cmdline: "console=ttyS0" init: - linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083