From e9f7eeea6002b26912b6434c324ac19c2987afe8 Mon Sep 17 00:00:00 2001 From: "zhao.shuai" Date: Mon, 5 Aug 2019 17:55:01 +0800 Subject: [PATCH 2/3] Kernel-source-patches-for-TiC Signed-off-by: zhao.shuai --- SPECS/kernel.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index e42177e..418cdd0 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 -- 1.8.3.1