
The tpm driver is the same as what is now in the kernel, aside from one patch. So we stop building it as an external module and instead use the one in the kernel. Move that one patch to it to apply to the kernel code. Test Methods: Refer to https://wiki.openstack.org/wiki/StarlingX/Distro/tpm-verify to verify the encryption and decryption function is available, and the signature verification function is available. Update the TIS_PATCH_VER to avoid an older built version of a package being picked up. Change-Id: I3bfcae4ab8c25778b29d51cc9dfb6cb1d81eef7d Story: 2007308 Task: 39099 Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
69 lines
2.8 KiB
Diff
69 lines
2.8 KiB
Diff
From b736a139f26f6323d8da5e42f2b254c7935de3c9 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <b736a139f26f6323d8da5e42f2b254c7935de3c9.1588873412.git.Jim.Somerville@windriver.com>
|
|
In-Reply-To: <8f38a28fc2750dc526363dc4b7cce3c152bb913b.1588873412.git.Jim.Somerville@windriver.com>
|
|
References: <8f38a28fc2750dc526363dc4b7cce3c152bb913b.1588873412.git.Jim.Somerville@windriver.com>
|
|
From: Jim Somerville <Jim.Somerville@windriver.com>
|
|
Date: Fri, 13 Mar 2020 16:15:29 -0400
|
|
Subject: [PATCH 2/2] Kernel source patches for TiC
|
|
|
|
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
|
|
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
|
|
---
|
|
SPECS/kernel-rt.spec | 33 +++++++++++++++++++++++++++++++++
|
|
1 file changed, 33 insertions(+)
|
|
|
|
diff --git a/SPECS/kernel-rt.spec b/SPECS/kernel-rt.spec
|
|
index b89db57..68a91e0 100644
|
|
--- a/SPECS/kernel-rt.spec
|
|
+++ b/SPECS/kernel-rt.spec
|
|
@@ -431,6 +431,24 @@ Source3000: centos.cer
|
|
Source30000: kernel-rt-4.18.0-x86_64.config.tis_extra
|
|
|
|
## Patches needed for building this package
|
|
+# StarlingX Cloud patches here.
|
|
+Patch40002: Notification-of-death-of-arbitrary-processes.patch
|
|
+Patch40004: PCI-Add-ACS-quirk-for-Intel-Fortville-NICs.patch
|
|
+Patch40005: affine-compute-kernel-threads.patch
|
|
+Patch40006: Affine-irqs-and-workqueues-with-kthread_cpus.patch
|
|
+Patch40007: Make-kernel-start-eth-devices-at-offset.patch
|
|
+Patch40008: intel-iommu-allow-ignoring-Ethernet-device-RMRR-with.patch
|
|
+Patch40026: turn-off-write-same-in-smartqpi-driver.patch
|
|
+Patch40031: Allow-dmar-quirks-for-broken-bioses.patch
|
|
+# TPM built-in kernel-rt driver
|
|
+Patch40032: tpm-ignore-burstcount-to-improve-send-performance.patch
|
|
+
|
|
+# StarlingX Cloud rt patches here.
|
|
+
|
|
+Patch41000: debrand-rh-i686-cpu.patch
|
|
+Patch41001: debrand-rh_taint.patch
|
|
+Patch41002: debrand-single-cpu.patch
|
|
+Patch41003: restrict-iSCSI-kthreads-to-CPUs-in-cpu_kthread_mask.patch
|
|
|
|
# END OF PATCH DEFINITIONS
|
|
|
|
@@ -936,6 +954,21 @@ cd linux-%{KVERREL}
|
|
|
|
# END OF PATCH APPLICATIONS
|
|
|
|
+# StarlingX Cloud patches here.
|
|
+ApplyOptionalPatch Notification-of-death-of-arbitrary-processes.patch
|
|
+ApplyOptionalPatch PCI-Add-ACS-quirk-for-Intel-Fortville-NICs.patch
|
|
+ApplyOptionalPatch affine-compute-kernel-threads.patch
|
|
+ApplyOptionalPatch Affine-irqs-and-workqueues-with-kthread_cpus.patch
|
|
+ApplyOptionalPatch Make-kernel-start-eth-devices-at-offset.patch
|
|
+ApplyOptionalPatch intel-iommu-allow-ignoring-Ethernet-device-RMRR-with.patch
|
|
+ApplyOptionalPatch turn-off-write-same-in-smartqpi-driver.patch
|
|
+ApplyOptionalPatch Allow-dmar-quirks-for-broken-bioses.patch
|
|
+ApplyOptionalPatch tpm-ignore-burstcount-to-improve-send-performance.patch
|
|
+ApplyOptionalPatch debrand-rh-i686-cpu.patch
|
|
+ApplyOptionalPatch debrand-rh_taint.patch
|
|
+ApplyOptionalPatch debrand-single-cpu.patch
|
|
+ApplyOptionalPatch restrict-iSCSI-kthreads-to-CPUs-in-cpu_kthread_mask.patch
|
|
+
|
|
# Any further pre-build tree manipulations happen here.
|
|
|
|
%if %{with_realtime}
|
|
--
|
|
2.7.4
|
|
|