
back port upstream patch
ebe06187bf
the epi is removed from list by list_del_rcu(&epi->fllink);
under list_for_each_entry_rcu() without rcu_read_lock.
if the rcu grace-period thread free epi before next list_for_each loop,
the content of epi will be corrupted.
Change-Id: I75dbf8ada5ca4734761efe260ca6d6f85886b180
Closes-Bug: 1837430
Suggested-by: daniel.badea@windriver.com
Signed-off-by: Bin Yang <bin.yang@intel.com>
93 lines
4.7 KiB
Diff
93 lines
4.7 KiB
Diff
From 7191a6f784f12e295e508f105da4cfde518a64e7 Mon Sep 17 00:00:00 2001
|
|
From: Bin Yang <bin.yang@intel.com>
|
|
Date: Wed, 31 Jul 2019 10:49:20 +0800
|
|
Subject: [PATCH 2/3] Kernel source patches for TiC
|
|
|
|
Signed-off-by: Bin Yang <bin.yang@intel.com>
|
|
---
|
|
SPECS/kernel.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 61 insertions(+)
|
|
|
|
diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec
|
|
index 5b93a98..9149019 100644
|
|
--- a/SPECS/kernel.spec
|
|
+++ b/SPECS/kernel.spec
|
|
@@ -460,6 +460,38 @@ Patch1002: debrand-rh-i686-cpu.patch
|
|
Source30000: kernel-3.10.0-x86_64.config.tis_extra
|
|
Source30001: ima_signing_key.pub
|
|
|
|
+# StarlingX Cloud patches here.
|
|
+Patch40001: Fix-compile-issue-when-transparent-hugepages-are-off.patch
|
|
+Patch40002: Notification-of-death-of-arbitrary-processes.patch
|
|
+Patch40003: CGTS-3744-route-do-not-cache-fib-route-info-on-local.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
|
|
+Patch40009: memblock-introduce-memblock_alloc_range.patch
|
|
+Patch40010: cma-add-placement-specifier-for-cma-kernel-parameter.patch
|
|
+Patch40011: x86-enable-DMA-CMA-with-swiotlb.patch
|
|
+Patch40012: Enable-building-mpt2sas-and-mpt3sas-as-builtin-for-C.patch
|
|
+Patch40013: Enable-building-kernel-with-CONFIG_BLK_DEV_NBD.patch
|
|
+Patch40014: x86-make-dma_alloc_coherent-return-zeroed-memory-if-.patch
|
|
+Patch40015: rcu-Don-t-wake-rcuc-X-kthreads-on-NOCB-CPUs.patch
|
|
+Patch40016: Porting-Cacheinfo-from-Kernel-4.10.17.patch
|
|
+Patch40017: Fix-cacheinfo-compilation-issues-for-3.10.patch
|
|
+Patch40018: cpuidle-menu-stop-seeking-deeper-idle-if-current-sta.patch
|
|
+Patch40019: cpuidle-menu-add-per-CPU-PM-QoS-resume-latency-consi.patch
|
|
+Patch40020: CPU-PM-expose-pm_qos_resume_latency-for-CPUs.patch
|
|
+Patch40021: cpuidle-menu-Avoid-taking-spinlock-for-accessing-QoS.patch
|
|
+Patch40022: US101216-IMA-support-in-Titanium-kernel.patch
|
|
+Patch40023: US103091-IMA-System-Configuration.patch
|
|
+# Fix compile warnings that break the build
|
|
+Patch40024: aic94xx-Skip-reading-user-settings-if-flash-is-not-f.patch
|
|
+Patch40025: dpt_i2o-fix-build-warning.patch
|
|
+# DRBD was choking on write same
|
|
+Patch40026: turn-off-write-same-in-smartqpi-driver.patch
|
|
+# Fix use-after-free in eventpoll_release_file
|
|
+Patch40027: epoll-fix-use-after-free-in-eventpoll_release_file.patch
|
|
+
|
|
BuildRoot: %{_tmppath}/kernel-%{KVRA}-root
|
|
|
|
%description
|
|
@@ -802,6 +834,35 @@ ApplyOptionalPatch debrand-single-cpu.patch
|
|
ApplyOptionalPatch debrand-rh_taint.patch
|
|
ApplyOptionalPatch debrand-rh-i686-cpu.patch
|
|
|
|
+# StarlingX Cloud patches here.
|
|
+ApplyOptionalPatch Fix-compile-issue-when-transparent-hugepages-are-off.patch
|
|
+ApplyOptionalPatch Notification-of-death-of-arbitrary-processes.patch
|
|
+ApplyOptionalPatch CGTS-3744-route-do-not-cache-fib-route-info-on-local.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 memblock-introduce-memblock_alloc_range.patch
|
|
+ApplyOptionalPatch cma-add-placement-specifier-for-cma-kernel-parameter.patch
|
|
+ApplyOptionalPatch x86-enable-DMA-CMA-with-swiotlb.patch
|
|
+ApplyOptionalPatch Enable-building-mpt2sas-and-mpt3sas-as-builtin-for-C.patch
|
|
+ApplyOptionalPatch Enable-building-kernel-with-CONFIG_BLK_DEV_NBD.patch
|
|
+ApplyOptionalPatch x86-make-dma_alloc_coherent-return-zeroed-memory-if-.patch
|
|
+ApplyOptionalPatch rcu-Don-t-wake-rcuc-X-kthreads-on-NOCB-CPUs.patch
|
|
+ApplyOptionalPatch Porting-Cacheinfo-from-Kernel-4.10.17.patch
|
|
+ApplyOptionalPatch Fix-cacheinfo-compilation-issues-for-3.10.patch
|
|
+ApplyOptionalPatch cpuidle-menu-stop-seeking-deeper-idle-if-current-sta.patch
|
|
+ApplyOptionalPatch cpuidle-menu-add-per-CPU-PM-QoS-resume-latency-consi.patch
|
|
+ApplyOptionalPatch CPU-PM-expose-pm_qos_resume_latency-for-CPUs.patch
|
|
+ApplyOptionalPatch cpuidle-menu-Avoid-taking-spinlock-for-accessing-QoS.patch
|
|
+ApplyOptionalPatch US101216-IMA-support-in-Titanium-kernel.patch
|
|
+ApplyOptionalPatch US103091-IMA-System-Configuration.patch
|
|
+ApplyOptionalPatch aic94xx-Skip-reading-user-settings-if-flash-is-not-f.patch
|
|
+ApplyOptionalPatch dpt_i2o-fix-build-warning.patch
|
|
+ApplyOptionalPatch turn-off-write-same-in-smartqpi-driver.patch
|
|
+ApplyOptionalPatch epoll-fix-use-after-free-in-eventpoll_release_file.patch
|
|
+
|
|
# Any further pre-build tree manipulations happen here.
|
|
|
|
chmod +x scripts/checkpatch.pl
|
|
--
|
|
2.7.4
|
|
|