Skip to content

Commit a72733f

Browse files
srivatsabhatAlexey Makhalov
authored and
Alexey Makhalov
committed
kernels: Update to version 4.19.6 and enable EFI support in linux-aws
Remove 0055-net-ipv4-defensive-cipso-option-parsing.patch from linux-aws, since it got merged in linux-stable 4.19.2. Enable EFI in linux-aws config in order to support kernel signing. Change-Id: I27b866bdeec59711000b00549c69f8023924a79e Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6242 Tested-by: gerrit-photon <[email protected]> Reviewed-by: Alexey Makhalov <[email protected]>
1 parent 5f1db45 commit a72733f

9 files changed

+62
-96
lines changed

SPECS/linux-api-headers/linux-api-headers.spec

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Summary: Linux API header files
22
Name: linux-api-headers
3-
Version: 4.19.1
3+
Version: 4.19.6
44
Release: 1%{?dist}
55
License: GPLv2
66
URL: http://www.kernel.org/
77
Group: System Environment/Kernel
88
Vendor: VMware, Inc.
99
Distribution: Photon
1010
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
11-
%define sha1 linux=5ece7a7149eeef06bba906eeabbc2f29a8ac3952
11+
%define sha1 linux=d96fd72968960268b2203a3b4aff9497cd3abc61
1212
BuildArch: noarch
1313
%description
1414
The Linux API Headers expose the kernel's API for use by Glibc.
@@ -25,6 +25,8 @@ find /%{buildroot}%{_includedir} \( -name .install -o -name ..install.cmd \) -de
2525
%defattr(-,root,root)
2626
%{_includedir}/*
2727
%changelog
28+
* Mon Dec 10 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.6-1
29+
- Update to version 4.19.6
2830
* Mon Nov 05 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.1-1
2931
- Update to version 4.19.1
3032
* Thu Sep 20 2018 Srivatsa S. Bhat <[email protected]> 4.18.9-1

SPECS/linux/aws/0014-xen-manage-introduce-helper-function-to-know-the-on-.patch

+5-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Signed-off-by: Srivatsa S. Bhat (VMware) <[email protected]>
2222
2 files changed, 19 insertions(+)
2323

2424
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
25-
index 1c9750fefa64..1720225eecb6 100644
25+
index 609fca8..2676b52 100644
2626
--- a/drivers/xen/manage.c
2727
+++ b/drivers/xen/manage.c
2828
@@ -50,6 +50,21 @@ enum suspend_modes {
@@ -48,10 +48,10 @@ index 1c9750fefa64..1720225eecb6 100644
4848
int cancelled;
4949
};
5050
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
51-
index a95e65ec83c3..2e4b476b516c 100644
51+
index f6e798d..2aa94d8 100644
5252
--- a/include/xen/xen-ops.h
5353
+++ b/include/xen/xen-ops.h
54-
@@ -38,6 +38,10 @@ u64 xen_steal_clock(int cpu);
54+
@@ -39,6 +39,10 @@ u64 xen_steal_clock(int cpu);
5555

5656
int xen_setup_shutdown_event(void);
5757

@@ -61,7 +61,6 @@ index a95e65ec83c3..2e4b476b516c 100644
6161
+
6262
extern unsigned long *xen_contiguous_bitmap;
6363

64-
#ifdef CONFIG_XEN_PV
64+
#if defined(CONFIG_XEN_PV) || defined(CONFIG_ARM) || defined(CONFIG_ARM64)
6565
--
66-
2.14.4
67-
66+
2.7.4

SPECS/linux/aws/0017-x86-xen-add-system-core-suspend-and-resume-callbacks.patch

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Signed-off-by: Srivatsa S. Bhat (VMware) <[email protected]>
2323
3 files changed, 56 insertions(+)
2424

2525
diff --git a/arch/x86/xen/enlighten_hvm.c b/arch/x86/xen/enlighten_hvm.c
26-
index 8afb6dd311f1..c78b3e8fb2e5 100644
26+
index d24ad16..4196a65 100644
2727
--- a/arch/x86/xen/enlighten_hvm.c
2828
+++ b/arch/x86/xen/enlighten_hvm.c
29-
@@ -201,6 +201,7 @@ static void __init xen_hvm_guest_init(void)
29+
@@ -202,6 +202,7 @@ static void __init xen_hvm_guest_init(void)
3030
if (xen_feature(XENFEAT_hvm_callback_vector))
3131
xen_have_vector_callback = 1;
3232

@@ -35,7 +35,7 @@ index 8afb6dd311f1..c78b3e8fb2e5 100644
3535
WARN_ON(xen_cpuhp_setup(xen_cpu_up_prepare_hvm, xen_cpu_dead_hvm));
3636
xen_unplug_emulated_devices();
3737
diff --git a/arch/x86/xen/suspend.c b/arch/x86/xen/suspend.c
38-
index 3e3a58ea669e..5e542b7e5802 100644
38+
index 1d83152..784c448 100644
3939
--- a/arch/x86/xen/suspend.c
4040
+++ b/arch/x86/xen/suspend.c
4141
@@ -2,17 +2,22 @@
@@ -61,7 +61,7 @@ index 3e3a58ea669e..5e542b7e5802 100644
6161

6262
#include "xen-ops.h"
6363
#include "mmu.h"
64-
@@ -78,3 +83,51 @@ void xen_arch_suspend(void)
64+
@@ -82,3 +87,51 @@ void xen_arch_suspend(void)
6565

6666
on_each_cpu(xen_vcpu_notify_suspend, NULL, 1);
6767
}
@@ -114,18 +114,18 @@ index 3e3a58ea669e..5e542b7e5802 100644
114114
+ register_syscore_ops(&xen_hvm_syscore_ops);
115115
+}
116116
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
117-
index 2e4b476b516c..90c2b41eb4f3 100644
117+
index 2aa94d8..77f65e5 100644
118118
--- a/include/xen/xen-ops.h
119119
+++ b/include/xen/xen-ops.h
120-
@@ -42,6 +42,8 @@ bool xen_suspend_mode_is_xen_suspend(void);
120+
@@ -43,6 +43,8 @@ bool xen_suspend_mode_is_xen_suspend(void);
121121
bool xen_suspend_mode_is_pm_suspend(void);
122122
bool xen_suspend_mode_is_pm_hibernation(void);
123123

124124
+void xen_setup_syscore_ops(void);
125125
+
126126
extern unsigned long *xen_contiguous_bitmap;
127127

128-
#ifdef CONFIG_XEN_PV
128+
#if defined(CONFIG_XEN_PV) || defined(CONFIG_ARM) || defined(CONFIG_ARM64)
129129
--
130-
2.14.4
130+
2.7.4
131131

SPECS/linux/aws/0055-net-ipv4-defensive-cipso-option-parsing.patch

-62
This file was deleted.

SPECS/linux/config-aws

+24-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# Linux/x86 4.19.1 Kernel Configuration
3+
# Linux/x86 4.19.6 Kernel Configuration
44
#
55

66
#
@@ -397,7 +397,9 @@ CONFIG_X86_SMAP=y
397397
CONFIG_X86_INTEL_UMIP=y
398398
# CONFIG_X86_INTEL_MPX is not set
399399
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
400-
# CONFIG_EFI is not set
400+
CONFIG_EFI=y
401+
CONFIG_EFI_STUB=y
402+
# CONFIG_EFI_MIXED is not set
401403
CONFIG_SECCOMP=y
402404
# CONFIG_HZ_100 is not set
403405
CONFIG_HZ_250=y
@@ -484,6 +486,7 @@ CONFIG_ACPI_HOTPLUG_IOAPIC=y
484486
CONFIG_ACPI_SBS=m
485487
# CONFIG_ACPI_HED is not set
486488
# CONFIG_ACPI_CUSTOM_METHOD is not set
489+
# CONFIG_ACPI_BGRT is not set
487490
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
488491
# CONFIG_ACPI_NFIT is not set
489492
CONFIG_HAVE_ACPI_APEI=y
@@ -641,6 +644,19 @@ CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
641644
# CONFIG_ISCSI_IBFT_FIND is not set
642645
# CONFIG_FW_CFG_SYSFS is not set
643646
# CONFIG_GOOGLE_FIRMWARE is not set
647+
648+
#
649+
# EFI (Extensible Firmware Interface) Support
650+
#
651+
# CONFIG_EFI_VARS is not set
652+
CONFIG_EFI_ESRT=y
653+
# CONFIG_EFI_RUNTIME_MAP is not set
654+
# CONFIG_EFI_FAKE_MEMMAP is not set
655+
CONFIG_EFI_RUNTIME_WRAPPERS=y
656+
# CONFIG_EFI_CAPSULE_LOADER is not set
657+
# CONFIG_EFI_TEST is not set
658+
# CONFIG_APPLE_PROPERTIES is not set
659+
# CONFIG_RESET_ATTACK_MITIGATION is not set
644660
CONFIG_UEFI_CPER=y
645661
CONFIG_UEFI_CPER_X86=y
646662

@@ -2971,6 +2987,7 @@ CONFIG_FB_CIRRUS=m
29712987
# CONFIG_FB_VGA16 is not set
29722988
# CONFIG_FB_UVESA is not set
29732989
CONFIG_FB_VESA=y
2990+
# CONFIG_FB_EFI is not set
29742991
# CONFIG_FB_N411 is not set
29752992
# CONFIG_FB_HGA is not set
29762993
# CONFIG_FB_OPENCORES is not set
@@ -3525,6 +3542,7 @@ CONFIG_XEN_PRIVCMD=m
35253542
# CONFIG_XEN_ACPI_PROCESSOR is not set
35263543
# CONFIG_XEN_MCE_LOG is not set
35273544
CONFIG_XEN_HAVE_PVMMU=y
3545+
CONFIG_XEN_EFI=y
35283546
CONFIG_XEN_AUTO_XLATE=y
35293547
CONFIG_XEN_ACPI=y
35303548
# CONFIG_XEN_SYMS is not set
@@ -3846,6 +3864,7 @@ CONFIG_HUGETLB_PAGE=y
38463864
CONFIG_MEMFD_CREATE=y
38473865
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
38483866
CONFIG_CONFIGFS_FS=m
3867+
CONFIG_EFIVAR_FS=m
38493868
CONFIG_MISC_FILESYSTEMS=y
38503869
# CONFIG_ORANGEFS_FS is not set
38513870
# CONFIG_ADFS_FS is not set
@@ -4216,7 +4235,6 @@ CONFIG_CRYPTO_SERPENT_SSE2_X86_64=m
42164235
CONFIG_CRYPTO_SERPENT_AVX_X86_64=m
42174236
CONFIG_CRYPTO_SERPENT_AVX2_X86_64=m
42184237
# CONFIG_CRYPTO_SM4 is not set
4219-
# CONFIG_CRYPTO_SPECK is not set
42204238
CONFIG_CRYPTO_TEA=m
42214239
CONFIG_CRYPTO_TWOFISH=m
42224240
CONFIG_CRYPTO_TWOFISH_COMMON=m
@@ -4360,7 +4378,7 @@ CONFIG_CLZ_TAB=y
43604378
CONFIG_IRQ_POLL=y
43614379
CONFIG_MPILIB=y
43624380
CONFIG_OID_REGISTRY=y
4363-
CONFIG_UCS2_STRING=m
4381+
CONFIG_UCS2_STRING=y
43644382
CONFIG_FONT_SUPPORT=y
43654383
# CONFIG_FONTS is not set
43664384
CONFIG_FONT_8x8=y
@@ -4566,8 +4584,10 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y
45664584
# CONFIG_X86_VERBOSE_BOOTUP is not set
45674585
CONFIG_EARLY_PRINTK=y
45684586
# CONFIG_EARLY_PRINTK_DBGP is not set
4587+
# CONFIG_EARLY_PRINTK_EFI is not set
45694588
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
45704589
# CONFIG_X86_PTDUMP is not set
4590+
# CONFIG_EFI_PGT_DUMP is not set
45714591
# CONFIG_DEBUG_WX is not set
45724592
CONFIG_DOUBLEFAULT=y
45734593
# CONFIG_DEBUG_TLBFLUSH is not set

SPECS/linux/linux-aws.spec

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
%global security_hardening none
22
Summary: Kernel
33
Name: linux-aws
4-
Version: 4.19.1
5-
Release: 3%{?kat_build:.%kat_build}%{?dist}
4+
Version: 4.19.6
5+
Release: 1%{?kat_build:.%kat_build}%{?dist}
66
License: GPLv2
77
URL: http://www.kernel.org/
88
Group: System Environment/Kernel
99
Vendor: VMware, Inc.
1010
Distribution: Photon
1111
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
12-
%define sha1 linux=5ece7a7149eeef06bba906eeabbc2f29a8ac3952
12+
%define sha1 linux=d96fd72968960268b2203a3b4aff9497cd3abc61
1313
Source1: config-aws
1414
Source2: initramfs.trigger
1515
# common
@@ -62,7 +62,6 @@ Patch123: 0027-xen-blkfront-add-persistent_grants-parameter.patch
6262
Patch125: 0029-Revert-xen-dont-fiddle-with-event-channel-masking-in.patch
6363
Patch131: 0035-xen-blkfront-Fixed-blkfront_restore-to-remove-a-call.patch
6464
Patch133: 0037-x86-tsc-avoid-system-instability-in-hibernation.patch
65-
Patch151: 0055-net-ipv4-defensive-cipso-option-parsing.patch
6665
Patch152: 0056-Amazon-ENA-driver-Update-to-version-1.6.0.patch
6766

6867
%if 0%{?kat_build:1}
@@ -179,7 +178,6 @@ This package contains the 'perf' performance analysis tools for Linux kernel.
179178
%patch125 -p1
180179
%patch131 -p1
181180
%patch133 -p1
182-
%patch151 -p1
183181
%patch152 -p1
184182

185183
%if 0%{?kat_build:1}
@@ -358,6 +356,9 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
358356
%{_libdir}/perf/include/bpf/*
359357

360358
%changelog
359+
* Mon Dec 10 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.6-1
360+
- Update to version 4.19.6
361+
- Enable EFI in config-aws to support kernel signing.
361362
* Mon Dec 10 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.1-3
362363
- Set nvme io_timeout to maximum in kernel cmdline.
363364
* Wed Nov 14 2018 Ajay Kaher <[email protected]> 4.19.1-2

SPECS/linux/linux-esx.spec

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
%global security_hardening none
22
Summary: Kernel
33
Name: linux-esx
4-
Version: 4.19.1
5-
Release: 3%{?dist}
4+
Version: 4.19.6
5+
Release: 1%{?dist}
66
License: GPLv2
77
URL: http://www.kernel.org/
88
Group: System Environment/Kernel
99
Vendor: VMware, Inc.
1010
Distribution: Photon
1111
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
12-
%define sha1 linux=5ece7a7149eeef06bba906eeabbc2f29a8ac3952
12+
%define sha1 linux=d96fd72968960268b2203a3b4aff9497cd3abc61
1313
Source1: config-esx
1414
Source2: initramfs.trigger
1515
# common
@@ -186,6 +186,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
186186
/usr/src/linux-headers-%{uname_r}
187187

188188
%changelog
189+
* Mon Dec 10 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.6-1
190+
- Update to version 4.19.6
189191
* Thu Nov 29 2018 Alexey Makhalov <[email protected]> 4.19.1-3
190192
- Fix BAR4 is zero issue for IDE devices
191193
* Thu Nov 15 2018 Ajay Kaher <[email protected]> 4.19.1-2

SPECS/linux/linux-secure.spec

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
%global security_hardening none
22
Summary: Kernel
33
Name: linux-secure
4-
Version: 4.19.1
5-
Release: 2%{?kat_build:.%kat_build}%{?dist}
4+
Version: 4.19.6
5+
Release: 1%{?kat_build:.%kat_build}%{?dist}
66
License: GPLv2
77
URL: http://www.kernel.org/
88
Group: System Environment/Kernel
99
Vendor: VMware, Inc.
1010
Distribution: Photon
1111
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
12-
%define sha1 linux=5ece7a7149eeef06bba906eeabbc2f29a8ac3952
12+
%define sha1 linux=d96fd72968960268b2203a3b4aff9497cd3abc61
1313
Source1: config-secure
1414
Source2: initramfs.trigger
1515
# common
@@ -234,6 +234,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
234234
/usr/src/linux-headers-%{uname_r}
235235

236236
%changelog
237+
* Mon Dec 10 2018 Srivatsa S. Bhat (VMware) <[email protected]> 4.19.6-1
238+
- Update to version 4.19.6
237239
* Thu Nov 15 2018 Ajay Kaher <[email protected]> 4.19.1-2
238240
- Adding BuildArch
239241
* Thu Nov 08 2018 Him Kalyan Bordoloi <[email protected]> 4.19.1-1

0 commit comments

Comments
 (0)