Extras:
- Remove vmware balloon late initcall patch as it has been merged in
4.9.130 stable branch.
Change-Id: I14c0a3b728e4f496439fc7db4e534c764973eea5
Signed-off-by: srinidhira0 <srinidhir@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5832
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
Summary: Linux API header files |
| 2 | 2 |
Name: linux-api-headers |
| 3 |
-Version: 4.9.124 |
|
| 3 |
+Version: 4.9.130 |
|
| 4 | 4 |
Release: 1%{?dist}
|
| 5 | 5 |
License: GPLv2 |
| 6 | 6 |
URL: http://www.kernel.org/ |
| ... | ... |
@@ -8,7 +8,7 @@ Group: System Environment/Kernel |
| 8 | 8 |
Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 11 |
-%define sha1 linux=8ec9a8969df8d37c6e716c264a23c818eed98780 |
|
| 11 |
+%define sha1 linux=59621537cc8891aa3d0d77b2892db7828a0098f9 |
|
| 12 | 12 |
BuildArch: noarch |
| 13 | 13 |
Patch0: Implement-the-f-xattrat-family-of-functions.patch |
| 14 | 14 |
%description |
| ... | ... |
@@ -27,6 +27,8 @@ find /%{buildroot}%{_includedir} \( -name .install -o -name ..install.cmd \) -de
|
| 27 | 27 |
%defattr(-,root,root) |
| 28 | 28 |
%{_includedir}/*
|
| 29 | 29 |
%changelog |
| 30 |
+* Mon Oct 01 2018 srinidhira0 <srinidhir@vmware.com> 4.9.130-1 |
|
| 31 |
+- Update to version 4.9.130 |
|
| 30 | 32 |
* Thu Aug 30 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.9.124-1 |
| 31 | 33 |
- Update to version 4.9.124 |
| 32 | 34 |
* Fri Aug 17 2018 Bo Gan <ganb@vmware.com> 4.9.120-1 |
| ... | ... |
@@ -24,7 +24,7 @@ CR: https://cr.amazon.com/r/7367683/ |
| 24 | 24 |
1 file changed, 92 insertions(+), 1 deletion(-) |
| 25 | 25 |
|
| 26 | 26 |
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c |
| 27 |
-index 8d498a9..7e5233e 100644 |
|
| 27 |
+index 3c1adb3..c199adc 100644 |
|
| 28 | 28 |
--- a/drivers/net/xen-netfront.c |
| 29 | 29 |
+++ b/drivers/net/xen-netfront.c |
| 30 | 30 |
@@ -43,6 +43,7 @@ |
| ... | ... |
@@ -48,7 +48,7 @@ index 8d498a9..7e5233e 100644 |
| 48 | 48 |
/* Module parameters */ |
| 49 | 49 |
static unsigned int xennet_max_queues; |
| 50 | 50 |
module_param_named(max_queues, xennet_max_queues, uint, 0644); |
| 51 |
-@@ -157,6 +164,10 @@ struct netfront_info {
|
|
| 51 |
+@@ -159,6 +166,10 @@ struct netfront_info {
|
|
| 52 | 52 |
struct netfront_stats __percpu *tx_stats; |
| 53 | 53 |
|
| 54 | 54 |
atomic_t rx_gso_checksum_fixup; |
| ... | ... |
@@ -59,7 +59,7 @@ index 8d498a9..7e5233e 100644 |
| 59 | 59 |
}; |
| 60 | 60 |
|
| 61 | 61 |
struct netfront_rx_info {
|
| 62 |
-@@ -717,6 +728,21 @@ static int xennet_close(struct net_device *dev) |
|
| 62 |
+@@ -722,6 +733,21 @@ static int xennet_close(struct net_device *dev) |
|
| 63 | 63 |
return 0; |
| 64 | 64 |
} |
| 65 | 65 |
|
| ... | ... |
@@ -81,7 +81,7 @@ index 8d498a9..7e5233e 100644 |
| 81 | 81 |
static void xennet_move_rx_slot(struct netfront_queue *queue, struct sk_buff *skb, |
| 82 | 82 |
grant_ref_t ref) |
| 83 | 83 |
{
|
| 84 |
-@@ -1312,6 +1338,8 @@ static struct net_device *xennet_create_dev(struct xenbus_device *dev) |
|
| 84 |
+@@ -1323,6 +1349,8 @@ static struct net_device *xennet_create_dev(struct xenbus_device *dev) |
|
| 85 | 85 |
|
| 86 | 86 |
np->queues = NULL; |
| 87 | 87 |
|
| ... | ... |
@@ -90,7 +90,7 @@ index 8d498a9..7e5233e 100644 |
| 90 | 90 |
err = -ENOMEM; |
| 91 | 91 |
np->rx_stats = netdev_alloc_pcpu_stats(struct netfront_stats); |
| 92 | 92 |
if (np->rx_stats == NULL) |
| 93 |
-@@ -1814,6 +1842,51 @@ static int xennet_create_queues(struct netfront_info *info, |
|
| 93 |
+@@ -1815,6 +1843,51 @@ static int xennet_create_queues(struct netfront_info *info, |
|
| 94 | 94 |
return 0; |
| 95 | 95 |
} |
| 96 | 96 |
|
| ... | ... |
@@ -142,7 +142,7 @@ index 8d498a9..7e5233e 100644 |
| 142 | 142 |
/* Common code used when first setting up, and when resuming. */ |
| 143 | 143 |
static int talk_to_netback(struct xenbus_device *dev, |
| 144 | 144 |
struct netfront_info *info) |
| 145 |
-@@ -2016,6 +2089,8 @@ static int xennet_connect(struct net_device *dev) |
|
| 145 |
+@@ -2030,6 +2103,8 @@ static int xennet_connect(struct net_device *dev) |
|
| 146 | 146 |
spin_unlock_bh(&queue->rx_lock); |
| 147 | 147 |
} |
| 148 | 148 |
|
| ... | ... |
@@ -151,10 +151,10 @@ index 8d498a9..7e5233e 100644 |
| 151 | 151 |
return 0; |
| 152 | 152 |
} |
| 153 | 153 |
|
| 154 |
-@@ -2054,11 +2129,25 @@ static void netback_changed(struct xenbus_device *dev, |
|
| 154 |
+@@ -2067,10 +2142,23 @@ static void netback_changed(struct xenbus_device *dev, |
|
| 155 |
+ break; |
|
| 155 | 156 |
|
| 156 | 157 |
case XenbusStateClosed: |
| 157 |
- wake_up_all(&module_unload_q); |
|
| 158 | 158 |
- if (dev->state == XenbusStateClosed) |
| 159 | 159 |
+ if (dev->state == XenbusStateClosed) {
|
| 160 | 160 |
+ /* dpm context is waiting for the backend */ |
| ... | ... |
@@ -164,21 +164,19 @@ index 8d498a9..7e5233e 100644 |
| 164 | 164 |
+ } |
| 165 | 165 |
/* Missed the backend's CLOSING state -- fallthrough */ |
| 166 | 166 |
case XenbusStateClosing: |
| 167 |
- wake_up_all(&module_unload_q); |
|
| 168 | 167 |
+ |
| 169 | 168 |
+ /* We may see unexpected Closed or Closing from the backend. |
| 170 | 169 |
+ * Just ignore it not to prevent the frontend from being |
| 171 | 170 |
+ * re-connected in the case of PM suspend or hibernation. |
| 172 | 171 |
+ */ |
| 173 | 172 |
+ if (np->freeze_state == NETIF_FREEZE_STATE_FROZEN && |
| 174 |
-+ dev->state == XenbusStateInitialising) {
|
|
| 173 |
++ dev->state == XenbusStateInitialising) {
|
|
| 175 | 174 |
+ break; |
| 176 | 175 |
+ } |
| 177 |
-+ |
|
| 178 | 176 |
xenbus_frontend_closed(dev); |
| 179 | 177 |
break; |
| 180 | 178 |
} |
| 181 |
-@@ -2181,6 +2269,9 @@ static struct xenbus_driver netfront_driver = {
|
|
| 179 |
+@@ -2217,6 +2305,9 @@ static struct xenbus_driver netfront_driver = {
|
|
| 182 | 180 |
.probe = netfront_probe, |
| 183 | 181 |
.remove = xennet_remove, |
| 184 | 182 |
.resume = netfront_resume, |
| ... | ... |
@@ -188,6 +186,3 @@ index 8d498a9..7e5233e 100644 |
| 188 | 188 |
.otherend_changed = netback_changed, |
| 189 | 189 |
}; |
| 190 | 190 |
|
| 191 |
-2.7.5 |
|
| 192 |
- |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-aws |
| 4 |
-Version: 4.9.124 |
|
| 5 |
-Release: 2%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.130 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=8ec9a8969df8d37c6e716c264a23c818eed98780 |
|
| 12 |
+%define sha1 linux=59621537cc8891aa3d0d77b2892db7828a0098f9 |
|
| 13 | 13 |
Source1: config-aws |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
# common |
| ... | ... |
@@ -443,6 +443,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
|
| 443 | 443 |
/usr/share/doc/* |
| 444 | 444 |
|
| 445 | 445 |
%changelog |
| 446 |
+* Mon Oct 01 2018 srinidhira0 <srinidhir@vmware.com> 4.9.130-1 |
|
| 447 |
+- Update to version 4.9.130 |
|
| 446 | 448 |
* Mon Sep 10 2018 Srinidhi Rao <srinidhir@vmware.com> 4.9.124-2 |
| 447 | 449 |
- Fix for CVE-2018-13053 |
| 448 | 450 |
* Fri Aug 24 2018 Bo Gan <ganb@vmware.com> 4.9.124-1 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-esx |
| 4 |
-Version: 4.9.124 |
|
| 5 |
-Release: 2%{?dist}
|
|
| 4 |
+Version: 4.9.130 |
|
| 5 |
+Release: 1%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=8ec9a8969df8d37c6e716c264a23c818eed98780 |
|
| 12 |
+%define sha1 linux=59621537cc8891aa3d0d77b2892db7828a0098f9 |
|
| 13 | 13 |
Source1: config-esx |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
# common |
| ... | ... |
@@ -35,7 +35,6 @@ Patch17: 04-quiet-boot.patch |
| 35 | 35 |
Patch18: 05-pv-ops-clocksource.patch |
| 36 | 36 |
Patch19: 06-pv-ops-boot_clock.patch |
| 37 | 37 |
Patch20: 07-vmware-only.patch |
| 38 |
-Patch21: vmware-balloon-late-initcall.patch |
|
| 39 | 38 |
Patch22: add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by-default.patch |
| 40 | 39 |
# Fix CVE-2017-1000252 |
| 41 | 40 |
Patch24: kvm-dont-accept-wrong-gsi-values.patch |
| ... | ... |
@@ -123,7 +122,6 @@ The Linux package contains the Linux kernel doc files |
| 123 | 123 |
%patch18 -p1 |
| 124 | 124 |
%patch19 -p1 |
| 125 | 125 |
%patch20 -p1 |
| 126 |
-%patch21 -p1 |
|
| 127 | 126 |
%patch22 -p1 |
| 128 | 127 |
%patch24 -p1 |
| 129 | 128 |
%patch25 -p1 |
| ... | ... |
@@ -146,8 +144,6 @@ The Linux package contains the Linux kernel doc files |
| 146 | 146 |
|
| 147 | 147 |
|
| 148 | 148 |
%build |
| 149 |
-# patch vmw_balloon driver |
|
| 150 |
-sed -i 's/module_init/late_initcall/' drivers/misc/vmw_balloon.c |
|
| 151 | 149 |
|
| 152 | 150 |
make mrproper |
| 153 | 151 |
cp %{SOURCE1} .config
|
| ... | ... |
@@ -240,6 +236,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 240 | 240 |
/usr/src/linux-headers-%{uname_r}
|
| 241 | 241 |
|
| 242 | 242 |
%changelog |
| 243 |
+* Mon Oct 01 2018 srinidhira0 <srinidhir@vmware.com> 4.9.130-1 |
|
| 244 |
+- Update to version 4.9.130 |
|
| 243 | 245 |
* Mon Sep 10 2018 Srinidhi Rao <srinidhir@vmware.com> 4.9.124-2 |
| 244 | 246 |
- Fix for CVE-2018-13053 |
| 245 | 247 |
* Fri Aug 24 2018 Bo Gan <ganb@vmware.com> 4.9.124-1 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux-secure |
| 4 |
-Version: 4.9.124 |
|
| 5 |
-Release: 2%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.130 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=8ec9a8969df8d37c6e716c264a23c818eed98780 |
|
| 12 |
+%define sha1 linux=59621537cc8891aa3d0d77b2892db7828a0098f9 |
|
| 13 | 13 |
Source1: config-secure |
| 14 | 14 |
Source2: aufs4.9.tar.gz |
| 15 | 15 |
%define sha1 aufs=ebe716ce4b638a3772c7cd3161abbfe11d584906 |
| ... | ... |
@@ -219,8 +219,6 @@ popd |
| 219 | 219 |
%endif |
| 220 | 220 |
|
| 221 | 221 |
%build |
| 222 |
-# patch vmw_balloon driver |
|
| 223 |
-sed -i 's/module_init/late_initcall/' drivers/misc/vmw_balloon.c |
|
| 224 | 222 |
|
| 225 | 223 |
make mrproper |
| 226 | 224 |
cp %{SOURCE1} .config
|
| ... | ... |
@@ -336,6 +334,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
|
| 336 | 336 |
/usr/src/linux-headers-%{uname_r}
|
| 337 | 337 |
|
| 338 | 338 |
%changelog |
| 339 |
+* Mon Oct 01 2018 srinidhira0 <srinidhir@vmware.com> 4.9.130-1 |
|
| 340 |
+- Update to version 4.9.130 |
|
| 339 | 341 |
* Mon Sep 10 2018 Srinidhi Rao <srinidhir@vmware.com> 4.9.124-2 |
| 340 | 342 |
- Fix for CVE-2018-13053 |
| 341 | 343 |
* Fri Aug 24 2018 Bo Gan <ganb@vmware.com> 4.9.124-1 |
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 | 1 |
%global security_hardening none |
| 2 | 2 |
Summary: Kernel |
| 3 | 3 |
Name: linux |
| 4 |
-Version: 4.9.124 |
|
| 5 |
-Release: 2%{?kat_build:.%kat_build}%{?dist}
|
|
| 4 |
+Version: 4.9.130 |
|
| 5 |
+Release: 1%{?kat_build:.%kat_build}%{?dist}
|
|
| 6 | 6 |
License: GPLv2 |
| 7 | 7 |
URL: http://www.kernel.org/ |
| 8 | 8 |
Group: System Environment/Kernel |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 | 11 |
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
|
| 12 |
-%define sha1 linux=8ec9a8969df8d37c6e716c264a23c818eed98780 |
|
| 12 |
+%define sha1 linux=59621537cc8891aa3d0d77b2892db7828a0098f9 |
|
| 13 | 13 |
Source1: config |
| 14 | 14 |
Source2: initramfs.trigger |
| 15 | 15 |
%define ena_version 1.1.3 |
| ... | ... |
@@ -366,6 +366,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
|
| 366 | 366 |
/usr/share/doc/* |
| 367 | 367 |
|
| 368 | 368 |
%changelog |
| 369 |
+* Mon Oct 01 2018 srinidhira0 <srinidhir@vmware.com> 4.9.130-1 |
|
| 370 |
+- Update to version 4.9.130 |
|
| 369 | 371 |
* Mon Sep 10 2018 Srinidhi Rao <srinidhir@vmware.com> 4.9.124-2 |
| 370 | 372 |
- Fix for CVE-2018-13053 |
| 371 | 373 |
* Fri Aug 24 2018 Bo Gan <ganb@vmware.com> 4.9.124-1 |
| 372 | 374 |
deleted file mode 100644 |
| ... | ... |
@@ -1,26 +0,0 @@ |
| 1 |
-From 79e9fe45e1c96e04a02a0fcf6f4d11623d1e810b Mon Sep 17 00:00:00 2001 |
|
| 2 |
-From: Alexey Makhalov <amakhalov@vmware.com> |
|
| 3 |
-Date: Wed, 10 May 2017 15:24:33 -0700 |
|
| 4 |
-Subject: [PATCH] vmware balloon late initcall |
|
| 5 |
- |
|
| 6 |
-Initialize balloon driver later (after vmci) |
|
| 7 |
- drivers/misc/vmw_balloon.c | 2 +- |
|
| 8 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
|
| 9 |
- |
|
| 10 |
-diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c |
|
| 11 |
-index 1e688bfec567..6944c55b9ee4 100644 |
|
| 12 |
-+++ b/drivers/misc/vmw_balloon.c |
|
| 13 |
-@@ -1298,7 +1298,7 @@ static int __init vmballoon_init(void) |
|
| 14 |
- |
|
| 15 |
- return 0; |
|
| 16 |
- } |
|
| 17 |
--module_init(vmballoon_init); |
|
| 18 |
-+late_initcall(vmballoon_init); |
|
| 19 |
- |
|
| 20 |
- static void __exit vmballoon_exit(void) |
|
| 21 |
- {
|
|
| 22 |
-2.11.0 |
|
| 23 |
- |