From 5ab5f31e14e2e4aac269d703a7872954f064ecaf Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 1 May 2017 11:25:02 +0100 Subject: [PATCH 1/3] kernel: Simplify/restructure Dockerfile - Use a RUN command per artefact created - Use WORKDIR to avoid "cd /linux" on every RUN command - Copy all relevant build artefacts to /out - Only create one additional layer in final stage - Add System.map to output image Signed-off-by: Rolf Neugebauer --- kernel/Dockerfile | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/kernel/Dockerfile b/kernel/Dockerfile index a2b9d8375..47175b551 100644 --- a/kernel/Dockerfile +++ b/kernel/Dockerfile @@ -20,28 +20,35 @@ RUN if [ $DEBUG -ne "0" ]; then \ # Apply local patches COPY patches-${KERNEL_SERIES} /patches -RUN cd /linux && \ - set -e && for patch in /patches/*.patch; do \ +WORKDIR /linux +RUN set -e && for patch in /patches/*.patch; do \ echo "Applying $patch"; \ patch -p1 < "$patch"; \ done -RUN cd /linux && \ - make defconfig && \ +RUN mkdir /out + +# Kernel +RUN make defconfig && \ make oldconfig && \ - make -j "$(getconf _NPROCESSORS_ONLN)" KCFLAGS="-fno-pie" -RUN cd /linux && \ - make INSTALL_MOD_PATH=/tmp/kernel-modules modules_install && \ + make -j "$(getconf _NPROCESSORS_ONLN)" KCFLAGS="-fno-pie" && \ + cp arch/x86_64/boot/bzImage /out/kernel && \ + cp System.map /out + +# Modules +RUN make INSTALL_MOD_PATH=/tmp/kernel-modules modules_install && \ ( DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdepth 1)) && \ cd /tmp/kernel-modules/lib/modules/$DVER && \ rm build source && \ ln -s /usr/src/linux-headers-$DVER build ) && \ - mkdir -p /tmp/kernel-headers/usr && \ - make INSTALL_HDR_PATH=/tmp/kernel-headers/usr headers_install && \ - ( cd /tmp/kernel-headers && tar cf /kernel-headers.tar usr ) && \ - ( cd /tmp/kernel-modules && tar cf /kernel-modules.tar lib ) && \ - cp vmlinux arch/x86_64/boot/bzImage / + ( cd /tmp/kernel-modules && tar cf /out/kernel.tar lib ) +# Headers (userspace API) +RUN mkdir -p /tmp/kernel-headers/usr && \ + make INSTALL_HDR_PATH=/tmp/kernel-headers/usr headers_install && \ + ( cd /tmp/kernel-headers && tar cf /out/kernel-headers.tar usr ) + +# Headers (kernel development) RUN DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdepth 1)) && \ dir=/tmp/usr/src/linux-headers-$DVER && \ mkdir -p $dir && \ @@ -49,17 +56,13 @@ RUN DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdept cd /linux && \ cp -a include "$dir" && \ mkdir -p "$dir"/arch/x86 && cp -a arch/x86/include "$dir"/arch/x86/ && \ - ( cd /tmp && tar cf /kernel-dev.tar usr/src ) + ( cd /tmp && tar cf /out/kernel-dev.tar usr/src ) -RUN printf "KERNEL_SOURCE=${KERNEL_SOURCE}\n" > /kernel-source-info +RUN printf "KERNEL_SOURCE=${KERNEL_SOURCE}\n" > /out/kernel-source-info FROM linuxkit/toybox-media:eee3dd4d72cd784801e95b1781e6c4f9d8a5e5eb@sha256:7f940e687164ee2676e11c61705c79f7dd2d144ee87ad17a494848a7045f5f53 ENTRYPOINT [] CMD [] WORKDIR / -COPY --from=kernel-build bzImage /kernel -COPY --from=kernel-build kernel-headers.tar / -COPY --from=kernel-build kernel-modules.tar /kernel.tar -COPY --from=kernel-build kernel-dev.tar / -COPY --from=kernel-build kernel-source-info / +COPY --from=kernel-build /out/* / From f44421042e5cd82a125b9060ce9e474fac338473 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Tue, 2 May 2017 12:04:20 +0100 Subject: [PATCH 2/3] kernel: Fix DEBUG builds and add default debug targets/images Building debug kernels (with additional run time checks and debugging) was broken a few commits back. This adds back support for building debug kernels. In addition, it builds and uploads debug kernels for selected kernel series (4.9.x LTS and latest stable). The tag for these kernels has a "_dbg" suffix. Update documentation. Signed-off-by: Rolf Neugebauer --- docs/kernels.md | 5 ++++- kernel/Dockerfile | 4 ++-- kernel/Makefile | 45 +++++++++++++++++++++----------------- kernel/kernel_config.debug | 2 +- 4 files changed, 32 insertions(+), 24 deletions(-) diff --git a/docs/kernels.md b/docs/kernels.md index 3caa920f8..5adf7500d 100644 --- a/docs/kernels.md +++ b/docs/kernels.md @@ -15,7 +15,10 @@ image is tagged with the full kernel version plus the hash of the files it was created from (git tree hash of the `./kernel` directory). For convenience, the latest kernel of each stable series is also available under a shorthand tag, e.g. `linuxkit/kernel:4.9.x` -for the latest `4.9` kernel. +for the latest `4.9` kernel. For selected kernels (mostly the LTS +kernels and latest stable kernels) we also compile/push kernels with +additional debugging enabled. The hub images for these kernels have +the `_dbg` suffix in the tag. In addition to the official kernel images, LinuxKit offers the ability to build bootable Linux images with kernels from various diff --git a/kernel/Dockerfile b/kernel/Dockerfile index 47175b551..7cbf93542 100644 --- a/kernel/Dockerfile +++ b/kernel/Dockerfile @@ -2,7 +2,7 @@ FROM linuxkit/kernel-compile:1b396c221af673757703258159ddc8539843b02b@sha256:6b3 ARG KERNEL_VERSION ARG KERNEL_SERIES -ARG DEBUG=0 +ARG DEBUG ENV KERNEL_SOURCE=https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz @@ -13,7 +13,7 @@ RUN cat linux-${KERNEL_VERSION}.tar.xz | tar --absolute-names -xJ && mv /linux- COPY kernel_config-${KERNEL_SERIES} /linux/arch/x86/configs/x86_64_defconfig COPY kernel_config.debug /linux/debug_config -RUN if [ $DEBUG -ne "0" ]; then \ +RUN if [ -n "${DEBUG}" ]; then \ sed -i 's/CONFIG_PANIC_ON_OOPS=y/# CONFIG_PANIC_ON_OOPS is not set/' /linux/arch/x86/configs/x86_64_defconfig; \ cat /linux/debug_config >> /linux/arch/x86/configs/x86_64_defconfig; \ fi diff --git a/kernel/Makefile b/kernel/Makefile index 27f529fae..f73c15e67 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -8,8 +8,6 @@ # of the current directory. The build will only rebuild the kernel # image if the git tree hash changed. -# Enable a debug kernel -DEBUG?=0 # Git tree hash of this directory. Override to force build HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}') # Name on Hub @@ -28,37 +26,44 @@ sign: # Arguments: # $1: Full kernel version, e.g., 4.9.22 # $2: Kernel "series", e.g., 4.9.x +# $3: Build a debug kernel (used as suffix for image) # This defines targets like: -# tag_4.9.x, push_4.9.x and sign_4.9.x -# and adds them as dependencies to the global targets +# build_4.9.x, push_4.9.x and sign_4.9.x and adds them as dependencies +# to the global targets +# Set $3 to "_dbg", to build debug kernels. This defines targets like +# build_4.9.x_dbg and adds "_dbg" to the hub image name. define kernel -build_$(2): Dockerfile Makefile $(wildcard patches-$(2)/*) kernel_config-$(2) kernel_config.debug - docker pull linuxkit/$(IMAGE):$(1)-$(HASH) || \ +build_$(2)$(3): Dockerfile Makefile $(wildcard patches-$(2)/*) kernel_config-$(2) kernel_config.debug + docker pull linuxkit/$(IMAGE):$(1)$(3)-$(HASH) || \ docker build \ --build-arg KERNEL_VERSION=$(1) \ --build-arg KERNEL_SERIES=$(2) \ - --no-cache -t linuxkit/$(IMAGE):$(1)-$(HASH) . + --build-arg DEBUG=$(3) \ + --no-cache -t linuxkit/$(IMAGE):$(1)$(3)-$(HASH) . -push_$(2): build_$(2) - docker pull linuxkit/$(IMAGE):$(1)-$(HASH) || \ - (docker push linuxkit/$(IMAGE):$(1)-$(HASH) && \ - docker tag linuxkit/$(IMAGE):$(1)-$(HASH) linuxkit/$(IMAGE):$(2) && \ - docker push linuxkit/$(IMAGE):$(2)) +push_$(2)$(3): build_$(2)$(3) + docker pull linuxkit/$(IMAGE):$(1)$(3)-$(HASH) || \ + (docker push linuxkit/$(IMAGE):$(1)$(3)-$(HASH) && \ + docker tag linuxkit/$(IMAGE):$(1)$(3)-$(HASH) linuxkit/$(IMAGE):$(2)$(3) && \ + docker push linuxkit/$(IMAGE):$(2)$(3)) -sign_$(2): build_$(2) - DOCKER_CONTENT_TRUST=1 docker pull linuxkit/$(IMAGE):$(1)-$(HASH) || \ - (DOCKER_CONTENT_TRUST=1 docker push linuxkit/$(IMAGE):$(1)-$(HASH) && \ - docker tag linuxkit/$(IMAGE):$(1)-$(HASH) linuxkit/$(IMAGE):$(2) && \ - DOCKER_CONTENT_TRUST=1 docker push linuxkit/$(IMAGE):$(2)) +sign_$(2)$(3): build_$(2)$(3) + DOCKER_CONTENT_TRUST=1 docker pull linuxkit/$(IMAGE):$(1)$(3)-$(HASH) || \ + (DOCKER_CONTENT_TRUST=1 docker push linuxkit/$(IMAGE):$(1)$(3)-$(HASH) && \ + docker tag linuxkit/$(IMAGE):$(1)$(3)-$(HASH) linuxkit/$(IMAGE):$(2)$(3) && \ + DOCKER_CONTENT_TRUST=1 docker push linuxkit/$(IMAGE):$(2)$(3)) -build: build_$(2) -push: push_$(2) -sign: sign_$(2) +build: build_$(2)$(3) +push: push_$(2)$(3) +sign: sign_$(2)$(3) endef # # Build Targets +# Debug targets only for latest stable and LTS stable # $(eval $(call kernel,4.10.13,4.10.x)) +$(eval $(call kernel,4.10.13,4.10.x,_dbg)) $(eval $(call kernel,4.9.25,4.9.x)) +$(eval $(call kernel,4.9.25,4.9.x,_dbg)) $(eval $(call kernel,4.4.64,4.4.x)) diff --git a/kernel/kernel_config.debug b/kernel/kernel_config.debug index 17b14daca..00e73d577 100644 --- a/kernel/kernel_config.debug +++ b/kernel/kernel_config.debug @@ -1,6 +1,6 @@ -## MOBY DEBUG OPTIONS ## +## LinuxKit DEBUG OPTIONS ## CONFIG_LOCKDEP=y CONFIG_FRAME_POINTER=y From c9a123ba54ea3f0c096c5eef0af57708b826fedb Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Tue, 2 May 2017 15:20:04 +0100 Subject: [PATCH 3/3] kernel: Update to 4.4.65 The 4.9 and 4.10 series did not get updates Signed-off-by: Rolf Neugebauer --- kernel/Makefile | 2 +- .../0001-virtio-make-find_vqs-checkpatch.pl-friendly.patch | 4 ++-- ...-VSOCK-constify-vmci_transport_notify_ops-structures.patch | 4 ++-- ...AF_VSOCK-Shrink-the-area-influenced-by-prepare_to_wa.patch | 4 ++-- ...004-vsock-make-listener-child-lock-ordering-explicit.patch | 4 ++-- ...5-VSOCK-transport-specific-vsock_transport-functions.patch | 4 ++-- .../0006-VSOCK-defer-sock-removal-to-transports.patch | 4 ++-- .../0007-VSOCK-Introduce-virtio_vsock_common.ko.patch | 4 ++-- .../0008-VSOCK-Introduce-virtio_transport.ko.patch | 4 ++-- .../patches-4.4.x/0009-VSOCK-Introduce-vhost_vsock.ko.patch | 4 ++-- .../patches-4.4.x/0010-VSOCK-Add-Makefile-and-Kconfig.patch | 4 ++-- kernel/patches-4.4.x/0011-VSOCK-Use-kvfree.patch | 4 ++-- ...vhost-vsock-fix-vhost-virtio_vsock_pkt-use-after-fre.patch | 4 ++-- .../0013-virtio-vsock-fix-include-guard-typo.patch | 4 ++-- ...014-vhost-vsock-drop-space-available-check-for-TX-vq.patch | 4 ++-- ...VSOCK-Only-allow-host-network-namespace-to-use-AF_VS.patch | 4 ++-- ...drivers-hv-Define-the-channel-type-for-Hyper-V-PCI-E.patch | 4 ++-- .../0017-Drivers-hv-vmbus-Use-uuid_le-type-consistently.patch | 4 ++-- ...Drivers-hv-vmbus-Use-uuid_le_cmp-for-comparing-GUIDs.patch | 4 ++-- ...Drivers-hv-vmbus-do-sanity-check-of-channel-state-in.patch | 4 ++-- ...Drivers-hv-vmbus-release-relid-on-error-in-vmbus_pro.patch | 4 ++-- ...Drivers-hv-vmbus-channge-vmbus_connection.channel_lo.patch | 4 ++-- ...Drivers-hv-remove-code-duplication-between-vmbus_rec.patch | 4 ++-- ...Drivers-hv-vmbus-fix-the-building-warning-with-hyper.patch | 4 ++-- ...Drivers-hv-vmbus-Treat-Fibre-Channel-devices-as-perf.patch | 4 ++-- ...5-Drivers-hv-vmbus-Add-vendor-and-device-atttributes.patch | 4 ++-- ...Drivers-hv-vmbus-add-a-helper-function-to-set-a-chan.patch | 4 ++-- ...Drivers-hv-vmbus-define-the-new-offer-type-for-Hyper.patch | 4 ++-- ...Drivers-hv-vmbus-vmbus_sendpacket_ctl-hvsock-avoid-u.patch | 4 ++-- ...Drivers-hv-vmbus-define-a-new-VMBus-message-type-for.patch | 4 ++-- ...Drivers-hv-vmbus-add-a-hvsock-flag-in-struct-hv_driv.patch | 4 ++-- ...-Drivers-hv-vmbus-add-a-per-channel-rescind-callback.patch | 4 ++-- ...Drivers-hv-vmbus-add-an-API-vmbus_hvsock_device_unre.patch | 4 ++-- ...Drivers-hv-vmbus-Give-control-over-how-the-ring-acce.patch | 4 ++-- ...-Drivers-hv-vmbus-avoid-wait_for_completion-on-crash.patch | 4 ++-- ...Drivers-hv-vmbus-avoid-unneeded-compiler-optimizatio.patch | 4 ++-- .../0036-kcm-Kernel-Connection-Multiplexor-module.patch | 4 ++-- ...037-net-add-the-AF_KCM-entries-to-family-name-tables.patch | 4 ++-- kernel/patches-4.4.x/0038-net-Add-Qualcomm-IPC-router.patch | 4 ++-- .../0039-hv_sock-introduce-Hyper-V-Sockets.patch | 4 ++-- ...-net-add-the-AF_HYPERV-entries-to-family-name-tables.patch | 4 ++-- ...Drivers-hv-vmbus-fix-the-race-when-querying-updating.patch | 4 ++-- .../0042-vmbus-Don-t-spam-the-logs-with-unknown-GUIDs.patch | 4 ++-- kernel/patches-4.4.x/0043-fs-add-filp_clone_open-API.patch | 4 ++-- ...binfmt_misc-add-persistent-opened-binary-handler-for.patch | 4 ++-- 45 files changed, 89 insertions(+), 89 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index f73c15e67..22c016add 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -66,4 +66,4 @@ $(eval $(call kernel,4.10.13,4.10.x)) $(eval $(call kernel,4.10.13,4.10.x,_dbg)) $(eval $(call kernel,4.9.25,4.9.x)) $(eval $(call kernel,4.9.25,4.9.x,_dbg)) -$(eval $(call kernel,4.4.64,4.4.x)) +$(eval $(call kernel,4.4.65,4.4.x)) 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 0cd7528d5..caf0669bf 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 eeff53eb03d6e8df082972ddf6b3eae916152861 Mon Sep 17 00:00:00 2001 +From 88a161fda95c9975f0a6ac2d6a8cc97759f67ae8 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 @@ -215,5 +215,5 @@ index e5ce8ab0b8b0..6e6cb0c9d7cb 100644 u64 (*get_features)(struct virtio_device *vdev); int (*finalize_features)(struct virtio_device *vdev); -- -2.11.1 +2.11.0 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 0614c79af..7d1bb01f4 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 1a4874138d5a55e193d9e9f85c9ce2b2234a8b4d Mon Sep 17 00:00:00 2001 +From ad858ab88426a3ae49116568557634a6d6f666e9 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 @@ -73,5 +73,5 @@ index dc9c7929a2f9..21e591dafb03 100644 vmci_transport_notify_pkt_socket_destruct, vmci_transport_notify_pkt_poll_in, -- -2.11.1 +2.11.0 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 3419e9419..d0586bc2d 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 ebdc8464ade61005dc0896a43bc940483f462d60 Mon Sep 17 00:00:00 2001 +From da72343ac89415a3649e5af2635827a0728372ca 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 @@ -332,5 +332,5 @@ index 9b5bd6d142dc..b5f1221f48d4 100644 release_sock(sk); return err; -- -2.11.1 +2.11.0 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 706aed30a..ce6f7d457 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 8a79000b20ddd6abf0d77758fb0b7029625d30ba Mon Sep 17 00:00:00 2001 +From c4666b9d4c62d2df51b544aab50cdd21126dc816 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 @@ -59,5 +59,5 @@ index b5f1221f48d4..b96ac918e0ba 100644 /* If the listener socket has received an error, then we should -- -2.11.1 +2.11.0 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 aa71105d8..0fc1cfefb 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 a83a0a9a221657fb84e5e97f9382b45c54f8da82 Mon Sep 17 00:00:00 2001 +From effa9e0c7cd09f2d5f2329954abbcfa8f42ececd 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 @@ -55,5 +55,5 @@ index b96ac918e0ba..e34d96f8bde2 100644 MODULE_DESCRIPTION("VMware Virtual Socket Family"); MODULE_VERSION("1.0.1.0-k"); -- -2.11.1 +2.11.0 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 5a629b010..3de52fba9 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 9ad46b96863f47ae1bcf0db7600a3839c378701e Mon Sep 17 00:00:00 2001 +From 98b869d29f5dae8c5ce907f9f20a0f4f4f5e1a65 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 @@ -79,5 +79,5 @@ index 662bdd20a748..5f8c99eb104c 100644 vmci_datagram_destroy_handle(vmci_trans(vsk)->dg_handle); vmci_trans(vsk)->dg_handle = VMCI_INVALID_HANDLE; -- -2.11.1 +2.11.0 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 bcf9765e2..47dea36cb 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 5f2c7a423a485fe4e24e989aa21f2959a76a623d Mon Sep 17 00:00:00 2001 +From bcb6718c392d78e26717c9153dc7259d4480fbcf 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 @@ -1492,5 +1492,5 @@ index 000000000000..a53b3a16b4f1 +MODULE_AUTHOR("Asias He"); +MODULE_DESCRIPTION("common code for virtio vsock"); -- -2.11.1 +2.11.0 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 67a2486f6..e4b41cd65 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 96f038468e83e7e7858c9f32ce3120db2144f92d Mon Sep 17 00:00:00 2001 +From 1ca60a870f53031a10d909f8704eec45485c145b 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 @@ -659,5 +659,5 @@ index 000000000000..699dfabdbccd +MODULE_DESCRIPTION("virtio transport for vsock"); +MODULE_DEVICE_TABLE(virtio, id_table); -- -2.11.1 +2.11.0 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 6151fa248..b753760ed 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 3c2473d53f9afbd823c683e2521efed9e4b060e2 Mon Sep 17 00:00:00 2001 +From 046aef3c4e52984035fa8c6245eea03daf4bb6fc 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 @@ -773,5 +773,5 @@ index ab3731917bac..b30647697774 100644 + #endif -- -2.11.1 +2.11.0 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 71d04bcc3..46e829fc3 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 a36ef67c2ed26c1c3151be7625192d049f2a794c Mon Sep 17 00:00:00 2001 +From 24c1d6a5fc6075538591045899ceddc985b2d913 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 @@ -102,5 +102,5 @@ index 2ce52d70f224..bc27c70e0e59 100644 + +vmw_vsock_virtio_transport_common-y += virtio_transport_common.o -- -2.11.1 +2.11.0 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 64669db70..fc57943de 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 006d210eabf16ba1f6ef9a3eb0e90248497aa243 Mon Sep 17 00:00:00 2001 +From acbb8fad5d2d446be198806be3a638e2fc47842f 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() @@ -29,5 +29,5 @@ index 028ca16c2d36..0ddf3a2dbfc4 100644 static int vhost_vsock_dev_open(struct inode *inode, struct file *file) -- -2.11.1 +2.11.0 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 ba19f13c7..60f96abe0 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 ea89836d72c75be2ff88a3cf31166ea7ddf20d73 Mon Sep 17 00:00:00 2001 +From 6f18c754865212144f1473f8a30c2eaee99cf486 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 @@ -49,5 +49,5 @@ index 0ddf3a2dbfc4..e3b30ea9ece5 100644 } -- -2.11.1 +2.11.0 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 a8d544c47..7074de22f 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 1e5eb9e80811f5d2cbb007905d7e41639ea5e68c Mon Sep 17 00:00:00 2001 +From 8b28af425ab7d1a989b605bd5f7c7c077928ad1d 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 @@ -24,5 +24,5 @@ index 6b011c19b50f..1d57ed3d84d2 100644 #include #include -- -2.11.1 +2.11.0 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 6789540fa..f0a76ec9b 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 c4ab863d63168ebab6a1bedd349cd29edcd8b638 Mon Sep 17 00:00:00 2001 +From 4af002eb78275dc2c489f4b6a7ea89cb8d2f0bca 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 @@ -57,5 +57,5 @@ index 699dfabdbccd..936d7eee62d0 100644 } -- -2.11.1 +2.11.0 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 ca91fb828..b5853685c 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 e267778b94b9feb553c59452aae780863aee6b0d Mon Sep 17 00:00:00 2001 +From f1f59f16e41c6980daae15dc8afb7256ba97593b 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 @@ -27,5 +27,5 @@ index 17dbbe64cd73..1bb1b016e945 100644 return -EINVAL; -- -2.11.1 +2.11.0 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 9b35a0332..fcd17bb7f 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 8742dfd301cc4243c04b37fc1a8a913560b3d2b3 Mon Sep 17 00:00:00 2001 +From 9c0ba54d98d8aac25bd16cff53145a20f25e24b7 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 @@ -59,5 +59,5 @@ index ae6a711dcd1d..10dda1e3b560 100644 */ -- -2.11.1 +2.11.0 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 8275f13f1..644384928 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 0dc712fbdd40447428c31a0f50e4aec94126b98e Mon Sep 17 00:00:00 2001 +From 01c8ecad0d1157f3aea0f81597178662a39f48d6 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 @@ -293,5 +293,5 @@ index 9f5cdd49ff0b..8e8c69bee78f 100644 strcpy(alias, "vmbus:"); strcat(alias, guid_name); -- -2.11.1 +2.11.0 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 4e129a0e3..4fdca8fcd 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 5c893a47dffb979011848a9764a4e944372537f6 Mon Sep 17 00:00:00 2001 +From 022d71456eaf782543a64626e0b5c7caed71ef74 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 @@ -51,5 +51,5 @@ index f1fbb6b98f5c..e71f3561dbab 100644 return NULL; -- -2.11.1 +2.11.0 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 58743b361..79788e4a0 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 47f183f5dc2b326a5894c303591567fe84c656db Mon Sep 17 00:00:00 2001 +From b12496b9356c8672186e1fc1410c3371ee6e3c2e 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 @@ -38,5 +38,5 @@ index d037454fe7b8..b00cdfb725de 100644 channel->sc_creation_callback = NULL; /* Stop callback and cancel the timer asap */ -- -2.11.1 +2.11.0 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 313a38e97..e820f0124 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 4c288b912b8c801c672602781141ba2bee267e90 Mon Sep 17 00:00:00 2001 +From 883c61ea4027d65921195e4ad08b3438c50b7da5 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 @@ -70,5 +70,5 @@ index 9b4525c56376..8529dd2ebc3d 100644 } -- -2.11.1 +2.11.0 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 5e1738ba6..a58d0570b 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 0b50537d8322491c2e46f566aaa449955a07d3cf Mon Sep 17 00:00:00 2001 +From d65102ce43264db3d7022c5d901af0274ea36b1d 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 @@ -112,5 +112,5 @@ index 75e383e6d03d..9a95beb87015 100644 struct workqueue_struct *work_queue; }; -- -2.11.1 +2.11.0 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 53aac7392..b77feb91d 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 3fe16c66afb8d13c0ac3606b69b06d008612031e Mon Sep 17 00:00:00 2001 +From e779fd49a0004c2f87fac6fb090042ac073296b7 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 @@ -122,5 +122,5 @@ index b00cdfb725de..def21d34f3ea 100644 } EXPORT_SYMBOL_GPL(vmbus_recvpacket_raw); -- -2.11.1 +2.11.0 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 236e7e765..e87f17ec9 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 5336b713b328a0180f0c1ab3edb8e7f1dd860df4 Mon Sep 17 00:00:00 2001 +From d3c59e89fb179b54e06c9ed2b54ff0837b9252e1 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 @@ -68,5 +68,5 @@ index 4712d7d07b8c..9e2de6a7cc96 100644 */ #define HV_VSS_GUID \ -- -2.11.1 +2.11.0 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 cc990cc9b..beb12ceed 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 ee4e8a79acdef56d8ff31df5f115fdf6f2313568 Mon Sep 17 00:00:00 2001 +From 56db61ebf00e0da299cdf1024feb47bbad13fe18 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 @@ -38,5 +38,5 @@ index 306c7dff6c77..763d0c19c16f 100644 { HV_NIC_GUID, }, /* NetworkDirect Guest RDMA */ -- -2.11.1 +2.11.0 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 3a3e37095..3300e1945 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 70bb489cdc6f3c9d90990ad9aa42083232bbdd94 Mon Sep 17 00:00:00 2001 +From 45c2b88e86b7c8e664cb8a8abbf7419b6409e7a2 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 @@ -351,5 +351,5 @@ index 9e2de6a7cc96..51c98fd6044d 100644 struct device device; -- -2.11.1 +2.11.0 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 8416a4c9b..ef2810a11 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 ca1b5a78aec64678f8b196366dd1510320479d47 Mon Sep 17 00:00:00 2001 +From dd5942a9a75947e5e06e527f674600e67b392ae5 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 @@ -32,5 +32,5 @@ index 51c98fd6044d..934542ac1394 100644 int vmbus_request_offers(void); -- -2.11.1 +2.11.0 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 163ebbaaf..4615f6858 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 428502fe653251603431c6e450fe404c83a00fbb Mon Sep 17 00:00:00 2001 +From 1fa6ff43be2b82f661fa66e8669603e1caa8e5cb 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 @@ -40,5 +40,5 @@ index 934542ac1394..a4f105d55881 100644 enum hv_signal_policy policy) { -- -2.11.1 +2.11.0 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 0edab157d..2c6aa30ed 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 071ef6098a5c485c00463711bb7de80cfe241dd9 Mon Sep 17 00:00:00 2001 +From 6f516da849cad2eb753fe35e08a3353f8cfa1cde 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 @@ -41,5 +41,5 @@ index def21d34f3ea..a42104ed0b59 100644 return ret; -- -2.11.1 +2.11.0 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 37c6a7fcf..8d39aca55 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 eca5fc2f7461ac64a9b6a3d102c2d1edefa74dc8 Mon Sep 17 00:00:00 2001 +From dce0e762bdec2bc4919b5994169a538c0149ad11 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 @@ -97,5 +97,5 @@ index a4f105d55881..191bc5d0ffbf 100644 + const uuid_le *shv_host_servie_id); #endif /* _HYPERV_H */ -- -2.11.1 +2.11.0 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 ebc2a71b5..6d072a1ff 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 47b4dc5a8f640977d39640b918298ef1b91fa1c3 Mon Sep 17 00:00:00 2001 +From 266eef3467b88025089ebd3f1996ef4e381a0306 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 @@ -60,5 +60,5 @@ index 191bc5d0ffbf..05966e279ec8 100644 uuid_le dev_type; const struct hv_vmbus_device_id *id_table; -- -2.11.1 +2.11.0 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 9c69e4beb..9021431d5 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 347e9e7f4997fe428fbdc58555e6de052311ff66 Mon Sep 17 00:00:00 2001 +From f54c86bc24273b8c8687ce0e0e8e7fb0f63f5a17 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 @@ -68,5 +68,5 @@ index 05966e279ec8..ad04017ba06f 100644 * Retrieve the (sub) channel on which to send an outgoing request. * When a primary channel has multiple sub-channels, we choose a -- -2.11.1 +2.11.0 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 6b607dbce..4b7de8b6b 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 00f2a6e60fbfd79b5c8b891e6a19c310c90d91fd Mon Sep 17 00:00:00 2001 +From dec0462e4468a82204567297e23860ef7345fe8a 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 @@ -149,5 +149,5 @@ index ad04017ba06f..993318a6d147 100644 resource_size_t min, resource_size_t max, resource_size_t size, resource_size_t align, -- -2.11.1 +2.11.0 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 b807efb8e..ee85e32d0 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 99735e5a356d8a2d409872f8062e9e89ed2fb377 Mon Sep 17 00:00:00 2001 +From 6013a0ecabce5d1373b5c505c23707164e31bf58 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 @@ -204,5 +204,5 @@ index 993318a6d147..6c9695ef757e 100644 { return !!(c->offermsg.offer.chn_flags & -- -2.11.1 +2.11.0 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 6299c3055..69ffe255c 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 b7443966e422f409f0ee950941512755e446e855 Mon Sep 17 00:00:00 2001 +From f4c5342d4a7fe9e68e2595ad7922f608ade7aa90 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 @@ -96,5 +96,5 @@ index a220efc297c4..d9801855ad4e 100644 * In crash handler we can't schedule synic cleanup for all CPUs, * doing the cleanup for current CPU only. This should be sufficient -- -2.11.1 +2.11.0 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 4458203db..648ac6e6a 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 a65542279ae59bc1fb200dc38c1e52359d3f3d39 Mon Sep 17 00:00:00 2001 +From 32c9f4b3fd836edd97455d1069b806f6284d4768 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 @@ -35,5 +35,5 @@ index f70e35278b94..c892db5df665 100644 continue; } -- -2.11.1 +2.11.0 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 7134c3c6e..519261102 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 b611485932f9b600fcaa82566d3e3cd76ec1169e Mon Sep 17 00:00:00 2001 +From 2e116844edadec3cd662a0e233069dc62aa94943 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 @@ -2308,5 +2308,5 @@ index 000000000000..649d246c6799 +MODULE_LICENSE("GPL"); +MODULE_ALIAS_NETPROTO(PF_KCM); -- -2.11.1 +2.11.0 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 3828969f0..7c675e315 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 e3cfc8c926cfa77dba1406252dae1240e63b00b8 Mon Sep 17 00:00:00 2001 +From 03424c40d68ba5a1a12463515540b382b3868baf 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 @@ -48,5 +48,5 @@ index 9c708a5fb751..36afa5d4598b 100644 /* -- -2.11.1 +2.11.0 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 cc6333cc4..d6d8596ca 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 f137c7e4c47b16d42642b5b250fd3cb4107a2c28 Mon Sep 17 00:00:00 2001 +From 017ff57203c40c88b8689d4aaf369df953fa1d06 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 @@ -1303,5 +1303,5 @@ index 000000000000..84ebce73aa23 +MODULE_DESCRIPTION("Qualcomm IPC-Router SMD interface driver"); +MODULE_LICENSE("GPL v2"); -- -2.11.1 +2.11.0 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 8a73ca03a..4911c022d 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 89ecdc58887d046cc18be9ecb1b10b76a4d192b1 Mon Sep 17 00:00:00 2001 +From dc7c1989d8bc702dd71d0749226e233df27a14cc 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 @@ -1801,5 +1801,5 @@ index 000000000000..b91bd608bf39 +MODULE_DESCRIPTION("Hyper-V Sockets"); +MODULE_LICENSE("Dual BSD/GPL"); -- -2.11.1 +2.11.0 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 de037f729..9b0643c25 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 6b9b4fcb0bfad2550c9b82a0e1b0e5cbeed3443a Mon Sep 17 00:00:00 2001 +From 8e15a498069bdc1aaedb19460d7f3ca706fa466b 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 @@ -45,5 +45,5 @@ index 36afa5d4598b..5077059e352b 100644 /* -- -2.11.1 +2.11.0 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 72bdbcafb..981989a4a 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 5550ad5e1a94401410f32ed9fb91763f6aa3bd00 Mon Sep 17 00:00:00 2001 +From 739524bb420ceda3d25d8aa60ce60bd954226a56 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 & @@ -129,5 +129,5 @@ index c892db5df665..0a543170eba0 100644 err_free_chan: free_channel(newchannel); -- -2.11.1 +2.11.0 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 c3fe4622f..4245b1ce7 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 fe3d65a319af8c5a6f8789090c25ac2675df9dae Mon Sep 17 00:00:00 2001 +From e8e35e54e02c041e3f5ad823defd9474e9a8e5d1 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 @@ -26,5 +26,5 @@ index 0a543170eba0..120ee22c945e 100644 } -- -2.11.1 +2.11.0 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 29b474667..0b2e22ad0 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 c9ee576f3b8d39bf7b00355b07632af8af6e0d55 Mon Sep 17 00:00:00 2001 +From b0b62e16c8d8a8b6e60cec10acfb4d7bad58318c 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 @@ -60,5 +60,5 @@ index 157b9940dd73..9d993f928ea0 100644 { struct open_flags op; -- -2.11.1 +2.11.0 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 5d83bfc47..d69441025 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 0f832c404d8307d31a66f841d9bb07476ed3684f Mon Sep 17 00:00:00 2001 +From 730d3bfe1aa62085de6d997fc90c9d4756ed89d2 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 @@ -128,5 +128,5 @@ index 78f005f37847..4beb3d9e0001 100644 return count; } -- -2.11.1 +2.11.0