diff --git a/examples/rt-for-vmware.yml b/examples/rt-for-vmware.yml index ee821c7c4..c13e4bf6d 100644 --- a/examples/rt-for-vmware.yml +++ b/examples/rt-for-vmware.yml @@ -1,5 +1,5 @@ kernel: - image: linuxkit/kernel:4.14.58-rt + image: linuxkit/kernel:4.14.59-rt cmdline: "console=tty0" init: - linuxkit/init:v0.6 diff --git a/kernel/Makefile b/kernel/Makefile index 1cee68399..f1d88f59a 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -221,14 +221,14 @@ ifeq ($(ARCH),x86_64) $(eval $(call kernel,4.17.10,4.17.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.58,4.14.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.58,4.14.x,,-dbg)) -$(eval $(call kernel,4.14.53,4.14.x,-rt,)) +$(eval $(call kernel,4.14.59,4.14.x,-rt,)) $(eval $(call kernel,4.9.115,4.9.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.4.144,4.4.x,$(EXTRA),$(DEBUG))) else ifeq ($(ARCH),aarch64) $(eval $(call kernel,4.17.10,4.17.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.58,4.14.x,$(EXTRA),$(DEBUG))) -$(eval $(call kernel,4.14.53,4.14.x,-rt,)) +$(eval $(call kernel,4.14.59,4.14.x,-rt,)) else ifeq ($(ARCH),s390x) $(eval $(call kernel,4.17.10,4.17.x,$(EXTRA),$(DEBUG))) diff --git a/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch b/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch deleted file mode 100644 index df63b9639..000000000 --- a/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 1f9863a3348be088896f745bca5cf5a31d1d2c96 Mon Sep 17 00:00:00 2001 -From: Sebastian Andrzej Siewior -Date: Wed, 11 Apr 2018 11:27:44 +0200 -Subject: [PATCH 001/418] Revert mm/vmstat.c: fix vmstat_update() preemption - BUG - -commit 97731753d44d5efcb95b994dc952c0e8195b3e96 upstream - -This patch reverts commit c7f26ccfb2c3 ("mm/vmstat.c: fix -vmstat_update() preemption BUG"). -Steven saw a "using smp_processor_id() in preemptible" message and -added a preempt_disable() section around it to keep it quiet. This is -not the right thing to do it does not fix the real problem. - -vmstat_update() is invoked by a kworker on a specific CPU. This worker -it bound to this CPU. The name of the worker was "kworker/1:1" so it -should have been a worker which was bound to CPU1. A worker which can -run on any CPU would have a `u' before the first digit. - -smp_processor_id() can be used in a preempt-enabled region as long as -the task is bound to a single CPU which is the case here. If it could -run on an arbitrary CPU then this is the problem we have an should seek -to resolve. -Not only this smp_processor_id() must not be migrated to another CPU but -also refresh_cpu_vm_stats() which might access wrong per-CPU variables. -Not to mention that other code relies on the fact that such a worker -runs on one specific CPU only. - -Therefore I revert that commit and we should look instead what broke the -affinity mask of the kworker. - -Cc: Steven J. Hill -Cc: Tejun Heo -Cc: Andrew Morton -Signed-off-by: Sebastian Andrzej Siewior -Signed-off-by: Steven Rostedt (VMware) ---- - mm/vmstat.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/mm/vmstat.c b/mm/vmstat.c -index e085b13c572e..4bb13e72ac97 100644 ---- a/mm/vmstat.c -+++ b/mm/vmstat.c -@@ -1770,11 +1770,9 @@ static void vmstat_update(struct work_struct *w) - * to occur in the future. Keep on running the - * update worker thread. - */ -- preempt_disable(); - queue_delayed_work_on(smp_processor_id(), mm_percpu_wq, - this_cpu_ptr(&vmstat_work), - round_jiffies_relative(sysctl_stat_interval)); -- preempt_enable(); - } - } - --- -2.17.1 - diff --git a/kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch b/kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch rename to kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch index 4b3c03e05..17fc7c84e 100644 --- a/kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch +++ b/kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch @@ -1,7 +1,7 @@ -From 0ff9e891f4b361a8909d6f062f5137f041d6adaa Mon Sep 17 00:00:00 2001 +From 9d9b5967777fb3b9f3ad66dd4d63967edfc6caa0 Mon Sep 17 00:00:00 2001 From: Boqun Feng Date: Fri, 9 Mar 2018 14:56:28 +0800 -Subject: [PATCH 002/418] rtmutex: Make rt_mutex_futex_unlock() safe for +Subject: [PATCH 001/414] rtmutex: Make rt_mutex_futex_unlock() safe for irq-off callsites Upstream commit 6b0ef92fee2a3189eba6d6b827b247cb4f6da7e9 @@ -123,5 +123,5 @@ index 65cc0cb984e6..940633c63254 100644 if (postunlock) rt_mutex_postunlock(&wake_q); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch b/kernel/patches-4.14.x-rt/0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch rename to kernel/patches-4.14.x-rt/0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch index ef565a7de..c68c3d7eb 100644 --- a/kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch +++ b/kernel/patches-4.14.x-rt/0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch @@ -1,7 +1,7 @@ -From 7b28fe258efc9f3d9dbac60f39826d57845ff991 Mon Sep 17 00:00:00 2001 +From 32b98fe0f6614f935a87a50cc5a400bec339aac5 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 19 Sep 2017 15:36:42 -0700 -Subject: [PATCH 003/418] rcu: Suppress lockdep false-positive ->boost_mtx +Subject: [PATCH 002/414] rcu: Suppress lockdep false-positive ->boost_mtx complaints Upstream commit bcda31a2659497df39d6bedfbdf17498b4f4ac89 @@ -52,5 +52,5 @@ index 8b3102d22823..181e2487c8b8 100644 /* * If this was the last task on the expedited lists, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch b/kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch rename to kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch index 44e9e870e..010b6dbe5 100644 --- a/kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch +++ b/kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch @@ -1,7 +1,7 @@ -From e90c5da25d3a76acf44c248eb76fe0b6794174dd Mon Sep 17 00:00:00 2001 +From 98fa7ef5ce9171e243c5ca9cc0a15d4a027d3991 Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Fri, 10 Nov 2017 12:29:34 -0500 -Subject: [PATCH 004/418] brd: remove unused brd_mutex +Subject: [PATCH 003/414] brd: remove unused brd_mutex Upstream commit 15f7b41f70ddcca3b555bd0fdc7c8da7466b517e @@ -28,5 +28,5 @@ index 2d7178f7754e..c1cf87718c2e 100644 { pgoff_t idx; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch b/kernel/patches-4.14.x-rt/0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch rename to kernel/patches-4.14.x-rt/0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch index 7176acb0e..f78fc6a48 100644 --- a/kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch +++ b/kernel/patches-4.14.x-rt/0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch @@ -1,7 +1,7 @@ -From 36d6a35ae79ce5699704c987d3b4d3eb2de6e7db Mon Sep 17 00:00:00 2001 +From 0004e477787106d2bd6ab82800935f0854d81c39 Mon Sep 17 00:00:00 2001 From: Christoffer Dall Date: Fri, 8 Sep 2017 07:07:13 -0700 -Subject: [PATCH 005/418] KVM: arm/arm64: Remove redundant preemptible checks +Subject: [PATCH 004/414] KVM: arm/arm64: Remove redundant preemptible checks Upstream commit 5a24575032971c5a9a4580417a791c427ebdb8e5 @@ -20,7 +20,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 deletions(-) diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c -index 9bee849db682..0c5d846ba809 100644 +index d5f1d8364571..0099cce0e264 100644 --- a/virt/kvm/arm/arm.c +++ b/virt/kvm/arm/arm.c @@ -69,7 +69,6 @@ static DEFINE_PER_CPU(unsigned char, kvm_arm_hardware_enabled); @@ -40,5 +40,5 @@ index 9bee849db682..0c5d846ba809 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch b/kernel/patches-4.14.x-rt/0005-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch rename to kernel/patches-4.14.x-rt/0005-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch index d7f47541f..76c946622 100644 --- a/kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch +++ b/kernel/patches-4.14.x-rt/0005-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch @@ -1,7 +1,7 @@ -From 5217a4b31298b5ff1082bd88e6ac8054780b6aaf Mon Sep 17 00:00:00 2001 +From 7958cf73713cfa4e11a497f1f955d60e529813d4 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 21 Jan 2018 03:28:54 -0600 -Subject: [PATCH 007/418] iommu/amd: Use raw locks on atomic context paths +Subject: [PATCH 005/414] iommu/amd: Use raw locks on atomic context paths Upstream commit 27790398c2aed917828dc3c6f81240d57f1584c9 @@ -176,5 +176,5 @@ index f6b24c7d8b70..7521745dc2a5 100644 /* Pointer to PCI device of this IOMMU */ struct pci_dev *dev; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch b/kernel/patches-4.14.x-rt/0006-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch rename to kernel/patches-4.14.x-rt/0006-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch index e41a0dfa3..8f117f432 100644 --- a/kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch +++ b/kernel/patches-4.14.x-rt/0006-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch @@ -1,7 +1,7 @@ -From f139b736cc22cafcb207795386fe46e0a8fea151 Mon Sep 17 00:00:00 2001 +From 510666f0989481bcf0f5d642294c86d8d9b7283a Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 28 Jan 2018 14:22:19 -0600 -Subject: [PATCH 008/418] iommu/amd: Don't use dev_data in +Subject: [PATCH 006/414] iommu/amd: Don't use dev_data in irte_ga_set_affinity() Upstream commit 01ee04badefd296eb7a4430497373be9b7b16783 @@ -34,5 +34,5 @@ index ff50337fe3ba..388ec5e98ef5 100644 irte->lo.fields_remap.destination = dest_apicid; modify_irte_ga(devid, index, irte, NULL); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch b/kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch deleted file mode 100644 index 3ed2188d6..000000000 --- a/kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch +++ /dev/null @@ -1,68 +0,0 @@ -From c9e312daee80f74ba3e2b50da2ea33336f6846e8 Mon Sep 17 00:00:00 2001 -From: Tejun Heo -Date: Tue, 9 Jan 2018 07:21:15 -0800 -Subject: [PATCH 006/418] string: drop __must_check from strscpy() and restore - strscpy() usages in cgroup -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream commit 08a77676f9c5fc69a681ccd2cd8140e65dcb26c7 - -e7fd37ba1217 ("cgroup: avoid copying strings longer than the buffers") -converted possibly unsafe strncpy() usages in cgroup to strscpy(). -However, although the callsites are completely fine with truncated -copied, because strscpy() is marked __must_check, it led to the -following warnings. - - kernel/cgroup/cgroup.c: In function ‘cgroup_file_name’: - kernel/cgroup/cgroup.c:1400:10: warning: ignoring return value of ‘strscpy’, declared with attribute warn_unused_result [-Wunused-result] - strscpy(buf, cft->name, CGROUP_FILE_NAME_MAX); - ^ - -To avoid the warnings, 50034ed49645 ("cgroup: use strlcpy() instead of -strscpy() to avoid spurious warning") switched them to strlcpy(). - -strlcpy() is worse than strlcpy() because it unconditionally runs -strlen() on the source string, and the only reason we switched to -strlcpy() here was because it was lacking __must_check, which doesn't -reflect any material differences between the two function. It's just -that someone added __must_check to strscpy() and not to strlcpy(). - -These basic string copy operations are used in variety of ways, and -one of not-so-uncommon use cases is safely handling truncated copies, -where the caller naturally doesn't care about the return value. The -__must_check doesn't match the actual use cases and forces users to -opt for inferior variants which lack __must_check by happenstance or -spread ugly (void) casts. - -Remove __must_check from strscpy() and restore strscpy() usages in -cgroup. - -Signed-off-by: Tejun Heo -Suggested-by: Linus Torvalds -Cc: Ma Shimiao -Cc: Arnd Bergmann -Cc: Chris Metcalf -[bigeasy: drop the cgroup.c hunk] -Signed-off-by: Sebastian Andrzej Siewior ---- - include/linux/string.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/linux/string.h b/include/linux/string.h -index cfd83eb2f926..96115bf561b4 100644 ---- a/include/linux/string.h -+++ b/include/linux/string.h -@@ -28,7 +28,7 @@ extern char * strncpy(char *,const char *, __kernel_size_t); - size_t strlcpy(char *, const char *, size_t); - #endif - #ifndef __HAVE_ARCH_STRSCPY --ssize_t __must_check strscpy(char *, const char *, size_t); -+ssize_t strscpy(char *, const char *, size_t); - #endif - #ifndef __HAVE_ARCH_STRCAT - extern char * strcat(char *, const char *); --- -2.17.1 - diff --git a/kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch b/kernel/patches-4.14.x-rt/0007-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch rename to kernel/patches-4.14.x-rt/0007-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch index d2a81e4c5..af0423764 100644 --- a/kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch +++ b/kernel/patches-4.14.x-rt/0007-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch @@ -1,7 +1,7 @@ -From eec0129e06a60a46f1f09a329f850a248af0e4ea Mon Sep 17 00:00:00 2001 +From 8a351e0d8d77d77a91a01f5d6b29a644b4a4325d Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Wed, 14 Feb 2018 17:36:28 -0600 -Subject: [PATCH 009/418] iommu/amd: Avoid locking get_irq_table() from atomic +Subject: [PATCH 007/414] iommu/amd: Avoid locking get_irq_table() from atomic context Upstream commit df42a04b15f19a842393dc98a84cbc52b1f8ed49 @@ -118,5 +118,5 @@ index 388ec5e98ef5..e42992fcebca 100644 return -ENODEV; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch b/kernel/patches-4.14.x-rt/0008-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch rename to kernel/patches-4.14.x-rt/0008-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch index ae4e134c8..2aa74c3de 100644 --- a/kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch +++ b/kernel/patches-4.14.x-rt/0008-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch @@ -1,7 +1,7 @@ -From 53ff4b0f4c2a4ae8eea46b71b11b9fc5a7d79a11 Mon Sep 17 00:00:00 2001 +From 0d2bddd253183e23f224fcda3b7b34d27ebc106e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:34 +0100 -Subject: [PATCH 010/418] iommu/amd: Turn dev_data_list into a lock less list +Subject: [PATCH 008/414] iommu/amd: Turn dev_data_list into a lock less list Upstream commit 779da73273fc4c4c6f41579a95e4fb7880a1720e @@ -101,5 +101,5 @@ index 7521745dc2a5..16b1404da58c 100644 u16 devid; /* PCI Device ID */ u16 alias; /* Alias Device ID */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch b/kernel/patches-4.14.x-rt/0009-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch rename to kernel/patches-4.14.x-rt/0009-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch index ee5efb918..8667fe39e 100644 --- a/kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch +++ b/kernel/patches-4.14.x-rt/0009-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch @@ -1,7 +1,7 @@ -From 1645ac08eb6be3c6b2900de419f578ed5f91ecf4 Mon Sep 17 00:00:00 2001 +From 83b51c4f5ff1be7f15efde56b978914d0895996e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:35 +0100 -Subject: [PATCH 011/418] iommu/amd: Split domain id out of +Subject: [PATCH 009/414] iommu/amd: Split domain id out of amd_iommu_devtable_lock Upstream commit 2bc00180890427dcc092b2f2b0d03c904bcade29 @@ -64,5 +64,5 @@ index 1babecd37819..250b6354fae5 100644 #define DEFINE_FREE_PT_FN(LVL, FN) \ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch b/kernel/patches-4.14.x-rt/0010-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch rename to kernel/patches-4.14.x-rt/0010-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch index 91782ac6f..c4c2d190a 100644 --- a/kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch +++ b/kernel/patches-4.14.x-rt/0010-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch @@ -1,7 +1,7 @@ -From 37ded533c97f8424a00e051c4351ab2515717457 Mon Sep 17 00:00:00 2001 +From a1336d2a2a1c04e806f89a36985b5cb1344567e7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:36 +0100 -Subject: [PATCH 012/418] iommu/amd: Split irq_lookup_table out of the +Subject: [PATCH 010/414] iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock Upstream commit ea6166f4b83e9cfba1c18f46a764d50045682fe5 @@ -52,5 +52,5 @@ index 250b6354fae5..2cedb0caec73 100644 return table; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch b/kernel/patches-4.14.x-rt/0011-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch rename to kernel/patches-4.14.x-rt/0011-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch index 1036dc778..034d11c24 100644 --- a/kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch +++ b/kernel/patches-4.14.x-rt/0011-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch @@ -1,7 +1,7 @@ -From 7faa3de9da88db7a577fbc9d11c095425c7de802 Mon Sep 17 00:00:00 2001 +From c5569e1ca0250dcc293232513ad75aae8047f6ba Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:37 +0100 -Subject: [PATCH 013/418] iommu/amd: Remove the special case from +Subject: [PATCH 011/414] iommu/amd: Remove the special case from alloc_irq_table() Upstream commit fde65dd3d3096e8f6ecc7bbe544eb91f4220772c @@ -96,5 +96,5 @@ index 2cedb0caec73..fc23b89d2372 100644 index = alloc_irq_index(devid, nr_irqs); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch b/kernel/patches-4.14.x-rt/0012-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch rename to kernel/patches-4.14.x-rt/0012-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch index aaef8fe5b..43fb84797 100644 --- a/kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch +++ b/kernel/patches-4.14.x-rt/0012-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch @@ -1,7 +1,7 @@ -From c148dfef5e405f1d7f74ac4e667b19007bc31fd1 Mon Sep 17 00:00:00 2001 +From 4e6605ab50457816d0579a016417ed1a530cee8c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:38 +0100 -Subject: [PATCH 014/418] iommu/amd: Use `table' instead `irt' as variable name +Subject: [PATCH 012/414] iommu/amd: Use `table' instead `irt' as variable name in amd_iommu_update_ga() Upstream commit 4fde541c9dc114c5b448ad34b0286fe8b7c550f1 @@ -54,5 +54,5 @@ index fc23b89d2372..bfda5f26ea50 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch b/kernel/patches-4.14.x-rt/0013-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch rename to kernel/patches-4.14.x-rt/0013-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch index a57d33a9b..337edca00 100644 --- a/kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch +++ b/kernel/patches-4.14.x-rt/0013-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch @@ -1,7 +1,7 @@ -From ef80165d12b76356146a32c6b43e45e98f052ae9 Mon Sep 17 00:00:00 2001 +From 2a7c51fa6a76aa7cca7455ef6c1363fc7cb9ec6f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:39 +0100 -Subject: [PATCH 015/418] iommu/amd: Factor out setting the remap table for a +Subject: [PATCH 013/414] iommu/amd: Factor out setting the remap table for a devid Upstream commit 2fcc1e8ac4a8514c64f946178fc36c2e30e56a41 @@ -68,5 +68,5 @@ index bfda5f26ea50..d4eeb91afa36 100644 out: iommu_completion_wait(iommu); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch b/kernel/patches-4.14.x-rt/0014-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch rename to kernel/patches-4.14.x-rt/0014-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch index dd7e5c1fa..9197d5ff7 100644 --- a/kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch +++ b/kernel/patches-4.14.x-rt/0014-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch @@ -1,7 +1,7 @@ -From 6224ad75694b7e9aa332a504f1da722c416a4cf3 Mon Sep 17 00:00:00 2001 +From 78aff31b5badc9ef5def900f4eeb1e47f24134aa Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:40 +0100 -Subject: [PATCH 016/418] iommu/amd: Drop the lock while allocating new irq +Subject: [PATCH 014/414] iommu/amd: Drop the lock while allocating new irq remap table Upstream commit 993ca6e063a69a0c65ca42ed449b6bc1b3844151 @@ -133,5 +133,5 @@ index d4eeb91afa36..8b6e515b395e 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch b/kernel/patches-4.14.x-rt/0015-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch rename to kernel/patches-4.14.x-rt/0015-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch index 01a90e1bf..515de6a30 100644 --- a/kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch +++ b/kernel/patches-4.14.x-rt/0015-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch @@ -1,7 +1,7 @@ -From 9d350d7dff14fe5881062bb1dd588fe1bf19719d Mon Sep 17 00:00:00 2001 +From 37d2bc916fbc0c736b9c764ebbf176d915f35763 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:41 +0100 -Subject: [PATCH 017/418] iommu/amd: Make amd_iommu_devtable_lock a spin_lock +Subject: [PATCH 015/414] iommu/amd: Make amd_iommu_devtable_lock a spin_lock Upstream commit 2cd1083d79a0a8c223af430ca97884c28a1e2fc0 @@ -75,5 +75,5 @@ index 8b6e515b395e..f685026e6d9e 100644 static void protection_domain_free(struct protection_domain *domain) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch b/kernel/patches-4.14.x-rt/0016-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch rename to kernel/patches-4.14.x-rt/0016-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch index b3614912d..eb7175f18 100644 --- a/kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch +++ b/kernel/patches-4.14.x-rt/0016-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch @@ -1,7 +1,7 @@ -From cf3885d685d1115031da5d5963a9152b11cf9f36 Mon Sep 17 00:00:00 2001 +From 23f1a4c0eaf25e45ba512b80df021765e5f8c0c4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:42 +0100 -Subject: [PATCH 018/418] iommu/amd: Return proper error code in +Subject: [PATCH 016/414] iommu/amd: Return proper error code in irq_remapping_alloc() Upstream commit 29d049be9438278c47253a74cf8d0ddf36bd5d68 @@ -42,5 +42,5 @@ index f685026e6d9e..f61c2dab5490 100644 } else { index = alloc_irq_index(devid, nr_irqs); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch b/kernel/patches-4.14.x-rt/0017-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch rename to kernel/patches-4.14.x-rt/0017-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch index 1c6a5541a..7d16d6425 100644 --- a/kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch +++ b/kernel/patches-4.14.x-rt/0017-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch @@ -1,7 +1,7 @@ -From d2540f23d6110bdea14e3b9b8af69ee71909096f Mon Sep 17 00:00:00 2001 +From 4ac5106b58007df574bf75e8043b3956cca1fafc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:50 +0100 -Subject: [PATCH 019/418] timers: Use static keys for +Subject: [PATCH 017/414] timers: Use static keys for migrate_enable/nohz_active The members migrate_enable and nohz_active in the timer/hrtimer per CPU @@ -283,5 +283,5 @@ index 9fe525f410bf..b24232985960 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch b/kernel/patches-4.14.x-rt/0018-hrtimer-Correct-blantanly-wrong-comment.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch rename to kernel/patches-4.14.x-rt/0018-hrtimer-Correct-blantanly-wrong-comment.patch index 6c1edc804..bf6d870d9 100644 --- a/kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch +++ b/kernel/patches-4.14.x-rt/0018-hrtimer-Correct-blantanly-wrong-comment.patch @@ -1,7 +1,7 @@ -From 437a57e7664994a510190bfaff01026cd7e75422 Mon Sep 17 00:00:00 2001 +From 18e4a446ba1b09e37ccda5b5c9a185dd4008cfd5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:51 +0100 -Subject: [PATCH 020/418] hrtimer: Correct blantanly wrong comment +Subject: [PATCH 018/414] hrtimer: Correct blantanly wrong comment The protection of a hrtimer which runs its callback against migration to a different CPU has nothing to do with hard interrupt context. @@ -38,5 +38,5 @@ index 883fef2926e9..65543d31af32 100644 raw_spin_unlock(&cpu_base->lock); trace_hrtimer_expire_entry(timer, now); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0019-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0019-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch index 1ac881eaf..1fdbecdb1 100644 --- a/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch +++ b/kernel/patches-4.14.x-rt/0019-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch @@ -1,7 +1,7 @@ -From b9a845a61b4f2fd293791e8a6f3b3031ba03308d Mon Sep 17 00:00:00 2001 +From 3417b2f612ef8cb6484f68dc8521ad9f2340c5cb Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:52 +0100 -Subject: [PATCH 021/418] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base +Subject: [PATCH 019/414] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base The sequence '/**' marks the start of a struct description. Add the missing second asterisk. While at it adapt the ordering of the struct @@ -44,5 +44,5 @@ index 79b2a8d29d8c..b3a382be8db0 100644 * @nr_retries: Total number of hrtimer interrupt retries * @nr_hangs: Total number of hrtimer interrupt hangs -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0020-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch rename to kernel/patches-4.14.x-rt/0020-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch index eb36d5c22..72ddafc7a 100644 --- a/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0020-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch @@ -1,7 +1,7 @@ -From 3f2ef191049442d38c95443f4a85062a403cb21a Mon Sep 17 00:00:00 2001 +From 431cc332cba05e8803b5d67fd5ccf89c22cdb0a2 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:53 +0100 -Subject: [PATCH 022/418] hrtimer: Cleanup clock argument in +Subject: [PATCH 020/414] hrtimer: Cleanup clock argument in schedule_hrtimeout_range_clock() schedule_hrtimeout_range_clock() uses an integer for the clock id @@ -84,5 +84,5 @@ index 65543d31af32..790841b59433 100644 * Make the current task sleep until the given expiry time has * elapsed. The routine will return immediately unless -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch b/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-hrtimer-function-description.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch rename to kernel/patches-4.14.x-rt/0021-hrtimer-Fix-hrtimer-function-description.patch index 1172be433..4b549acea 100644 --- a/kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch +++ b/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-hrtimer-function-description.patch @@ -1,7 +1,7 @@ -From 7bceac6c2181a2ce1ba209d1fc6afb626dbab4c7 Mon Sep 17 00:00:00 2001 +From 53ec81b3e2722efde34e962102444261a5b6572a Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:54 +0100 -Subject: [PATCH 023/418] hrtimer: Fix hrtimer function description +Subject: [PATCH 021/414] hrtimer: Fix hrtimer function description The hrtimer_start[_range_ns]() starts a timer reliable on this CPU only when HRTIMER_MODE_PINNED is set. Furthermore the HRTIMER_MODE_PINNED mode @@ -64,5 +64,5 @@ index 790841b59433..6460aa2d9b25 100644 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch b/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-hrtimer_mode-enum.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch rename to kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-hrtimer_mode-enum.patch index 2aa50c142..97828ab8c 100644 --- a/kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch +++ b/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-hrtimer_mode-enum.patch @@ -1,7 +1,7 @@ -From 79c700b613fe56d7318ab41bc9184cd8572006ec Mon Sep 17 00:00:00 2001 +From a28f838542f4a5b318acfd07e94dc83e2583dff3 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:56 +0100 -Subject: [PATCH 024/418] hrtimer: Cleanup hrtimer_mode enum +Subject: [PATCH 022/414] hrtimer: Cleanup hrtimer_mode enum It's not obvious that the HRTIMER_MODE variants are bit combinations because all modes are hard coded constants. @@ -47,5 +47,5 @@ index 4e6a8841dcbe..28f267cf2851 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch b/kernel/patches-4.14.x-rt/0023-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch rename to kernel/patches-4.14.x-rt/0023-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch index 98a4281d0..9c20b673c 100644 --- a/kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch +++ b/kernel/patches-4.14.x-rt/0023-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch @@ -1,7 +1,7 @@ -From 734fc4622933368429263530e951f67c458070eb Mon Sep 17 00:00:00 2001 +From a15b4fcd0054369d94b97a2064b930b23eeeac9c Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:58 +0100 -Subject: [PATCH 025/418] tracing/hrtimer: Print hrtimer mode in hrtimer_start +Subject: [PATCH 023/414] tracing/hrtimer: Print hrtimer mode in hrtimer_start tracepoint The hrtimer_start tracepoint lacks the mode information. The mode is @@ -117,5 +117,5 @@ index 6460aa2d9b25..476fe683e8ed 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch b/kernel/patches-4.14.x-rt/0024-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch rename to kernel/patches-4.14.x-rt/0024-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch index 92987bb7b..6200316d2 100644 --- a/kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch +++ b/kernel/patches-4.14.x-rt/0024-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch @@ -1,7 +1,7 @@ -From 551c25858df0438915d8addafa70afbb12779d35 Mon Sep 17 00:00:00 2001 +From ea534b414933b99a3a5b729a4112b28d33160529 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:59 +0100 -Subject: [PATCH 026/418] hrtimer: Switch for loop to _ffs() evaluation +Subject: [PATCH 024/414] hrtimer: Switch for loop to _ffs() evaluation Looping over all clock bases to find active bits is suboptimal if not all bases are active. @@ -86,5 +86,5 @@ index 476fe683e8ed..85f9335d0d60 100644 while ((node = timerqueue_getnext(&base->active))) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch b/kernel/patches-4.14.x-rt/0025-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch rename to kernel/patches-4.14.x-rt/0025-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch index 5c219f37e..caeea2ae5 100644 --- a/kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch +++ b/kernel/patches-4.14.x-rt/0025-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch @@ -1,7 +1,7 @@ -From 1ca83795806184362986a22e2a4dd0d5ac30eddd Mon Sep 17 00:00:00 2001 +From bcc3e93255cf34cf11886ae5cd1704571fba59d6 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:00 +0100 -Subject: [PATCH 027/418] hrtimer: Store running timer in hrtimer_clock_base +Subject: [PATCH 025/414] hrtimer: Store running timer in hrtimer_clock_base The pointer to the currently running timer is stored in hrtimer_cpu_base before the base lock is dropped and the callback is invoked. @@ -195,5 +195,5 @@ index 85f9335d0d60..bedfc2865901 100644 static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0026-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0026-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch index 7f9f5693e..2c0733bdf 100644 --- a/kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch +++ b/kernel/patches-4.14.x-rt/0026-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch @@ -1,7 +1,7 @@ -From bbc2c2e88a6682df03351e2a3c19593de4c08d3e Mon Sep 17 00:00:00 2001 +From ba87bcb39f4bc26a0e1022597a49ba1b10c9ec95 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:01 +0100 -Subject: [PATCH 028/418] hrtimer: Make room in struct hrtimer_cpu_base +Subject: [PATCH 026/414] hrtimer: Make room in struct hrtimer_cpu_base The upcoming softirq based hrtimers support requires an additional field in the hrtimer_cpu_base struct, which would grow the struct size beyond a @@ -35,5 +35,5 @@ index 1bae7b9f071d..56e56bcb6f0f 100644 #endif struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES]; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch b/kernel/patches-4.14.x-rt/0027-hrtimer-Reduce-conditional-code-hres_active.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch rename to kernel/patches-4.14.x-rt/0027-hrtimer-Reduce-conditional-code-hres_active.patch index 82a60a4ce..fb98d33a9 100644 --- a/kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch +++ b/kernel/patches-4.14.x-rt/0027-hrtimer-Reduce-conditional-code-hres_active.patch @@ -1,7 +1,7 @@ -From 036160e2bf23c43f7a7eb4482cd372c2c5983389 Mon Sep 17 00:00:00 2001 +From afb485a8f0c8869ab0a04383719c67c272b653e7 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:02 +0100 -Subject: [PATCH 029/418] hrtimer: Reduce conditional code (hres_active) +Subject: [PATCH 027/414] hrtimer: Reduce conditional code (hres_active) The hrtimer_cpu_base struct has the CONFIG_HIGH_RES_TIMERS conditional struct member hres_active. All related functions to this member are @@ -153,5 +153,5 @@ index bedfc2865901..7e0490143275 100644 return 0; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch b/kernel/patches-4.14.x-rt/0028-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch rename to kernel/patches-4.14.x-rt/0028-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch index c8caa5dd8..105d4f9d6 100644 --- a/kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch +++ b/kernel/patches-4.14.x-rt/0028-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch @@ -1,7 +1,7 @@ -From 5f845b534ffc9f5a653f45bddf0dc4e99dd6a510 Mon Sep 17 00:00:00 2001 +From 934a2dcf8cb9c83bbe08d6a2a8f0d7a8c6dcb392 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:03 +0100 -Subject: [PATCH 030/418] hrtimer: Use accesor functions instead of direct +Subject: [PATCH 028/414] hrtimer: Use accesor functions instead of direct access __hrtimer_hres_active() is now available unconditionally. Replace the @@ -38,5 +38,5 @@ index 7e0490143275..85882d5da523 100644 raw_spin_lock(&base->lock); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch b/kernel/patches-4.14.x-rt/0029-hrtimer-Make-the-remote-enqueue-check-unconditional.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch rename to kernel/patches-4.14.x-rt/0029-hrtimer-Make-the-remote-enqueue-check-unconditional.patch index 3e234381f..545329f26 100644 --- a/kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch +++ b/kernel/patches-4.14.x-rt/0029-hrtimer-Make-the-remote-enqueue-check-unconditional.patch @@ -1,7 +1,7 @@ -From 454c4ff0fb355b4dafad0f616d12cbdf1a6521db Mon Sep 17 00:00:00 2001 +From c9dadfb4f40895a2ea72698e2cb1bba1757b9a90 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:04 +0100 -Subject: [PATCH 031/418] hrtimer: Make the remote enqueue check unconditional +Subject: [PATCH 029/414] hrtimer: Make the remote enqueue check unconditional hrtimer_cpu_base.expires_next is used to cache the next event armed in the timer hardware. The value is used to check whether an hrtimer can be @@ -140,5 +140,5 @@ index 85882d5da523..b1016aabc73a 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch b/kernel/patches-4.14.x-rt/0030-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch rename to kernel/patches-4.14.x-rt/0030-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch index a9cb5fa23..4f179f8fe 100644 --- a/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch +++ b/kernel/patches-4.14.x-rt/0030-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch @@ -1,7 +1,7 @@ -From 0f5e672a02807d10c8772c839d358cb498ec6d9f Mon Sep 17 00:00:00 2001 +From d6c371590a1cf3f3c9568b182d8e1cb2dfaceadf Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:05 +0100 -Subject: [PATCH 032/418] hrtimer: Make hrtimer_cpu_base.next_timer handling +Subject: [PATCH 030/414] hrtimer: Make hrtimer_cpu_base.next_timer handling unconditional hrtimer_cpu_base.next_timer stores the pointer to the next expiring timer @@ -101,5 +101,5 @@ index b1016aabc73a..e01c2e78c032 100644 } /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch b/kernel/patches-4.14.x-rt/0031-hrtimer-Make-hrtimer_reprogramm-unconditional.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch rename to kernel/patches-4.14.x-rt/0031-hrtimer-Make-hrtimer_reprogramm-unconditional.patch index 08d1d1001..539dbeb90 100644 --- a/kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch +++ b/kernel/patches-4.14.x-rt/0031-hrtimer-Make-hrtimer_reprogramm-unconditional.patch @@ -1,7 +1,7 @@ -From 528276dfeb134c7e8f46afdced23ebb1c7da0c8b Mon Sep 17 00:00:00 2001 +From 5c8f8eaa36b00eac21e3f19049e7a7402bc02381 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:06 +0100 -Subject: [PATCH 033/418] hrtimer: Make hrtimer_reprogramm() unconditional +Subject: [PATCH 031/414] hrtimer: Make hrtimer_reprogramm() unconditional hrtimer_reprogram() needs to be available unconditionally for softirq based hrtimers. Move the function and all required struct members out of the @@ -189,5 +189,5 @@ index e01c2e78c032..37085a13f19a 100644 * Clock realtime was set * -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch b/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch rename to kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch index 7c77c63de..7982409b9 100644 --- a/kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch +++ b/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch @@ -1,7 +1,7 @@ -From 679e677ed43106bfa23fcd7fa318acf826e27113 Mon Sep 17 00:00:00 2001 +From 71378ed1a6a72a2c8e010fb9353fba8df488df7b Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:07 +0100 -Subject: [PATCH 034/418] hrtimer: Make hrtimer_force_reprogramm() +Subject: [PATCH 032/414] hrtimer: Make hrtimer_force_reprogramm() unconditionally available hrtimer_force_reprogram() needs to be available unconditionally for softirq @@ -107,5 +107,5 @@ index 37085a13f19a..5fd669dd46be 100644 #endif /* CONFIG_HIGH_RES_TIMERS */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch b/kernel/patches-4.14.x-rt/0033-hrtimer-Unify-handling-of-hrtimer-remove.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch rename to kernel/patches-4.14.x-rt/0033-hrtimer-Unify-handling-of-hrtimer-remove.patch index b2ce80848..02f2ec323 100644 --- a/kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch +++ b/kernel/patches-4.14.x-rt/0033-hrtimer-Unify-handling-of-hrtimer-remove.patch @@ -1,7 +1,7 @@ -From 748812cb4f5a3b85cb2ba72c6edb68e390137b84 Mon Sep 17 00:00:00 2001 +From 177cbb8e5db3c0e4dd323a6a653e5a363c85f5cf Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:08 +0100 -Subject: [PATCH 035/418] hrtimer: Unify handling of hrtimer remove +Subject: [PATCH 033/414] hrtimer: Unify handling of hrtimer remove When the first hrtimer on the current CPU is removed, hrtimer_force_reprogram() is invoked but only when @@ -90,5 +90,5 @@ index 5fd669dd46be..ce9a3ef7a796 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch b/kernel/patches-4.14.x-rt/0034-hrtimer-Unify-handling-of-remote-enqueue.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch rename to kernel/patches-4.14.x-rt/0034-hrtimer-Unify-handling-of-remote-enqueue.patch index 5df61e17b..83b4bba55 100644 --- a/kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch +++ b/kernel/patches-4.14.x-rt/0034-hrtimer-Unify-handling-of-remote-enqueue.patch @@ -1,7 +1,7 @@ -From bf1446f64f73dad06295e748afb019d24f7cb3ef Mon Sep 17 00:00:00 2001 +From 248f9a304f527cd8253fbd1c8f35ae35dc1caa47 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:09 +0100 -Subject: [PATCH 036/418] hrtimer: Unify handling of remote enqueue +Subject: [PATCH 034/414] hrtimer: Unify handling of remote enqueue hrtimer_reprogram() is conditionally invoked from hrtimer_start_range_ns() when hrtimer_cpu_base.hres_active is true. @@ -154,5 +154,5 @@ index b24232985960..34415f2b3f04 100644 static unsigned long round_jiffies_common(unsigned long j, int cpu, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch b/kernel/patches-4.14.x-rt/0035-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch rename to kernel/patches-4.14.x-rt/0035-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch index 2b9490082..5619970ed 100644 --- a/kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch +++ b/kernel/patches-4.14.x-rt/0035-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch @@ -1,7 +1,7 @@ -From fb8fd05821b83cac5e75caf3cd2e7d7f939e9df8 Mon Sep 17 00:00:00 2001 +From 2dc46ebab983cc8b2cfd85cc0eef716a7a660d46 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:10 +0100 -Subject: [PATCH 037/418] hrtimer: Make remote enqueue decision less +Subject: [PATCH 035/414] hrtimer: Make remote enqueue decision less restrictive The current decision whether a timer can be queued on a remote CPU checks @@ -34,5 +34,5 @@ index 35d7d0c8c3d6..1b2866645c83 100644 static inline -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch b/kernel/patches-4.14.x-rt/0036-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch rename to kernel/patches-4.14.x-rt/0036-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch index a344bdc10..ce43c51cf 100644 --- a/kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch +++ b/kernel/patches-4.14.x-rt/0036-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch @@ -1,7 +1,7 @@ -From 9f9520ee32930e264c6c3b96bcbff47d3e1d3535 Mon Sep 17 00:00:00 2001 +From aafe75f039f4e96b2c6c1d3c0032af678591e28d Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:11 +0100 -Subject: [PATCH 038/418] hrtimer: Remove base argument from +Subject: [PATCH 036/414] hrtimer: Remove base argument from hrtimer_reprogram() hrtimer_reprogram() must have access to the hrtimer_clock_base of the new @@ -52,5 +52,5 @@ index 1b2866645c83..9030dcb3ef14 100644 unlock_hrtimer_base(timer, &flags); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch b/kernel/patches-4.14.x-rt/0037-hrtimer-Split-hrtimer_start_range_ns.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch rename to kernel/patches-4.14.x-rt/0037-hrtimer-Split-hrtimer_start_range_ns.patch index cb6b193e3..ea125222f 100644 --- a/kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch +++ b/kernel/patches-4.14.x-rt/0037-hrtimer-Split-hrtimer_start_range_ns.patch @@ -1,7 +1,7 @@ -From 2902f951d983fd0c1ba2c263f8cefaaf9920dddf Mon Sep 17 00:00:00 2001 +From 2d39cd422d4266f02d8d95eef439e2ad508f8c8a Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:12 +0100 -Subject: [PATCH 039/418] hrtimer: Split hrtimer_start_range_ns() +Subject: [PATCH 037/414] hrtimer: Split hrtimer_start_range_ns() Preparatory patch for softirq based hrtimers to avoid code duplication. No functional change. @@ -77,5 +77,5 @@ index 9030dcb3ef14..687a8d903a18 100644 } EXPORT_SYMBOL_GPL(hrtimer_start_range_ns); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch b/kernel/patches-4.14.x-rt/0038-hrtimer-Split-__hrtimer_get_next_event.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch rename to kernel/patches-4.14.x-rt/0038-hrtimer-Split-__hrtimer_get_next_event.patch index df900ba6c..94d93eceb 100644 --- a/kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch +++ b/kernel/patches-4.14.x-rt/0038-hrtimer-Split-__hrtimer_get_next_event.patch @@ -1,7 +1,7 @@ -From 02981f05fa68ffe985a592dc05e55aab21ade52d Mon Sep 17 00:00:00 2001 +From d9e7ac76b7cef3f0b79a63864c6473b6e158c49a Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:13 +0100 -Subject: [PATCH 040/418] hrtimer: Split __hrtimer_get_next_event() +Subject: [PATCH 038/414] hrtimer: Split __hrtimer_get_next_event() Preparatory patch for softirq based hrtimers to avoid code duplication. No functional change. @@ -54,5 +54,5 @@ index 687a8d903a18..2382bc5d8e4d 100644 static inline ktime_t hrtimer_update_base(struct hrtimer_cpu_base *base) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch b/kernel/patches-4.14.x-rt/0039-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch rename to kernel/patches-4.14.x-rt/0039-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch index c810a1935..494b6960c 100644 --- a/kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0039-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch @@ -1,7 +1,7 @@ -From 98dc570c5d061de989184f864ecfb6ce8d37908d Mon Sep 17 00:00:00 2001 +From 96fbdc5365e4b933549b3f2428b08f4bc9e7bfa6 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:14 +0100 -Subject: [PATCH 041/418] hrtimer: Use irqsave/irqrestore around +Subject: [PATCH 039/414] hrtimer: Use irqsave/irqrestore around __run_hrtimer() __run_hrtimer() is called with the hrtimer_cpu_base.lock held and @@ -147,5 +147,5 @@ index 2382bc5d8e4d..86cdc9a76911 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch b/kernel/patches-4.14.x-rt/0040-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch rename to kernel/patches-4.14.x-rt/0040-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch index 97aeb3aa3..1be6fd0ed 100644 --- a/kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch +++ b/kernel/patches-4.14.x-rt/0040-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch @@ -1,7 +1,7 @@ -From d748cf5fda146e95ece2f26bbb5355989feb2c0c Mon Sep 17 00:00:00 2001 +From 6c1a903df466a3e6485160185d29c569e98392a4 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:15 +0100 -Subject: [PATCH 042/418] hrtimer: Add clock bases and hrtimer mode for soft +Subject: [PATCH 040/414] hrtimer: Add clock bases and hrtimer mode for soft irq context hrtimer callback functions are always executed in hard interrupt @@ -114,5 +114,5 @@ index 86cdc9a76911..b5121845d12c 100644 }; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0041-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0041-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch index 1463744e5..3c5a623bb 100644 --- a/kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch +++ b/kernel/patches-4.14.x-rt/0041-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch @@ -1,7 +1,7 @@ -From 8eacbcb00c9529dab3e37cfd52c28c8812c075d0 Mon Sep 17 00:00:00 2001 +From 0aaa599ac85c7489588544feee2d007de1249786 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:16 +0100 -Subject: [PATCH 043/418] hrtimer: Prepare handling of hard and softirq based +Subject: [PATCH 041/414] hrtimer: Prepare handling of hard and softirq based hrtimers The softirq based hrtimer can utilize most of the existing hrtimers @@ -118,5 +118,5 @@ index b5121845d12c..9a1f2b00c847 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch b/kernel/patches-4.14.x-rt/0042-hrtimer-Implement-support-for-softirq-based-hrtimers.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch rename to kernel/patches-4.14.x-rt/0042-hrtimer-Implement-support-for-softirq-based-hrtimers.patch index 632f0568e..cea0125b9 100644 --- a/kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch +++ b/kernel/patches-4.14.x-rt/0042-hrtimer-Implement-support-for-softirq-based-hrtimers.patch @@ -1,7 +1,7 @@ -From f5e86c469b7c959867c9f4cb475ba5a116655ea6 Mon Sep 17 00:00:00 2001 +From 77008f1277d442b0d4320218ce6bff4b100bd4f4 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:17 +0100 -Subject: [PATCH 044/418] hrtimer: Implement support for softirq based hrtimers +Subject: [PATCH 042/414] hrtimer: Implement support for softirq based hrtimers hrtimer callbacks are always invoked in hard interrupt context. Several users in tree require soft interrupt context for their callbacks and @@ -502,5 +502,5 @@ index 9a1f2b00c847..66d7a12d7256 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch b/kernel/patches-4.14.x-rt/0043-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch rename to kernel/patches-4.14.x-rt/0043-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch index 606a3da0e..bc3cfbfff 100644 --- a/kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch +++ b/kernel/patches-4.14.x-rt/0043-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch @@ -1,7 +1,7 @@ -From 19acab9d8df9e75cfa7ec3ef85cd681573fda33e Mon Sep 17 00:00:00 2001 +From 995d50bf0d967649155d26a1c5518ff2055164bb Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:18 +0100 -Subject: [PATCH 045/418] hrtimer: Implement SOFT/HARD clock base selection +Subject: [PATCH 043/414] hrtimer: Implement SOFT/HARD clock base selection All prerequisites to handle hrtimers for expiry in either hard or soft interrupt context are in place. @@ -57,5 +57,5 @@ index 66d7a12d7256..9947480ad731 100644 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0044-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0044-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch index 51b74a8e1..35ecd6f81 100644 --- a/kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch +++ b/kernel/patches-4.14.x-rt/0044-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch @@ -1,7 +1,7 @@ -From 2cbedaf9c22fa9c7b29f6e31ac181afd7d604783 Mon Sep 17 00:00:00 2001 +From e41462750d62f1c41fd2d31c4c9b48de2d81b25f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:11 +0100 -Subject: [PATCH 046/418] can/bcm: Replace hrtimer_tasklet with softirq based +Subject: [PATCH 044/414] can/bcm: Replace hrtimer_tasklet with softirq based hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer @@ -317,5 +317,5 @@ index 13690334efa3..9cc67ac257f1 100644 /* now we can register for can_ids, if we added a new bcm_op */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch b/kernel/patches-4.14.x-rt/0045-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch rename to kernel/patches-4.14.x-rt/0045-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch index 762c902fe..d54604fec 100644 --- a/kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch +++ b/kernel/patches-4.14.x-rt/0045-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch @@ -1,7 +1,7 @@ -From b598f6cc9629cfae9153cad4f169cd94de94b74d Mon Sep 17 00:00:00 2001 +From cc601ebcb4fc381d3a6fd809da4103f6af90f83c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:12 +0100 -Subject: [PATCH 047/418] mac80211_hwsim: Replace hrtimer tasklet with softirq +Subject: [PATCH 045/414] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer @@ -137,5 +137,5 @@ index d686ba10fecc..4afcdee4f8e2 100644 spin_lock_bh(&hwsim_radio_lock); list_add_tail(&data->list, &hwsim_radios); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0046-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0046-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch index 2b1f7e784..57bf35128 100644 --- a/kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0046-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From ab4e9cdebdecf8afc31c2175eeef0ee491edd893 Mon Sep 17 00:00:00 2001 +From 8c0e9dad7cd8996721f69a508203e8f6bfa12b7f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:13 +0100 -Subject: [PATCH 048/418] xfrm: Replace hrtimer tasklet with softirq hrtimer +Subject: [PATCH 046/414] xfrm: Replace hrtimer tasklet with softirq hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. @@ -136,5 +136,5 @@ index 6c4ec69e11a0..77f52dc790ec 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch b/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch rename to kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch index 53fff6404..9a4b20721 100644 --- a/kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch @@ -1,7 +1,7 @@ -From 07f6a6cd6f185c258b51f5868df1099d8ac0409f Mon Sep 17 00:00:00 2001 +From 84d22944bf656ca6957cc58ceba1a8f489ead682 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:14 +0100 -Subject: [PATCH 049/418] softirq: Remove tasklet_hrtimer +Subject: [PATCH 047/414] softirq: Remove tasklet_hrtimer There are no more tasklet_hrtimer users of this interface. Remove it. @@ -113,5 +113,5 @@ index e89c3b0cff6d..359cec869172 100644 { int cpu; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0048-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0048-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch index 401ca833e..0a4dec1c6 100644 --- a/kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0048-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 24d5357d77a69078fc98402de3aab60d653b3fa8 Mon Sep 17 00:00:00 2001 +From 51d1d147b7b1fad19cb92eaea249838277c9f067 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:15 +0100 -Subject: [PATCH 050/418] ALSA/dummy: Replace tasklet with softirq hrtimer +Subject: [PATCH 048/414] ALSA/dummy: Replace tasklet with softirq hrtimer The tasklet is used to defer the execution of snd_pcm_period_elapsed() to the softirq context. Using the HRTIMER_MODE_SOFT mode invokes the timer @@ -101,5 +101,5 @@ index c0939a0164a6..549e014ecc0d 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0049-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0049-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch index 4450ab6ac..8d2eda44a 100644 --- a/kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0049-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 0057023498b6d4b22530b1dfbe73ecbc8ffad56d Mon Sep 17 00:00:00 2001 +From d9fc17e1bbc04f471ec7070c7788f3e8b1087f59 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:16 +0100 -Subject: [PATCH 051/418] usb/gadget/NCM: Replace tasklet with softirq hrtimer +Subject: [PATCH 049/414] usb/gadget/NCM: Replace tasklet with softirq hrtimer The tx_tasklet tasklet is used in invoke the hrtimer (task_timer) in softirq context. This can be also achieved without the tasklet but @@ -98,5 +98,5 @@ index 45b334ceaf2e..5f24e6d3b6eb 100644 ncm_string_defs[0].id = 0; usb_free_all_descriptors(f); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0050-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0050-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch index 635326625..39f95c28b 100644 --- a/kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0050-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From c49af3d9c660a7a707a2df5d9de7476078ea0d4e Mon Sep 17 00:00:00 2001 +From b9d178d6751f0bf94bd26aacb8c0c694ac92d123 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:17 +0100 -Subject: [PATCH 052/418] net/mvpp2: Replace tasklet with softirq hrtimer +Subject: [PATCH 050/414] net/mvpp2: Replace tasklet with softirq hrtimer The tx_done_tasklet tasklet is used in invoke the hrtimer (mvpp2_hr_timer_cb) in softirq context. This can be also achieved without @@ -134,5 +134,5 @@ index 529be74f609d..b1d7378b131c 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch b/kernel/patches-4.14.x-rt/0051-arm-at91-do-not-disable-enable-clocks-in-a-row.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch rename to kernel/patches-4.14.x-rt/0051-arm-at91-do-not-disable-enable-clocks-in-a-row.patch index 6ea65d22a..3fe1ce3d2 100644 --- a/kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch +++ b/kernel/patches-4.14.x-rt/0051-arm-at91-do-not-disable-enable-clocks-in-a-row.patch @@ -1,7 +1,7 @@ -From b6c2b5989660b182405f3934877171c0a96c4dcc Mon Sep 17 00:00:00 2001 +From 727e4f53abcedadc467084c8a89aa37d235bd637 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Mar 2016 10:51:06 +0100 -Subject: [PATCH 053/418] arm: at91: do not disable/enable clocks in a row +Subject: [PATCH 051/414] arm: at91: do not disable/enable clocks in a row Currently the driver will disable the clock and enable it one line later if it is switching from periodic mode into one shot. @@ -93,5 +93,5 @@ index 9de47d4d2d9e..4f45be268e52 100644 .set_state_oneshot = tc_set_oneshot, }, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch b/kernel/patches-4.14.x-rt/0052-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch rename to kernel/patches-4.14.x-rt/0052-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch index f0afce50e..1b3883da6 100644 --- a/kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch +++ b/kernel/patches-4.14.x-rt/0052-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch @@ -1,7 +1,7 @@ -From 09e618ba20c6ff837af1ce439e27e0979ae617b9 Mon Sep 17 00:00:00 2001 +From 8f4e789c87e029c3c7d429e6e28d0eb937ca7346 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 11 Sep 2015 21:21:23 +0300 -Subject: [PATCH 054/418] ARM: smp: Move clear_tasks_mm_cpumask() call to +Subject: [PATCH 052/414] ARM: smp: Move clear_tasks_mm_cpumask() call to __cpu_die() When running with the RT-kernel (4.1.5-rt5) on TI OMAP dra7-evm and trying @@ -87,5 +87,5 @@ index c9a0a5299827..7e5122af96ca 100644 * platform_cpu_kill() is generally expected to do the powering off * and/or cutting of clocks to the dying CPU. Optionally, this may -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch b/kernel/patches-4.14.x-rt/0053-rtmutex-Handle-non-enqueued-waiters-gracefully.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch rename to kernel/patches-4.14.x-rt/0053-rtmutex-Handle-non-enqueued-waiters-gracefully.patch index ea7a5e442..565a08ac7 100644 --- a/kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch +++ b/kernel/patches-4.14.x-rt/0053-rtmutex-Handle-non-enqueued-waiters-gracefully.patch @@ -1,7 +1,7 @@ -From 8b2112f6afd9643d70f46582f0602be382b62eef Mon Sep 17 00:00:00 2001 +From 64c4c76f4ac141722a1ba1fbcc2d41a50ba0e2c7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 6 Nov 2015 18:51:03 +0100 -Subject: [PATCH 055/418] rtmutex: Handle non enqueued waiters gracefully +Subject: [PATCH 053/414] rtmutex: Handle non enqueued waiters gracefully Yimin debugged that in case of a PI wakeup in progress when rt_mutex_start_proxy_lock() calls task_blocks_on_rt_mutex() the latter @@ -33,5 +33,5 @@ index 940633c63254..fe7f97edc94e 100644 debug_rt_mutex_print_deadlock(waiter); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch b/kernel/patches-4.14.x-rt/0054-rbtree-include-rcu.h-because-we-use-it.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch rename to kernel/patches-4.14.x-rt/0054-rbtree-include-rcu.h-because-we-use-it.patch index e0b15569a..e7150e2f3 100644 --- a/kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch +++ b/kernel/patches-4.14.x-rt/0054-rbtree-include-rcu.h-because-we-use-it.patch @@ -1,7 +1,7 @@ -From 1ee4bc5017c2dfc14b348a6a131223a148ca89d2 Mon Sep 17 00:00:00 2001 +From 99ec286b59c1a09247a3a5753385ea1c936079ee Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 11:52:17 +0200 -Subject: [PATCH 056/418] rbtree: include rcu.h because we use it +Subject: [PATCH 054/414] rbtree: include rcu.h because we use it Since commit c1adf20052d8 ("Introduce rb_replace_node_rcu()") rbtree_augmented.h uses RCU related data structures but does not include @@ -39,5 +39,5 @@ index ece43e882b56..7d012faa509a 100644 struct latch_tree_node { struct rb_node node[2]; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch b/kernel/patches-4.14.x-rt/0055-rxrpc-remove-unused-static-variables.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch rename to kernel/patches-4.14.x-rt/0055-rxrpc-remove-unused-static-variables.patch index dc211f32d..752ee6689 100644 --- a/kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch +++ b/kernel/patches-4.14.x-rt/0055-rxrpc-remove-unused-static-variables.patch @@ -1,7 +1,7 @@ -From ecf53d6e5fac47f5613f8adef21d9a3aa9928e7d Mon Sep 17 00:00:00 2001 +From cb4cd2c91b5cd0e8d23767e051c92b7f9d277aa7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Oct 2016 10:54:50 +0200 -Subject: [PATCH 057/418] rxrpc: remove unused static variables +Subject: [PATCH 055/414] rxrpc: remove unused static variables The rxrpc_security_methods and rxrpc_security_sem user has been removed in 648af7fca159 ("rxrpc: Absorb the rxkad security module"). This was @@ -28,5 +28,5 @@ index e9f428351293..c4479afe8ae7 100644 [RXRPC_SECURITY_NONE] = &rxrpc_no_security, #ifdef CONFIG_RXKAD -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch b/kernel/patches-4.14.x-rt/0056-mfd-syscon-atmel-smc-include-string.h.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch rename to kernel/patches-4.14.x-rt/0056-mfd-syscon-atmel-smc-include-string.h.patch index f44591d87..b45d7efa1 100644 --- a/kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch +++ b/kernel/patches-4.14.x-rt/0056-mfd-syscon-atmel-smc-include-string.h.patch @@ -1,7 +1,7 @@ -From 2f94baea30383e8da5bca2d7854c92d64ad22c37 Mon Sep 17 00:00:00 2001 +From 3d173b2cddbb8f72c1a8e412a9e13b7d69b4af6b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 09:55:58 +0200 -Subject: [PATCH 058/418] mfd: syscon: atmel-smc: include string.h +Subject: [PATCH 056/414] mfd: syscon: atmel-smc: include string.h The string.h header file is needed for the memset() definition. The RT build fails because it is not pulled in via other header files. @@ -24,5 +24,5 @@ index 7d77948567d7..0adbd2e796fe 100644 /** * atmel_smc_cs_conf_init - initialize a SMC CS conf -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch b/kernel/patches-4.14.x-rt/0057-sched-swait-include-wait.h.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch rename to kernel/patches-4.14.x-rt/0057-sched-swait-include-wait.h.patch index 172bff714..a20cafba8 100644 --- a/kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch +++ b/kernel/patches-4.14.x-rt/0057-sched-swait-include-wait.h.patch @@ -1,7 +1,7 @@ -From 88a1052fc359232c614fe07d2331b21fc5f1cdd0 Mon Sep 17 00:00:00 2001 +From dad4995002c053a2d75ed9aadd02146a9e5b9d1e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Dec 2017 13:11:10 +0100 -Subject: [PATCH 059/418] sched/swait: include wait.h +Subject: [PATCH 057/414] sched/swait: include wait.h kbuild bot reported against an intermediate RT patch that the build fails with: @@ -37,5 +37,5 @@ index c98aaf677466..84f9745365ff 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch b/kernel/patches-4.14.x-rt/0058-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch rename to kernel/patches-4.14.x-rt/0058-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch index 45bedc374..805bd3014 100644 --- a/kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch +++ b/kernel/patches-4.14.x-rt/0058-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch @@ -1,7 +1,7 @@ -From 501738a0c05a729a4cdfdc465d67b69d307ed5ca Mon Sep 17 00:00:00 2001 +From 87c7c17c4d4cfca00f604c9d4fd6ad9a983801de Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 28 Oct 2016 23:05:11 +0200 -Subject: [PATCH 060/418] NFSv4: replace seqcount_t with a seqlock_t +Subject: [PATCH 058/414] NFSv4: replace seqcount_t with a seqlock_t The raw_write_seqcount_begin() in nfs4_reclaim_open_state() bugs me because it maps to preempt_disable() in -RT which I can't have at this @@ -57,7 +57,7 @@ index a73144b3cb8c..0c403d280b96 100644 }; diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c -index 8ff98bbe479b..610abc7392d7 100644 +index 928bbc397818..c2b9d5d6e6cb 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2686,7 +2686,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, @@ -131,5 +131,5 @@ index 45873ed92057..c487a1ca7106 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch b/kernel/patches-4.14.x-rt/0059-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch rename to kernel/patches-4.14.x-rt/0059-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch index 7a7bbb0ac..21de0cece 100644 --- a/kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch +++ b/kernel/patches-4.14.x-rt/0059-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch @@ -1,7 +1,7 @@ -From c685af47c8ba64119584512bb0881367c104e439 Mon Sep 17 00:00:00 2001 +From 26e3f4a085d447ef75cc202750c0a97e4686257d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 15:35:57 +0200 -Subject: [PATCH 061/418] Bluetooth: avoid recursive locking in +Subject: [PATCH 059/414] Bluetooth: avoid recursive locking in hci_send_to_channel() Mart reported a deadlock in -RT in the call path: @@ -72,5 +72,5 @@ index 65d734c165bd..923e9a271872 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch b/kernel/patches-4.14.x-rt/0060-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch rename to kernel/patches-4.14.x-rt/0060-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch index f34d3956e..7de3eedf8 100644 --- a/kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch +++ b/kernel/patches-4.14.x-rt/0060-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch @@ -1,7 +1,7 @@ -From e6ea419645846e97bf9b1a6434b6822c9997193b Mon Sep 17 00:00:00 2001 +From 8fdda08777908ad7a6172ce415ec5703f9b0faff Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 17:21:40 +0200 -Subject: [PATCH 062/418] iommu/iova: Use raw_cpu_ptr() instead of +Subject: [PATCH 060/414] iommu/iova: Use raw_cpu_ptr() instead of get_cpu_ptr() for ->fq get_cpu_ptr() disabled preemption and returns the ->fq object of the @@ -44,5 +44,5 @@ index 33edfa794ae9..b30900025c62 100644 EXPORT_SYMBOL_GPL(queue_iova); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0061-greybus-audio-don-t-inclide-rwlock.h-directly.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0061-greybus-audio-don-t-inclide-rwlock.h-directly.patch index b9bd7e97b..75a17471e 100644 --- a/kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0061-greybus-audio-don-t-inclide-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From 4c708f244439a8be64e98c3181a9622d6f7a27b7 Mon Sep 17 00:00:00 2001 +From ff6ce9f69a7f509c0e10bd78c0dc1d9bacde185a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 063/418] greybus: audio: don't inclide rwlock.h directly. +Subject: [PATCH 061/414] greybus: audio: don't inclide rwlock.h directly. rwlock.h should not be included directly. Instead linux/splinlock.h should be included. One thing it does is to break the RT build. @@ -32,5 +32,5 @@ index aa6508b44fab..045696ce85c7 100644 #include "audio_manager.h" -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0062-xen-9pfs-don-t-inclide-rwlock.h-directly.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0062-xen-9pfs-don-t-inclide-rwlock.h-directly.patch index ef00ab73e..8de2ad9e4 100644 --- a/kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0062-xen-9pfs-don-t-inclide-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From a465d491485f432fbfdfa5e72f6cc97604bbed6f Mon Sep 17 00:00:00 2001 +From 57aadd3335c145d39a4e3ced1de6e220f793e224 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 064/418] xen/9pfs: don't inclide rwlock.h directly. +Subject: [PATCH 062/414] xen/9pfs: don't inclide rwlock.h directly. rwlock.h should not be included directly. Instead linux/splinlock.h should be included. One thing it does is to break the RT build. @@ -30,5 +30,5 @@ index 325c56043007..a3f577e81c79 100644 #include #include -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch b/kernel/patches-4.14.x-rt/0063-drm-i915-properly-init-lockdep-class.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch rename to kernel/patches-4.14.x-rt/0063-drm-i915-properly-init-lockdep-class.patch index 18e684980..65c20acc3 100644 --- a/kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch +++ b/kernel/patches-4.14.x-rt/0063-drm-i915-properly-init-lockdep-class.patch @@ -1,7 +1,7 @@ -From 64f7609a4afaa3ae86b180e6b390ab61c7297756 Mon Sep 17 00:00:00 2001 +From d3d5a7b7f58b32f9c1418d8350a895c3e130a54b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 16:06:13 +0100 -Subject: [PATCH 065/418] drm/i915: properly init lockdep class +Subject: [PATCH 063/414] drm/i915: properly init lockdep class The code has an ifdef and uses two functions to either init the bare spinlock or init it and set a lock-class. It is possible to do the same @@ -33,5 +33,5 @@ index c597ce277a04..c1108d3921f8 100644 INIT_LIST_HEAD(&tl->requests); i915_syncmap_init(&tl->sync); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch b/kernel/patches-4.14.x-rt/0064-timerqueue-Document-return-values-of-timerqueue_add-.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch rename to kernel/patches-4.14.x-rt/0064-timerqueue-Document-return-values-of-timerqueue_add-.patch index 87a973d7c..0ff0236e5 100644 --- a/kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch +++ b/kernel/patches-4.14.x-rt/0064-timerqueue-Document-return-values-of-timerqueue_add-.patch @@ -1,7 +1,7 @@ -From 2824c3956bf820cd38b0f3a08216efbef33788bc Mon Sep 17 00:00:00 2001 +From 8ec366eaf670a24ee71b4c406d6526e0055da290 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:15 +0100 -Subject: [PATCH 066/418] timerqueue: Document return values of +Subject: [PATCH 064/414] timerqueue: Document return values of timerqueue_add/del() The return values of timerqueue_add/del() are not documented in the kernel doc @@ -41,5 +41,5 @@ index 4a720ed4fdaf..0d54bcbc8170 100644 bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch b/kernel/patches-4.14.x-rt/0065-sparc64-use-generic-rwsem-spinlocks-rt.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch rename to kernel/patches-4.14.x-rt/0065-sparc64-use-generic-rwsem-spinlocks-rt.patch index 283029a36..c74277874 100644 --- a/kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch +++ b/kernel/patches-4.14.x-rt/0065-sparc64-use-generic-rwsem-spinlocks-rt.patch @@ -1,7 +1,7 @@ -From c60dd1b0d2dacd22df582b78b3ef708cf9e6d118 Mon Sep 17 00:00:00 2001 +From d6d57ba863defd4ff1388c7dcc8323925065347b Mon Sep 17 00:00:00 2001 From: Allen Pais Date: Fri, 13 Dec 2013 09:44:41 +0530 -Subject: [PATCH 067/418] sparc64: use generic rwsem spinlocks rt +Subject: [PATCH 065/414] sparc64: use generic rwsem spinlocks rt Signed-off-by: Allen Pais Signed-off-by: Sebastian Andrzej Siewior @@ -29,5 +29,5 @@ index 4e83f950713e..7f9d71523763 100644 config GENERIC_HWEIGHT bool -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch b/kernel/patches-4.14.x-rt/0066-kernel-SRCU-provide-a-static-initializer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch rename to kernel/patches-4.14.x-rt/0066-kernel-SRCU-provide-a-static-initializer.patch index 5ab895bcd..597b1ac31 100644 --- a/kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch +++ b/kernel/patches-4.14.x-rt/0066-kernel-SRCU-provide-a-static-initializer.patch @@ -1,7 +1,7 @@ -From 0f6e08944cbaa658d44e566453df5842b8ce1821 Mon Sep 17 00:00:00 2001 +From b3f979f24ccd48b0c93d73294c35380c42bcd39d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 19 Mar 2013 14:44:30 +0100 -Subject: [PATCH 068/418] kernel/SRCU: provide a static initializer +Subject: [PATCH 066/414] kernel/SRCU: provide a static initializer There are macros for static initializer for the three out of four possible notifier types, that are: @@ -161,5 +161,5 @@ index a949f4f9e4d7..85ae8c0dddb4 100644 #define DEFINE_STATIC_SRCU(name) __DEFINE_SRCU(name, static) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch b/kernel/patches-4.14.x-rt/0067-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch rename to kernel/patches-4.14.x-rt/0067-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch index e54f25fcf..6b8235724 100644 --- a/kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch +++ b/kernel/patches-4.14.x-rt/0067-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch @@ -1,7 +1,7 @@ -From ea6612c14ec2799b3cfbefe06ba925dbe056e5af Mon Sep 17 00:00:00 2001 +From d05bcd29edaa799b4225174339015b255c66a2a4 Mon Sep 17 00:00:00 2001 From: "bigeasy@linutronix.de" Date: Fri, 23 Mar 2018 18:17:36 +0100 -Subject: [PATCH 069/418] target: drop spin_lock_assert() + irqs_disabled() +Subject: [PATCH 067/414] target: drop spin_lock_assert() + irqs_disabled() combo checks There are a few functions which check for if the lock is held @@ -64,5 +64,5 @@ index e6d51135d105..b00829995131 100644 return 0; /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch b/kernel/patches-4.14.x-rt/0068-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch rename to kernel/patches-4.14.x-rt/0068-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch index cfc36408d..c6f09a001 100644 --- a/kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch +++ b/kernel/patches-4.14.x-rt/0068-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch @@ -1,7 +1,7 @@ -From 86cd8a7ab1b4d258a8d7aa3cbf4bf82b3d857f6f Mon Sep 17 00:00:00 2001 +From 1a58613ad9bf0d2488507ae6733e7cbb69853812 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 4 Apr 2017 12:50:16 +0200 -Subject: [PATCH 070/418] kernel: sched: Provide a pointer to the valid CPU +Subject: [PATCH 068/414] kernel: sched: Provide a pointer to the valid CPU mask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -73,7 +73,7 @@ Signed-off-by: Sebastian Andrzej Siewior include/linux/sched.h | 5 +-- kernel/cgroup/cpuset.c | 2 +- kernel/fork.c | 3 +- - kernel/sched/core.c | 42 +++++++++++----------- + kernel/sched/core.c | 40 +++++++++++----------- kernel/sched/cpudeadline.c | 4 +-- kernel/sched/cpupri.c | 4 +-- kernel/sched/deadline.c | 6 ++-- @@ -82,7 +82,7 @@ Signed-off-by: Sebastian Andrzej Siewior kernel/trace/trace_hwlat.c | 2 +- lib/smp_processor_id.c | 2 +- samples/trace_events/trace-events-sample.c | 2 +- - 24 files changed, 78 insertions(+), 77 deletions(-) + 24 files changed, 77 insertions(+), 76 deletions(-) diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 555b11180156..6866201a7603 100644 @@ -133,10 +133,10 @@ index a7c0f97e4b0d..1a08428eedcf 100644 out_unlock: diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c -index 5669d3b8bd38..53bfb74e5f67 100644 +index 583aed906933..24ad7aaca5eb 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c -@@ -1192,12 +1192,12 @@ static void mt_ase_fp_affinity(void) +@@ -1193,12 +1193,12 @@ static void mt_ase_fp_affinity(void) * restricted the allowed set to exclude any CPUs with FPUs, * we'll skip the procedure. */ @@ -270,10 +270,10 @@ index 6781bcdb10b3..d069ad261572 100644 cpu_id = smp_processor_id(); diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c -index 9396c1807cc3..a42fcd4735cb 100644 +index 40efc9151ec4..12924aad90cc 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c -@@ -1163,7 +1163,7 @@ static unsigned int qib_poll(struct file *fp, struct poll_table_struct *pt) +@@ -1167,7 +1167,7 @@ static unsigned int qib_poll(struct file *fp, struct poll_table_struct *pt) static void assign_ctxt_affinity(struct file *fp, struct qib_devdata *dd) { struct qib_filedata *fd = fp->private_data; @@ -282,7 +282,7 @@ index 9396c1807cc3..a42fcd4735cb 100644 const struct cpumask *local_mask = cpumask_of_pcibus(dd->pcidev->bus); int local_cpu; -@@ -1644,9 +1644,8 @@ static int qib_assign_ctxt(struct file *fp, const struct qib_user_info *uinfo) +@@ -1648,9 +1648,8 @@ static int qib_assign_ctxt(struct file *fp, const struct qib_user_info *uinfo) ret = find_free_ctxt(i_minor - 1, fp, uinfo); else { int unit; @@ -375,19 +375,19 @@ index 98c91bd341b4..04c3ebd7a9a9 100644 * One for us, one for whoever does the "release_task()" (usually * parent) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index f287dcbe8cb2..5909b525f668 100644 +index 31615d1ae44c..d5d8244d780b 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -960,7 +960,7 @@ static struct rq *__migrate_task(struct rq *rq, struct rq_flags *rf, - } +@@ -912,7 +912,7 @@ static inline bool is_per_cpu_kthread(struct task_struct *p) + */ + static inline bool is_cpu_allowed(struct task_struct *p, int cpu) + { +- if (!cpumask_test_cpu(cpu, &p->cpus_allowed)) ++ if (!cpumask_test_cpu(cpu, p->cpus_ptr)) + return false; - /* Affinity changed (again). */ -- if (!cpumask_test_cpu(dest_cpu, &p->cpus_allowed)) -+ if (!cpumask_test_cpu(dest_cpu, p->cpus_ptr)) - return rq; - - update_rq_clock(rq); -@@ -988,7 +988,7 @@ static int migration_cpu_stop(void *data) + if (is_per_cpu_kthread(p)) +@@ -1007,7 +1007,7 @@ static int migration_cpu_stop(void *data) local_irq_disable(); /* * We need to explicitly wake pending tasks before running @@ -396,7 +396,7 @@ index f287dcbe8cb2..5909b525f668 100644 * during wakeups, see set_cpus_allowed_ptr()'s TASK_WAKING test. */ sched_ttwu_pending(); -@@ -1019,7 +1019,7 @@ static int migration_cpu_stop(void *data) +@@ -1038,7 +1038,7 @@ static int migration_cpu_stop(void *data) */ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask) { @@ -405,7 +405,7 @@ index f287dcbe8cb2..5909b525f668 100644 p->nr_cpus_allowed = cpumask_weight(new_mask); } -@@ -1089,7 +1089,7 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, +@@ -1108,7 +1108,7 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, goto out; } @@ -414,7 +414,7 @@ index f287dcbe8cb2..5909b525f668 100644 goto out; if (!cpumask_intersects(new_mask, cpu_valid_mask)) { -@@ -1250,10 +1250,10 @@ static int migrate_swap_stop(void *data) +@@ -1269,10 +1269,10 @@ static int migrate_swap_stop(void *data) if (task_cpu(arg->src_task) != arg->src_cpu) goto unlock; @@ -427,7 +427,7 @@ index f287dcbe8cb2..5909b525f668 100644 goto unlock; __migrate_swap_task(arg->src_task, arg->dst_cpu); -@@ -1294,10 +1294,10 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p) +@@ -1313,10 +1313,10 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p) if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) goto out; @@ -440,7 +440,7 @@ index f287dcbe8cb2..5909b525f668 100644 goto out; trace_sched_swap_numa(cur, arg.src_cpu, p, arg.dst_cpu); -@@ -1441,7 +1441,7 @@ void kick_process(struct task_struct *p) +@@ -1460,7 +1460,7 @@ void kick_process(struct task_struct *p) EXPORT_SYMBOL_GPL(kick_process); /* @@ -449,7 +449,7 @@ index f287dcbe8cb2..5909b525f668 100644 * * A few notes on cpu_active vs cpu_online: * -@@ -1481,14 +1481,14 @@ static int select_fallback_rq(int cpu, struct task_struct *p) +@@ -1500,14 +1500,14 @@ static int select_fallback_rq(int cpu, struct task_struct *p) for_each_cpu(dest_cpu, nodemask) { if (!cpu_active(dest_cpu)) continue; @@ -463,10 +463,10 @@ index f287dcbe8cb2..5909b525f668 100644 /* Any allowed, online CPU? */ - for_each_cpu(dest_cpu, &p->cpus_allowed) { + for_each_cpu(dest_cpu, p->cpus_ptr) { - if (!(p->flags & PF_KTHREAD) && !cpu_active(dest_cpu)) + if (!is_cpu_allowed(p, dest_cpu)) continue; - if (!cpu_online(dest_cpu)) -@@ -1533,7 +1533,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p) + +@@ -1551,7 +1551,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p) } /* @@ -475,7 +475,7 @@ index f287dcbe8cb2..5909b525f668 100644 */ static inline int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) -@@ -1543,11 +1543,11 @@ int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) +@@ -1561,11 +1561,11 @@ int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) if (p->nr_cpus_allowed > 1) cpu = p->sched_class->select_task_rq(p, cpu, sd_flags, wake_flags); else @@ -489,16 +489,7 @@ index f287dcbe8cb2..5909b525f668 100644 * CPU. * * Since this is common to all placement strategies, this lives here. -@@ -1555,7 +1555,7 @@ int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) - * [ this allows ->select_task() to simply return task_cpu(p) and - * not worry about this generic constraint ] - */ -- if (unlikely(!cpumask_test_cpu(cpu, &p->cpus_allowed) || -+ if (unlikely(!cpumask_test_cpu(cpu, p->cpus_ptr) || - !cpu_online(cpu))) - cpu = select_fallback_rq(task_cpu(p), p); - -@@ -2445,7 +2445,7 @@ void wake_up_new_task(struct task_struct *p) +@@ -2462,7 +2462,7 @@ void wake_up_new_task(struct task_struct *p) #ifdef CONFIG_SMP /* * Fork balancing, do it here and not earlier because: @@ -507,7 +498,7 @@ index f287dcbe8cb2..5909b525f668 100644 * - any previously selected CPU might disappear through hotplug * * Use __set_task_cpu() to avoid calling sched_class::migrate_task_rq, -@@ -4147,7 +4147,7 @@ static int __sched_setscheduler(struct task_struct *p, +@@ -4164,7 +4164,7 @@ static int __sched_setscheduler(struct task_struct *p, * the entire root_domain to become SCHED_DEADLINE. We * will also fail if there's no bandwidth available. */ @@ -516,7 +507,7 @@ index f287dcbe8cb2..5909b525f668 100644 rq->rd->dl_bw.bw == 0) { task_rq_unlock(rq, p, &rf); return -EPERM; -@@ -4741,7 +4741,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) +@@ -4758,7 +4758,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) goto out_unlock; raw_spin_lock_irqsave(&p->pi_lock, flags); @@ -525,7 +516,7 @@ index f287dcbe8cb2..5909b525f668 100644 raw_spin_unlock_irqrestore(&p->pi_lock, flags); out_unlock: -@@ -5306,7 +5306,7 @@ int task_can_attach(struct task_struct *p, +@@ -5323,7 +5323,7 @@ int task_can_attach(struct task_struct *p, * allowed nodes is unnecessary. Thus, cpusets are not * applicable for such threads. This prevents checking for * success of set_cpus_allowed_ptr() on all attached tasks @@ -534,7 +525,7 @@ index f287dcbe8cb2..5909b525f668 100644 */ if (p->flags & PF_NO_SETAFFINITY) { ret = -EINVAL; -@@ -5333,7 +5333,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) +@@ -5350,7 +5350,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) if (curr_cpu == target_cpu) return 0; @@ -543,7 +534,7 @@ index f287dcbe8cb2..5909b525f668 100644 return -EINVAL; /* TODO: This is not properly updating schedstats */ -@@ -5470,7 +5470,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) +@@ -5487,7 +5487,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) put_prev_task(rq, next); /* @@ -812,5 +803,5 @@ index 5522692100ba..8b4be8e1802a 100644 trace_foo_with_template_simple("HELLO", cnt); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch b/kernel/patches-4.14.x-rt/0069-kernel-sched-core-add-migrate_disable.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch rename to kernel/patches-4.14.x-rt/0069-kernel-sched-core-add-migrate_disable.patch index b02ec3c53..01f47b788 100644 --- a/kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch +++ b/kernel/patches-4.14.x-rt/0069-kernel-sched-core-add-migrate_disable.patch @@ -1,7 +1,7 @@ -From a667e33b49a6dbdb90ed035b84bd1fdbee4456be Mon Sep 17 00:00:00 2001 +From 3d187a141e0e95a0e5e378f67dfc05ddad388e0f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 071/418] kernel/sched/core: add migrate_disable() +Subject: [PATCH 069/414] kernel/sched/core: add migrate_disable() --- include/linux/preempt.h | 23 +++++++ @@ -85,10 +85,10 @@ index 9fb239e12b82..5801e516ba63 100644 * Callback to arch code if there's nosmp or maxcpus=0 on the * boot command line: diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 5909b525f668..1fffb66e599a 100644 +index d5d8244d780b..f62dd754def1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1023,7 +1023,15 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma +@@ -1042,7 +1042,15 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma p->nr_cpus_allowed = cpumask_weight(new_mask); } @@ -105,7 +105,7 @@ index 5909b525f668..1fffb66e599a 100644 { struct rq *rq = task_rq(p); bool queued, running; -@@ -1052,6 +1060,20 @@ void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) +@@ -1071,6 +1079,20 @@ void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) set_curr_task(rq, p); } @@ -126,7 +126,7 @@ index 5909b525f668..1fffb66e599a 100644 /* * Change a given task's CPU affinity. Migrate the thread to a * proper CPU and schedule it away if the CPU it's executing on -@@ -1110,9 +1132,16 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, +@@ -1129,9 +1151,16 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, } /* Can the task run on the task's current CPU? If so, we're done */ @@ -144,7 +144,7 @@ index 5909b525f668..1fffb66e599a 100644 dest_cpu = cpumask_any_and(cpu_valid_mask, new_mask); if (task_running(rq, p) || p->state == TASK_WAKING) { struct migration_arg arg = { p, dest_cpu }; -@@ -6745,3 +6774,100 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6762,3 +6791,100 @@ const u32 sched_prio_to_wmult[40] = { /* 10 */ 39045157, 49367440, 61356676, 76695844, 95443717, /* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153, }; @@ -261,5 +261,5 @@ index 2f93e4a2d9f6..3108da1ee253 100644 #undef PN #undef __PN -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch b/kernel/patches-4.14.x-rt/0070-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch rename to kernel/patches-4.14.x-rt/0070-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch index 8cefa95fe..89efee519 100644 --- a/kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch +++ b/kernel/patches-4.14.x-rt/0070-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch @@ -1,7 +1,7 @@ -From 302178ccea60a034d07f9cd06b0125e0b7593eef Mon Sep 17 00:00:00 2001 +From 40be7b1c2167a4798c6c84cd1c8a059efe5025d1 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 21 Sep 2017 16:22:49 -0400 -Subject: [PATCH 072/418] tracing: Reverse the order of trace_types_lock and +Subject: [PATCH 070/414] tracing: Reverse the order of trace_types_lock and event_mutex In order to make future changes where we need to call @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 520ecaf61dc4..4bf8880fe702 100644 +index e268750bd4ad..26ec13580069 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7671,6 +7671,7 @@ static int instance_mkdir(const char *name) @@ -195,5 +195,5 @@ index d53268a4e167..1b87157edbff 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch b/kernel/patches-4.14.x-rt/0071-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch rename to kernel/patches-4.14.x-rt/0071-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch index c5f77c72e..e670c67b4 100644 --- a/kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch +++ b/kernel/patches-4.14.x-rt/0071-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch @@ -1,7 +1,7 @@ -From 96c040ce706162c43b425440eda48cef9bdebd06 Mon Sep 17 00:00:00 2001 +From 09a24cd34c2b11f8fd56430f66f86f4ae2eae03c Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Fri, 22 Sep 2017 16:59:02 -0400 -Subject: [PATCH 073/418] ring-buffer: Rewrite trace_recursive_(un)lock() to be +Subject: [PATCH 071/414] ring-buffer: Rewrite trace_recursive_(un)lock() to be simpler The current method to prevent the ring buffer from entering into a recursize @@ -119,5 +119,5 @@ index 36f018b15392..29bad749560a 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch b/kernel/patches-4.14.x-rt/0072-tracing-Remove-lookups-from-tracing_map-hitcount.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch rename to kernel/patches-4.14.x-rt/0072-tracing-Remove-lookups-from-tracing_map-hitcount.patch index da8d22f6b..914365aba 100644 --- a/kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch +++ b/kernel/patches-4.14.x-rt/0072-tracing-Remove-lookups-from-tracing_map-hitcount.patch @@ -1,7 +1,7 @@ -From dbc516c436397e139294abec327a70aa52704927 Mon Sep 17 00:00:00 2001 +From c00d7b1f0af177496a3f9e87952bc632ed961af7 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:18 -0500 -Subject: [PATCH 074/418] tracing: Remove lookups from tracing_map hitcount +Subject: [PATCH 072/414] tracing: Remove lookups from tracing_map hitcount Lookups inflate the hitcount, making it essentially useless. Only inserts and updates should really affect the hitcount anyway, so @@ -32,5 +32,5 @@ index 305039b122fa..07e75344725b 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch b/kernel/patches-4.14.x-rt/0073-tracing-Increase-tracing-map-KEYS_MAX-size.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch rename to kernel/patches-4.14.x-rt/0073-tracing-Increase-tracing-map-KEYS_MAX-size.patch index b29ee68b3..40fa75447 100644 --- a/kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch +++ b/kernel/patches-4.14.x-rt/0073-tracing-Increase-tracing-map-KEYS_MAX-size.patch @@ -1,7 +1,7 @@ -From 90f5524788c6192f4982a18f5fd6eefaf717558d Mon Sep 17 00:00:00 2001 +From 9cd219e6bbcfbb790039a30af4a0fe80c84a2d6c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:19 -0500 -Subject: [PATCH 075/418] tracing: Increase tracing map KEYS_MAX size +Subject: [PATCH 073/414] tracing: Increase tracing map KEYS_MAX size The current default for the number of subkeys in a compound key is 2, which is too restrictive. Increase it to a more realistic value of 3. @@ -30,5 +30,5 @@ index ab0ca77331d0..5b5bbf8ae550 100644 #define TRACING_MAP_FIELDS_MAX (TRACING_MAP_KEYS_MAX + \ TRACING_MAP_VALS_MAX) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch b/kernel/patches-4.14.x-rt/0074-tracing-Make-traceprobe-parsing-code-reusable.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch rename to kernel/patches-4.14.x-rt/0074-tracing-Make-traceprobe-parsing-code-reusable.patch index f43fdc38b..5ddc706be 100644 --- a/kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch +++ b/kernel/patches-4.14.x-rt/0074-tracing-Make-traceprobe-parsing-code-reusable.patch @@ -1,7 +1,7 @@ -From 22812092d861a7d031fbc0ff6e5ce2cf26a86605 Mon Sep 17 00:00:00 2001 +From b64a31d00a26eafa511f2aa7b28416d42459fe0f Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:20 -0500 -Subject: [PATCH 076/418] tracing: Make traceprobe parsing code reusable +Subject: [PATCH 074/414] tracing: Make traceprobe parsing code reusable traceprobe_probes_write() and traceprobe_command() actually contain nothing that ties them to kprobes - the code is generically useful for @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior 6 files changed, 103 insertions(+), 103 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 4bf8880fe702..f76dd9df0c77 100644 +index 26ec13580069..5aea670a9b7e 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -8265,6 +8265,92 @@ void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) @@ -333,5 +333,5 @@ index 7197ff9f0bbd..2db5a19833ed 100644 static const struct file_operations uprobe_events_ops = { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch b/kernel/patches-4.14.x-rt/0075-tracing-Clean-up-hist_field_flags-enum.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch rename to kernel/patches-4.14.x-rt/0075-tracing-Clean-up-hist_field_flags-enum.patch index 0643b508b..ba000ea26 100644 --- a/kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch +++ b/kernel/patches-4.14.x-rt/0075-tracing-Clean-up-hist_field_flags-enum.patch @@ -1,7 +1,7 @@ -From 70a6e0e8d8281767cbb5cce28381ff4fd7f4a990 Mon Sep 17 00:00:00 2001 +From cc804e77781f5e47c444176f0a871549a0f25492 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:21 -0500 -Subject: [PATCH 077/418] tracing: Clean up hist_field_flags enum +Subject: [PATCH 075/414] tracing: Clean up hist_field_flags enum As we add more flags, specifying explicit integers for the flag values becomes more unwieldy and error-prone - switch them over to left-shift @@ -49,5 +49,5 @@ index 7eb975a2d0e1..4f6b6406d6ec 100644 struct hist_trigger_attrs { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch b/kernel/patches-4.14.x-rt/0076-tracing-Add-hist_field_name-accessor.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch rename to kernel/patches-4.14.x-rt/0076-tracing-Add-hist_field_name-accessor.patch index 15dff840b..37de3b7f5 100644 --- a/kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch +++ b/kernel/patches-4.14.x-rt/0076-tracing-Add-hist_field_name-accessor.patch @@ -1,7 +1,7 @@ -From 05a79715ee35f8e4df5533fddc771a9aa63c7729 Mon Sep 17 00:00:00 2001 +From 2a62bdf95f1c277759cae29536ab66e885943504 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:22 -0500 -Subject: [PATCH 078/418] tracing: Add hist_field_name() accessor +Subject: [PATCH 076/414] tracing: Add hist_field_name() accessor In preparation for hist_fields that won't be strictly based on trace_event_fields, add a new hist_field_name() accessor to allow that @@ -180,5 +180,5 @@ index 4f6b6406d6ec..4dc39e3efb21 100644 const char *flags_str = get_hist_field_flags(hist_field); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch b/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch rename to kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch index 2f5bfd01e..7a257a0f1 100644 --- a/kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch +++ b/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch @@ -1,7 +1,7 @@ -From 01db72914258d658c65914107bb55f07cce90257 Mon Sep 17 00:00:00 2001 +From 9fd54977344b5c297402ac7f6cf443e700716eff Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:23 -0500 -Subject: [PATCH 079/418] tracing: Reimplement log2 +Subject: [PATCH 077/414] tracing: Reimplement log2 log2 as currently implemented applies only to u64 trace_event_field derived fields, and assumes that anything it's applied to is a u64 @@ -120,5 +120,5 @@ index 4dc39e3efb21..4eddc1933079 100644 } } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch b/kernel/patches-4.14.x-rt/0078-tracing-Move-hist-trigger-Documentation-to-histogram.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch rename to kernel/patches-4.14.x-rt/0078-tracing-Move-hist-trigger-Documentation-to-histogram.patch index da1c9f4f4..b9de3a223 100644 --- a/kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch +++ b/kernel/patches-4.14.x-rt/0078-tracing-Move-hist-trigger-Documentation-to-histogram.patch @@ -1,7 +1,7 @@ -From 2c0d4e4c1cdefd51e1e4d7f7897a6547116ea328 Mon Sep 17 00:00:00 2001 +From a4ed86cabdf2c718ad372bf20e04a55b78065622 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:35 -0600 -Subject: [PATCH 080/418] tracing: Move hist trigger Documentation to +Subject: [PATCH 078/414] tracing: Move hist trigger Documentation to histogram.txt The hist trigger Documentation takes up a large part of events.txt - @@ -3150,5 +3150,5 @@ index 000000000000..b2145f44b190 + Entries: 7 + Dropped: 0 -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch b/kernel/patches-4.14.x-rt/0079-tracing-Add-Documentation-for-log2-modifier.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch rename to kernel/patches-4.14.x-rt/0079-tracing-Add-Documentation-for-log2-modifier.patch index c4b9bc425..017659587 100644 --- a/kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch +++ b/kernel/patches-4.14.x-rt/0079-tracing-Add-Documentation-for-log2-modifier.patch @@ -1,7 +1,7 @@ -From 8e1ab3990c05e88fd17bcf0bdd474428f3dce918 Mon Sep 17 00:00:00 2001 +From e43a043fd5f52fca34d9e4f66b8ed112bf069d9b Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:36 -0600 -Subject: [PATCH 081/418] tracing: Add Documentation for log2 modifier +Subject: [PATCH 079/414] tracing: Add Documentation for log2 modifier Add a line for the log2 modifier, to keep it aligned with tracing/README. @@ -29,5 +29,5 @@ index b2145f44b190..a4143f04a097 100644 Note that in general the semantics of a given field aren't interpreted when applying a modifier to it, but there are some -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch b/kernel/patches-4.14.x-rt/0080-tracing-Add-support-to-detect-and-avoid-duplicates.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch rename to kernel/patches-4.14.x-rt/0080-tracing-Add-support-to-detect-and-avoid-duplicates.patch index 8557097f6..63a5b8b01 100644 --- a/kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch +++ b/kernel/patches-4.14.x-rt/0080-tracing-Add-support-to-detect-and-avoid-duplicates.patch @@ -1,7 +1,7 @@ -From b049db6b373697ec94a0762fc49c4b153fedb85c Mon Sep 17 00:00:00 2001 +From 390fbcbd4c9d4dc44196020c7a094f0fc98a32fb Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:37 -0600 -Subject: [PATCH 082/418] tracing: Add support to detect and avoid duplicates +Subject: [PATCH 080/414] tracing: Add support to detect and avoid duplicates A duplicate in the tracing_map hash table is when 2 different entries have the same key and, as a result, the key_hash. This is possible due @@ -120,5 +120,5 @@ index 07e75344725b..b30f3439f27f 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch b/kernel/patches-4.14.x-rt/0081-tracing-Remove-code-which-merges-duplicates.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch rename to kernel/patches-4.14.x-rt/0081-tracing-Remove-code-which-merges-duplicates.patch index f3a3897aa..46e67f6e7 100644 --- a/kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch +++ b/kernel/patches-4.14.x-rt/0081-tracing-Remove-code-which-merges-duplicates.patch @@ -1,7 +1,7 @@ -From 0fd3610c03bd5395eabca6794b0197d54cbb1b83 Mon Sep 17 00:00:00 2001 +From bdfbdb272b3738f1c7c94af976c1441d33290db9 Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:38 -0600 -Subject: [PATCH 083/418] tracing: Remove code which merges duplicates +Subject: [PATCH 081/414] tracing: Remove code which merges duplicates We now have the logic to detect and remove duplicates in the tracing_map hash table. The code which merges duplicates in the @@ -198,5 +198,5 @@ index 5b5bbf8ae550..de57887c0670 100644 void (*elt_clear)(struct tracing_map_elt *elt); void (*elt_init)(struct tracing_map_elt *elt); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch b/kernel/patches-4.14.x-rt/0082-ring-buffer-Add-interface-for-setting-absolute-time-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch rename to kernel/patches-4.14.x-rt/0082-ring-buffer-Add-interface-for-setting-absolute-time-.patch index 549ac979d..3f7ccb04e 100644 --- a/kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch +++ b/kernel/patches-4.14.x-rt/0082-ring-buffer-Add-interface-for-setting-absolute-time-.patch @@ -1,7 +1,7 @@ -From 749ae55d84a1c7dc284b0401bca3036a7ca380af Mon Sep 17 00:00:00 2001 +From 06f1ea65611d18c2fce8e1c4fed1671f95d35702 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:39 -0600 -Subject: [PATCH 084/418] ring-buffer: Add interface for setting absolute time +Subject: [PATCH 082/414] ring-buffer: Add interface for setting absolute time stamps Define a new function, tracing_set_time_stamp_abs(), which can be used @@ -68,7 +68,7 @@ index 29bad749560a..2be361b63c7b 100644 static inline unsigned long rb_page_entries(struct buffer_page *bpage) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index f76dd9df0c77..9102a63de0b6 100644 +index 5aea670a9b7e..f75eb0df7dd9 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2269,7 +2269,7 @@ trace_event_buffer_lock_reserve(struct ring_buffer **current_rb, @@ -140,5 +140,5 @@ index 221591636530..0506c4cdfeba 100644 * The global tracer (top) should be the first trace array added, * but we check the flag anyway. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch b/kernel/patches-4.14.x-rt/0083-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch rename to kernel/patches-4.14.x-rt/0083-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch index c5c666d2d..d2af5aa92 100644 --- a/kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch +++ b/kernel/patches-4.14.x-rt/0083-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch @@ -1,7 +1,7 @@ -From 894bc1fe03522eff1a45b8262e4e959c76b4c3fc Mon Sep 17 00:00:00 2001 +From 9f67e02e27ed28e415ea0e2b36e3ed12113bdb37 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:40 -0600 -Subject: [PATCH 085/418] ring-buffer: Redefine the unimplemented +Subject: [PATCH 083/414] ring-buffer: Redefine the unimplemented RINGBUF_TYPE_TIME_STAMP RINGBUF_TYPE_TIME_STAMP is defined but not used, and from what I can @@ -326,5 +326,5 @@ index 2be361b63c7b..e48989ff0427 100644 ring_buffer_normalize_time_stamp(buffer, cpu_buffer->cpu, ts); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch b/kernel/patches-4.14.x-rt/0084-tracing-Add-timestamp_mode-trace-file.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch rename to kernel/patches-4.14.x-rt/0084-tracing-Add-timestamp_mode-trace-file.patch index 7c1879f48..2ea2af9d1 100644 --- a/kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch +++ b/kernel/patches-4.14.x-rt/0084-tracing-Add-timestamp_mode-trace-file.patch @@ -1,7 +1,7 @@ -From 01962ea941a67756a5193d333d90872abe579ca8 Mon Sep 17 00:00:00 2001 +From 15e2d254eb4b12f827423744fe5e69ce42507f2c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:41 -0600 -Subject: [PATCH 086/418] tracing: Add timestamp_mode trace file +Subject: [PATCH 084/414] tracing: Add timestamp_mode trace file Add a new option flag indicating whether or not the ring buffer is in 'absolute timestamp' mode. @@ -62,7 +62,7 @@ index d4601df6e72e..54213e5c23f6 100644 Directory for the Hardware Latency Detector. diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 9102a63de0b6..96f0b9ac910d 100644 +index f75eb0df7dd9..ed50ecb0592b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -4520,6 +4520,9 @@ static const char readme_msg[] = @@ -141,5 +141,5 @@ index 9102a63de0b6..96f0b9ac910d 100644 #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch b/kernel/patches-4.14.x-rt/0085-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch rename to kernel/patches-4.14.x-rt/0085-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch index 1637ecf91..16e9ea415 100644 --- a/kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch +++ b/kernel/patches-4.14.x-rt/0085-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch @@ -1,7 +1,7 @@ -From 8c050da361b56aedad4fc65903e6637eef917800 Mon Sep 17 00:00:00 2001 +From 88ddb6459b76ae7f56abd46e62b976906d96701c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:42 -0600 -Subject: [PATCH 087/418] tracing: Give event triggers access to +Subject: [PATCH 085/414] tracing: Give event triggers access to ring_buffer_event The ring_buffer event can provide a timestamp that may be useful to @@ -312,5 +312,5 @@ index b413fab7d75b..9dd8b9ce2594 100644 int event_enable_trigger_print(struct seq_file *m, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch b/kernel/patches-4.14.x-rt/0086-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch rename to kernel/patches-4.14.x-rt/0086-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch index 1fb0c3057..82196db1f 100644 --- a/kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch +++ b/kernel/patches-4.14.x-rt/0086-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch @@ -1,7 +1,7 @@ -From a1ff7598f798bf9a0cd383388b1f6fc59158499e Mon Sep 17 00:00:00 2001 +From e2a4c5f3252c8e72a9f2a7936708cb76bdc67e58 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:43 -0600 -Subject: [PATCH 088/418] tracing: Add ring buffer event param to hist field +Subject: [PATCH 086/414] tracing: Add ring buffer event param to hist field functions Some events such as timestamps require access to a ring_buffer_event @@ -145,5 +145,5 @@ index 77079c79b6d4..9126be52ff4d 100644 static void hist_trigger_stacktrace_print(struct seq_file *m, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch b/kernel/patches-4.14.x-rt/0087-tracing-Break-out-hist-trigger-assignment-parsing.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch rename to kernel/patches-4.14.x-rt/0087-tracing-Break-out-hist-trigger-assignment-parsing.patch index d2903aeef..42840f054 100644 --- a/kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch +++ b/kernel/patches-4.14.x-rt/0087-tracing-Break-out-hist-trigger-assignment-parsing.patch @@ -1,7 +1,7 @@ -From b441bdabcb62630b995577ffb882a330e1230081 Mon Sep 17 00:00:00 2001 +From 8c0e516c256760a737c21d9e830df9d5d586bba8 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:44 -0600 -Subject: [PATCH 089/418] tracing: Break out hist trigger assignment parsing +Subject: [PATCH 087/414] tracing: Break out hist trigger assignment parsing This will make it easier to add variables, and makes the parsing code cleaner regardless. @@ -114,5 +114,5 @@ index 9126be52ff4d..4935290fd1e8 100644 goto free; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch b/kernel/patches-4.14.x-rt/0088-tracing-Add-hist-trigger-timestamp-support.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch rename to kernel/patches-4.14.x-rt/0088-tracing-Add-hist-trigger-timestamp-support.patch index 7a2c98fe3..c21cc9585 100644 --- a/kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch +++ b/kernel/patches-4.14.x-rt/0088-tracing-Add-hist-trigger-timestamp-support.patch @@ -1,7 +1,7 @@ -From 2bace2378c6fac1967958883ec49397c777fd52d Mon Sep 17 00:00:00 2001 +From f5fc85120c33816190064e90232e0e70723df981 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:45 -0600 -Subject: [PATCH 090/418] tracing: Add hist trigger timestamp support +Subject: [PATCH 088/414] tracing: Add hist trigger timestamp support Add support for a timestamp event field. This is actually a 'pseudo-' event field in that it behaves like it's part of the event record, but @@ -248,5 +248,5 @@ index 4935290fd1e8..cd80bca34cec 100644 test->ops->free(test->ops, test); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch b/kernel/patches-4.14.x-rt/0089-tracing-Add-per-element-variable-support-to-tracing_.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch rename to kernel/patches-4.14.x-rt/0089-tracing-Add-per-element-variable-support-to-tracing_.patch index e46f236cd..7402a207e 100644 --- a/kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch +++ b/kernel/patches-4.14.x-rt/0089-tracing-Add-per-element-variable-support-to-tracing_.patch @@ -1,7 +1,7 @@ -From 757a116d1821b4e7205fa89aa8952cf2a5145448 Mon Sep 17 00:00:00 2001 +From 45a3b7f05299ff169006f2aa6449ecd9de7abbb3 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:46 -0600 -Subject: [PATCH 091/418] tracing: Add per-element variable support to +Subject: [PATCH 089/414] tracing: Add per-element variable support to tracing_map In order to allow information to be passed between trace events, add @@ -228,5 +228,5 @@ index de57887c0670..053eb92b2d31 100644 unsigned int i, unsigned int key_offset, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch b/kernel/patches-4.14.x-rt/0090-tracing-Add-hist_data-member-to-hist_field.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch rename to kernel/patches-4.14.x-rt/0090-tracing-Add-hist_data-member-to-hist_field.patch index 966c0f856..9895f3cae 100644 --- a/kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch +++ b/kernel/patches-4.14.x-rt/0090-tracing-Add-hist_data-member-to-hist_field.patch @@ -1,7 +1,7 @@ -From 13ddac3670783cf9d59da3b1a6fefe4d4c98ad86 Mon Sep 17 00:00:00 2001 +From df2a37f4a941491dde3d94a72010c3504b11ead3 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:47 -0600 -Subject: [PATCH 092/418] tracing: Add hist_data member to hist_field +Subject: [PATCH 090/414] tracing: Add hist_data member to hist_field Allow hist_data access via hist_field. Some users of hist_fields require or will require more access to the associated hist_data. @@ -84,5 +84,5 @@ index cd80bca34cec..ec58902145e9 100644 ret = -ENOMEM; goto out; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch b/kernel/patches-4.14.x-rt/0091-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch rename to kernel/patches-4.14.x-rt/0091-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch index 4abd6df6d..b22cc725a 100644 --- a/kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch +++ b/kernel/patches-4.14.x-rt/0091-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch @@ -1,7 +1,7 @@ -From 824b2e6a8b7ad3d12bafbd08c4607e42a6b7e746 Mon Sep 17 00:00:00 2001 +From 2613c3be2bd48363cb6be506c88749dfc3134e8d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:48 -0600 -Subject: [PATCH 093/418] tracing: Add usecs modifier for hist trigger +Subject: [PATCH 091/414] tracing: Add usecs modifier for hist trigger timestamps Appending .usecs onto a common_timestamp field will cause the @@ -41,7 +41,7 @@ index a4143f04a097..25c94730d3fe 100644 Note that in general the semantics of a given field aren't interpreted when applying a modifier to it, but there are some diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 96f0b9ac910d..9d199ebdc0cb 100644 +index ed50ecb0592b..3cefb457970e 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1170,6 +1170,14 @@ static struct { @@ -166,5 +166,5 @@ index ec58902145e9..6d268e25d051 100644 return flags_str; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch b/kernel/patches-4.14.x-rt/0092-tracing-Add-variable-support-to-hist-triggers.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0092-tracing-Add-variable-support-to-hist-triggers.patch index deb0dcdd5..51a5aa410 100644 --- a/kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0092-tracing-Add-variable-support-to-hist-triggers.patch @@ -1,7 +1,7 @@ -From c036038343bf211c28892bdd819624ac83c90135 Mon Sep 17 00:00:00 2001 +From f2dc1339a756443004b858f819f0ab4fb85ea91a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:49 -0600 -Subject: [PATCH 094/418] tracing: Add variable support to hist triggers +Subject: [PATCH 092/414] tracing: Add variable support to hist triggers Add support for saving the value of a current event's event field by assigning it to a variable that can be read by a subsequent event. @@ -784,5 +784,5 @@ index 6d268e25d051..b4301542bb4a 100644 ret = 0; goto out_free; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch b/kernel/patches-4.14.x-rt/0093-tracing-Account-for-variables-in-named-trigger-compa.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch rename to kernel/patches-4.14.x-rt/0093-tracing-Account-for-variables-in-named-trigger-compa.patch index 2576ffdb1..aba06befc 100644 --- a/kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch +++ b/kernel/patches-4.14.x-rt/0093-tracing-Account-for-variables-in-named-trigger-compa.patch @@ -1,7 +1,7 @@ -From 64310c13b5bd98fea0da2be71497bc593c51635f Mon Sep 17 00:00:00 2001 +From 00e76e4674dcb08f980b20339bd1e0df0bac774d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:50 -0600 -Subject: [PATCH 095/418] tracing: Account for variables in named trigger +Subject: [PATCH 093/414] tracing: Account for variables in named trigger compatibility Named triggers must also have the same set of variables in order to be @@ -47,5 +47,5 @@ index b4301542bb4a..68ff2491edd0 100644 for (i = 0; i < hist_data->n_sort_keys; i++) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch b/kernel/patches-4.14.x-rt/0094-tracing-Move-get_hist_field_flags.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch rename to kernel/patches-4.14.x-rt/0094-tracing-Move-get_hist_field_flags.patch index 1d8dcaf9b..8e4ab6e31 100644 --- a/kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch +++ b/kernel/patches-4.14.x-rt/0094-tracing-Move-get_hist_field_flags.patch @@ -1,7 +1,7 @@ -From 01ad16a4b2f9769b5b9cda086b748b83390df603 Mon Sep 17 00:00:00 2001 +From ce02f3f1b893b14481591ea65b0f9ed04a804824 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:51 -0600 -Subject: [PATCH 096/418] tracing: Move get_hist_field_flags() +Subject: [PATCH 094/414] tracing: Move get_hist_field_flags() Move get_hist_field_flags() to make it more easily accessible for new code (and keep the move separate from new functionality). @@ -79,5 +79,5 @@ index 68ff2491edd0..c6c24d6d2be8 100644 { const char *field_name = hist_field_name(hist_field, 0); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch b/kernel/patches-4.14.x-rt/0095-tracing-Add-simple-expression-support-to-hist-trigge.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch rename to kernel/patches-4.14.x-rt/0095-tracing-Add-simple-expression-support-to-hist-trigge.patch index 59b3acadb..50a7f0b94 100644 --- a/kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch +++ b/kernel/patches-4.14.x-rt/0095-tracing-Add-simple-expression-support-to-hist-trigge.patch @@ -1,7 +1,7 @@ -From 79dc3193df67d3d2b6dd7adfe882613065da48e2 Mon Sep 17 00:00:00 2001 +From 13e83fbfc0915adadbca222e863f7d93958bf009 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:52 -0600 -Subject: [PATCH 097/418] tracing: Add simple expression support to hist +Subject: [PATCH 095/414] tracing: Add simple expression support to hist triggers Add support for simple addition, subtraction, and unary expressions @@ -630,5 +630,5 @@ index c6c24d6d2be8..d2f01f3f26e1 100644 if (hist_data->fields[i]->flags & HIST_FIELD_FL_HEX) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch b/kernel/patches-4.14.x-rt/0096-tracing-Generalize-per-element-hist-trigger-data.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch rename to kernel/patches-4.14.x-rt/0096-tracing-Generalize-per-element-hist-trigger-data.patch index 24b5dbabd..f7dd747ce 100644 --- a/kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch +++ b/kernel/patches-4.14.x-rt/0096-tracing-Generalize-per-element-hist-trigger-data.patch @@ -1,7 +1,7 @@ -From 64be61c14d8f6e5237227b74ca406688a864d424 Mon Sep 17 00:00:00 2001 +From c90c725c2ac00315e80251d6ed44bb3860b6484f Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:53 -0600 -Subject: [PATCH 098/418] tracing: Generalize per-element hist trigger data +Subject: [PATCH 096/414] tracing: Generalize per-element hist trigger data Up until now, hist triggers only needed per-element support for saving 'comm' data, which was saved directly as a private data pointer. @@ -160,5 +160,5 @@ index d2f01f3f26e1..893f65ce31a5 100644 uval = *(u64 *)(key + key_field->offset); seq_printf(m, "%s: %-16s[%10llu]", field_name, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch b/kernel/patches-4.14.x-rt/0097-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch rename to kernel/patches-4.14.x-rt/0097-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch index 0b37c9cb4..51ca11f32 100644 --- a/kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch +++ b/kernel/patches-4.14.x-rt/0097-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch @@ -1,7 +1,7 @@ -From 716b78d7084aeb4c724aea33818670c65ce1de09 Mon Sep 17 00:00:00 2001 +From f685a8ce4ebde4bae2faed2f1ceecfb86e752f9d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:54 -0600 -Subject: [PATCH 099/418] tracing: Pass tracing_map_elt to hist_field accessor +Subject: [PATCH 097/414] tracing: Pass tracing_map_elt to hist_field accessor functions Some accessor functions, such as for variable references, require @@ -227,5 +227,5 @@ index 893f65ce31a5..becf37b2b0da 100644 key = (void *)(unsigned long)field_contents; use_compound_key = true; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch b/kernel/patches-4.14.x-rt/0098-tracing-Add-hist_field-type-field.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch rename to kernel/patches-4.14.x-rt/0098-tracing-Add-hist_field-type-field.patch index d9606c474..d19d9bdc4 100644 --- a/kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch +++ b/kernel/patches-4.14.x-rt/0098-tracing-Add-hist_field-type-field.patch @@ -1,7 +1,7 @@ -From c76d1f9c88ff5ef72cc78a0485c458b41a612362 Mon Sep 17 00:00:00 2001 +From 42196fbffec1f62007e444960ea133ce362e4980 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:55 -0600 -Subject: [PATCH 100/418] tracing: Add hist_field 'type' field +Subject: [PATCH 098/414] tracing: Add hist_field 'type' field Future support for synthetic events requires hist_field 'type' information, so add a field for that. @@ -119,5 +119,5 @@ index becf37b2b0da..6e60cb794dcd 100644 switch (field_op) { case FIELD_OP_MINUS: -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch b/kernel/patches-4.14.x-rt/0099-tracing-Add-variable-reference-handling-to-hist-trig.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch rename to kernel/patches-4.14.x-rt/0099-tracing-Add-variable-reference-handling-to-hist-trig.patch index 80a955fc3..ecb448219 100644 --- a/kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch +++ b/kernel/patches-4.14.x-rt/0099-tracing-Add-variable-reference-handling-to-hist-trig.patch @@ -1,7 +1,7 @@ -From 41f7872514c699137d4f48e8258f21fa5cf0b101 Mon Sep 17 00:00:00 2001 +From 3c12b641e2f0c57f21462cac690c044fba9754b7 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:56 -0600 -Subject: [PATCH 101/418] tracing: Add variable reference handling to hist +Subject: [PATCH 099/414] tracing: Add variable reference handling to hist triggers Add the necessary infrastructure to allow the variables defined on one @@ -36,7 +36,7 @@ Signed-off-by: Sebastian Andrzej Siewior 4 files changed, 656 insertions(+), 16 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 9d199ebdc0cb..2610cd6280e1 100644 +index 3cefb457970e..68e19414258c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7788,6 +7788,7 @@ static int instance_mkdir(const char *name) @@ -963,5 +963,5 @@ index 9dd8b9ce2594..5d41bc2aad1c 100644 traceon_trigger(struct event_trigger_data *data, void *rec, struct ring_buffer_event *event) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch b/kernel/patches-4.14.x-rt/0100-tracing-Add-hist-trigger-action-hook.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch rename to kernel/patches-4.14.x-rt/0100-tracing-Add-hist-trigger-action-hook.patch index 1f24a4fa6..1b07e8e02 100644 --- a/kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch +++ b/kernel/patches-4.14.x-rt/0100-tracing-Add-hist-trigger-action-hook.patch @@ -1,7 +1,7 @@ -From 53cae0734c3dbcea2a0da9c2f7e77e94bf72677e Mon Sep 17 00:00:00 2001 +From 0a26db49b33d5b2f2b81cc77964e3c2d5d7be74b Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:57 -0600 -Subject: [PATCH 102/418] tracing: Add hist trigger action hook +Subject: [PATCH 100/414] tracing: Add hist trigger action hook Add a hook for executing extra actions whenever a histogram entry is added or updated. @@ -217,5 +217,5 @@ index 2bc1f76915ef..e5fea3cf60e9 100644 if (ret) goto out_unreg; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch b/kernel/patches-4.14.x-rt/0101-tracing-Add-support-for-synthetic-events.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch rename to kernel/patches-4.14.x-rt/0101-tracing-Add-support-for-synthetic-events.patch index 7775c225f..8895c40f0 100644 --- a/kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch +++ b/kernel/patches-4.14.x-rt/0101-tracing-Add-support-for-synthetic-events.patch @@ -1,7 +1,7 @@ -From 6b85707757e8200092616f563d25fd1fdb700237 Mon Sep 17 00:00:00 2001 +From adb00508625b281da71f181e17ca92dd480a4983 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:58 -0600 -Subject: [PATCH 103/418] tracing: Add support for 'synthetic' events +Subject: [PATCH 101/414] tracing: Add support for 'synthetic' events Synthetic events are user-defined events generated from hist trigger variables saved from one or more other events. @@ -1043,5 +1043,5 @@ index e5fea3cf60e9..ababc289835c 100644 + +fs_initcall(trace_events_hist_init); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch b/kernel/patches-4.14.x-rt/0102-tracing-Add-support-for-field-variables.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch rename to kernel/patches-4.14.x-rt/0102-tracing-Add-support-for-field-variables.patch index 6cb57f6a3..1200d4293 100644 --- a/kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch +++ b/kernel/patches-4.14.x-rt/0102-tracing-Add-support-for-field-variables.patch @@ -1,7 +1,7 @@ -From 2c4597a82500eb0c11e3bcb53fc4d69e7c508ff5 Mon Sep 17 00:00:00 2001 +From eb053a5d83bfc1cc156d4aa3a5ed063323813d96 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:59 -0600 -Subject: [PATCH 104/418] tracing: Add support for 'field variables' +Subject: [PATCH 102/414] tracing: Add support for 'field variables' Users should be able to directly specify event fields in hist trigger 'actions' rather than being forced to explicitly create a variable for @@ -668,5 +668,5 @@ index ababc289835c..0cf7cc32dee4 100644 } } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0103-tracing-Add-onmatch-hist-trigger-action-support.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0103-tracing-Add-onmatch-hist-trigger-action-support.patch index 705b94526..4580e166d 100644 --- a/kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch +++ b/kernel/patches-4.14.x-rt/0103-tracing-Add-onmatch-hist-trigger-action-support.patch @@ -1,7 +1,7 @@ -From 7114bb82bdce0e883cdb9c274c09d1e674d78bc6 Mon Sep 17 00:00:00 2001 +From d2e765bcd140d3aff656231ef10d3bfbdad5ae56 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:00 -0600 -Subject: [PATCH 105/418] tracing: Add 'onmatch' hist trigger action support +Subject: [PATCH 103/414] tracing: Add 'onmatch' hist trigger action support Add an 'onmatch(matching.event).(param list)' hist trigger action which is invoked with the set of variables or @@ -689,5 +689,5 @@ index 0cf7cc32dee4..34be7af7cc1f 100644 seq_printf(m, " if %s", data->filter_str); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0104-tracing-Add-onmax-hist-trigger-action-support.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0104-tracing-Add-onmax-hist-trigger-action-support.patch index be12704d2..f39915f0f 100644 --- a/kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch +++ b/kernel/patches-4.14.x-rt/0104-tracing-Add-onmax-hist-trigger-action-support.patch @@ -1,7 +1,7 @@ -From 6d31c0d845f4abe6dc03e39affcaa112d28af42d Mon Sep 17 00:00:00 2001 +From f803175d61cadb7e6c0c1fd9f82548062b527e8c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:01 -0600 -Subject: [PATCH 106/418] tracing: Add 'onmax' hist trigger action support +Subject: [PATCH 104/414] tracing: Add 'onmax' hist trigger action support Add an 'onmax(var).save(field,...)' hist trigger action which is invoked whenever an event exceeds the current maximum. @@ -488,5 +488,5 @@ index 34be7af7cc1f..0803b843623c 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch b/kernel/patches-4.14.x-rt/0105-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch rename to kernel/patches-4.14.x-rt/0105-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch index aab700034..2835afaa2 100644 --- a/kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch +++ b/kernel/patches-4.14.x-rt/0105-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch @@ -1,7 +1,7 @@ -From 32723e5537a1d641f6d402df98b2c67a10b6da68 Mon Sep 17 00:00:00 2001 +From 49185cfb15824d5bf9273cbc8595451e4885e8e4 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:02 -0600 -Subject: [PATCH 107/418] tracing: Allow whitespace to surround hist trigger +Subject: [PATCH 105/414] tracing: Allow whitespace to surround hist trigger filter The existing code only allows for one space before and after the 'if' @@ -77,5 +77,5 @@ index 0803b843623c..0b73852f6923 100644 attrs = parse_hist_trigger_attrs(trigger); if (IS_ERR(attrs)) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0106-tracing-Add-cpu-field-for-hist-triggers.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0106-tracing-Add-cpu-field-for-hist-triggers.patch index e7bfb7e25..acbea1e72 100644 --- a/kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0106-tracing-Add-cpu-field-for-hist-triggers.patch @@ -1,7 +1,7 @@ -From 1df0964c5c04da83f4bbfd3f17da3ed30515080f Mon Sep 17 00:00:00 2001 +From 6f53e9ca444c3de795b5ca863a776d7f2006865b Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:03 -0600 -Subject: [PATCH 108/418] tracing: Add cpu field for hist triggers +Subject: [PATCH 106/414] tracing: Add cpu field for hist triggers A common key to use in a histogram is the cpuid - add a new cpu 'synthetic' field named 'cpu' for that purpose. @@ -118,5 +118,5 @@ index 0b73852f6923..34a2e8d0a052 100644 if (hist_field->flags & HIST_FIELD_FL_VAR_REF) seq_putc(m, '$'); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch b/kernel/patches-4.14.x-rt/0107-tracing-Add-hist-trigger-support-for-variable-refere.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch rename to kernel/patches-4.14.x-rt/0107-tracing-Add-hist-trigger-support-for-variable-refere.patch index ea3f4907c..3be71c9e8 100644 --- a/kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch +++ b/kernel/patches-4.14.x-rt/0107-tracing-Add-hist-trigger-support-for-variable-refere.patch @@ -1,7 +1,7 @@ -From 47bb065fee09d9e976277601d5b961c843bd4db4 Mon Sep 17 00:00:00 2001 +From 4edfd3a3f500080e61849f98722137377b8272b0 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:04 -0600 -Subject: [PATCH 109/418] tracing: Add hist trigger support for variable +Subject: [PATCH 107/414] tracing: Add hist trigger support for variable reference aliases Add support for alias=$somevar where alias can be used as @@ -166,5 +166,5 @@ index 34a2e8d0a052..c8cfc56ff3ae 100644 seq_printf(m, "%s", field_name); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch b/kernel/patches-4.14.x-rt/0108-tracing-Add-last-error-error-facility-for-hist-trigg.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch rename to kernel/patches-4.14.x-rt/0108-tracing-Add-last-error-error-facility-for-hist-trigg.patch index ecbcdb5ca..2ae92d7ec 100644 --- a/kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch +++ b/kernel/patches-4.14.x-rt/0108-tracing-Add-last-error-error-facility-for-hist-trigg.patch @@ -1,7 +1,7 @@ -From 0d6252ca744c9de7ee948ef595efff5870cdb66b Mon Sep 17 00:00:00 2001 +From aefb9d651a23ec74b9feddb74c0ca14958df5a02 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:05 -0600 -Subject: [PATCH 110/418] tracing: Add 'last error' error facility for hist +Subject: [PATCH 108/414] tracing: Add 'last error' error facility for hist triggers With the addition of variables and actions, it's become necessary to @@ -506,5 +506,5 @@ index c8cfc56ff3ae..3856f173559a 100644 out_unreg: cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch b/kernel/patches-4.14.x-rt/0109-tracing-Add-inter-event-hist-trigger-Documentation.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch rename to kernel/patches-4.14.x-rt/0109-tracing-Add-inter-event-hist-trigger-Documentation.patch index f327185be..4f76d5cfa 100644 --- a/kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch +++ b/kernel/patches-4.14.x-rt/0109-tracing-Add-inter-event-hist-trigger-Documentation.patch @@ -1,7 +1,7 @@ -From 65ac5d6e71adbc72093ea0005d21fd62fbffa990 Mon Sep 17 00:00:00 2001 +From f796b4181cb92acbb32dc699e14c48939d620392 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:06 -0600 -Subject: [PATCH 111/418] tracing: Add inter-event hist trigger Documentation +Subject: [PATCH 109/414] tracing: Add inter-event hist trigger Documentation Add background and details on inter-event hist triggers, including hist variables, synthetic events, and actions. @@ -407,5 +407,5 @@ index 0aec2d8e166b..df08882d091c 100644 + Entries: 2 + Dropped: 0 -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch b/kernel/patches-4.14.x-rt/0110-tracing-Make-tracing_set_clock-non-static.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch rename to kernel/patches-4.14.x-rt/0110-tracing-Make-tracing_set_clock-non-static.patch index ed0ef868d..366478ffa 100644 --- a/kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch +++ b/kernel/patches-4.14.x-rt/0110-tracing-Make-tracing_set_clock-non-static.patch @@ -1,7 +1,7 @@ -From 1fa147b01eda1aaba7e351e83e2451a1e09fc912 Mon Sep 17 00:00:00 2001 +From 992431d76e6245d8e63a730edc327af64290c6b1 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:07 -0600 -Subject: [PATCH 112/418] tracing: Make tracing_set_clock() non-static +Subject: [PATCH 110/414] tracing: Make tracing_set_clock() non-static Allow tracing code outside of trace.c to access tracing_set_clock(). @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 2610cd6280e1..f97a20ee462d 100644 +index 68e19414258c..f8413f284892 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -6219,7 +6219,7 @@ static int tracing_clock_show(struct seq_file *m, void *v) @@ -47,5 +47,5 @@ index 5975d5f5c4bc..0b8af849dc75 100644 extern bool trace_clock_in_ns(struct trace_array *tr); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0111-tracing-Add-a-clock-attribute-for-hist-triggers.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0111-tracing-Add-a-clock-attribute-for-hist-triggers.patch index da30d839d..702488638 100644 --- a/kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0111-tracing-Add-a-clock-attribute-for-hist-triggers.patch @@ -1,7 +1,7 @@ -From ddebd4ab0ba2bc665aa7648dd78e99b277980d2c Mon Sep 17 00:00:00 2001 +From 2f708bba80c1ae7401567275c97cba9c3f7312ec Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:08 -0600 -Subject: [PATCH 113/418] tracing: Add a clock attribute for hist triggers +Subject: [PATCH 111/414] tracing: Add a clock attribute for hist triggers The default clock if timestamps are used in a histogram is "global". If timestamps aren't used, the clock is irrelevant. @@ -141,5 +141,5 @@ index 3856f173559a..e47b56632367 100644 return ret; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch b/kernel/patches-4.14.x-rt/0112-ring-buffer-Bring-back-context-level-recursive-check.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch rename to kernel/patches-4.14.x-rt/0112-ring-buffer-Bring-back-context-level-recursive-check.patch index 2646ce6b9..17d67684c 100644 --- a/kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch +++ b/kernel/patches-4.14.x-rt/0112-ring-buffer-Bring-back-context-level-recursive-check.patch @@ -1,7 +1,7 @@ -From fedddc1c62ab8c45aa3bd18925870810bc56bcfb Mon Sep 17 00:00:00 2001 +From aeb7171b8733753e4405dccdd2f31abd9932ff41 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Mon, 15 Jan 2018 10:47:09 -0500 -Subject: [PATCH 114/418] ring-buffer: Bring back context level recursive +Subject: [PATCH 112/414] ring-buffer: Bring back context level recursive checks Commit 1a149d7d3f45 ("ring-buffer: Rewrite trace_recursive_(un)lock() to be @@ -129,5 +129,5 @@ index e48989ff0427..3621164c234b 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch b/kernel/patches-4.14.x-rt/0113-ring-buffer-Fix-duplicate-results-in-mapping-context.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch rename to kernel/patches-4.14.x-rt/0113-ring-buffer-Fix-duplicate-results-in-mapping-context.patch index 2f1436fea..09e1c22b3 100644 --- a/kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch +++ b/kernel/patches-4.14.x-rt/0113-ring-buffer-Fix-duplicate-results-in-mapping-context.patch @@ -1,7 +1,7 @@ -From c4edfe214d73bc9b47daca17f6d833af130a17a6 Mon Sep 17 00:00:00 2001 +From b7c042e24327f006567db33280debfcab01a3b67 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 18 Jan 2018 15:42:09 -0500 -Subject: [PATCH 115/418] ring-buffer: Fix duplicate results in mapping context +Subject: [PATCH 113/414] ring-buffer: Fix duplicate results in mapping context to bits in recursive lock In bringing back the context checks, the code checks first if its normal @@ -38,5 +38,5 @@ index 3621164c234b..cad398ba3009 100644 if (unlikely(val & (1 << bit))) return 1; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch b/kernel/patches-4.14.x-rt/0114-ring-buffer-Add-nesting-for-adding-events-within-eve.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch rename to kernel/patches-4.14.x-rt/0114-ring-buffer-Add-nesting-for-adding-events-within-eve.patch index 3e6ee50a7..e852c2347 100644 --- a/kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch +++ b/kernel/patches-4.14.x-rt/0114-ring-buffer-Add-nesting-for-adding-events-within-eve.patch @@ -1,7 +1,7 @@ -From a4b0759b36f87efae28313c89ce17f46abb7e203 Mon Sep 17 00:00:00 2001 +From e2362ee3701ecc002cd86b8dfa988fba8f3eb4f0 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:26:32 -0500 -Subject: [PATCH 116/418] ring-buffer: Add nesting for adding events within +Subject: [PATCH 114/414] ring-buffer: Add nesting for adding events within events The ring-buffer code has recusion protection in case tracing ends up tracing @@ -123,5 +123,5 @@ index cad398ba3009..1866b28e58ea 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch b/kernel/patches-4.14.x-rt/0115-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch rename to kernel/patches-4.14.x-rt/0115-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch index 8b0b0eaf0..c740e3e5d 100644 --- a/kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch +++ b/kernel/patches-4.14.x-rt/0115-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch @@ -1,7 +1,7 @@ -From bf4198baa1bc77ecfb9e0928fe67c74d324c6ac5 Mon Sep 17 00:00:00 2001 +From f39dfa9c11e62c1946a6c2786537011bbb92505b Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:29:46 -0500 -Subject: [PATCH 117/418] tracing: Use the ring-buffer nesting to allow +Subject: [PATCH 115/414] tracing: Use the ring-buffer nesting to allow synthetic events to be traced Synthetic events can be done within the recording of other events. Notify @@ -56,5 +56,5 @@ index e47b56632367..49afef3cc384 100644 static void free_synth_event_print_fmt(struct trace_event_call *call) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch b/kernel/patches-4.14.x-rt/0116-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch rename to kernel/patches-4.14.x-rt/0116-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch index b7cba58bc..578986a19 100644 --- a/kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch +++ b/kernel/patches-4.14.x-rt/0116-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch @@ -1,7 +1,7 @@ -From 5e0b60d8807868322575398067ac7188d6e140e5 Mon Sep 17 00:00:00 2001 +From a640914843d66271e9087e3de8b4036ce7f9b531 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:10 -0600 -Subject: [PATCH 118/418] tracing: Add inter-event blurb to HIST_TRIGGERS +Subject: [PATCH 116/414] tracing: Add inter-event blurb to HIST_TRIGGERS config option So that users know that inter-event tracing is supported as part of @@ -35,5 +35,5 @@ index 4ad6f6ca18c1..55d39a3fbdf7 100644 config MMIOTRACE_TEST -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch b/kernel/patches-4.14.x-rt/0117-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch rename to kernel/patches-4.14.x-rt/0117-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch index 35bcc651c..7aa47e736 100644 --- a/kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch +++ b/kernel/patches-4.14.x-rt/0117-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch @@ -1,7 +1,7 @@ -From ece6ca77098bc9d73dbdc62a5bd6888e0162c864 Mon Sep 17 00:00:00 2001 +From a5a32037f279afe4bea01f3a9825d921b0148219 Mon Sep 17 00:00:00 2001 From: Rajvi Jingar Date: Mon, 15 Jan 2018 20:52:11 -0600 -Subject: [PATCH 119/418] selftests: ftrace: Add inter-event hist triggers +Subject: [PATCH 117/414] selftests: ftrace: Add inter-event hist triggers testcases This adds inter-event hist triggers testcases which covers following: @@ -52,10 +52,10 @@ Signed-off-by: Sebastian Andrzej Siewior create mode 100644 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc diff --git a/tools/testing/selftests/ftrace/test.d/functions b/tools/testing/selftests/ftrace/test.d/functions -index f2019b37370d..17afa65c0b41 100644 +index 6a4982d029bf..843c2b0d948e 100644 --- a/tools/testing/selftests/ftrace/test.d/functions +++ b/tools/testing/selftests/ftrace/test.d/functions -@@ -55,6 +55,13 @@ disable_events() { +@@ -70,6 +70,13 @@ disable_events() { echo 0 > events/enable } @@ -465,5 +465,5 @@ index 000000000000..cef11377dcbd + +exit 0 -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch b/kernel/patches-4.14.x-rt/0118-tracing-Fix-display-of-hist-trigger-expressions-cont.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch rename to kernel/patches-4.14.x-rt/0118-tracing-Fix-display-of-hist-trigger-expressions-cont.patch index 513cb0058..b9e27343d 100644 --- a/kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch +++ b/kernel/patches-4.14.x-rt/0118-tracing-Fix-display-of-hist-trigger-expressions-cont.patch @@ -1,7 +1,7 @@ -From a3813cf8a17035606cec1e2b6f1651fbd597612e Mon Sep 17 00:00:00 2001 +From a43ea4bd555207b0e3565ad2b033e84bb6b3d8fc Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:53 -0500 -Subject: [PATCH 120/418] tracing: Fix display of hist trigger expressions +Subject: [PATCH 118/414] tracing: Fix display of hist trigger expressions containing timestamps When displaying hist triggers, variable references that have the @@ -78,5 +78,5 @@ index 49afef3cc384..85b032a04b29 100644 static int event_hist_trigger_print(struct seq_file *m, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch b/kernel/patches-4.14.x-rt/0119-tracing-Don-t-add-flag-strings-when-displaying-varia.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch rename to kernel/patches-4.14.x-rt/0119-tracing-Don-t-add-flag-strings-when-displaying-varia.patch index a56adcbc6..1dd3e401e 100644 --- a/kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch +++ b/kernel/patches-4.14.x-rt/0119-tracing-Don-t-add-flag-strings-when-displaying-varia.patch @@ -1,7 +1,7 @@ -From fcfdccd08e581e0941b037fc29b89fc51eb48091 Mon Sep 17 00:00:00 2001 +From b6750860f3a3df56c7b96d8585a0d889d9c6c64e Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:54 -0500 -Subject: [PATCH 121/418] tracing: Don't add flag strings when displaying +Subject: [PATCH 119/414] tracing: Don't add flag strings when displaying variable references Variable references should never have flags appended when displayed - @@ -36,5 +36,5 @@ index 85b032a04b29..9def33acb5eb 100644 if (flags_str) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch b/kernel/patches-4.14.x-rt/0120-tracing-Add-action-comparisons-when-testing-matching.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch rename to kernel/patches-4.14.x-rt/0120-tracing-Add-action-comparisons-when-testing-matching.patch index f15033c43..b255beef8 100644 --- a/kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch +++ b/kernel/patches-4.14.x-rt/0120-tracing-Add-action-comparisons-when-testing-matching.patch @@ -1,7 +1,7 @@ -From 4e6b8c51250139dc151df4e91c1925726b1bb969 Mon Sep 17 00:00:00 2001 +From eeed766d5f4f6f79053830647206c0e5e10d137c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:55 -0500 -Subject: [PATCH 122/418] tracing: Add action comparisons when testing matching +Subject: [PATCH 120/414] tracing: Add action comparisons when testing matching hist triggers Actions also need to be considered when checking for matching triggers @@ -86,5 +86,5 @@ index 9def33acb5eb..514ec0b31eed 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch b/kernel/patches-4.14.x-rt/0121-tracing-Make-sure-variable-string-fields-are-NULL-te.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch rename to kernel/patches-4.14.x-rt/0121-tracing-Make-sure-variable-string-fields-are-NULL-te.patch index b7c57ea6e..ffe08985f 100644 --- a/kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch +++ b/kernel/patches-4.14.x-rt/0121-tracing-Make-sure-variable-string-fields-are-NULL-te.patch @@ -1,7 +1,7 @@ -From c1f37037f88fa0886f550c2fe4f96faed98810d8 Mon Sep 17 00:00:00 2001 +From a81e6c9cc4ebc43eb8b658a8f49e934c48d9895e Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:56 -0500 -Subject: [PATCH 123/418] tracing: Make sure variable string fields are +Subject: [PATCH 121/414] tracing: Make sure variable string fields are NULL-terminated The strncpy() currently being used for variable string fields can @@ -38,5 +38,5 @@ index 514ec0b31eed..37db86145c8b 100644 } tracing_map_set_var(elt, var_idx, var_val); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0122-block-Shorten-interrupt-disabled-regions.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0122-block-Shorten-interrupt-disabled-regions.patch index ad71dd0f4..deb2d918c 100644 --- a/kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0122-block-Shorten-interrupt-disabled-regions.patch @@ -1,7 +1,7 @@ -From da0a281742521c06610cf14549e2da98208ea6ae Mon Sep 17 00:00:00 2001 +From adc5656f17ae62e95ade16b068a3a45681ddeab0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:02 +0200 -Subject: [PATCH 124/418] block: Shorten interrupt disabled regions +Subject: [PATCH 122/414] block: Shorten interrupt disabled regions Moving the blk_sched_flush_plug() call out of the interrupt/preempt disabled region in the scheduler allows us to replace @@ -47,10 +47,10 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c -index 1feeb1a8aad9..b4dd598666b9 100644 +index 68bae6338ad4..2b026f66ecf1 100644 --- a/block/blk-core.c +++ b/block/blk-core.c -@@ -3307,7 +3307,7 @@ static void queue_unplugged(struct request_queue *q, unsigned int depth, +@@ -3308,7 +3308,7 @@ static void queue_unplugged(struct request_queue *q, unsigned int depth, blk_run_queue_async(q); else __blk_run_queue(q); @@ -59,7 +59,7 @@ index 1feeb1a8aad9..b4dd598666b9 100644 } static void flush_plug_callbacks(struct blk_plug *plug, bool from_schedule) -@@ -3355,7 +3355,6 @@ EXPORT_SYMBOL(blk_check_plugged); +@@ -3356,7 +3356,6 @@ EXPORT_SYMBOL(blk_check_plugged); void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) { struct request_queue *q; @@ -67,7 +67,7 @@ index 1feeb1a8aad9..b4dd598666b9 100644 struct request *rq; LIST_HEAD(list); unsigned int depth; -@@ -3375,11 +3374,6 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) +@@ -3376,11 +3375,6 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) q = NULL; depth = 0; @@ -79,7 +79,7 @@ index 1feeb1a8aad9..b4dd598666b9 100644 while (!list_empty(&list)) { rq = list_entry_rq(list.next); list_del_init(&rq->queuelist); -@@ -3392,7 +3386,7 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) +@@ -3393,7 +3387,7 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) queue_unplugged(q, depth, from_schedule); q = rq->q; depth = 0; @@ -88,7 +88,7 @@ index 1feeb1a8aad9..b4dd598666b9 100644 } /* -@@ -3419,8 +3413,6 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) +@@ -3420,8 +3414,6 @@ void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) */ if (q) queue_unplugged(q, depth, from_schedule); @@ -98,5 +98,5 @@ index 1feeb1a8aad9..b4dd598666b9 100644 void blk_finish_plug(struct blk_plug *plug) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch b/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch rename to kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch index 9a214b04e..bbe053ae5 100644 --- a/kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch +++ b/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch @@ -1,7 +1,7 @@ -From 4b716f7abf6f1fdd81c7fa5d16c2d7be7bca5fbb Mon Sep 17 00:00:00 2001 +From 6edf0cab78911a30359452d1c7d0d93775f5d86a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Feb 2013 22:36:59 +0100 -Subject: [PATCH 125/418] timekeeping: Split jiffies seqlock +Subject: [PATCH 123/414] timekeeping: Split jiffies seqlock Replace jiffies_lock seqlock with a simple seqcounter and a rawlock so it can be taken in atomic context on RT. @@ -166,5 +166,5 @@ index c9f9af339914..0c0f52bf1927 100644 #define CS_NAME_LEN 32 -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch b/kernel/patches-4.14.x-rt/0124-tracing-Account-for-preempt-off-in-preempt_schedule.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch rename to kernel/patches-4.14.x-rt/0124-tracing-Account-for-preempt-off-in-preempt_schedule.patch index b39bb2a2b..1c50fab50 100644 --- a/kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch +++ b/kernel/patches-4.14.x-rt/0124-tracing-Account-for-preempt-off-in-preempt_schedule.patch @@ -1,7 +1,7 @@ -From 16417d60b31ecb9587f6bc328bbeae4aab73d23c Mon Sep 17 00:00:00 2001 +From 9f92849595bdcb42bece1a0cbdb4a169f2350698 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 29 Sep 2011 12:24:30 -0500 -Subject: [PATCH 126/418] tracing: Account for preempt off in +Subject: [PATCH 124/414] tracing: Account for preempt off in preempt_schedule() The preempt_schedule() uses the preempt_disable_notrace() version @@ -28,10 +28,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 9 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 1fffb66e599a..c4902d17faf1 100644 +index f62dd754def1..a85c4bf6e66f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3590,7 +3590,16 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) +@@ -3607,7 +3607,16 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) * an infinite recursion. */ prev_ctx = exception_enter(); @@ -49,5 +49,5 @@ index 1fffb66e599a..c4902d17faf1 100644 preempt_latency_stop(1); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch b/kernel/patches-4.14.x-rt/0125-signal-Revert-ptrace-preempt-magic.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch rename to kernel/patches-4.14.x-rt/0125-signal-Revert-ptrace-preempt-magic.patch index 25190cffc..e17889ea6 100644 --- a/kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch +++ b/kernel/patches-4.14.x-rt/0125-signal-Revert-ptrace-preempt-magic.patch @@ -1,7 +1,7 @@ -From a722e1cc4a944d13035ad97888fc01430bd36ada Mon Sep 17 00:00:00 2001 +From 68a5ce7cbcdc35343ddbcc7230fa1b8cde1fed83 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 21 Sep 2011 19:57:12 +0200 -Subject: [PATCH 127/418] signal: Revert ptrace preempt magic +Subject: [PATCH 125/414] signal: Revert ptrace preempt magic Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more than a bandaid around the ptrace design trainwreck. It's not a @@ -33,5 +33,5 @@ index 4439ba9dc5d9..2167e0407cbf 100644 } else { /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch b/kernel/patches-4.14.x-rt/0126-arm-Convert-arm-boot_lock-to-raw.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch rename to kernel/patches-4.14.x-rt/0126-arm-Convert-arm-boot_lock-to-raw.patch index 336591429..7f7c1de42 100644 --- a/kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch +++ b/kernel/patches-4.14.x-rt/0126-arm-Convert-arm-boot_lock-to-raw.patch @@ -1,7 +1,7 @@ -From fdf81973e6be26468f7f610ea1ade5fa2d15cc33 Mon Sep 17 00:00:00 2001 +From d8fddc17ebd5134f2dcf942c75e07b6b78709294 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Mon, 19 Sep 2011 14:51:14 -0700 -Subject: [PATCH 128/418] arm: Convert arm boot_lock to raw +Subject: [PATCH 126/414] arm: Convert arm boot_lock to raw The arm boot_lock is used by the secondary processor startup code. The locking task is the idle thread, which has idle->sched_class == &idle_sched_class. @@ -423,5 +423,5 @@ index c2366510187a..6b60f582b738 100644 return pen_release != -1 ? -ENOSYS : 0; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch b/kernel/patches-4.14.x-rt/0127-arm-kprobe-replace-patch_lock-to-raw-lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch rename to kernel/patches-4.14.x-rt/0127-arm-kprobe-replace-patch_lock-to-raw-lock.patch index a4955e9d8..7b38e6628 100644 --- a/kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0127-arm-kprobe-replace-patch_lock-to-raw-lock.patch @@ -1,7 +1,7 @@ -From 79f0a2d8e20aec6e2a67ac31bcbddce17b37a557 Mon Sep 17 00:00:00 2001 +From f110c2a4f9b3df4241e0cc7c8490b524daac2bd3 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Nov 2016 16:17:55 -0800 -Subject: [PATCH 129/418] arm: kprobe: replace patch_lock to raw lock +Subject: [PATCH 127/414] arm: kprobe: replace patch_lock to raw lock When running kprobe on -rt kernel, the below bug is caught: @@ -71,5 +71,5 @@ index a50dc00d79a2..d0a05a3bdb96 100644 __release(&patch_lock); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch b/kernel/patches-4.14.x-rt/0128-posix-timers-Prevent-broadcast-signals.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch rename to kernel/patches-4.14.x-rt/0128-posix-timers-Prevent-broadcast-signals.patch index e8deb9f03..a715c0d2b 100644 --- a/kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch +++ b/kernel/patches-4.14.x-rt/0128-posix-timers-Prevent-broadcast-signals.patch @@ -1,7 +1,7 @@ -From abcf1dceff33f7b8c133de7de863699e436a815e Mon Sep 17 00:00:00 2001 +From 6238dd6ef59542a7003b6ab5225d70beea6805ff Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:29:20 -0500 -Subject: [PATCH 130/418] posix-timers: Prevent broadcast signals +Subject: [PATCH 128/414] posix-timers: Prevent broadcast signals Posix timers should not send broadcast signals and kernel only signals. Prevent it. @@ -34,5 +34,5 @@ index 708992708332..f5392262fb77 100644 /* FALLTHRU */ case SIGEV_NONE: -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/kernel/patches-4.14.x-rt/0129-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch rename to kernel/patches-4.14.x-rt/0129-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch index ed9c363ec..e1d18915e 100644 --- a/kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch +++ b/kernel/patches-4.14.x-rt/0129-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch @@ -1,7 +1,7 @@ -From 827c878632f9fa736c38c72b28002fad79d911fb Mon Sep 17 00:00:00 2001 +From b5a768dc1a98e627d918275bcd8a8d5f6fad18d9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:56 -0500 -Subject: [PATCH 131/418] signals: Allow rt tasks to cache one sigqueue struct +Subject: [PATCH 129/414] signals: Allow rt tasks to cache one sigqueue struct To avoid allocation allow rt tasks to cache one sigqueue struct in task struct. @@ -208,5 +208,5 @@ index 2167e0407cbf..67354e467778 100644 if (q) q->flags |= SIGQUEUE_PREALLOC; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch b/kernel/patches-4.14.x-rt/0130-drivers-random-Reduce-preempt-disabled-region.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch rename to kernel/patches-4.14.x-rt/0130-drivers-random-Reduce-preempt-disabled-region.patch index 2ad20e362..7513033b6 100644 --- a/kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch +++ b/kernel/patches-4.14.x-rt/0130-drivers-random-Reduce-preempt-disabled-region.patch @@ -1,7 +1,7 @@ -From 2a2598664282a49e4ba2c8f2402c836e8765fee6 Mon Sep 17 00:00:00 2001 +From ea47cc05321649c62a036b5ee23a11856cb86f01 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:30 -0500 -Subject: [PATCH 132/418] drivers: random: Reduce preempt disabled region +Subject: [PATCH 130/414] drivers: random: Reduce preempt disabled region No need to keep preemption disabled across the whole function. @@ -33,5 +33,5 @@ index ddc493d976fd..106abdf67efd 100644 void add_input_randomness(unsigned int type, unsigned int code, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch b/kernel/patches-4.14.x-rt/0131-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch rename to kernel/patches-4.14.x-rt/0131-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch index 5c4d60381..c79101978 100644 --- a/kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch +++ b/kernel/patches-4.14.x-rt/0131-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch @@ -1,7 +1,7 @@ -From 7125d121e4af80778df90210fa74423438cba0ea Mon Sep 17 00:00:00 2001 +From a8d27a8ea16e9fd93ec9cd2d4275edf55743b0e1 Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Sat, 6 Mar 2010 17:47:10 +0100 -Subject: [PATCH 133/418] ARM: AT91: PIT: Remove irq handler when clock event +Subject: [PATCH 131/414] ARM: AT91: PIT: Remove irq handler when clock event is unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -152,5 +152,5 @@ index d2e660f475af..c63b96cfc23e 100644 if (IS_ERR(sclk)) { pr_err("Unable to get slow clock\n"); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch b/kernel/patches-4.14.x-rt/0132-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch rename to kernel/patches-4.14.x-rt/0132-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch index dcdb03e1d..7c724d765 100644 --- a/kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch +++ b/kernel/patches-4.14.x-rt/0132-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch @@ -1,7 +1,7 @@ -From ee86db508e41be8b9a2370386e7e688b602f57c4 Mon Sep 17 00:00:00 2001 +From 378d6a5808708082f43477726b1a71d174837bfa Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Thu, 17 Mar 2016 21:09:43 +0100 -Subject: [PATCH 134/418] clockevents/drivers/timer-atmel-pit: fix double +Subject: [PATCH 132/414] clockevents/drivers/timer-atmel-pit: fix double free_irq clockevents_exchange_device() changes the state from detached to shutdown @@ -48,5 +48,5 @@ index d09cfb1dc12b..d813ea388562 100644 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); pit_write(data->base, AT91_PIT_MR, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch b/kernel/patches-4.14.x-rt/0133-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch rename to kernel/patches-4.14.x-rt/0133-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch index 8cbc111e4..dbef849f6 100644 --- a/kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch +++ b/kernel/patches-4.14.x-rt/0133-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch @@ -1,7 +1,7 @@ -From 15ee185333dafcf267b78f266357d19ca4a04962 Mon Sep 17 00:00:00 2001 +From 9141fb2cb13b8db2b10a5241330974dac538a15b Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Mon, 8 Mar 2010 18:57:04 +0100 -Subject: [PATCH 135/418] clocksource: TCLIB: Allow higher clock rates for +Subject: [PATCH 133/414] clocksource: TCLIB: Allow higher clock rates for clock events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -165,5 +165,5 @@ index 8136dc7e863d..d2feb491e689 100644 tristate "Dummy IRQ handler" default n -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch b/kernel/patches-4.14.x-rt/0134-suspend-Prevent-might-sleep-splats.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch rename to kernel/patches-4.14.x-rt/0134-suspend-Prevent-might-sleep-splats.patch index 8dfe8b60a..3adf261d7 100644 --- a/kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch +++ b/kernel/patches-4.14.x-rt/0134-suspend-Prevent-might-sleep-splats.patch @@ -1,7 +1,7 @@ -From 4efdefb7c9861cdfd79dd2dbb14fad12ea65cb7a Mon Sep 17 00:00:00 2001 +From 3a5f45a3ca9930690423b2744d8b7666408d4fc2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 15 Jul 2010 10:29:00 +0200 -Subject: [PATCH 136/418] suspend: Prevent might sleep splats +Subject: [PATCH 134/414] suspend: Prevent might sleep splats timekeeping suspend/resume calls read_persistant_clock() which takes rtc_lock. That results in might sleep warnings because at that point @@ -111,5 +111,5 @@ index 0685c4499431..d74d04d49248 100644 BUG_ON(irqs_disabled()); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch b/kernel/patches-4.14.x-rt/0135-net-flip-lock-dep-thingy.patch.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch rename to kernel/patches-4.14.x-rt/0135-net-flip-lock-dep-thingy.patch.patch index 681b100cc..d5f2c4546 100644 --- a/kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch +++ b/kernel/patches-4.14.x-rt/0135-net-flip-lock-dep-thingy.patch.patch @@ -1,7 +1,7 @@ -From aad8023d589b93a15c29911885d8bade1e11e684 Mon Sep 17 00:00:00 2001 +From 3adf880cb390bb4b6facea30dd0608c6032bc554 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 10:59:58 +0200 -Subject: [PATCH 137/418] net-flip-lock-dep-thingy.patch +Subject: [PATCH 135/414] net-flip-lock-dep-thingy.patch ======================================================= [ INFO: possible circular locking dependency detected ] @@ -113,5 +113,5 @@ index 68d08ed5521e..ee242ff5d4b1 100644 EXPORT_SYMBOL(lock_sock_nested); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch b/kernel/patches-4.14.x-rt/0136-net-sched-Use-msleep-instead-of-yield.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch rename to kernel/patches-4.14.x-rt/0136-net-sched-Use-msleep-instead-of-yield.patch index 64eaab2aa..e9957d8ba 100644 --- a/kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch +++ b/kernel/patches-4.14.x-rt/0136-net-sched-Use-msleep-instead-of-yield.patch @@ -1,7 +1,7 @@ -From e3883042bd79b654d1d283370d4541cd734f2f0e Mon Sep 17 00:00:00 2001 +From ca14dd94c8a9a1bd5dd7cb5451adcf079e825a64 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 5 Mar 2014 00:49:47 +0100 -Subject: [PATCH 138/418] net: sched: Use msleep() instead of yield() +Subject: [PATCH 136/414] net: sched: Use msleep() instead of yield() On PREEMPT_RT enabled systems the interrupt handler run as threads at prio 50 (by default). If a high priority userspace process tries to shut down a busy @@ -59,5 +59,5 @@ index 79549baf5804..de0839491dd8 100644 * unwind stale skb lists and qdisc statistics */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch b/kernel/patches-4.14.x-rt/0137-net-core-disable-NET_RX_BUSY_POLL.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch rename to kernel/patches-4.14.x-rt/0137-net-core-disable-NET_RX_BUSY_POLL.patch index 3aebc815d..bf360271e 100644 --- a/kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch +++ b/kernel/patches-4.14.x-rt/0137-net-core-disable-NET_RX_BUSY_POLL.patch @@ -1,7 +1,7 @@ -From 67b655fec6fb6e0ca9abaae9a0ed4a4e3f48c513 Mon Sep 17 00:00:00 2001 +From 695ab2e89334c7c472fada130938fdd8bd3b133a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 139/418] net/core: disable NET_RX_BUSY_POLL +Subject: [PATCH 137/414] net/core: disable NET_RX_BUSY_POLL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -33,5 +33,5 @@ index 9dba2715919d..9c7b38379c09 100644 config BQL bool -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch b/kernel/patches-4.14.x-rt/0138-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch rename to kernel/patches-4.14.x-rt/0138-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch index 02590779f..790579e5a 100644 --- a/kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch +++ b/kernel/patches-4.14.x-rt/0138-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch @@ -1,7 +1,7 @@ -From e634cb99053b5d39092f3baeefc5edf4ff7cad26 Mon Sep 17 00:00:00 2001 +From 703b87e87a5374b9d18cde645b1f611d0a6b30de Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:27 -0500 -Subject: [PATCH 140/418] x86/ioapic: Do not unmask io_apic when interrupt is +Subject: [PATCH 138/414] x86/ioapic: Do not unmask io_apic when interrupt is in progress With threaded interrupts we might see an interrupt in progress on @@ -28,5 +28,5 @@ index 3b89b27945ff..9744fbb856af 100644 return true; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch b/kernel/patches-4.14.x-rt/0139-rcu-segcblist-include-rcupdate.h.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch rename to kernel/patches-4.14.x-rt/0139-rcu-segcblist-include-rcupdate.h.patch index 88e645dbc..9f1b7bcd0 100644 --- a/kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch +++ b/kernel/patches-4.14.x-rt/0139-rcu-segcblist-include-rcupdate.h.patch @@ -1,7 +1,7 @@ -From 81b3b1a0cb7b11246749c9e04cf61f2d60724601 Mon Sep 17 00:00:00 2001 +From c728fba7f8619edaab65fe4b225d1fd2e9f25a62 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 22 Sep 2017 15:01:46 +0200 -Subject: [PATCH 141/418] rcu/segcblist: include rcupdate.h +Subject: [PATCH 139/414] rcu/segcblist: include rcupdate.h The RT build on ARM complains about non-existing ULONG_CMP_LT. Since rcu_segcblist.c uses that macro it should include the header file. @@ -24,5 +24,5 @@ index 7649fcd2c4c7..88cba7c2956c 100644 #include "rcu_segcblist.h" -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch b/kernel/patches-4.14.x-rt/0140-printk-Add-a-printk-kill-switch.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch rename to kernel/patches-4.14.x-rt/0140-printk-Add-a-printk-kill-switch.patch index 8df604d7a..56a2c4070 100644 --- a/kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch +++ b/kernel/patches-4.14.x-rt/0140-printk-Add-a-printk-kill-switch.patch @@ -1,7 +1,7 @@ -From 6049a810e8e4b9cfb6de3c473d435d1c84d2199d Mon Sep 17 00:00:00 2001 +From b0a82aad5110af9b01d009d6bde8a00de490d2e5 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 22 Jul 2011 17:58:40 +0200 -Subject: [PATCH 142/418] printk: Add a printk kill switch +Subject: [PATCH 140/414] printk: Add a printk kill switch Add a prinkt-kill-switch. This is used from (NMI) watchdog to ensure that it does not dead-lock with the early printk code. @@ -169,5 +169,5 @@ index e449a23e9d59..5cdc09411b85 100644 nmi_panic(regs, "Hard LOCKUP"); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch b/kernel/patches-4.14.x-rt/0141-printk-Add-force_early_printk-boot-param-to-help-wit.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch rename to kernel/patches-4.14.x-rt/0141-printk-Add-force_early_printk-boot-param-to-help-wit.patch index 401936194..4e0bb25d5 100644 --- a/kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch +++ b/kernel/patches-4.14.x-rt/0141-printk-Add-force_early_printk-boot-param-to-help-wit.patch @@ -1,7 +1,7 @@ -From 595d8eab070ac3337ee8922bd419e6b58b5b64f9 Mon Sep 17 00:00:00 2001 +From e3e0429866b1fe2b89eb3fa326b31399040a3a53 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:41:29 +0200 -Subject: [PATCH 143/418] printk: Add "force_early_printk" boot param to help +Subject: [PATCH 141/414] printk: Add "force_early_printk" boot param to help with debugging Gives me an option to screw printk and actually see what the machine @@ -34,5 +34,5 @@ index 5b259bff7014..1da739f39a3d 100644 { printk_killswitch = true; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch b/kernel/patches-4.14.x-rt/0142-rt-Provide-PREEMPT_RT_BASE-config-switch.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch rename to kernel/patches-4.14.x-rt/0142-rt-Provide-PREEMPT_RT_BASE-config-switch.patch index e21617d0f..dd42212cc 100644 --- a/kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch +++ b/kernel/patches-4.14.x-rt/0142-rt-Provide-PREEMPT_RT_BASE-config-switch.patch @@ -1,7 +1,7 @@ -From c8e1e788d32c31c83838a411ec1c5415e8c689af Mon Sep 17 00:00:00 2001 +From 835ef9486978d905b28322958f61efa91a11be1c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 12:39:57 +0200 -Subject: [PATCH 144/418] rt: Provide PREEMPT_RT_BASE config switch +Subject: [PATCH 142/414] rt: Provide PREEMPT_RT_BASE config switch Introduce PREEMPT_RT_BASE which enables parts of PREEMPT_RT_FULL. Forces interrupt threading and enables some of the RT @@ -55,5 +55,5 @@ index 3f9c97419f02..c669134982ec 100644 config PREEMPT_COUNT -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch b/kernel/patches-4.14.x-rt/0143-kconfig-Disable-config-options-which-are-not-RT-comp.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch rename to kernel/patches-4.14.x-rt/0143-kconfig-Disable-config-options-which-are-not-RT-comp.patch index 532c4874f..b45c2dbc1 100644 --- a/kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch +++ b/kernel/patches-4.14.x-rt/0143-kconfig-Disable-config-options-which-are-not-RT-comp.patch @@ -1,7 +1,7 @@ -From 115eb1353d40a765269dc8d487cd94c719eb5911 Mon Sep 17 00:00:00 2001 +From c72a0cf2454273e3eed05132ec18684eb11e94bc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 24 Jul 2011 12:11:43 +0200 -Subject: [PATCH 145/418] kconfig: Disable config options which are not RT +Subject: [PATCH 143/414] kconfig: Disable config options which are not RT compatible Disable stuff which is known to have issues on RT @@ -38,5 +38,5 @@ index 59efbd3337e0..3df123c0bc3f 100644 select RADIX_TREE_MULTIORDER help -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch b/kernel/patches-4.14.x-rt/0144-kconfig-Add-PREEMPT_RT_FULL.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch rename to kernel/patches-4.14.x-rt/0144-kconfig-Add-PREEMPT_RT_FULL.patch index abb75861b..e3517cda1 100644 --- a/kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch +++ b/kernel/patches-4.14.x-rt/0144-kconfig-Add-PREEMPT_RT_FULL.patch @@ -1,7 +1,7 @@ -From 6c08395c1dbbfe8f8cf7408ade4a42c1b33b5626 Mon Sep 17 00:00:00 2001 +From 52d7dcec9ecbf158d2c91222af9d377d848d3ba1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 14:58:57 +0200 -Subject: [PATCH 146/418] kconfig: Add PREEMPT_RT_FULL +Subject: [PATCH 144/414] kconfig: Add PREEMPT_RT_FULL Introduce the final symbol for PREEMPT_RT_FULL. @@ -64,5 +64,5 @@ index 959199c3147e..3e68004ed345 100755 # Truncate to maximum length -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch b/kernel/patches-4.14.x-rt/0145-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch rename to kernel/patches-4.14.x-rt/0145-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch index 2db337672..4ad147f9f 100644 --- a/kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch +++ b/kernel/patches-4.14.x-rt/0145-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch @@ -1,7 +1,7 @@ -From 186f14c918bc418be2b2832b323743a98d8766ca Mon Sep 17 00:00:00 2001 +From af460d99363f98df2653a9a18f91d6b024fddff3 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 147/418] bug: BUG_ON/WARN_ON variants dependend on RT/!RT +Subject: [PATCH 145/414] bug: BUG_ON/WARN_ON variants dependend on RT/!RT Introduce RT/NON-RT WARN/BUG statements to avoid ifdefs in the code. @@ -37,5 +37,5 @@ index ae1a33aa8955..c6d04eca8345 100644 #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch b/kernel/patches-4.14.x-rt/0146-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch rename to kernel/patches-4.14.x-rt/0146-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch index 45eda0f8a..4583453ac 100644 --- a/kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch +++ b/kernel/patches-4.14.x-rt/0146-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch @@ -1,7 +1,7 @@ -From 85da33f8695ecafc62207964c373952003f211b0 Mon Sep 17 00:00:00 2001 +From f4eeeabb3a99c8b378265895088918d02f4ea2bf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 27 Feb 2016 10:22:23 +0100 -Subject: [PATCH 148/418] iommu/amd: Use WARN_ON_NORT in __attach_device() +Subject: [PATCH 146/414] iommu/amd: Use WARN_ON_NORT in __attach_device() RT does not disable interrupts here, but the protection is still correct. Fixup the WARN_ON so it won't yell on RT. @@ -48,5 +48,5 @@ index f61c2dab5490..b96b8c11a586 100644 if (WARN_ON(!dev_data->domain)) return; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch b/kernel/patches-4.14.x-rt/0147-rt-local_irq_-variants-depending-on-RT-RT.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch rename to kernel/patches-4.14.x-rt/0147-rt-local_irq_-variants-depending-on-RT-RT.patch index b1188813d..6989744c8 100644 --- a/kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch +++ b/kernel/patches-4.14.x-rt/0147-rt-local_irq_-variants-depending-on-RT-RT.patch @@ -1,7 +1,7 @@ -From cb181770648b9d00cc6f55bc803740ec8324110c Mon Sep 17 00:00:00 2001 +From 8449451b1ab0512de79b3a37764247b2a5eba56f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 22:34:14 +0200 -Subject: [PATCH 149/418] rt: local_irq_* variants depending on RT/!RT +Subject: [PATCH 147/414] rt: local_irq_* variants depending on RT/!RT Add local_irq_*_(no)rt variant which are mainly used to break interrupt disabled sections on PREEMPT_RT or to explicitely disable @@ -55,5 +55,5 @@ index 46cb57d5eb13..7834117a1ef5 100644 + #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch b/kernel/patches-4.14.x-rt/0148-preempt-Provide-preempt_-_-no-rt-variants.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch rename to kernel/patches-4.14.x-rt/0148-preempt-Provide-preempt_-_-no-rt-variants.patch index 6595f7289..b6b6a4584 100644 --- a/kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch +++ b/kernel/patches-4.14.x-rt/0148-preempt-Provide-preempt_-_-no-rt-variants.patch @@ -1,7 +1,7 @@ -From ba51b334586363a868952831cae90def700117f6 Mon Sep 17 00:00:00 2001 +From 208925ba21c360d6a2472e8a2611b8229dd9311c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jul 2009 12:38:56 +0200 -Subject: [PATCH 150/418] preempt: Provide preempt_*_(no)rt variants +Subject: [PATCH 148/414] preempt: Provide preempt_*_(no)rt variants RT needs a few preempt_disable/enable points which are not necessary otherwise. Implement variants to avoid #ifdeffery. @@ -48,5 +48,5 @@ index 81c69aeab662..8681df8e1632 100644 struct preempt_notifier; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch b/kernel/patches-4.14.x-rt/0149-futex-workaround-migrate_disable-enable-in-different.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch rename to kernel/patches-4.14.x-rt/0149-futex-workaround-migrate_disable-enable-in-different.patch index 4a81cae58..f12517ee8 100644 --- a/kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch +++ b/kernel/patches-4.14.x-rt/0149-futex-workaround-migrate_disable-enable-in-different.patch @@ -1,7 +1,7 @@ -From 315a778eef0f3ba2890d6ac488697ff94b4994a7 Mon Sep 17 00:00:00 2001 +From 51cbdb1bee9aa58d955972a209b64c8077037bf5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Mar 2017 14:23:35 +0100 -Subject: [PATCH 151/418] futex: workaround migrate_disable/enable in different +Subject: [PATCH 149/414] futex: workaround migrate_disable/enable in different context migrate_disable()/migrate_enable() takes a different path in atomic() vs @@ -61,5 +61,5 @@ index 046cd780d057..e70b5b516371 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch b/kernel/patches-4.14.x-rt/0150-rt-Add-local-irq-locks.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch rename to kernel/patches-4.14.x-rt/0150-rt-Add-local-irq-locks.patch index 7bfb558ea..3833b729a 100644 --- a/kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch +++ b/kernel/patches-4.14.x-rt/0150-rt-Add-local-irq-locks.patch @@ -1,7 +1,7 @@ -From 2e303388311f040193d5b6be3019699898bd2f93 Mon Sep 17 00:00:00 2001 +From 1f39749e8455f909b304c7e242acc49af05fda24 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 20 Jun 2011 09:03:47 +0200 -Subject: [PATCH 152/418] rt: Add local irq locks +Subject: [PATCH 150/414] rt: Add local irq locks Introduce locallock. For !RT this maps to preempt_disable()/ local_irq_disable() so there is not much that changes. For RT this will @@ -336,5 +336,5 @@ index 296bbe49d5d1..4414796e3941 100644 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch b/kernel/patches-4.14.x-rt/0151-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch rename to kernel/patches-4.14.x-rt/0151-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch index f10419625..b8e6b27da 100644 --- a/kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch +++ b/kernel/patches-4.14.x-rt/0151-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch @@ -1,7 +1,7 @@ -From ef8da0e37dd7694ccbb30902ee40256393c4c345 Mon Sep 17 00:00:00 2001 +From d7a164e99b31494c5e3f7c4ffe22d63bc3d0f325 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:44:29 -0500 -Subject: [PATCH 153/418] ata: Do not disable interrupts in ide code for +Subject: [PATCH 151/414] ata: Do not disable interrupts in ide code for preempt-rt Use the local_irq_*_nort variants. @@ -30,5 +30,5 @@ index cc2f2e35f4c2..0f0bc86e02df 100644 return consumed; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch b/kernel/patches-4.14.x-rt/0152-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch rename to kernel/patches-4.14.x-rt/0152-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch index bcbdc6e1d..e0d1f407a 100644 --- a/kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch +++ b/kernel/patches-4.14.x-rt/0152-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch @@ -1,7 +1,7 @@ -From ea21ead94aa98bb8ba9dbab2a90c7dec43864770 Mon Sep 17 00:00:00 2001 +From 7a0095e8ab489efff9cac45944f23feea96b5d25 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 154/418] ide: Do not disable interrupts for PREEMPT-RT +Subject: [PATCH 152/414] ide: Do not disable interrupts for PREEMPT-RT Use the local_irq_*_nort variants. @@ -182,5 +182,5 @@ index 4efe4c6e956c..7eae3aa1def7 100644 ide_set_handler(drive, &task_pio_intr, WAIT_WORSTCASE); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch b/kernel/patches-4.14.x-rt/0153-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch rename to kernel/patches-4.14.x-rt/0153-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch index f56ae2ebe..676d58b0c 100644 --- a/kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch +++ b/kernel/patches-4.14.x-rt/0153-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch @@ -1,7 +1,7 @@ -From 5e212f1c44f98bc1f13356e6c9ff528758fe51cf Mon Sep 17 00:00:00 2001 +From 0a45a53852f40850f58ed09b40087ed03dee05e7 Mon Sep 17 00:00:00 2001 From: Sven-Thorsten Dietrich Date: Fri, 3 Jul 2009 08:30:35 -0500 -Subject: [PATCH 155/418] infiniband: Mellanox IB driver patch use _nort() +Subject: [PATCH 153/414] infiniband: Mellanox IB driver patch use _nort() primitives Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT @@ -42,5 +42,5 @@ index 9b3f47ae2016..8327b598d909 100644 ipoib_mcast_remove_list(&remove_list); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch b/kernel/patches-4.14.x-rt/0154-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch rename to kernel/patches-4.14.x-rt/0154-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch index 2326aad00..3742cfef6 100644 --- a/kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch +++ b/kernel/patches-4.14.x-rt/0154-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch @@ -1,7 +1,7 @@ -From 7677b2426ffc8455b7df2a65ba23194aabb3d1ae Mon Sep 17 00:00:00 2001 +From c57e45f35eed96daaeb7c460b7c7cdf08fa01b37 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 156/418] input: gameport: Do not disable interrupts on +Subject: [PATCH 154/414] input: gameport: Do not disable interrupts on PREEMPT_RT Use the _nort() primitives. @@ -62,5 +62,5 @@ index cedc665364cd..4a4fdef151aa 100644 if (t2 - t1 < tx) tx = t2 - t1; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch b/kernel/patches-4.14.x-rt/0155-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch rename to kernel/patches-4.14.x-rt/0155-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch index fddc8e7b0..7c1e36297 100644 --- a/kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch +++ b/kernel/patches-4.14.x-rt/0155-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch @@ -1,7 +1,7 @@ -From 625e393e1897dbb4f6a337acf68d65034df88698 Mon Sep 17 00:00:00 2001 +From ec4d7dfc11d797eeee2236fd32856f0ef1ab4efc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 23:06:05 +0200 -Subject: [PATCH 157/418] core: Do not disable interrupts on RT in +Subject: [PATCH 155/414] core: Do not disable interrupts on RT in kernel/users.c Use the local_irq_*_nort variants to reduce latencies in RT. The code @@ -31,5 +31,5 @@ index 00281add65b2..f4cf1841f2fd 100644 struct user_struct *alloc_uid(kuid_t uid) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch b/kernel/patches-4.14.x-rt/0156-usb-Use-_nort-in-giveback-function.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch rename to kernel/patches-4.14.x-rt/0156-usb-Use-_nort-in-giveback-function.patch index 5f958d8da..5671e04e8 100644 --- a/kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch +++ b/kernel/patches-4.14.x-rt/0156-usb-Use-_nort-in-giveback-function.patch @@ -1,7 +1,7 @@ -From b536c108665304a889f4155a2f2408e2fa1069f8 Mon Sep 17 00:00:00 2001 +From e96058902fe566dfe3ab5c0ab817b5ec6d09a085 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 8 Nov 2013 17:34:54 +0100 -Subject: [PATCH 158/418] usb: Use _nort in giveback function +Subject: [PATCH 156/414] usb: Use _nort in giveback function Since commit 94dfd7ed ("USB: HCD: support giveback of URB in tasklet context") I see @@ -59,5 +59,5 @@ index d0b2e0ed9bab..91f4f2bd55b0 100644 usb_anchor_resume_wakeups(anchor); atomic_dec(&urb->use_count); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch b/kernel/patches-4.14.x-rt/0157-mm-scatterlist-Do-not-disable-irqs-on-RT.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch rename to kernel/patches-4.14.x-rt/0157-mm-scatterlist-Do-not-disable-irqs-on-RT.patch index f86cff1e9..975cf76d7 100644 --- a/kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0157-mm-scatterlist-Do-not-disable-irqs-on-RT.patch @@ -1,7 +1,7 @@ -From 9b2683905c0546856ec365421d078ca647b42255 Mon Sep 17 00:00:00 2001 +From ae871acd1253742f6ce7d3bc2d8599d7fa1e6337 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:34 -0500 -Subject: [PATCH 159/418] mm/scatterlist: Do not disable irqs on RT +Subject: [PATCH 157/414] mm/scatterlist: Do not disable irqs on RT For -RT it is enough to keep pagefault disabled (which is currently handled by kmap_atomic()). @@ -25,5 +25,5 @@ index be7b4dd6b68d..d06c15d3d186 100644 } else kunmap(miter->page); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch b/kernel/patches-4.14.x-rt/0158-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch rename to kernel/patches-4.14.x-rt/0158-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch index b7fb3f936..1f020454f 100644 --- a/kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch +++ b/kernel/patches-4.14.x-rt/0158-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch @@ -1,7 +1,7 @@ -From 9061a87a96f91d5ab1e93ade7432c1ced9371832 Mon Sep 17 00:00:00 2001 +From ab698a021d86611968ca065ad168e6fc9b401481 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 17:19:44 +0100 -Subject: [PATCH 160/418] mm/workingset: Do not protect workingset_shadow_nodes +Subject: [PATCH 158/414] mm/workingset: Do not protect workingset_shadow_nodes with irq off workingset_shadow_nodes is protected by local_irq_disable(). Some users @@ -192,5 +192,5 @@ index b997c9de28f6..e252cc69a3d4 100644 return ret; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch b/kernel/patches-4.14.x-rt/0159-signal-Make-__lock_task_sighand-RT-aware.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch rename to kernel/patches-4.14.x-rt/0159-signal-Make-__lock_task_sighand-RT-aware.patch index 3172a287b..e45d64c33 100644 --- a/kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0159-signal-Make-__lock_task_sighand-RT-aware.patch @@ -1,7 +1,7 @@ -From 928b11d312027a43cdea89687e5457ac1c3ab02e Mon Sep 17 00:00:00 2001 +From f10b95267c7cda93b855a602eea8b70dd2a7672c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Jul 2011 08:07:08 +0200 -Subject: [PATCH 161/418] signal: Make __lock_task_sighand() RT aware +Subject: [PATCH 159/414] signal: Make __lock_task_sighand() RT aware local_irq_save() + spin_lock(&sighand->siglock) does not work on -RT. Use the nort variants. @@ -40,5 +40,5 @@ index 67354e467778..d02e38f75170 100644 return sighand; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch b/kernel/patches-4.14.x-rt/0160-signal-x86-Delay-calling-signals-in-atomic.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch rename to kernel/patches-4.14.x-rt/0160-signal-x86-Delay-calling-signals-in-atomic.patch index 1e87f0bb8..d10ea2b1d 100644 --- a/kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch +++ b/kernel/patches-4.14.x-rt/0160-signal-x86-Delay-calling-signals-in-atomic.patch @@ -1,7 +1,7 @@ -From e6469dcf01cb920b3cd35ca560b4d5eaeb838d10 Mon Sep 17 00:00:00 2001 +From d9ce5df092f398cb9fb8b930e4fa9c397fa4ab09 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 162/418] signal/x86: Delay calling signals in atomic +Subject: [PATCH 160/414] signal/x86: Delay calling signals in atomic On x86_64 we must disable preemption before we enable interrupts for stack faults, int3 and debugging, because the current task is using @@ -149,5 +149,5 @@ index d02e38f75170..d8f75a030292 100644 * Nuke all other threads in the group. */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch b/kernel/patches-4.14.x-rt/0161-x86-signal-delay-calling-signals-on-32bit.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch rename to kernel/patches-4.14.x-rt/0161-x86-signal-delay-calling-signals-on-32bit.patch index 5fb34bc4c..6a2a7984b 100644 --- a/kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch +++ b/kernel/patches-4.14.x-rt/0161-x86-signal-delay-calling-signals-on-32bit.patch @@ -1,7 +1,7 @@ -From 4718ff3b558782c0e093b5e25a4381115fd6968a Mon Sep 17 00:00:00 2001 +From 7d739bdbec169c3e083f85b6330083ed6760467e Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Dec 2015 10:58:51 -0800 -Subject: [PATCH 163/418] x86/signal: delay calling signals on 32bit +Subject: [PATCH 161/414] x86/signal: delay calling signals on 32bit When running some ptrace single step tests on x86-32 machine, the below problem is triggered: @@ -44,5 +44,5 @@ index 7c7846cbab45..39117e57caf2 100644 #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch b/kernel/patches-4.14.x-rt/0162-net-wireless-Use-WARN_ON_NORT.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch rename to kernel/patches-4.14.x-rt/0162-net-wireless-Use-WARN_ON_NORT.patch index da0776514..b9ff9038d 100644 --- a/kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch +++ b/kernel/patches-4.14.x-rt/0162-net-wireless-Use-WARN_ON_NORT.patch @@ -1,7 +1,7 @@ -From 5d6b260b645e0316ac29bb436927fd93871746cc Mon Sep 17 00:00:00 2001 +From 701f386aec46c99105c5d3898566c0ecb2087e0e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 21:05:33 +0200 -Subject: [PATCH 164/418] net/wireless: Use WARN_ON_NORT() +Subject: [PATCH 162/414] net/wireless: Use WARN_ON_NORT() The softirq counter is meaningless on RT, so the check triggers a false positive. @@ -25,5 +25,5 @@ index dddd498e1338..8f39b8162df8 100644 if (WARN_ON(status->band >= NUM_NL80211_BANDS)) goto drop; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch b/kernel/patches-4.14.x-rt/0163-buffer_head-Replace-bh_uptodate_lock-for-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch rename to kernel/patches-4.14.x-rt/0163-buffer_head-Replace-bh_uptodate_lock-for-rt.patch index d23d86f1f..fd04a9f06 100644 --- a/kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0163-buffer_head-Replace-bh_uptodate_lock-for-rt.patch @@ -1,7 +1,7 @@ -From cb5f84c4e89aa3ed0d6f9865cca97369ccf41641 Mon Sep 17 00:00:00 2001 +From f18a336d84f940fa35c07b4092c5631e90c61694 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 09:18:52 +0100 -Subject: [PATCH 165/418] buffer_head: Replace bh_uptodate_lock for -rt +Subject: [PATCH 163/414] buffer_head: Replace bh_uptodate_lock for -rt Wrap the bit_spin_lock calls into a separate inline and add the RT replacements with a real spinlock. @@ -217,5 +217,5 @@ index afa37f807f12..d0bd1957e8b6 100644 * macro tricks to expand the set_buffer_foo(), clear_buffer_foo() * and buffer_foo() functions. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch b/kernel/patches-4.14.x-rt/0164-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch rename to kernel/patches-4.14.x-rt/0164-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch index 45890b470..c951ed87d 100644 --- a/kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch +++ b/kernel/patches-4.14.x-rt/0164-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch @@ -1,7 +1,7 @@ -From 5cb09d0b735b60e6a4073738cc34b2e7f605006d Mon Sep 17 00:00:00 2001 +From d2f451b7ae13da528b7b1fa3ebf38c5db3ca07b5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:11:25 +0100 -Subject: [PATCH 166/418] fs: jbd/jbd2: Make state lock and journal head lock +Subject: [PATCH 164/414] fs: jbd/jbd2: Make state lock and journal head lock rt safe bit_spin_locks break under RT. @@ -105,5 +105,5 @@ index 29290bfb94a8..32379bfab9f0 100644 #define J_ASSERT(assert) BUG_ON(!(assert)) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch b/kernel/patches-4.14.x-rt/0165-list_bl-Make-list-head-locking-RT-safe.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch rename to kernel/patches-4.14.x-rt/0165-list_bl-Make-list-head-locking-RT-safe.patch index 2522ee913..bd6d80d13 100644 --- a/kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch +++ b/kernel/patches-4.14.x-rt/0165-list_bl-Make-list-head-locking-RT-safe.patch @@ -1,7 +1,7 @@ -From 6f996e48d3489a29ab771aa754b894c7ce170280 Mon Sep 17 00:00:00 2001 +From 34c68abc9d8ef5bf7e73558374dce20d516283e8 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 21 Jun 2013 15:07:25 -0400 -Subject: [PATCH 167/418] list_bl: Make list head locking RT safe +Subject: [PATCH 165/414] list_bl: Make list head locking RT safe As per changes in include/linux/jbd_common.h for avoiding the bit_spin_locks on RT ("fs: jbd/jbd2: Make state lock and journal @@ -116,5 +116,5 @@ index 3fc2cc57ba1b..69b659259bac 100644 static inline bool hlist_bl_is_locked(struct hlist_bl_head *b) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch b/kernel/patches-4.14.x-rt/0166-list_bl-fixup-bogus-lockdep-warning.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch rename to kernel/patches-4.14.x-rt/0166-list_bl-fixup-bogus-lockdep-warning.patch index f40b9a7a5..7aae8b081 100644 --- a/kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch +++ b/kernel/patches-4.14.x-rt/0166-list_bl-fixup-bogus-lockdep-warning.patch @@ -1,7 +1,7 @@ -From 6edfd72773cff06cf12aeb8332add84e7c91a16a Mon Sep 17 00:00:00 2001 +From 168f134c4f7fab8fed72fa7c3e191c02d4f5b99c Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 31 Mar 2016 00:04:25 -0500 -Subject: [PATCH 168/418] list_bl: fixup bogus lockdep warning +Subject: [PATCH 166/414] list_bl: fixup bogus lockdep warning At first glance, the use of 'static inline' seems appropriate for INIT_HLIST_BL_HEAD(). @@ -99,5 +99,5 @@ index 69b659259bac..0b5de7d9ffcf 100644 static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch b/kernel/patches-4.14.x-rt/0167-genirq-Disable-irqpoll-on-rt.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch rename to kernel/patches-4.14.x-rt/0167-genirq-Disable-irqpoll-on-rt.patch index d242755ae..74d880906 100644 --- a/kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0167-genirq-Disable-irqpoll-on-rt.patch @@ -1,7 +1,7 @@ -From 0a514ccaa1f132d85e265f3aabaee80900c76923 Mon Sep 17 00:00:00 2001 +From e1e3c6c6592592b4b4dfeebb076880f2ecce9168 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:57 -0500 -Subject: [PATCH 169/418] genirq: Disable irqpoll on -rt +Subject: [PATCH 167/414] genirq: Disable irqpoll on -rt Creates long latencies for no value @@ -38,5 +38,5 @@ index 987d7bca4864..75347fb1dfea 100644 printk(KERN_WARNING "Misrouted IRQ fixup and polling support " "enabled\n"); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch b/kernel/patches-4.14.x-rt/0168-genirq-Force-interrupt-thread-on-RT.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch rename to kernel/patches-4.14.x-rt/0168-genirq-Force-interrupt-thread-on-RT.patch index 0ae87d8fa..a1ff90fe3 100644 --- a/kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0168-genirq-Force-interrupt-thread-on-RT.patch @@ -1,7 +1,7 @@ -From 79e97f878aef28255ce4fc784532df0cde064c5d Mon Sep 17 00:00:00 2001 +From 33a459fe919597d1a497fe5fbe5b80905317dadc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 3 Apr 2011 11:57:29 +0200 -Subject: [PATCH 170/418] genirq: Force interrupt thread on RT +Subject: [PATCH 168/414] genirq: Force interrupt thread on RT Force threaded_irqs and optimize the code (force_irqthreads) in regard to this. @@ -52,5 +52,5 @@ index b02caa442776..6d1f321152d0 100644 static void __synchronize_hardirq(struct irq_desc *desc) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch b/kernel/patches-4.14.x-rt/0169-drivers-net-vortex-fix-locking-issues.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch rename to kernel/patches-4.14.x-rt/0169-drivers-net-vortex-fix-locking-issues.patch index bea5f08a7..98862135c 100644 --- a/kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch +++ b/kernel/patches-4.14.x-rt/0169-drivers-net-vortex-fix-locking-issues.patch @@ -1,7 +1,7 @@ -From c7e6c438d7661577c5cf906120a9f00f71ae19b0 Mon Sep 17 00:00:00 2001 +From 642176f3d9d3bf7e4470e06d8c5dc7b8ab9dd139 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:30:00 -0500 -Subject: [PATCH 171/418] drivers/net: vortex fix locking issues +Subject: [PATCH 169/414] drivers/net: vortex fix locking issues Argh, cut and paste wasn't enough... @@ -53,5 +53,5 @@ index 402d9090ad29..9bc02563b853 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch b/kernel/patches-4.14.x-rt/0170-delayacct-use-raw_spinlocks.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch rename to kernel/patches-4.14.x-rt/0170-delayacct-use-raw_spinlocks.patch index d88a71aaf..d6a7e9c82 100644 --- a/kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0170-delayacct-use-raw_spinlocks.patch @@ -1,7 +1,7 @@ -From e24153d6dd4c53da7bc74e5a5e0e136faf7ef7fc Mon Sep 17 00:00:00 2001 +From bf55b13ea16db2da8b97d305abbbf8fb8c577ebd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 20 May 2017 12:32:23 +0200 -Subject: [PATCH 172/418] delayacct: use raw_spinlocks +Subject: [PATCH 170/414] delayacct: use raw_spinlocks try_to_wake_up() might invoke delayacct_blkio_end() while holding the pi_lock. The lock is only held for a short amount of time so it should @@ -90,5 +90,5 @@ index e2764d767f18..0c1b7025950f 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/kernel/patches-4.14.x-rt/0171-mm-page_alloc-rt-friendly-per-cpu-pages.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch rename to kernel/patches-4.14.x-rt/0171-mm-page_alloc-rt-friendly-per-cpu-pages.patch index e5be78e97..b8044b2b6 100644 --- a/kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/kernel/patches-4.14.x-rt/0171-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -1,7 +1,7 @@ -From 1ca7973507e3c3fe2024bac0589f3fc53636fc11 Mon Sep 17 00:00:00 2001 +From 3beb269788b70944375ddb3551db4e06cdd70522 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:37 -0500 -Subject: [PATCH 173/418] mm: page_alloc: rt-friendly per-cpu pages +Subject: [PATCH 171/414] mm: page_alloc: rt-friendly per-cpu pages rt-friendly per-cpu pages: convert the irqs-off per-cpu locking method into a preemptible, explicit-per-cpu-locks method. @@ -216,5 +216,5 @@ index 59ccf455fcbd..76a291ac2172 100644 #ifdef CONFIG_MEMORY_HOTREMOVE -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch b/kernel/patches-4.14.x-rt/0172-mm-page_alloc-Reduce-lock-sections-further.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch rename to kernel/patches-4.14.x-rt/0172-mm-page_alloc-Reduce-lock-sections-further.patch index ec523e62c..e0ac6d2c9 100644 --- a/kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch +++ b/kernel/patches-4.14.x-rt/0172-mm-page_alloc-Reduce-lock-sections-further.patch @@ -1,7 +1,7 @@ -From 07f89ce837964a7d3bbcc650417b30f973aeb856 Mon Sep 17 00:00:00 2001 +From f9786a7e85762efef786023fc1293eb3183e6fc7 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:37 -0500 -Subject: [PATCH 174/418] mm: page_alloc: Reduce lock sections further +Subject: [PATCH 172/414] mm: page_alloc: Reduce lock sections further Split out the pages which are to be freed into a separate list and call free_pages_bulk() outside of the percpu page allocator locks. @@ -199,5 +199,5 @@ index 76a291ac2172..0f6240392345 100644 out: -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch b/kernel/patches-4.14.x-rt/0173-mm-swap-Convert-to-percpu-locked.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch rename to kernel/patches-4.14.x-rt/0173-mm-swap-Convert-to-percpu-locked.patch index 9c87cf610..183c33e70 100644 --- a/kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch +++ b/kernel/patches-4.14.x-rt/0173-mm-swap-Convert-to-percpu-locked.patch @@ -1,7 +1,7 @@ -From ee351c03892308769885d6083f12f810d995e7c0 Mon Sep 17 00:00:00 2001 +From 78952ca2b130a6f907b7e980a807bf2ba386abd9 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:51 -0500 -Subject: [PATCH 175/418] mm/swap: Convert to percpu locked +Subject: [PATCH 173/414] mm/swap: Convert to percpu locked Replace global locks (get_cpu + local_irq_save) with "local_locks()". Currently there is one of for "rotate" and one for "swap". @@ -198,5 +198,5 @@ index a77d68f2c1b6..c63d649fb3a9 100644 static void lru_add_drain_per_cpu(struct work_struct *dummy) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch b/kernel/patches-4.14.x-rt/0174-mm-perform-lru_add_drain_all-remotely.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch rename to kernel/patches-4.14.x-rt/0174-mm-perform-lru_add_drain_all-remotely.patch index db8dfeadb..8f11c8506 100644 --- a/kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch +++ b/kernel/patches-4.14.x-rt/0174-mm-perform-lru_add_drain_all-remotely.patch @@ -1,7 +1,7 @@ -From 4ac075945edbfef149cc52aea87111cace3a0594 Mon Sep 17 00:00:00 2001 +From d4ad6785b6b124a609f2362c78278a11cd2451ca Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 27 May 2016 15:03:28 +0200 -Subject: [PATCH 176/418] mm: perform lru_add_drain_all() remotely +Subject: [PATCH 174/414] mm: perform lru_add_drain_all() remotely lru_add_drain_all() works by scheduling lru_add_drain_cpu() to run on all CPUs that have non-empty LRU pagevecs and then waiting for @@ -104,5 +104,5 @@ index c63d649fb3a9..30d62efe001b 100644 mutex_unlock(&lock); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch b/kernel/patches-4.14.x-rt/0175-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch rename to kernel/patches-4.14.x-rt/0175-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch index eb0f38408..24489b992 100644 --- a/kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch +++ b/kernel/patches-4.14.x-rt/0175-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch @@ -1,7 +1,7 @@ -From 3ac8e60a0b4b5f631dc5da6dde61c3ff3230b259 Mon Sep 17 00:00:00 2001 +From be6f3e4a00ad8867b1cd777d0e2feeeebadba989 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:13 -0500 -Subject: [PATCH 177/418] mm/vmstat: Protect per cpu variables with preempt +Subject: [PATCH 175/414] mm/vmstat: Protect per cpu variables with preempt disable on RT Disable preemption on -RT for the vmstat code. On vanila the code runs in @@ -140,5 +140,5 @@ index 4bb13e72ac97..0d17b8faeac7 100644 void __dec_zone_page_state(struct page *page, enum zone_stat_item item) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch b/kernel/patches-4.14.x-rt/0176-ARM-Initialize-split-page-table-locks-for-vector-pag.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch rename to kernel/patches-4.14.x-rt/0176-ARM-Initialize-split-page-table-locks-for-vector-pag.patch index 259c08d23..af1db3ded 100644 --- a/kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch +++ b/kernel/patches-4.14.x-rt/0176-ARM-Initialize-split-page-table-locks-for-vector-pag.patch @@ -1,7 +1,7 @@ -From 38b6e9f6ea8bb791c0100f4057f93bcb87d76e82 Mon Sep 17 00:00:00 2001 +From 0eb06df3fe3a41b57035c19a9ad517549325c212 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Sat, 1 Oct 2011 18:58:13 -0700 -Subject: [PATCH 178/418] ARM: Initialize split page table locks for vector +Subject: [PATCH 176/414] ARM: Initialize split page table locks for vector page Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if @@ -71,5 +71,5 @@ index d96714e1858c..cf4e1452d4b4 100644 /* * The vectors page is always readable from user space for the -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch b/kernel/patches-4.14.x-rt/0177-mm-bounce-Use-local_irq_save_nort.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch rename to kernel/patches-4.14.x-rt/0177-mm-bounce-Use-local_irq_save_nort.patch index 0bf73dcfc..ecbc53741 100644 --- a/kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch +++ b/kernel/patches-4.14.x-rt/0177-mm-bounce-Use-local_irq_save_nort.patch @@ -1,7 +1,7 @@ -From d70a405416c1cfe7c1fee8fa8f713dcfb7a6f862 Mon Sep 17 00:00:00 2001 +From d0d960a45f71c4958bb6d492d22f814c18a646c6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 10:33:09 +0100 -Subject: [PATCH 179/418] mm: bounce: Use local_irq_save_nort +Subject: [PATCH 177/414] mm: bounce: Use local_irq_save_nort kmap_atomic() is preemptible on RT. @@ -29,5 +29,5 @@ index 1d05c422c932..0101ffefddc4 100644 #else /* CONFIG_HIGHMEM */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch b/kernel/patches-4.14.x-rt/0178-mm-Allow-only-slub-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch rename to kernel/patches-4.14.x-rt/0178-mm-Allow-only-slub-on-RT.patch index 8104875f1..5154920a3 100644 --- a/kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0178-mm-Allow-only-slub-on-RT.patch @@ -1,7 +1,7 @@ -From cf245c2c47dba32316085201b35e92bda2a595a3 Mon Sep 17 00:00:00 2001 +From 56c0f6e710896bbb69445f4d5cb3ca040a4b4a2a Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:03 -0500 -Subject: [PATCH 180/418] mm: Allow only slub on RT +Subject: [PATCH 178/414] mm: Allow only slub on RT Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs. @@ -32,5 +32,5 @@ index 46075327c165..0fa1ade4351a 100644 SLOB replaces the stock allocator with a drastically simpler allocator. SLOB is generally more space efficient but -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch b/kernel/patches-4.14.x-rt/0179-mm-Enable-SLUB-for-RT.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch rename to kernel/patches-4.14.x-rt/0179-mm-Enable-SLUB-for-RT.patch index b32c3f73b..e3ede3ff9 100644 --- a/kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0179-mm-Enable-SLUB-for-RT.patch @@ -1,7 +1,7 @@ -From 8413a4f4a49b714a861e6daf4203d6ff67656e33 Mon Sep 17 00:00:00 2001 +From 59431238576a6ad2a5ce71a5422a61c48036c78a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 25 Oct 2012 10:32:35 +0100 -Subject: [PATCH 181/418] mm: Enable SLUB for RT +Subject: [PATCH 179/414] mm: Enable SLUB for RT Make SLUB RT aware by converting locks to raw and using free lists to move the freeing out of the lock held region. @@ -29,7 +29,7 @@ index 485d9fbb8802..f3b06c48bf39 100644 #ifdef CONFIG_SLAB struct list_head slabs_partial; /* partial list first, better asm code */ diff --git a/mm/slub.c b/mm/slub.c -index 41c01690d116..1ceb0403223c 100644 +index c38e71cea6d3..91d46992fa59 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1179,7 +1179,7 @@ static noinline int free_debug_processing( @@ -477,5 +477,5 @@ index 41c01690d116..1ceb0403223c 100644 for (i = 0; i < t.count; i++) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch b/kernel/patches-4.14.x-rt/0180-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch similarity index 81% rename from kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch rename to kernel/patches-4.14.x-rt/0180-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch index 9056b7116..62d653f92 100644 --- a/kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch +++ b/kernel/patches-4.14.x-rt/0180-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch @@ -1,7 +1,7 @@ -From 812cb57012046a332fcdd26c92cb198399cfc016 Mon Sep 17 00:00:00 2001 +From ed5f196a25aba453066d555488889cdc96e2453d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Dec 2017 12:44:14 +0100 -Subject: [PATCH 182/418] mm/slub: close possible memory-leak in +Subject: [PATCH 180/414] mm/slub: close possible memory-leak in kmem_cache_alloc_bulk() Under certain circumstances we could leak elements which were moved to @@ -15,7 +15,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+) diff --git a/mm/slub.c b/mm/slub.c -index 1ceb0403223c..8f96aa380e50 100644 +index 91d46992fa59..9751f258d06a 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -3218,6 +3218,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, @@ -27,5 +27,5 @@ index 1ceb0403223c..8f96aa380e50 100644 __kmem_cache_free_bulk(s, i, p); return 0; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch b/kernel/patches-4.14.x-rt/0181-slub-Enable-irqs-for-__GFP_WAIT.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch rename to kernel/patches-4.14.x-rt/0181-slub-Enable-irqs-for-__GFP_WAIT.patch index dfdf4c1e0..9c2bec39b 100644 --- a/kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch +++ b/kernel/patches-4.14.x-rt/0181-slub-Enable-irqs-for-__GFP_WAIT.patch @@ -1,7 +1,7 @@ -From 3eec9b2afe59c38e58807a59573575e3bfa05e8c Mon Sep 17 00:00:00 2001 +From 53f371be8bfb55e00290e7dbffc91a3528a3a44f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:08:15 +0100 -Subject: [PATCH 183/418] slub: Enable irqs for __GFP_WAIT +Subject: [PATCH 181/414] slub: Enable irqs for __GFP_WAIT SYSTEM_RUNNING might be too late for enabling interrupts. Allocations with GFP_WAIT can happen before that. So use this as an indicator. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/mm/slub.c b/mm/slub.c -index 8f96aa380e50..9ce21fa2c64c 100644 +index 9751f258d06a..6c238ee56667 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1567,14 +1567,17 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) @@ -49,5 +49,5 @@ index 8f96aa380e50..9ce21fa2c64c 100644 if (!page) return NULL; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch b/kernel/patches-4.14.x-rt/0182-slub-Disable-SLUB_CPU_PARTIAL.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch rename to kernel/patches-4.14.x-rt/0182-slub-Disable-SLUB_CPU_PARTIAL.patch index dc96b4efa..b611d1581 100644 --- a/kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch +++ b/kernel/patches-4.14.x-rt/0182-slub-Disable-SLUB_CPU_PARTIAL.patch @@ -1,7 +1,7 @@ -From 16f28c42ddc5195862ea1707e337bf66fd17a041 Mon Sep 17 00:00:00 2001 +From 5f9a254be47377af3cf57d1f3eabb4b500206136 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Apr 2015 19:00:47 +0200 -Subject: [PATCH 184/418] slub: Disable SLUB_CPU_PARTIAL +Subject: [PATCH 182/414] slub: Disable SLUB_CPU_PARTIAL |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 87, name: rcuop/7 @@ -49,5 +49,5 @@ index 0fa1ade4351a..bec5b4b82585 100644 help Per cpu partial caches accellerate objects allocation and freeing -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch b/kernel/patches-4.14.x-rt/0183-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch rename to kernel/patches-4.14.x-rt/0183-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch index 9a7e35dd5..63451c6be 100644 --- a/kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch +++ b/kernel/patches-4.14.x-rt/0183-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch @@ -1,7 +1,7 @@ -From 13f18992dc4bbd4f4b3c38c27894552079d010fa Mon Sep 17 00:00:00 2001 +From f647f702943a4c3d7417b80d59f2757e080b53ca Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 27 Sep 2012 11:11:46 +0200 -Subject: [PATCH 185/418] mm: page_alloc: Use local_lock_on() instead of plain +Subject: [PATCH 183/414] mm: page_alloc: Use local_lock_on() instead of plain spinlock The plain spinlock while sufficient does not update the local_lock @@ -29,5 +29,5 @@ index bd283d59632a..fa17845aa179 100644 # define cpu_lock_irqsave(cpu, flags) local_irq_save(flags) # define cpu_unlock_irqrestore(cpu, flags) local_irq_restore(flags) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch rename to kernel/patches-4.14.x-rt/0184-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch index 48481f695..2a8273bf5 100644 --- a/kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch +++ b/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch @@ -1,7 +1,7 @@ -From cfb75611f3bfdf58de6a13cf8bc2db6469a1957a Mon Sep 17 00:00:00 2001 +From c62b1b6e4bbee9e9b1ce5215d1c6e8aa62072651 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Wed, 30 Oct 2013 11:48:33 -0700 -Subject: [PATCH 186/418] mm/memcontrol: Don't call schedule_work_on in +Subject: [PATCH 184/414] mm/memcontrol: Don't call schedule_work_on in preemption disabled context The following trace is triggered when running ltp oom test cases: @@ -48,7 +48,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 942d9342b63b..5468eb4e4d5a 100644 +index db69d938e9ed..2abadb2a78cc 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1831,7 +1831,7 @@ static void drain_all_stock(struct mem_cgroup *root_memcg) @@ -70,5 +70,5 @@ index 942d9342b63b..5468eb4e4d5a 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch b/kernel/patches-4.14.x-rt/0185-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch rename to kernel/patches-4.14.x-rt/0185-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch index a3cca22b6..9a5d5c3e5 100644 --- a/kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch +++ b/kernel/patches-4.14.x-rt/0185-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch @@ -1,7 +1,7 @@ -From 8769eb7c2ad5dd6d9387aea5b1fb42cb0d1fa92e Mon Sep 17 00:00:00 2001 +From 81a45d050a92d7bacd31bfb536d6ea7531ec8fb1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Jan 2015 17:14:16 +0100 -Subject: [PATCH 187/418] mm/memcontrol: Replace local_irq_disable with local +Subject: [PATCH 185/414] mm/memcontrol: Replace local_irq_disable with local locks There are a few local_irq_disable() which then take sleeping locks. This @@ -13,7 +13,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 5468eb4e4d5a..9458de860e41 100644 +index 2abadb2a78cc..0e08c9b7d704 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -69,6 +69,7 @@ @@ -119,5 +119,5 @@ index 5468eb4e4d5a..9458de860e41 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch b/kernel/patches-4.14.x-rt/0186-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch rename to kernel/patches-4.14.x-rt/0186-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch index e6d172091..341476388 100644 --- a/kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch +++ b/kernel/patches-4.14.x-rt/0186-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch @@ -1,7 +1,7 @@ -From db6eb2905a4257778c80e727187197abdc2635c5 Mon Sep 17 00:00:00 2001 +From 03887bdf17a00d8be96c0f0f1063172c933ee06d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 5 Feb 2016 12:17:14 +0100 -Subject: [PATCH 188/418] mm: backing-dev: don't disable IRQs in +Subject: [PATCH 186/414] mm: backing-dev: don't disable IRQs in wb_congested_put() it triggers: @@ -28,10 +28,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c -index 6774e0369ebe..69a7a05f311f 100644 +index 9386c98dac12..5e9d804c37cb 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c -@@ -483,9 +483,9 @@ void wb_congested_put(struct bdi_writeback_congested *congested) +@@ -470,9 +470,9 @@ void wb_congested_put(struct bdi_writeback_congested *congested) { unsigned long flags; @@ -44,5 +44,5 @@ index 6774e0369ebe..69a7a05f311f 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch b/kernel/patches-4.14.x-rt/0187-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch rename to kernel/patches-4.14.x-rt/0187-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch index ab853d901..31c9276ae 100644 --- a/kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch +++ b/kernel/patches-4.14.x-rt/0187-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch @@ -1,7 +1,7 @@ -From 7414988a2b35136e0c8b73ac8a24d6eabc60939b Mon Sep 17 00:00:00 2001 +From af07d86bbb9f244b3f576726395ed6dc6dc38450 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Tue, 22 Mar 2016 11:16:09 +0100 -Subject: [PATCH 189/418] mm/zsmalloc: copy with get_cpu_var() and locking +Subject: [PATCH 187/414] mm/zsmalloc: copy with get_cpu_var() and locking get_cpu_var() disables preemption and triggers a might_sleep() splat later. This is replaced with get_locked_var(). @@ -198,5 +198,5 @@ index 685049a9048d..8d1489fd1dbc 100644 migrate_read_unlock(zspage); unpin_tag(handle); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch b/kernel/patches-4.14.x-rt/0188-radix-tree-use-local-locks.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch rename to kernel/patches-4.14.x-rt/0188-radix-tree-use-local-locks.patch index bd05c6ecf..2d620ac06 100644 --- a/kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0188-radix-tree-use-local-locks.patch @@ -1,7 +1,7 @@ -From fd6c6558bb3bf8254b405dc12a0692994585d9bd Mon Sep 17 00:00:00 2001 +From 3b0bc674ab58f2b7eac2f2715899e6937f59ebbd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 25 Jan 2017 16:34:27 +0100 -Subject: [PATCH 190/418] radix-tree: use local locks +Subject: [PATCH 188/414] radix-tree: use local locks The preload functionality uses per-CPU variables and preempt-disable to ensure that it does not switch CPUs during its usage. This patch adds @@ -171,5 +171,5 @@ index d172f0341b80..c1da1109a107 100644 if (!this_cpu_read(ida_bitmap)) { struct ida_bitmap *bitmap = kmalloc(sizeof(*bitmap), gfp); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch b/kernel/patches-4.14.x-rt/0189-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch rename to kernel/patches-4.14.x-rt/0189-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch index 2dec60cfb..8e07ea05d 100644 --- a/kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch +++ b/kernel/patches-4.14.x-rt/0189-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch @@ -1,7 +1,7 @@ -From fa6fa789d341762ed6eefe2d7d3e2d878e863c79 Mon Sep 17 00:00:00 2001 +From daef472c39406fb24e38084be2cd123782bbee80 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 191/418] panic: skip get_random_bytes for RT_FULL in +Subject: [PATCH 189/414] panic: skip get_random_bytes for RT_FULL in init_oops_id Disable on -RT. If this is invoked from irq-context we will have problems @@ -29,5 +29,5 @@ index bdd18afa19a4..5da649633795 100644 return 0; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch b/kernel/patches-4.14.x-rt/0190-timers-Prepare-for-full-preemption.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch rename to kernel/patches-4.14.x-rt/0190-timers-Prepare-for-full-preemption.patch index eebf6e34e..791c86c9e 100644 --- a/kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0190-timers-Prepare-for-full-preemption.patch @@ -1,7 +1,7 @@ -From e0eca80d90997630e795b3162c228f8e839aafcd Mon Sep 17 00:00:00 2001 +From eaf84ea3a12c035efaf3b18e0f9841e31c1b4916 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 192/418] timers: Prepare for full preemption +Subject: [PATCH 190/414] timers: Prepare for full preemption When softirqs can be preempted we need to make sure that cancelling the timer from the active thread can not deadlock vs. a running timer @@ -29,7 +29,7 @@ index e0ea1fe87572..df3085ddf662 100644 #else # define del_timer_sync(t) del_timer(t) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index c4902d17faf1..7165f902d7e5 100644 +index a85c4bf6e66f..4ce51d64b88b 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -523,11 +523,14 @@ void resched_cpu(int cpu) @@ -171,5 +171,5 @@ index 34415f2b3f04..3866d537f109 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/kernel/patches-4.14.x-rt/0191-timer-delay-waking-softirqs-from-the-jiffy-tick.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch rename to kernel/patches-4.14.x-rt/0191-timer-delay-waking-softirqs-from-the-jiffy-tick.patch index 6b8ed2de5..cd355bbd4 100644 --- a/kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch +++ b/kernel/patches-4.14.x-rt/0191-timer-delay-waking-softirqs-from-the-jiffy-tick.patch @@ -1,7 +1,7 @@ -From 95fa3e6e0e1b84c76e91b17956e24889e99bb128 Mon Sep 17 00:00:00 2001 +From 074660f4db8ff4bf7e5145686003e7ec207c99dd Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 21 Aug 2009 11:56:45 +0200 -Subject: [PATCH 193/418] timer: delay waking softirqs from the jiffy tick +Subject: [PATCH 191/414] timer: delay waking softirqs from the jiffy tick People were complaining about broken balancing with the recent -rt series. @@ -76,5 +76,5 @@ index 3866d537f109..464aee26ef2b 100644 run_posix_cpu_timers(p); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch b/kernel/patches-4.14.x-rt/0192-nohz-Prevent-erroneous-tick-stop-invocations.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch rename to kernel/patches-4.14.x-rt/0192-nohz-Prevent-erroneous-tick-stop-invocations.patch index 8ef4ee5a6..4af7a3849 100644 --- a/kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch +++ b/kernel/patches-4.14.x-rt/0192-nohz-Prevent-erroneous-tick-stop-invocations.patch @@ -1,7 +1,7 @@ -From 014d9f7e1016371610b7f9b0bc59b863dcd139a2 Mon Sep 17 00:00:00 2001 +From 8d8244338713db1dea1a6f9a99d18dc555e702a4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:13 +0100 -Subject: [PATCH 194/418] nohz: Prevent erroneous tick stop invocations +Subject: [PATCH 192/414] nohz: Prevent erroneous tick stop invocations The conditions in irq_exit() to invoke tick_nohz_irq_exit() are: @@ -55,5 +55,5 @@ index 359cec869172..0f84f2a8f564 100644 tick_nohz_irq_exit(); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch b/kernel/patches-4.14.x-rt/0193-x86-kvm-Require-const-tsc-for-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch rename to kernel/patches-4.14.x-rt/0193-x86-kvm-Require-const-tsc-for-RT.patch index 22f3d747e..d2b2cbd18 100644 --- a/kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0193-x86-kvm-Require-const-tsc-for-RT.patch @@ -1,7 +1,7 @@ -From 0b235ed12830b342a94bdb008b2011b5fd3eda1b Mon Sep 17 00:00:00 2001 +From c5b5aea783d373c436c9793a47739b72e62422d6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 6 Nov 2011 12:26:18 +0100 -Subject: [PATCH 195/418] x86: kvm Require const tsc for RT +Subject: [PATCH 193/414] x86: kvm Require const tsc for RT Non constant TSC is a nightmare on bare metal already, but with virtualization it becomes a complete disaster because the workarounds @@ -32,5 +32,5 @@ index 2f3fe25639b3..f1bd2c2c5c04 100644 if (r) goto out_free_percpu; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0194-wait.h-include-atomic.h.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0194-wait.h-include-atomic.h.patch index 3a9942fdd..e8568c17c 100644 --- a/kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0194-wait.h-include-atomic.h.patch @@ -1,7 +1,7 @@ -From fd7af201b9073738d06335b8559cdea3ea14343e Mon Sep 17 00:00:00 2001 +From 759b3af9507fccfe13d14ec2edf792e8f92cac6b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 28 Oct 2013 12:19:57 +0100 -Subject: [PATCH 196/418] wait.h: include atomic.h +Subject: [PATCH 194/414] wait.h: include atomic.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -37,5 +37,5 @@ index 158715445ffb..49543ae3dc5f 100644 typedef struct wait_queue_entry wait_queue_entry_t; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch b/kernel/patches-4.14.x-rt/0195-work-simple-Simple-work-queue-implemenation.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch rename to kernel/patches-4.14.x-rt/0195-work-simple-Simple-work-queue-implemenation.patch index e881329ab..b88863b84 100644 --- a/kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch +++ b/kernel/patches-4.14.x-rt/0195-work-simple-Simple-work-queue-implemenation.patch @@ -1,7 +1,7 @@ -From 0e3ff12261ffc80a8549333d23581752d3270e06 Mon Sep 17 00:00:00 2001 +From e9cf87007ef1fafa6f7fd8537f75fbc8244ba2db Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 11 Jul 2014 15:26:11 +0200 -Subject: [PATCH 197/418] work-simple: Simple work queue implemenation +Subject: [PATCH 195/414] work-simple: Simple work queue implemenation Provides a framework for enqueuing callbacks from irq context PREEMPT_RT_FULL safe. The callbacks are executed in kthread context. @@ -241,5 +241,5 @@ index 000000000000..1950f40ca725 +} +EXPORT_SYMBOL_GPL(swork_put); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch b/kernel/patches-4.14.x-rt/0196-completion-Use-simple-wait-queues.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch rename to kernel/patches-4.14.x-rt/0196-completion-Use-simple-wait-queues.patch index 4fd6365c7..0118cfec3 100644 --- a/kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch +++ b/kernel/patches-4.14.x-rt/0196-completion-Use-simple-wait-queues.patch @@ -1,7 +1,7 @@ -From cd9abf8c866842fbea77bba2156470d415b1b78d Mon Sep 17 00:00:00 2001 +From 4d71a8d1cea969dfc8dabeb1026fdf631a1f4008 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 11 Jan 2013 11:23:51 +0100 -Subject: [PATCH 198/418] completion: Use simple wait queues +Subject: [PATCH 196/414] completion: Use simple wait queues Completions have no long lasting callbacks and therefor do not need the complex waitqueue variant. Use simple waitqueues which reduces the @@ -36,7 +36,7 @@ index 56f6e3b71f48..a50350d01a80 100644 } break; diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c -index 7b53ac548b1a..43c941e1309e 100644 +index 52e6897fa35a..d9f2040c10f2 100644 --- a/drivers/usb/gadget/function/f_fs.c +++ b/drivers/usb/gadget/function/f_fs.c @@ -1613,7 +1613,7 @@ static void ffs_data_put(struct ffs_data *ffs) @@ -308,10 +308,10 @@ index 2ddaec40956f..0fe2982e46a0 100644 } EXPORT_SYMBOL(completion_done); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 7165f902d7e5..0666ef750d4d 100644 +index 4ce51d64b88b..0e27158e4083 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6802,7 +6802,10 @@ void migrate_disable(void) +@@ -6819,7 +6819,10 @@ void migrate_disable(void) return; } #ifdef CONFIG_SCHED_DEBUG @@ -323,7 +323,7 @@ index 7165f902d7e5..0666ef750d4d 100644 #endif if (p->migrate_disable) { -@@ -6832,7 +6835,10 @@ void migrate_enable(void) +@@ -6849,7 +6852,10 @@ void migrate_enable(void) } #ifdef CONFIG_SCHED_DEBUG @@ -374,5 +374,5 @@ index 9ff1555341ed..7006375949c2 100644 { unsigned long flags; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch b/kernel/patches-4.14.x-rt/0197-fs-aio-simple-simple-work.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch rename to kernel/patches-4.14.x-rt/0197-fs-aio-simple-simple-work.patch index 2bb51bbac..4b7cb431f 100644 --- a/kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch +++ b/kernel/patches-4.14.x-rt/0197-fs-aio-simple-simple-work.patch @@ -1,7 +1,7 @@ -From 5539000c7f374090a8b4da17d8995189a58e0062 Mon Sep 17 00:00:00 2001 +From ea5c9dfac00b4724e153989456d213ff87d8e45d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 16 Feb 2015 18:49:10 +0100 -Subject: [PATCH 199/418] fs/aio: simple simple work +Subject: [PATCH 197/414] fs/aio: simple simple work |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:768 |in_atomic(): 1, irqs_disabled(): 0, pid: 26, name: rcuos/2 @@ -84,5 +84,5 @@ index 3a749c3a92e3..24c6ceadaae6 100644 { unsigned i, new_nr; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch b/kernel/patches-4.14.x-rt/0198-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch rename to kernel/patches-4.14.x-rt/0198-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch index f3a8aeb54..0ed9863b0 100644 --- a/kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch +++ b/kernel/patches-4.14.x-rt/0198-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch @@ -1,7 +1,7 @@ -From 89959ac75eca32449dc0aa5228daeaaa222ef7a8 Mon Sep 17 00:00:00 2001 +From 686dd0c3355ad81b1b8c70680c36248cb029bf0a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Aug 2013 17:48:46 +0200 -Subject: [PATCH 200/418] genirq: Do not invoke the affinity callback via a +Subject: [PATCH 198/414] genirq: Do not invoke the affinity callback via a workqueue on RT Joe Korty reported, that __irq_set_affinity_locked() schedules a @@ -126,5 +126,5 @@ index 6d1f321152d0..5007ea8ac740 100644 raw_spin_lock_irqsave(&desc->lock, flags); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch b/kernel/patches-4.14.x-rt/0199-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch rename to kernel/patches-4.14.x-rt/0199-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch index a4af5bbc1..e79090d48 100644 --- a/kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch +++ b/kernel/patches-4.14.x-rt/0199-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch @@ -1,7 +1,7 @@ -From 9fbfbd0ccb1273c4c9da14975860b0d7d7907c93 Mon Sep 17 00:00:00 2001 +From c310590bd1a8f8a10321e6f29c5cf3f8da2059fd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Nov 2017 17:29:51 +0100 -Subject: [PATCH 201/418] time/hrtimer: avoid schedule_work() with interrupts +Subject: [PATCH 199/414] time/hrtimer: avoid schedule_work() with interrupts disabled The NOHZ code tries to schedule a workqueue with interrupts disabled. @@ -55,5 +55,5 @@ index 464aee26ef2b..ced791c0b47b 100644 void __user *buffer, size_t *lenp, loff_t *ppos) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch b/kernel/patches-4.14.x-rt/0200-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch rename to kernel/patches-4.14.x-rt/0200-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch index e70c2a583..d5a1807fc 100644 --- a/kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch +++ b/kernel/patches-4.14.x-rt/0200-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch @@ -1,7 +1,7 @@ -From 59e6eab380e76c7c687cdaa51957f0096ce0800a Mon Sep 17 00:00:00 2001 +From 2c212a81aa3813f0e9e68e35f2932ed029459b24 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Sep 2017 18:31:50 +0200 -Subject: [PATCH 202/418] hrtimer: consolidate hrtimer_init() + +Subject: [PATCH 200/414] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls hrtimer_init_sleeper() calls require a prior initialisation of the @@ -258,5 +258,5 @@ index 6e1e10ff433a..c1ae4075e0ed 100644 set_current_state(TASK_INTERRUPTIBLE); hrtimer_start_expires(&t.timer, HRTIMER_MODE_ABS); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch b/kernel/patches-4.14.x-rt/0201-hrtimers-Prepare-full-preemption.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch rename to kernel/patches-4.14.x-rt/0201-hrtimers-Prepare-full-preemption.patch index eb4cda870..c182c199a 100644 --- a/kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0201-hrtimers-Prepare-full-preemption.patch @@ -1,7 +1,7 @@ -From 9fe3837362e821d29a074597feed4f53fffc4606 Mon Sep 17 00:00:00 2001 +From 40c4114e9789ff79b4472ef2d2f7973dcc07043f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 203/418] hrtimers: Prepare full preemption +Subject: [PATCH 201/414] hrtimers: Prepare full preemption Make cancellation of a running callback in softirq context safe against preemption. @@ -219,5 +219,5 @@ index f5392262fb77..f357877f0cb7 100644 } list_del(&timer->list); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch b/kernel/patches-4.14.x-rt/0202-hrtimer-by-timers-by-default-into-the-softirq-contex.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch rename to kernel/patches-4.14.x-rt/0202-hrtimer-by-timers-by-default-into-the-softirq-contex.patch index 35dec68c2..651a61d58 100644 --- a/kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch +++ b/kernel/patches-4.14.x-rt/0202-hrtimer-by-timers-by-default-into-the-softirq-contex.patch @@ -1,7 +1,7 @@ -From 032774b680f769129e1241dd0031aa5bc1da609a Mon Sep 17 00:00:00 2001 +From b8caa2610ce5ba57f973a745413fb378bfdb1402 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 3 Jul 2009 08:44:31 -0500 -Subject: [PATCH 204/418] hrtimer: by timers by default into the softirq +Subject: [PATCH 202/414] hrtimer: by timers by default into the softirq context We can't have hrtimers callbacks running in hardirq context on RT. Therefore @@ -86,7 +86,7 @@ index 7c394ddf1ce6..178d9c5feb62 100644 /* diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 0666ef750d4d..407a4859c3fc 100644 +index 0e27158e4083..a4b8316cdab5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -341,7 +341,7 @@ static void init_rq_hrtick(struct rq *rq) @@ -233,5 +233,5 @@ index c8e06703e44c..1c6188a15481 100644 hrtimer_start(hrtimer, ns_to_ktime(sample_period), HRTIMER_MODE_REL_PINNED); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch b/kernel/patches-4.14.x-rt/0203-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch rename to kernel/patches-4.14.x-rt/0203-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch index 6c9c2d96c..c3e954826 100644 --- a/kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch +++ b/kernel/patches-4.14.x-rt/0203-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch @@ -1,7 +1,7 @@ -From da8fb3d08ef9e0c0cac5fffe80b3cae8055421fe Mon Sep 17 00:00:00 2001 +From a18815594532533cf9acdf9c1f7f039d4937c6ac Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 27 Mar 2018 15:58:16 +0200 -Subject: [PATCH 205/418] alarmtimer: Prevent live lock in alarm_cancel() +Subject: [PATCH 203/414] alarmtimer: Prevent live lock in alarm_cancel() If alarm_try_to_cancel() requires a retry, then depending on the priority setting the retry loop might prevent timer callback completion @@ -28,5 +28,5 @@ index 639321bf2e39..0c7227f89349 100644 } EXPORT_SYMBOL_GPL(alarm_cancel); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch b/kernel/patches-4.14.x-rt/0204-posix-timers-user-proper-timer-while-waiting-for-ala.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch rename to kernel/patches-4.14.x-rt/0204-posix-timers-user-proper-timer-while-waiting-for-ala.patch index 5927fa4e1..e54e38b25 100644 --- a/kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch +++ b/kernel/patches-4.14.x-rt/0204-posix-timers-user-proper-timer-while-waiting-for-ala.patch @@ -1,7 +1,7 @@ -From 70736c7cbb8459c795d3127633400c54635af5cb Mon Sep 17 00:00:00 2001 +From e43be478160f9860d2691e7b3b3a6a474330a801 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 10:45:40 +0200 -Subject: [PATCH 206/418] posix-timers: user proper timer while waiting for +Subject: [PATCH 204/414] posix-timers: user proper timer while waiting for alarmtimer On RT the timer can be preempted while running and therefore we wait @@ -71,5 +71,5 @@ index f357877f0cb7..f3371482fc6a 100644 { return hrtimer_try_to_cancel(&timr->it.real.timer); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch b/kernel/patches-4.14.x-rt/0205-posix-timers-move-the-rcu-head-out-of-the-union.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch rename to kernel/patches-4.14.x-rt/0205-posix-timers-move-the-rcu-head-out-of-the-union.patch index 50919b101..89c3923ef 100644 --- a/kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch +++ b/kernel/patches-4.14.x-rt/0205-posix-timers-move-the-rcu-head-out-of-the-union.patch @@ -1,7 +1,7 @@ -From 3abe9a70147b6b03240f79383f115122d907fce5 Mon Sep 17 00:00:00 2001 +From 1bcd91741c38f5243f9a70517dd3018b1258a244 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 11:15:19 +0200 -Subject: [PATCH 207/418] posix-timers: move the rcu head out of the union +Subject: [PATCH 205/414] posix-timers: move the rcu head out of the union On RT the timer can be preempted while running and therefore we wait with timer_wait_for_callback() for the timer to complete (instead of @@ -56,5 +56,5 @@ index f3371482fc6a..c5866984f12d 100644 static int common_timer_create(struct k_itimer *new_timer) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch b/kernel/patches-4.14.x-rt/0206-hrtimer-Move-schedule_work-call-to-helper-thread.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch rename to kernel/patches-4.14.x-rt/0206-hrtimer-Move-schedule_work-call-to-helper-thread.patch index 8a89f25dd..45d257198 100644 --- a/kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch +++ b/kernel/patches-4.14.x-rt/0206-hrtimer-Move-schedule_work-call-to-helper-thread.patch @@ -1,7 +1,7 @@ -From deb4a033a8fe1e811d308a11bae5b04e903de032 Mon Sep 17 00:00:00 2001 +From 1e539f5c60cf22963ee0965f240613c32096418a Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Mon, 16 Sep 2013 14:09:19 -0700 -Subject: [PATCH 208/418] hrtimer: Move schedule_work call to helper thread +Subject: [PATCH 206/414] hrtimer: Move schedule_work call to helper thread When run ltp leapsec_timer test, the following call trace is caught: @@ -93,5 +93,5 @@ index ec9f271aa437..f824b9721ce7 100644 #else -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch b/kernel/patches-4.14.x-rt/0207-timer-fd-Prevent-live-lock.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch rename to kernel/patches-4.14.x-rt/0207-timer-fd-Prevent-live-lock.patch index 4ea3e2f5c..4a69c066a 100644 --- a/kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch +++ b/kernel/patches-4.14.x-rt/0207-timer-fd-Prevent-live-lock.patch @@ -1,7 +1,7 @@ -From fd9eb6fb96e906f71d7541dd5af711d935a7742d Mon Sep 17 00:00:00 2001 +From 8bfefaf19ca15690862c7a5750c63a45037a04e3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 25 Jan 2012 11:08:40 +0100 -Subject: [PATCH 209/418] timer-fd: Prevent live lock +Subject: [PATCH 207/414] timer-fd: Prevent live lock If hrtimer_try_to_cancel() requires a retry, then depending on the priority setting te retry loop might prevent timer callback completion @@ -31,5 +31,5 @@ index 040612ec9598..b3d9d435926c 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch b/kernel/patches-4.14.x-rt/0208-posix-timers-Thread-posix-cpu-timers-on-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch rename to kernel/patches-4.14.x-rt/0208-posix-timers-Thread-posix-cpu-timers-on-rt.patch index bd5d870aa..69cdab5a9 100644 --- a/kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0208-posix-timers-Thread-posix-cpu-timers-on-rt.patch @@ -1,7 +1,7 @@ -From df9b26f1fe9feb14ac312c5dc2f1777ac176ac02 Mon Sep 17 00:00:00 2001 +From 22b68305265755feb15542c4e41b1a9e867229ca Mon Sep 17 00:00:00 2001 From: John Stultz Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 210/418] posix-timers: Thread posix-cpu-timers on -rt +Subject: [PATCH 208/414] posix-timers: Thread posix-cpu-timers on -rt posix-cpu-timer code takes non -rt safe locks in hard irq context. Move it to a thread. @@ -281,5 +281,5 @@ index 5b117110b55b..47d063c4ed03 100644 * Set one of the process-wide special case CPU timers or RLIMIT_CPU. * The tsk->sighand->siglock must be held by the caller. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch b/kernel/patches-4.14.x-rt/0209-sched-Move-task_struct-cleanup-to-RCU.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch rename to kernel/patches-4.14.x-rt/0209-sched-Move-task_struct-cleanup-to-RCU.patch index 9b182bc04..9a16515c6 100644 --- a/kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch +++ b/kernel/patches-4.14.x-rt/0209-sched-Move-task_struct-cleanup-to-RCU.patch @@ -1,7 +1,7 @@ -From 4852bbccd40cb783b3e65da07f7003160d3ad62a Mon Sep 17 00:00:00 2001 +From f9e4fa1e9b5f49c8ccc218832f44dc85cf2216c1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 May 2011 16:59:16 +0200 -Subject: [PATCH 211/418] sched: Move task_struct cleanup to RCU +Subject: [PATCH 209/414] sched: Move task_struct cleanup to RCU __put_task_struct() does quite some expensive work. We don't want to burden random tasks with that. @@ -28,7 +28,7 @@ index d1e0ea1dfe71..84332b5139b5 100644 unsigned long task_state_change; #endif diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h -index 05b8650f06f5..50513c8c002f 100644 +index a74ec619ac51..8e7f741370c5 100644 --- a/include/linux/sched/task.h +++ b/include/linux/sched/task.h @@ -88,6 +88,15 @@ extern void sched_exec(void); @@ -91,5 +91,5 @@ index 00c3a42d681b..110d2d9b6421 100644 void __init __weak arch_task_cache_init(void) { } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch b/kernel/patches-4.14.x-rt/0210-sched-Limit-the-number-of-task-migrations-per-batch.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch rename to kernel/patches-4.14.x-rt/0210-sched-Limit-the-number-of-task-migrations-per-batch.patch index 57397bba9..27ecb13e5 100644 --- a/kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch +++ b/kernel/patches-4.14.x-rt/0210-sched-Limit-the-number-of-task-migrations-per-batch.patch @@ -1,7 +1,7 @@ -From a931d63d7dfcbfc601eec9dda60eb254ed429f07 Mon Sep 17 00:00:00 2001 +From bcb95ecf8a91b3689118accccaca5a686996c165 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:12:51 +0200 -Subject: [PATCH 212/418] sched: Limit the number of task migrations per batch +Subject: [PATCH 210/414] sched: Limit the number of task migrations per batch Put an upper limit on the number of tasks which are migrated per batch to avoid large latencies. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 4 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 407a4859c3fc..8eed4a2451c3 100644 +index a4b8316cdab5..db71db21f52c 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -59,7 +59,11 @@ const_debug unsigned int sysctl_sched_features = @@ -28,5 +28,5 @@ index 407a4859c3fc..8eed4a2451c3 100644 /* * period over which we average the RT time consumption, measured -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch b/kernel/patches-4.14.x-rt/0211-sched-Move-mmdrop-to-RCU-on-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch rename to kernel/patches-4.14.x-rt/0211-sched-Move-mmdrop-to-RCU-on-RT.patch index b159f617f..303146045 100644 --- a/kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0211-sched-Move-mmdrop-to-RCU-on-RT.patch @@ -1,7 +1,7 @@ -From 3165ac26cbf2ebd2e959428bc4086c17cd10ecb7 Mon Sep 17 00:00:00 2001 +From de2bfc62dbacc14cca344dbf9c7d03c2a7707804 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:20:33 +0200 -Subject: [PATCH 213/418] sched: Move mmdrop to RCU on RT +Subject: [PATCH 211/414] sched: Move mmdrop to RCU on RT Takes sleeping locks and calls into the memory allocator, so nothing we want to do in task switch and oder atomic contexts. @@ -83,10 +83,10 @@ index 110d2d9b6421..a55e0ac401ab 100644 { VM_BUG_ON(atomic_read(&mm->mm_users)); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 8eed4a2451c3..093cf0d18005 100644 +index db71db21f52c..bbc54f9048c3 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2696,8 +2696,12 @@ static struct rq *finish_task_switch(struct task_struct *prev) +@@ -2713,8 +2713,12 @@ static struct rq *finish_task_switch(struct task_struct *prev) finish_arch_post_lock_switch(); fire_sched_in_preempt_notifiers(current); @@ -100,7 +100,7 @@ index 8eed4a2451c3..093cf0d18005 100644 if (unlikely(prev_state == TASK_DEAD)) { if (prev->sched_class->task_dead) prev->sched_class->task_dead(prev); -@@ -5419,6 +5423,8 @@ void sched_setnuma(struct task_struct *p, int nid) +@@ -5436,6 +5440,8 @@ void sched_setnuma(struct task_struct *p, int nid) #endif /* CONFIG_NUMA_BALANCING */ #ifdef CONFIG_HOTPLUG_CPU @@ -109,7 +109,7 @@ index 8eed4a2451c3..093cf0d18005 100644 /* * Ensure that the idle task is using init_mm right before its CPU goes * offline. -@@ -5433,7 +5439,12 @@ void idle_task_exit(void) +@@ -5450,7 +5456,12 @@ void idle_task_exit(void) switch_mm(mm, &init_mm, current); finish_arch_post_lock_switch(); } @@ -123,7 +123,7 @@ index 8eed4a2451c3..093cf0d18005 100644 } /* -@@ -5736,6 +5747,10 @@ int sched_cpu_dying(unsigned int cpu) +@@ -5753,6 +5764,10 @@ int sched_cpu_dying(unsigned int cpu) update_max_interval(); nohz_balance_exit_idle(cpu); hrtick_clear(rq); @@ -135,5 +135,5 @@ index 8eed4a2451c3..093cf0d18005 100644 } #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch b/kernel/patches-4.14.x-rt/0212-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch rename to kernel/patches-4.14.x-rt/0212-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch index bada9cdb2..714267fc3 100644 --- a/kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch +++ b/kernel/patches-4.14.x-rt/0212-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch @@ -1,7 +1,7 @@ -From b661efa497788a37784b46a6b72e3a8a70b36fb8 Mon Sep 17 00:00:00 2001 +From f2374b53ef30d0c2352ba947e1be3cf7d2e9ab48 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Nov 2016 19:31:08 +0100 -Subject: [PATCH 214/418] kernel/sched: move stack + kprobe clean up to +Subject: [PATCH 212/414] kernel/sched: move stack + kprobe clean up to __put_task_struct() There is no need to free the stack before the task struct. This also @@ -44,10 +44,10 @@ index a55e0ac401ab..fe48256ed179 100644 task_numa_free(tsk); security_task_free(tsk); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 093cf0d18005..60afad464ffd 100644 +index bbc54f9048c3..bc209b3994f2 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2706,15 +2706,6 @@ static struct rq *finish_task_switch(struct task_struct *prev) +@@ -2723,15 +2723,6 @@ static struct rq *finish_task_switch(struct task_struct *prev) if (prev->sched_class->task_dead) prev->sched_class->task_dead(prev); @@ -64,5 +64,5 @@ index 093cf0d18005..60afad464ffd 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch b/kernel/patches-4.14.x-rt/0213-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch rename to kernel/patches-4.14.x-rt/0213-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch index 9fc925335..479615893 100644 --- a/kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch +++ b/kernel/patches-4.14.x-rt/0213-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch @@ -1,7 +1,7 @@ -From 83bc93a1cfa5f492a7238f284a61d000971a44db Mon Sep 17 00:00:00 2001 +From 1cf9026cb92cec557c31d0f5f3d861076cec78a0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 25 Jun 2011 09:21:04 +0200 -Subject: [PATCH 215/418] sched: Add saved_state for tasks blocked on sleeping +Subject: [PATCH 213/414] sched: Add saved_state for tasks blocked on sleeping locks Spinlocks are state preserving in !RT. RT changes the state when a @@ -39,10 +39,10 @@ index 84332b5139b5..cc5e4a3c2c63 100644 #ifdef CONFIG_SMP diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 60afad464ffd..4141cb4bd43e 100644 +index bc209b3994f2..f6eb8d150a53 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2016,8 +2016,25 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) +@@ -2033,8 +2033,25 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) */ raw_spin_lock_irqsave(&p->pi_lock, flags); smp_mb__after_spinlock(); @@ -69,7 +69,7 @@ index 60afad464ffd..4141cb4bd43e 100644 trace_sched_waking(p); -@@ -2181,6 +2198,18 @@ int wake_up_process(struct task_struct *p) +@@ -2198,6 +2215,18 @@ int wake_up_process(struct task_struct *p) } EXPORT_SYMBOL(wake_up_process); @@ -101,5 +101,5 @@ index b29376169f3f..ace39806bff8 100644 /* * To aid in avoiding the subversion of "niceness" due to uneven distribution -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch b/kernel/patches-4.14.x-rt/0214-sched-Prevent-task-state-corruption-by-spurious-lock.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch rename to kernel/patches-4.14.x-rt/0214-sched-Prevent-task-state-corruption-by-spurious-lock.patch index 9d5be0805..7ba396cd7 100644 --- a/kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch +++ b/kernel/patches-4.14.x-rt/0214-sched-Prevent-task-state-corruption-by-spurious-lock.patch @@ -1,7 +1,7 @@ -From 9050d1464fcf81c34169cedd554b304fb36feb64 Mon Sep 17 00:00:00 2001 +From 749dfc8310318edcb55fa2ab20a41aada2af775e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Jun 2017 14:20:37 +0200 -Subject: [PATCH 216/418] sched: Prevent task state corruption by spurious lock +Subject: [PATCH 214/414] sched: Prevent task state corruption by spurious lock wakeup Mathias and others reported GDB failures on RT. @@ -67,10 +67,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 4141cb4bd43e..da54c55e3201 100644 +index f6eb8d150a53..32f291fe7959 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2207,7 +2207,7 @@ EXPORT_SYMBOL(wake_up_process); +@@ -2224,7 +2224,7 @@ EXPORT_SYMBOL(wake_up_process); */ int wake_up_lock_sleeper(struct task_struct *p) { @@ -80,5 +80,5 @@ index 4141cb4bd43e..da54c55e3201 100644 int wake_up_state(struct task_struct *p, unsigned int state) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch b/kernel/patches-4.14.x-rt/0215-sched-Remove-TASK_ALL.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch rename to kernel/patches-4.14.x-rt/0215-sched-Remove-TASK_ALL.patch index d668079dd..05570958f 100644 --- a/kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch +++ b/kernel/patches-4.14.x-rt/0215-sched-Remove-TASK_ALL.patch @@ -1,7 +1,7 @@ -From 4191a0b794cc6e7c5efe1cd1dec3a3a3267ee60e Mon Sep 17 00:00:00 2001 +From 94fce9b3e1dd5ac4f2b3fc8f0b548588783e6fd6 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 7 Jun 2017 10:12:45 +0200 -Subject: [PATCH 217/418] sched: Remove TASK_ALL +Subject: [PATCH 215/414] sched: Remove TASK_ALL It's unused: @@ -31,5 +31,5 @@ index cc5e4a3c2c63..03b85406312d 100644 /* get_task_state(): */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch b/kernel/patches-4.14.x-rt/0216-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch rename to kernel/patches-4.14.x-rt/0216-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch index 68ed40ea5..c2f45c5b7 100644 --- a/kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch +++ b/kernel/patches-4.14.x-rt/0216-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch @@ -1,7 +1,7 @@ -From 171b922be4ec407471da620953f3661f32f6147a Mon Sep 17 00:00:00 2001 +From 2d69de34c6fd6f08db2c84c9d5a8842e80bdef6c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 7 Jun 2011 09:19:06 +0200 -Subject: [PATCH 218/418] sched: Do not account rcu_preempt_depth on RT in +Subject: [PATCH 216/414] sched: Do not account rcu_preempt_depth on RT in might_sleep() RT changes the rcu_preempt_depth semantics, so we cannot check for it @@ -39,10 +39,10 @@ index a6ddc42f87a5..dbadbdbc8643 100644 /* Internal to kernel */ diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index da54c55e3201..732ab7a4e9e1 100644 +index 32f291fe7959..957477d98330 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6035,7 +6035,7 @@ void __init sched_init(void) +@@ -6052,7 +6052,7 @@ void __init sched_init(void) #ifdef CONFIG_DEBUG_ATOMIC_SLEEP static inline int preempt_count_equals(int preempt_offset) { @@ -52,5 +52,5 @@ index da54c55e3201..732ab7a4e9e1 100644 return (nested == preempt_offset); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch b/kernel/patches-4.14.x-rt/0217-sched-Take-RT-softirq-semantics-into-account-in-cond.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch rename to kernel/patches-4.14.x-rt/0217-sched-Take-RT-softirq-semantics-into-account-in-cond.patch index 46a4db113..359c43ef2 100644 --- a/kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch +++ b/kernel/patches-4.14.x-rt/0217-sched-Take-RT-softirq-semantics-into-account-in-cond.patch @@ -1,7 +1,7 @@ -From 25f3a0480131b904ba3d5eed87b8f0159db57df2 Mon Sep 17 00:00:00 2001 +From ce876eb2af2cdfc73c34a1db566b2edeb4c29a5c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Jul 2011 09:56:44 +0200 -Subject: [PATCH 219/418] sched: Take RT softirq semantics into account in +Subject: [PATCH 217/414] sched: Take RT softirq semantics into account in cond_resched() The softirq semantics work different on -RT. There is no SOFTIRQ_MASK in @@ -37,10 +37,10 @@ index 03b85406312d..209e71d83687 100644 static inline void cond_resched_rcu(void) { diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 732ab7a4e9e1..d70cdb20c79c 100644 +index 957477d98330..f6987f504b74 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -4931,6 +4931,7 @@ int __cond_resched_lock(spinlock_t *lock) +@@ -4948,6 +4948,7 @@ int __cond_resched_lock(spinlock_t *lock) } EXPORT_SYMBOL(__cond_resched_lock); @@ -48,7 +48,7 @@ index 732ab7a4e9e1..d70cdb20c79c 100644 int __sched __cond_resched_softirq(void) { BUG_ON(!in_softirq()); -@@ -4944,6 +4945,7 @@ int __sched __cond_resched_softirq(void) +@@ -4961,6 +4962,7 @@ int __sched __cond_resched_softirq(void) return 0; } EXPORT_SYMBOL(__cond_resched_softirq); @@ -57,5 +57,5 @@ index 732ab7a4e9e1..d70cdb20c79c 100644 /** * yield - yield the current processor to other threads. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch b/kernel/patches-4.14.x-rt/0218-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch rename to kernel/patches-4.14.x-rt/0218-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch index affbcd218..597c5aa04 100644 --- a/kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch +++ b/kernel/patches-4.14.x-rt/0218-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch @@ -1,7 +1,7 @@ -From 8d6c4c4bb91f590d26c3612e5419019161561e52 Mon Sep 17 00:00:00 2001 +From 3bdeab6360ada98e08b54988fee8550e21b7dbaf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:51:33 +0200 -Subject: [PATCH 220/418] sched: Use the proper LOCK_OFFSET for cond_resched() +Subject: [PATCH 218/414] sched: Use the proper LOCK_OFFSET for cond_resched() RT does not increment preempt count when a 'sleeping' spinlock is locked. Update PREEMPT_LOCK_OFFSET for that case. @@ -28,5 +28,5 @@ index 8681df8e1632..2d5d002e06c2 100644 /* * The preempt_count offset needed for things like: -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch b/kernel/patches-4.14.x-rt/0219-sched-Disable-TTWU_QUEUE-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch rename to kernel/patches-4.14.x-rt/0219-sched-Disable-TTWU_QUEUE-on-RT.patch index 966e184fb..6a3b74e52 100644 --- a/kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0219-sched-Disable-TTWU_QUEUE-on-RT.patch @@ -1,7 +1,7 @@ -From 7e65b37f070f8f74f117191faa3bb05c2a7a8ba0 Mon Sep 17 00:00:00 2001 +From 04c10a48d00536f0cd1ff9cbaf1390dd8d22a7e7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Sep 2011 16:42:35 +0200 -Subject: [PATCH 221/418] sched: Disable TTWU_QUEUE on RT +Subject: [PATCH 219/414] sched: Disable TTWU_QUEUE on RT The queued remote wakeup mechanism can introduce rather large latencies if the number of migrated tasks is high. Disable it for RT. @@ -33,5 +33,5 @@ index 9552fd5854bf..c675ee1694f5 100644 /* * When doing wakeups, attempt to limit superfluous scans of the LLC domain. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/kernel/patches-4.14.x-rt/0220-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch rename to kernel/patches-4.14.x-rt/0220-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch index c9ee8d6b5..109f53efb 100644 --- a/kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0220-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch @@ -1,7 +1,7 @@ -From 33f3137bc0cf456ea8f4cd5aa0835433b60affd4 Mon Sep 17 00:00:00 2001 +From fc3726c10f26ebcf9c3e0a2c7a4ee3b3c8cb68fb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:03:52 +0200 -Subject: [PATCH 222/418] sched: Disable CONFIG_RT_GROUP_SCHED on RT +Subject: [PATCH 220/414] sched: Disable CONFIG_RT_GROUP_SCHED on RT Carsten reported problems when running: @@ -30,5 +30,5 @@ index bec5b4b82585..a7aff2c1a203 100644 help This feature lets you explicitly allocate real CPU bandwidth -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch b/kernel/patches-4.14.x-rt/0221-sched-ttwu-Return-success-when-only-changing-the-sav.patch similarity index 81% rename from kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch rename to kernel/patches-4.14.x-rt/0221-sched-ttwu-Return-success-when-only-changing-the-sav.patch index 466aced5e..c21925afc 100644 --- a/kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch +++ b/kernel/patches-4.14.x-rt/0221-sched-ttwu-Return-success-when-only-changing-the-sav.patch @@ -1,7 +1,7 @@ -From 0bc7b41c9d6adcc1aa2a03d7b705557e85155153 Mon Sep 17 00:00:00 2001 +From 01316e40be028eefb54d0d56794a7f66f7d396ac Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Dec 2011 21:42:19 +0100 -Subject: [PATCH 223/418] sched: ttwu: Return success when only changing the +Subject: [PATCH 221/414] sched: ttwu: Return success when only changing the saved_state value When a task blocks on a rt lock, it saves the current state in @@ -20,10 +20,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d70cdb20c79c..ed766d02f101 100644 +index f6987f504b74..39b5eca93fe9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2023,8 +2023,10 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) +@@ -2040,8 +2040,10 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) * if the wakeup condition is true. */ if (!(wake_flags & WF_LOCK_SLEEPER)) { @@ -36,5 +36,5 @@ index d70cdb20c79c..ed766d02f101 100644 goto out; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/kernel/patches-4.14.x-rt/0222-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch rename to kernel/patches-4.14.x-rt/0222-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch index b250b9e2d..cdd8ab643 100644 --- a/kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch +++ b/kernel/patches-4.14.x-rt/0222-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch @@ -1,7 +1,7 @@ -From 224cc9eed1b56e15c91a8125c613017aa5095498 Mon Sep 17 00:00:00 2001 +From e65243e8470da2de7aaae6e89f5ae7e448161a79 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 18 Mar 2013 15:12:49 -0400 -Subject: [PATCH 224/418] sched/workqueue: Only wake up idle workers if not +Subject: [PATCH 222/414] sched/workqueue: Only wake up idle workers if not blocked on sleeping spin lock In -rt, most spin_locks() turn into mutexes. One of these spin_lock @@ -24,10 +24,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index ed766d02f101..e29e68bd711c 100644 +index 39b5eca93fe9..12fb4ed30a3b 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3388,8 +3388,10 @@ static void __sched notrace __schedule(bool preempt) +@@ -3405,8 +3405,10 @@ static void __sched notrace __schedule(bool preempt) * If a worker went to sleep, notify and ask workqueue * whether it wants to wake up a task to maintain * concurrency. @@ -40,5 +40,5 @@ index ed766d02f101..e29e68bd711c 100644 to_wakeup = wq_worker_sleeping(prev); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/kernel/patches-4.14.x-rt/0223-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch rename to kernel/patches-4.14.x-rt/0223-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch index 3aaa588ca..7ec2fde6e 100644 --- a/kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch +++ b/kernel/patches-4.14.x-rt/0223-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch @@ -1,7 +1,7 @@ -From 59342eb8fa02356d81e831f53def8fc64a04bd55 Mon Sep 17 00:00:00 2001 +From 43a296413e2320311658a0a0c9eded37c5301ae5 Mon Sep 17 00:00:00 2001 From: Daniel Bristot de Oliveira Date: Mon, 26 Jun 2017 17:07:15 +0200 -Subject: [PATCH 225/418] rt: Increase/decrease the nr of migratory tasks when +Subject: [PATCH 223/414] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration There is a problem in the migrate_disable()/enable() implementation @@ -81,10 +81,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index e29e68bd711c..b0e02473f81a 100644 +index 12fb4ed30a3b..b1ec461861b1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6836,6 +6836,47 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6853,6 +6853,47 @@ const u32 sched_prio_to_wmult[40] = { #if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP) @@ -132,7 +132,7 @@ index e29e68bd711c..b0e02473f81a 100644 void migrate_disable(void) { struct task_struct *p = current; -@@ -6859,10 +6900,9 @@ void migrate_disable(void) +@@ -6876,10 +6917,9 @@ void migrate_disable(void) } preempt_disable(); @@ -145,7 +145,7 @@ index e29e68bd711c..b0e02473f81a 100644 preempt_enable(); } -@@ -6894,9 +6934,8 @@ void migrate_enable(void) +@@ -6911,9 +6951,8 @@ void migrate_enable(void) preempt_disable(); @@ -157,5 +157,5 @@ index e29e68bd711c..b0e02473f81a 100644 if (p->migrate_disable_update) { struct rq *rq; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/kernel/patches-4.14.x-rt/0224-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch similarity index 79% rename from kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch rename to kernel/patches-4.14.x-rt/0224-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch index 6c11c39bc..cbdc69dfa 100644 --- a/kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch +++ b/kernel/patches-4.14.x-rt/0224-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch @@ -1,7 +1,7 @@ -From a1f98524bfba85705ce29ec3f9f6fa647892fa5d Mon Sep 17 00:00:00 2001 +From b6eb80145120e188bb6567a94f6f31cf0dcd3e85 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:27 -0500 -Subject: [PATCH 226/418] stop_machine: convert stop_machine_run() to +Subject: [PATCH 224/414] stop_machine: convert stop_machine_run() to PREEMPT_RT Instead of playing with non-preemption, introduce explicit @@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 10 insertions(+) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c -index 64c0291b579c..d9533f35f355 100644 +index 2f6fa95de2d8..943680cd8f02 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c -@@ -484,6 +484,16 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -488,6 +488,16 @@ static void cpu_stopper_thread(unsigned int cpu) struct cpu_stop_done *done = work->done; int ret; @@ -37,5 +37,5 @@ index 64c0291b579c..d9533f35f355 100644 preempt_count_inc(); ret = fn(arg); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0225-stop_machine-Use-raw-spinlocks.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch rename to kernel/patches-4.14.x-rt/0225-stop_machine-Use-raw-spinlocks.patch index 463cd7ee5..0293e7cb6 100644 --- a/kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0225-stop_machine-Use-raw-spinlocks.patch @@ -1,7 +1,7 @@ -From f90b9ece8c81942fa3c2ba2f4aacad12904ac2ab Mon Sep 17 00:00:00 2001 +From bf59a7d085e61136214dc9ea16883f04fa205e0d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 11:01:51 +0200 -Subject: [PATCH 227/418] stop_machine: Use raw spinlocks +Subject: [PATCH 225/414] stop_machine: Use raw spinlocks Use raw-locks in stomp_machine() to allow locking in irq-off regions. @@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c -index d9533f35f355..ee2a1a26ffdd 100644 +index 943680cd8f02..281ec277ee59 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -37,7 +37,7 @@ struct cpu_stop_done { @@ -61,7 +61,7 @@ index d9533f35f355..ee2a1a26ffdd 100644 if (unlikely(err == -EDEADLK)) { while (stop_cpus_in_progress) -@@ -457,9 +457,9 @@ static int cpu_stop_should_run(unsigned int cpu) +@@ -461,9 +461,9 @@ static int cpu_stop_should_run(unsigned int cpu) unsigned long flags; int run; @@ -73,7 +73,7 @@ index d9533f35f355..ee2a1a26ffdd 100644 return run; } -@@ -470,13 +470,13 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -474,13 +474,13 @@ static void cpu_stopper_thread(unsigned int cpu) repeat: work = NULL; @@ -89,7 +89,7 @@ index d9533f35f355..ee2a1a26ffdd 100644 if (work) { cpu_stop_fn_t fn = work->fn; -@@ -484,15 +484,7 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -488,15 +488,7 @@ static void cpu_stopper_thread(unsigned int cpu) struct cpu_stop_done *done = work->done; int ret; @@ -106,7 +106,7 @@ index d9533f35f355..ee2a1a26ffdd 100644 /* cpu stop callbacks must not sleep, make in_atomic() == T */ preempt_count_inc(); -@@ -560,7 +552,7 @@ static int __init cpu_stop_init(void) +@@ -564,7 +556,7 @@ static int __init cpu_stop_init(void) for_each_possible_cpu(cpu) { struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); @@ -116,5 +116,5 @@ index d9533f35f355..ee2a1a26ffdd 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch b/kernel/patches-4.14.x-rt/0226-hotplug-Lightweight-get-online-cpus.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch rename to kernel/patches-4.14.x-rt/0226-hotplug-Lightweight-get-online-cpus.patch index 7c4b81cda..3034f0ee1 100644 --- a/kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch +++ b/kernel/patches-4.14.x-rt/0226-hotplug-Lightweight-get-online-cpus.patch @@ -1,7 +1,7 @@ -From e444d3a4bb3b4685417e56f8a9c233ae1ed2f6be Mon Sep 17 00:00:00 2001 +From 55405f543a420ff164e9c7805be6f001214d1a96 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 228/418] hotplug: Lightweight get online cpus +Subject: [PATCH 226/414] hotplug: Lightweight get online cpus get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only @@ -68,10 +68,10 @@ index f21bfa3172d8..aa9b1702e115 100644 void cpus_read_lock(void) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index b0e02473f81a..bfe7a3bedc3d 100644 +index b1ec461861b1..c1a9f731f4f4 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6900,6 +6900,7 @@ void migrate_disable(void) +@@ -6917,6 +6917,7 @@ void migrate_disable(void) } preempt_disable(); @@ -79,7 +79,7 @@ index b0e02473f81a..bfe7a3bedc3d 100644 migrate_disable_update_cpus_allowed(p); p->migrate_disable = 1; -@@ -6965,12 +6966,15 @@ void migrate_enable(void) +@@ -6982,12 +6983,15 @@ void migrate_enable(void) arg.task = p; arg.dest_cpu = dest_cpu; @@ -96,5 +96,5 @@ index b0e02473f81a..bfe7a3bedc3d 100644 } EXPORT_SYMBOL(migrate_enable); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch b/kernel/patches-4.14.x-rt/0227-trace-Add-migrate-disabled-counter-to-tracing-output.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch rename to kernel/patches-4.14.x-rt/0227-trace-Add-migrate-disabled-counter-to-tracing-output.patch index 98ee1f25a..86acdb20e 100644 --- a/kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch +++ b/kernel/patches-4.14.x-rt/0227-trace-Add-migrate-disabled-counter-to-tracing-output.patch @@ -1,7 +1,7 @@ -From d32dbcf2747def220cf6cf3908f116feabd3f78a Mon Sep 17 00:00:00 2001 +From f2fc7c5879d2fe7433a31bd59676c52604799a73 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:56:42 +0200 -Subject: [PATCH 229/418] trace: Add migrate-disabled counter to tracing output +Subject: [PATCH 227/414] trace: Add migrate-disabled counter to tracing output Signed-off-by: Thomas Gleixner --- @@ -25,7 +25,7 @@ index aefc80f2909b..ffd595ab5008 100644 #define TRACE_EVENT_TYPE_MAX \ diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index f97a20ee462d..7e01f6793ca0 100644 +index f8413f284892..f2d05bf43e84 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2141,6 +2141,8 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags, @@ -65,7 +65,7 @@ index 1b87157edbff..9ba230a4052f 100644 return ret; } diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c -index c738e764e2a5..2bccb364a483 100644 +index 4500b00e4e36..dfbe55f3e6ac 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c @@ -493,6 +493,11 @@ int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry) @@ -81,5 +81,5 @@ index c738e764e2a5..2bccb364a483 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch b/kernel/patches-4.14.x-rt/0228-lockdep-Make-it-RT-aware.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch rename to kernel/patches-4.14.x-rt/0228-lockdep-Make-it-RT-aware.patch index 5cb70c857..972d72414 100644 --- a/kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0228-lockdep-Make-it-RT-aware.patch @@ -1,7 +1,7 @@ -From 15e37d709079f47b9e181bdc9bf92f13d79b0a4e Mon Sep 17 00:00:00 2001 +From f66b97c2019d099e155ebd93e59fb5635c6032cf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 -Subject: [PATCH 230/418] lockdep: Make it RT aware +Subject: [PATCH 228/414] lockdep: Make it RT aware teach lockdep that we don't really do softirqs on -RT. @@ -78,5 +78,5 @@ index 2f0f5720b123..aad05e4b228c 100644 if (!debug_locks) print_irqtrace_events(current); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch b/kernel/patches-4.14.x-rt/0229-lockdep-disable-self-test.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch rename to kernel/patches-4.14.x-rt/0229-lockdep-disable-self-test.patch index 0986d4eb1..27e445aa2 100644 --- a/kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch +++ b/kernel/patches-4.14.x-rt/0229-lockdep-disable-self-test.patch @@ -1,7 +1,7 @@ -From 780b622ad972dbbfbc70fcbe9d98f1a7562d7c1f Mon Sep 17 00:00:00 2001 +From 137df22d4115dd1f2cb4b67a897d1a7b767a3902 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 17 Oct 2017 16:36:18 +0200 -Subject: [PATCH 231/418] lockdep: disable self-test +Subject: [PATCH 229/414] lockdep: disable self-test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -30,5 +30,5 @@ index 62d0e25c054c..401b7ed164b5 100644 Say Y here if you want the kernel to run a short self-test during bootup. The self-test checks whether common types of locking bugs -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch b/kernel/patches-4.14.x-rt/0230-locking-Disable-spin-on-owner-for-RT.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch rename to kernel/patches-4.14.x-rt/0230-locking-Disable-spin-on-owner-for-RT.patch index 009905262..015354bd7 100644 --- a/kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0230-locking-Disable-spin-on-owner-for-RT.patch @@ -1,7 +1,7 @@ -From 5c135c05e0dd04754e596fc2e40abe415e84912e Mon Sep 17 00:00:00 2001 +From 1978c9bc67241dfdddef964a3d9d6811fe6ee042 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:51:45 +0200 -Subject: [PATCH 232/418] locking: Disable spin on owner for RT +Subject: [PATCH 230/414] locking: Disable spin on owner for RT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -33,5 +33,5 @@ index 84d882f3e299..af27c4000812 100644 config LOCK_SPIN_ON_OWNER def_bool y -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/kernel/patches-4.14.x-rt/0231-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch rename to kernel/patches-4.14.x-rt/0231-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch index 48d6b8963..304c9c501 100644 --- a/kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch +++ b/kernel/patches-4.14.x-rt/0231-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch @@ -1,7 +1,7 @@ -From 7a91af2c4c1f1d4160fb6e3ee90dcbebdf408419 Mon Sep 17 00:00:00 2001 +From 31f201f54e2766b2afc9e548e91f189d9fa93c8f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 29 Nov 2011 20:18:22 -0500 -Subject: [PATCH 233/418] tasklet: Prevent tasklets from going into infinite +Subject: [PATCH 231/414] tasklet: Prevent tasklets from going into infinite spin in RT When CONFIG_PREEMPT_RT_FULL is enabled, tasklets run as threads, @@ -378,5 +378,5 @@ index 0f84f2a8f564..6602a9ef492b 100644 { return local_softirq_pending(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch b/kernel/patches-4.14.x-rt/0232-softirq-Check-preemption-after-reenabling-interrupts.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch rename to kernel/patches-4.14.x-rt/0232-softirq-Check-preemption-after-reenabling-interrupts.patch index 404518516..a2404cb88 100644 --- a/kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0232-softirq-Check-preemption-after-reenabling-interrupts.patch @@ -1,7 +1,7 @@ -From 678c073a3e770dc9e84e42f5d0591f2d2718c8ef Mon Sep 17 00:00:00 2001 +From de48107d9122016acdcc657a98e83d13f8004679 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 13 Nov 2011 17:17:09 +0100 -Subject: [PATCH 234/418] softirq: Check preemption after reenabling interrupts +Subject: [PATCH 232/414] softirq: Check preemption after reenabling interrupts raise_softirq_irqoff() disables interrupts and wakes the softirq daemon, but after reenabling interrupts there is no preemption check, @@ -175,5 +175,5 @@ index 6ca771f2f25b..95d74948164f 100644 #ifdef CONFIG_RPS remsd = oldsd->rps_ipi_list; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch b/kernel/patches-4.14.x-rt/0233-softirq-Disable-softirq-stacks-for-RT.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch rename to kernel/patches-4.14.x-rt/0233-softirq-Disable-softirq-stacks-for-RT.patch index db473063a..75beccbdf 100644 --- a/kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0233-softirq-Disable-softirq-stacks-for-RT.patch @@ -1,7 +1,7 @@ -From bd227c422f8cc51454628ceca8741418cd106027 Mon Sep 17 00:00:00 2001 +From f6eb91be80db66a52331f8410bd75a5576e6e896 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 13:59:17 +0200 -Subject: [PATCH 235/418] softirq: Disable softirq stacks for RT +Subject: [PATCH 233/414] softirq: Disable softirq stacks for RT Disable extra stacks for softirqs. We want to preempt softirqs and having them on special IRQ-stack does not make this easier. @@ -172,5 +172,5 @@ index e53ff6a143e0..c77f7a9ba836 100644 #else static inline void do_softirq_own_stack(void) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch b/kernel/patches-4.14.x-rt/0234-softirq-Split-softirq-locks.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch rename to kernel/patches-4.14.x-rt/0234-softirq-Split-softirq-locks.patch index 7e3988373..267407dfb 100644 --- a/kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch +++ b/kernel/patches-4.14.x-rt/0234-softirq-Split-softirq-locks.patch @@ -1,7 +1,7 @@ -From a9f5e0691e2966e0ad2c93496f5b76b5cfd2c9a0 Mon Sep 17 00:00:00 2001 +From 19c5949a385bde0931c34667549300bff8ea1e39 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 4 Oct 2012 14:20:47 +0100 -Subject: [PATCH 236/418] softirq: Split softirq locks +Subject: [PATCH 234/414] softirq: Split softirq locks The 3.x RT series removed the split softirq implementation in favour of pushing softirq processing into the context of the thread which @@ -848,5 +848,5 @@ index 95d74948164f..a67f99b8370f 100644 return err; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch b/kernel/patches-4.14.x-rt/0235-kernel-softirq-unlock-with-irqs-on.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch rename to kernel/patches-4.14.x-rt/0235-kernel-softirq-unlock-with-irqs-on.patch index b140f4d27..8d9fd3cf6 100644 --- a/kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch +++ b/kernel/patches-4.14.x-rt/0235-kernel-softirq-unlock-with-irqs-on.patch @@ -1,7 +1,7 @@ -From d67a416c75d29c8be86f0c84a3c211efec952d90 Mon Sep 17 00:00:00 2001 +From 980c26756f45293920b47a8e68e72982b1418d2c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 9 Feb 2016 18:17:18 +0100 -Subject: [PATCH 237/418] kernel: softirq: unlock with irqs on +Subject: [PATCH 235/414] kernel: softirq: unlock with irqs on We unlock the lock while the interrupts are off. This isn't a problem now but will get because the migrate_disable() + enable are not @@ -29,5 +29,5 @@ index c737ad6df54b..bd4be3911b4a 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/kernel/patches-4.14.x-rt/0236-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch rename to kernel/patches-4.14.x-rt/0236-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch index 6d1898fb8..e4c6b2a03 100644 --- a/kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch +++ b/kernel/patches-4.14.x-rt/0236-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch @@ -1,7 +1,7 @@ -From ea44f9a58ae05259c23b2fe9e803bbb6828b3ea2 Mon Sep 17 00:00:00 2001 +From 56859b9060103874dd7c97aa5a986526b95dc681 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 Jan 2012 13:01:27 +0100 -Subject: [PATCH 238/418] genirq: Allow disabling of softirq processing in irq +Subject: [PATCH 236/414] genirq: Allow disabling of softirq processing in irq thread context The processing of softirqs in irq thread context is a performance gain @@ -156,5 +156,5 @@ index bd4be3911b4a..5798ff8f6a40 100644 { return current->flags & PF_IN_SOFTIRQ; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch b/kernel/patches-4.14.x-rt/0237-softirq-split-timer-softirqs-out-of-ksoftirqd.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch rename to kernel/patches-4.14.x-rt/0237-softirq-split-timer-softirqs-out-of-ksoftirqd.patch index 1191963be..93b1ec602 100644 --- a/kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch +++ b/kernel/patches-4.14.x-rt/0237-softirq-split-timer-softirqs-out-of-ksoftirqd.patch @@ -1,7 +1,7 @@ -From 0a60c2fb6770494435fcc68c1ba91757d09f47d1 Mon Sep 17 00:00:00 2001 +From 77c17f0012cda13eaac653f29d00d6337b665423 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 16:34:17 +0100 -Subject: [PATCH 239/418] softirq: split timer softirqs out of ksoftirqd +Subject: [PATCH 237/414] softirq: split timer softirqs out of ksoftirqd The softirqd runs in -RT with SCHED_FIFO (prio 1) and deals mostly with timer wakeup which can not happen in hardirq context. The prio has been @@ -210,5 +210,5 @@ index 5798ff8f6a40..263d17b33f50 100644 } early_initcall(spawn_ksoftirqd); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch b/kernel/patches-4.14.x-rt/0238-softirq-wake-the-timer-softirq-if-needed.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch rename to kernel/patches-4.14.x-rt/0238-softirq-wake-the-timer-softirq-if-needed.patch index 944c9b93a..669a607ec 100644 --- a/kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch +++ b/kernel/patches-4.14.x-rt/0238-softirq-wake-the-timer-softirq-if-needed.patch @@ -1,7 +1,7 @@ -From 38d93fddc94e6923a312276f267f173c32b19f53 Mon Sep 17 00:00:00 2001 +From 88f946e012cc05971bd1c6635b56bba82b59775a Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 20 Jan 2017 18:10:20 +0100 -Subject: [PATCH 240/418] softirq: wake the timer softirq if needed +Subject: [PATCH 238/414] softirq: wake the timer softirq if needed The irq-exit path only checks the "normal"-softirq thread if it is running and ignores the state of the "timer"-softirq thread. It is possible @@ -81,5 +81,5 @@ index 263d17b33f50..69a45729907a 100644 local_irq_save(flags); if (__this_cpu_read(ksoftirqd) && -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch b/kernel/patches-4.14.x-rt/0239-rtmutex-trylock-is-okay-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch rename to kernel/patches-4.14.x-rt/0239-rtmutex-trylock-is-okay-on-RT.patch index d30e879f2..5ae4c7cf2 100644 --- a/kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0239-rtmutex-trylock-is-okay-on-RT.patch @@ -1,7 +1,7 @@ -From e1cbe897ed1dd99b01faf58dc9befa68daf9f672 Mon Sep 17 00:00:00 2001 +From d41924951e6e30c7932995df1485c41bac3b6bfd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 2 Dec 2015 11:34:07 +0100 -Subject: [PATCH 241/418] rtmutex: trylock is okay on -RT +Subject: [PATCH 239/414] rtmutex: trylock is okay on -RT non-RT kernel could deadlock on rt_mutex_trylock() in softirq context. On -RT we don't run softirqs in IRQ context but in thread context so it is @@ -29,5 +29,5 @@ index fe7f97edc94e..6f3177a6b8e3 100644 ret = rt_mutex_fasttrylock(lock, rt_mutex_slowtrylock); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch b/kernel/patches-4.14.x-rt/0240-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch rename to kernel/patches-4.14.x-rt/0240-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch index 9ecfb8744..71ec475be 100644 --- a/kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch +++ b/kernel/patches-4.14.x-rt/0240-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch @@ -1,7 +1,7 @@ -From 2ab3b1d3828aed39e97cdb4a1cdd6d368873c1a9 Mon Sep 17 00:00:00 2001 +From f1fa396d5d2c8aa623c3d8fdc2b7630a2b8ebf3f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 15 Sep 2016 10:51:27 +0200 -Subject: [PATCH 242/418] fs/nfs: turn rmdir_sem into a semaphore +Subject: [PATCH 240/414] fs/nfs: turn rmdir_sem into a semaphore The RW semaphore had a reader side which used the _non_owner version because it most likely took the reader lock in one thread and released it @@ -146,5 +146,5 @@ index f0015f801a78..c38288622819 100644 #if IS_ENABLED(CONFIG_NFS_V4) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch b/kernel/patches-4.14.x-rt/0241-rtmutex-Handle-the-various-new-futex-race-conditions.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch rename to kernel/patches-4.14.x-rt/0241-rtmutex-Handle-the-various-new-futex-race-conditions.patch index f570e72cb..6cdef4a7b 100644 --- a/kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch +++ b/kernel/patches-4.14.x-rt/0241-rtmutex-Handle-the-various-new-futex-race-conditions.patch @@ -1,7 +1,7 @@ -From 5edd0b8ff185d293b9a5b5e071518571cc94e7ab Mon Sep 17 00:00:00 2001 +From 4a0733bff87bed17713e11cb38667cf8f52e85a4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:04:15 +0200 -Subject: [PATCH 243/418] rtmutex: Handle the various new futex race conditions +Subject: [PATCH 241/414] rtmutex: Handle the various new futex race conditions RT opens a few new interesting race conditions in the rtmutex/futex combo due to futex hash bucket lock being a 'sleeping' spinlock and @@ -250,5 +250,5 @@ index 68686b3ec3c1..fa218cdff5eb 100644 extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock, struct task_struct *proxy_owner); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/kernel/patches-4.14.x-rt/0242-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch rename to kernel/patches-4.14.x-rt/0242-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch index 769516c22..1b39e0e54 100644 --- a/kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch +++ b/kernel/patches-4.14.x-rt/0242-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch @@ -1,7 +1,7 @@ -From db79b15f7dc85d03cd3140b4c4d5b998b3b5284a Mon Sep 17 00:00:00 2001 +From 97a768476c3b10cbe2c0005385a948dce91d7905 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 244/418] futex: Fix bug on when a requeued RT task times out +Subject: [PATCH 242/414] futex: Fix bug on when a requeued RT task times out Requeue with timeout causes a bug with PREEMPT_RT_FULL. @@ -117,5 +117,5 @@ index fa218cdff5eb..509df18215f8 100644 extern struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock); extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch b/kernel/patches-4.14.x-rt/0243-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch rename to kernel/patches-4.14.x-rt/0243-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch index c7f505a29..9305fc58c 100644 --- a/kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch +++ b/kernel/patches-4.14.x-rt/0243-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch @@ -1,7 +1,7 @@ -From ba8fa0f99704bb6d3bbbcd484e6dede8776f5031 Mon Sep 17 00:00:00 2001 +From 96e89e9bbbb3d9335a6269cbe3ecd4dac91edeb2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 7 Sep 2017 12:38:47 +0200 -Subject: [PATCH 245/418] locking/rtmutex: don't drop the wait_lock twice +Subject: [PATCH 243/414] locking/rtmutex: don't drop the wait_lock twice Since the futex rework, __rt_mutex_start_proxy_lock() does no longer acquire the wait_lock so it must not drop it. Otherwise the lock is not @@ -31,5 +31,5 @@ index ee867d9ebf72..bbb3508d267f 100644 } task->pi_blocked_on = PI_REQUEUE_INPROGRESS; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch b/kernel/patches-4.14.x-rt/0244-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch rename to kernel/patches-4.14.x-rt/0244-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch index ef5157082..c93df9b57 100644 --- a/kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch +++ b/kernel/patches-4.14.x-rt/0244-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch @@ -1,7 +1,7 @@ -From a7936b53054db25d76cb8c32f518d5287c4bba99 Mon Sep 17 00:00:00 2001 +From 496c8a1d87aa3c5d3e45922a8c242dfc06a6594a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 1 Mar 2013 11:17:42 +0100 -Subject: [PATCH 246/418] futex: Ensure lock/unlock symetry versus pi_lock and +Subject: [PATCH 244/414] futex: Ensure lock/unlock symetry versus pi_lock and hash bucket lock In exit_pi_state_list() we have the following locking construct: @@ -45,5 +45,5 @@ index 207e10a1791a..7540d5c425ac 100644 continue; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0245-pid.h-include-atomic.h.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0245-pid.h-include-atomic.h.patch index 6a6883725..39f5d4a68 100644 --- a/kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0245-pid.h-include-atomic.h.patch @@ -1,7 +1,7 @@ -From 09ae7854de666614219dc586ae3086501a5651f3 Mon Sep 17 00:00:00 2001 +From 2f47ca84b9a4c78dd1e05f4d03751fee44d6ebcf Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Tue, 21 Jul 2015 19:43:56 +0300 -Subject: [PATCH 247/418] pid.h: include atomic.h +Subject: [PATCH 245/414] pid.h: include atomic.h This patch fixes build error: CC kernel/pid_namespace.o @@ -38,5 +38,5 @@ index dfd684ce0787..bc954a99aa70 100644 enum pid_type { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch b/kernel/patches-4.14.x-rt/0246-arm-include-definition-for-cpumask_t.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch rename to kernel/patches-4.14.x-rt/0246-arm-include-definition-for-cpumask_t.patch index 02d43c0da..0b458bc03 100644 --- a/kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch +++ b/kernel/patches-4.14.x-rt/0246-arm-include-definition-for-cpumask_t.patch @@ -1,7 +1,7 @@ -From d47e79b159825fda9f0e77f2d45cd3cdb678688f Mon Sep 17 00:00:00 2001 +From b05de579c1c699fe02a014eaec9aad73edf460bd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Dec 2016 17:28:33 +0100 -Subject: [PATCH 248/418] arm: include definition for cpumask_t +Subject: [PATCH 246/414] arm: include definition for cpumask_t This definition gets pulled in by other files. With the (later) split of RCU and spinlock.h it won't compile anymore. @@ -26,5 +26,5 @@ index b6f319606e30..ad377ef73739 100644 struct pt_regs; extern void migrate_irqs(void); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0247-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0247-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch index bf423a05a..d4aca441f 100644 --- a/kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0247-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From e626b543d4f4126ea6a645484ddb12558b8fba4b Mon Sep 17 00:00:00 2001 +From 00572c9a8e204d6a5371298aeb54e2bd52f59537 Mon Sep 17 00:00:00 2001 From: "Wolfgang M. Reimer" Date: Tue, 21 Jul 2015 16:20:07 +0200 -Subject: [PATCH 249/418] locking: locktorture: Do NOT include rwlock.h +Subject: [PATCH 247/414] locking: locktorture: Do NOT include rwlock.h directly Including rwlock.h directly will cause kernel builds to fail @@ -29,5 +29,5 @@ index 6dca260eeccf..5d01ac590d4c 100644 #include #include -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch b/kernel/patches-4.14.x-rt/0248-rtmutex-Add-rtmutex_lock_killable.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch rename to kernel/patches-4.14.x-rt/0248-rtmutex-Add-rtmutex_lock_killable.patch index f0c6b206c..281dab3e5 100644 --- a/kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch +++ b/kernel/patches-4.14.x-rt/0248-rtmutex-Add-rtmutex_lock_killable.patch @@ -1,7 +1,7 @@ -From e4db3478b6391020f01b182736f1d6d7f35661a3 Mon Sep 17 00:00:00 2001 +From 69caa7a241296bb4d3e0ede13da72b9648ba2bcc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 9 Jun 2011 11:43:52 +0200 -Subject: [PATCH 250/418] rtmutex: Add rtmutex_lock_killable() +Subject: [PATCH 248/414] rtmutex: Add rtmutex_lock_killable() Add "killable" type to rtmutex. We need this since rtmutex are used as "normal" mutexes which do use this type. @@ -55,5 +55,5 @@ index bbb3508d267f..986620b78011 100644 * rt_mutex_timed_lock - lock a rt_mutex interruptible * the timeout structure is provided -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch b/kernel/patches-4.14.x-rt/0249-rtmutex-Make-lock_killable-work.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch rename to kernel/patches-4.14.x-rt/0249-rtmutex-Make-lock_killable-work.patch index d52b9556f..55ab6cb3d 100644 --- a/kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch +++ b/kernel/patches-4.14.x-rt/0249-rtmutex-Make-lock_killable-work.patch @@ -1,7 +1,7 @@ -From ac0136262b3a1ed4291d771a737a82bf289cc500 Mon Sep 17 00:00:00 2001 +From b4047c3d9744cf2dae458f26e8a0057cb4874f12 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 Apr 2017 12:50:59 +0200 -Subject: [PATCH 251/418] rtmutex: Make lock_killable work +Subject: [PATCH 249/414] rtmutex: Make lock_killable work Locking an rt mutex killable does not work because signal handling is restricted to TASK_INTERRUPTIBLE. @@ -46,5 +46,5 @@ index 986620b78011..0ba13b607757 100644 raw_spin_unlock_irq(&lock->wait_lock); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch b/kernel/patches-4.14.x-rt/0250-spinlock-Split-the-lock-types-header.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch rename to kernel/patches-4.14.x-rt/0250-spinlock-Split-the-lock-types-header.patch index 789ac83c3..ee0b26bad 100644 --- a/kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch +++ b/kernel/patches-4.14.x-rt/0250-spinlock-Split-the-lock-types-header.patch @@ -1,7 +1,7 @@ -From 58ce730dbe073f9128ff86a7ddd4ea48f47d0027 Mon Sep 17 00:00:00 2001 +From 228fbc3534dd7f66d4470325e3f654c99ecbc4c7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:34:01 +0200 -Subject: [PATCH 252/418] spinlock: Split the lock types header +Subject: [PATCH 250/414] spinlock: Split the lock types header Split raw_spinlock into its own file and the remaining spinlock_t into its own non-RT header. The non-RT header will be replaced later by sleeping @@ -222,5 +222,5 @@ index 000000000000..03235b475b77 + +#endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch b/kernel/patches-4.14.x-rt/0251-rtmutex-Avoid-include-hell.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch rename to kernel/patches-4.14.x-rt/0251-rtmutex-Avoid-include-hell.patch index 1dd4f318c..d8f1a692f 100644 --- a/kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch +++ b/kernel/patches-4.14.x-rt/0251-rtmutex-Avoid-include-hell.patch @@ -1,7 +1,7 @@ -From 5487a9c96a8b0f4ac2b2b39c048b3f76b88d1f33 Mon Sep 17 00:00:00 2001 +From 2cfe77814265e7d32427f5e82837e6fd8ef5943e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:06:39 +0200 -Subject: [PATCH 253/418] rtmutex: Avoid include hell +Subject: [PATCH 251/414] rtmutex: Avoid include hell Include only the required raw types. This avoids pulling in the complete spinlock header which in turn requires rtmutex.h at some point. @@ -25,5 +25,5 @@ index 66aa13520b68..0331eb58f95d 100644 extern int max_lock_depth; /* for sysctl */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch b/kernel/patches-4.14.x-rt/0252-rbtree-don-t-include-the-rcu-header.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch rename to kernel/patches-4.14.x-rt/0252-rbtree-don-t-include-the-rcu-header.patch index cbe79e5ec..838b54487 100644 --- a/kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch +++ b/kernel/patches-4.14.x-rt/0252-rbtree-don-t-include-the-rcu-header.patch @@ -1,7 +1,7 @@ -From 16978247c00fcbe3d6315bc88bef33b8aa5474c0 Mon Sep 17 00:00:00 2001 +From ae6f286a9ce3bcf89a831115bd32288a99e196e4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:46:31 +0200 -Subject: [PATCH 254/418] rbtree: don't include the rcu header +Subject: [PATCH 252/414] rbtree: don't include the rcu header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -170,5 +170,5 @@ index dbadbdbc8643..a2dc82b3118a 100644 * rcu_swap_protected() - swap an RCU and a regular pointer * @rcu_ptr: RCU pointer -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch b/kernel/patches-4.14.x-rt/0253-rtmutex-Provide-rt_mutex_slowlock_locked.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch rename to kernel/patches-4.14.x-rt/0253-rtmutex-Provide-rt_mutex_slowlock_locked.patch index 15dc9931d..cc0a25732 100644 --- a/kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch +++ b/kernel/patches-4.14.x-rt/0253-rtmutex-Provide-rt_mutex_slowlock_locked.patch @@ -1,7 +1,7 @@ -From 46b8bcf8b2005eeeeb82b3a318372a97c3d65102 Mon Sep 17 00:00:00 2001 +From 3d3d1ef6dafbd42de66fab589141b29145c1f470 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:14:22 +0200 -Subject: [PATCH 255/418] rtmutex: Provide rt_mutex_slowlock_locked() +Subject: [PATCH 253/414] rtmutex: Provide rt_mutex_slowlock_locked() This is the inner-part of rt_mutex_slowlock(), required for rwsem-rt. @@ -135,5 +135,5 @@ index 509df18215f8..3b10fde6fd1f 100644 #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/kernel/patches-4.14.x-rt/0254-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch rename to kernel/patches-4.14.x-rt/0254-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch index c1dab1398..c8d91a2a5 100644 --- a/kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch +++ b/kernel/patches-4.14.x-rt/0254-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch @@ -1,7 +1,7 @@ -From 8adda884bc90e91d8583685496bf23c1e179d9d7 Mon Sep 17 00:00:00 2001 +From 26cf381f1c56b8abec165c36d61255b7fe2bf946 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:36:39 +0200 -Subject: [PATCH 256/418] rtmutex: export lockdep-less version of rt_mutex's +Subject: [PATCH 254/414] rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock Required for lock implementation ontop of rtmutex. @@ -154,5 +154,5 @@ index 3b10fde6fd1f..ff17912f869c 100644 struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch b/kernel/patches-4.14.x-rt/0255-rtmutex-add-sleeping-lock-implementation.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch rename to kernel/patches-4.14.x-rt/0255-rtmutex-add-sleeping-lock-implementation.patch index be6aacf11..a5e69d58d 100644 --- a/kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch +++ b/kernel/patches-4.14.x-rt/0255-rtmutex-add-sleeping-lock-implementation.patch @@ -1,7 +1,7 @@ -From de28bffd0388d9815763cfca2f40b78f54507c54 Mon Sep 17 00:00:00 2001 +From b8a38a2891b1341451230267be7839163c718488 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:11:19 +0200 -Subject: [PATCH 257/418] rtmutex: add sleeping lock implementation +Subject: [PATCH 255/414] rtmutex: add sleeping lock implementation Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -1161,7 +1161,7 @@ index ff17912f869c..2d822a08c87d 100644 #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index bfe7a3bedc3d..a331cf124606 100644 +index c1a9f731f4f4..64037c0a3a69 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -427,9 +427,15 @@ static bool set_nr_if_polling(struct task_struct *p) @@ -1221,5 +1221,5 @@ index bfe7a3bedc3d..a331cf124606 100644 } } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0256-rtmutex-add-mutex-implementation-based-on-rtmutex.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0256-rtmutex-add-mutex-implementation-based-on-rtmutex.patch index 47dd8b4b7..eba62c8cb 100644 --- a/kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0256-rtmutex-add-mutex-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From 988baf91d4f0e3ec2d707aeea3b84fcd3684e37f Mon Sep 17 00:00:00 2001 +From 433a7865e9fedf09e9e0aa2c4255f5ab66084c77 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:17:03 +0200 -Subject: [PATCH 258/418] rtmutex: add mutex implementation based on rtmutex +Subject: [PATCH 256/414] rtmutex: add mutex implementation based on rtmutex Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -378,5 +378,5 @@ index 000000000000..4f81595c0f52 +} +EXPORT_SYMBOL(atomic_dec_and_mutex_lock); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0257-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch index 5180a77ea..e08383391 100644 --- a/kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From f8568b7bfb261052376e372fff50e041bc3cb8a8 Mon Sep 17 00:00:00 2001 +From 3ded4d52efa4205d204be7002f6ffeac9e7a132a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:28:34 +0200 -Subject: [PATCH 259/418] rtmutex: add rwsem implementation based on rtmutex +Subject: [PATCH 257/414] rtmutex: add rwsem implementation based on rtmutex The RT specific R/W semaphore implementation restricts the number of readers to one because a writer cannot block on multiple readers and inherit its @@ -397,5 +397,5 @@ index 000000000000..a8f7ce5be989 + __up_write_unlock(sem, WRITER_BIAS - 1, flags); +} -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0258-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0258-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch index 03911d6c7..d0e4afde3 100644 --- a/kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0258-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From 23d2e42f165b74664a050717268403d2ffc3645d Mon Sep 17 00:00:00 2001 +From 838a593989957b510303835a7a173adbc6a4625d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:18:06 +0200 -Subject: [PATCH 260/418] rtmutex: add rwlock implementation based on rtmutex +Subject: [PATCH 258/414] rtmutex: add rwlock implementation based on rtmutex The implementation is bias-based, similar to the rwsem implementation. @@ -577,5 +577,5 @@ index 000000000000..aebb7ce25bc6 +} +EXPORT_SYMBOL(__rt_rwlock_init); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch b/kernel/patches-4.14.x-rt/0259-rtmutex-wire-up-RT-s-locking.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch rename to kernel/patches-4.14.x-rt/0259-rtmutex-wire-up-RT-s-locking.patch index 1e17bf419..2d178d4e2 100644 --- a/kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch +++ b/kernel/patches-4.14.x-rt/0259-rtmutex-wire-up-RT-s-locking.patch @@ -1,7 +1,7 @@ -From 178bfc1d71a0578a86b4d25228e8d1a956812efa Mon Sep 17 00:00:00 2001 +From 1265b2c48de713ac4b67afb041e364c0ebb1ca90 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:31:14 +0200 -Subject: [PATCH 261/418] rtmutex: wire up RT's locking +Subject: [PATCH 259/414] rtmutex: wire up RT's locking Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -264,5 +264,5 @@ index 9aa0fccd5d43..76d0b40d9193 100644 + +#endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch b/kernel/patches-4.14.x-rt/0260-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch rename to kernel/patches-4.14.x-rt/0260-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch index c47a7909d..e2db42ac0 100644 --- a/kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch +++ b/kernel/patches-4.14.x-rt/0260-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch @@ -1,7 +1,7 @@ -From 1bb5944ed7c30765c9df2d6a2287ae55471778fa Mon Sep 17 00:00:00 2001 +From d2da780ec21e820c1fdad4b07e51bc17269443ba Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 17:34:38 +0200 -Subject: [PATCH 262/418] rtmutex: add ww_mutex addon for mutex-rt +Subject: [PATCH 260/414] rtmutex: add ww_mutex addon for mutex-rt Signed-off-by: Sebastian Andrzej Siewior --- @@ -428,5 +428,5 @@ index a8f7ce5be989..26991ddb6c5a 100644 /* * The slowlock() above is guaranteed to return with the rtmutex is -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch b/kernel/patches-4.14.x-rt/0261-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch rename to kernel/patches-4.14.x-rt/0261-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch index 852efdbe8..c6731dda5 100644 --- a/kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch +++ b/kernel/patches-4.14.x-rt/0261-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch @@ -1,7 +1,7 @@ -From 44086fdf418dc6d5dbebe4ad4b7f940692b21c8a Mon Sep 17 00:00:00 2001 +From c609f7ced043380c493f1ef63769f828443a862f Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Mon, 13 Nov 2017 12:56:53 -0500 -Subject: [PATCH 263/418] locking/rt-mutex: fix deadlock in device mapper / +Subject: [PATCH 261/414] locking/rt-mutex: fix deadlock in device mapper / block-IO When some block device driver creates a bio and submits it to another @@ -76,5 +76,5 @@ index 3e130ea6f85c..53f344caf5c8 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch b/kernel/patches-4.14.x-rt/0262-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch rename to kernel/patches-4.14.x-rt/0262-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch index cd34cc12b..a0a061249 100644 --- a/kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch +++ b/kernel/patches-4.14.x-rt/0262-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch @@ -1,7 +1,7 @@ -From d9cdc51320142ab2825ad1d7992009bb7abad4a3 Mon Sep 17 00:00:00 2001 +From 82672752b4df7f0b7d4df912389503d3de3086e1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 16 Nov 2017 16:48:48 +0100 -Subject: [PATCH 264/418] locking/rtmutex: re-init the wait_lock in +Subject: [PATCH 262/414] locking/rtmutex: re-init the wait_lock in rt_mutex_init_proxy_locked() We could provide a key-class for the lockdep (and fixup all callers) or @@ -34,5 +34,5 @@ index 53f344caf5c8..0cb716ba3be0 100644 rt_mutex_set_owner(lock, proxy_owner); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch b/kernel/patches-4.14.x-rt/0263-ptrace-fix-ptrace-vs-tasklist_lock-race.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch rename to kernel/patches-4.14.x-rt/0263-ptrace-fix-ptrace-vs-tasklist_lock-race.patch index 0ce9b8372..f4f911875 100644 --- a/kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch +++ b/kernel/patches-4.14.x-rt/0263-ptrace-fix-ptrace-vs-tasklist_lock-race.patch @@ -1,7 +1,7 @@ -From 49ad8eb04b99b741d12a884e0e6051a05740d3be Mon Sep 17 00:00:00 2001 +From ebd8f6b11dbf31d6bc9fbeda5b100267ca9c6790 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 18:21:04 +0200 -Subject: [PATCH 265/418] ptrace: fix ptrace vs tasklist_lock race +Subject: [PATCH 263/414] ptrace: fix ptrace vs tasklist_lock race As explained by Alexander Fyodorov : @@ -119,10 +119,10 @@ index 84b1367935e4..b32a86f63522 100644 } spin_unlock_irq(&task->sighand->siglock); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a331cf124606..150daf55f939 100644 +index 64037c0a3a69..e65183f84373 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1359,6 +1359,18 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p) +@@ -1378,6 +1378,18 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p) return ret; } @@ -141,7 +141,7 @@ index a331cf124606..150daf55f939 100644 /* * wait_task_inactive - wait for a thread to unschedule. * -@@ -1403,7 +1415,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) +@@ -1422,7 +1434,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) * is actually now running somewhere else! */ while (task_running(rq, p)) { @@ -150,7 +150,7 @@ index a331cf124606..150daf55f939 100644 return 0; cpu_relax(); } -@@ -1418,7 +1430,8 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) +@@ -1437,7 +1449,8 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) running = task_running(rq, p); queued = task_on_rq_queued(p); ncsw = 0; @@ -161,5 +161,5 @@ index a331cf124606..150daf55f939 100644 task_rq_unlock(rq, p, &rf); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch b/kernel/patches-4.14.x-rt/0264-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch rename to kernel/patches-4.14.x-rt/0264-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch index a8dda21a9..c48582d7d 100644 --- a/kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch +++ b/kernel/patches-4.14.x-rt/0264-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch @@ -1,7 +1,7 @@ -From b3545133404207518ead71fe7f030fe3767e882e Mon Sep 17 00:00:00 2001 +From d7e0333c833b7053d342564e783a3322830e1203 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:25:13 +0200 -Subject: [PATCH 266/418] RCU: we need to skip that warning but only on +Subject: [PATCH 264/414] RCU: we need to skip that warning but only on sleeping locks This check is okay for upstream. On RT we trigger this while blocking on @@ -37,5 +37,5 @@ index 181e2487c8b8..787321ad4f5f 100644 !t->rcu_read_unlock_special.b.blocked) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch b/kernel/patches-4.14.x-rt/0265-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch rename to kernel/patches-4.14.x-rt/0265-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch index 3caeb906f..df5ca5291 100644 --- a/kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch +++ b/kernel/patches-4.14.x-rt/0265-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch @@ -1,7 +1,7 @@ -From ba1096f32fba79b2de8e6787b881e0a6d10962b8 Mon Sep 17 00:00:00 2001 +From e19826cad68ff4b88932dd4cb0db21bf7540c5b3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Feb 2018 11:45:13 +0100 -Subject: [PATCH 267/418] RCU: skip the "schedule() in RCU section" warning on +Subject: [PATCH 265/414] RCU: skip the "schedule() in RCU section" warning on UP, too In "RCU: we need to skip that warning but only on sleeping locks" we @@ -74,10 +74,10 @@ index 787321ad4f5f..18b98ae934a2 100644 #endif WARN_ON_ONCE(!preempt && t->rcu_read_lock_nesting > 0 && !mg_counter); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 150daf55f939..b5d0877c7079 100644 +index e65183f84373..d65f7506bdfd 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7005,4 +7005,49 @@ void migrate_enable(void) +@@ -7022,4 +7022,49 @@ void migrate_enable(void) preempt_enable(); } EXPORT_SYMBOL(migrate_enable); @@ -128,5 +128,5 @@ index 150daf55f939..b5d0877c7079 100644 +EXPORT_SYMBOL(migrate_enable); #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch b/kernel/patches-4.14.x-rt/0266-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch rename to kernel/patches-4.14.x-rt/0266-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch index 4b1ee005a..04f4e6790 100644 --- a/kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch +++ b/kernel/patches-4.14.x-rt/0266-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch @@ -1,7 +1,7 @@ -From 0f18de8ca35d53133bdee04999e7f216b1e0502b Mon Sep 17 00:00:00 2001 +From c33ca9c10eec95d9915b5d52b3fb15dec425e5ea Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 17:40:42 +0200 -Subject: [PATCH 268/418] locking: don't check for __LINUX_SPINLOCK_TYPES_H on +Subject: [PATCH 266/414] locking: don't check for __LINUX_SPINLOCK_TYPES_H on -RT archs Upstream uses arch_spinlock_t within spinlock_t and requests that @@ -257,5 +257,5 @@ index c09b6407ae1b..b0243ba07fb7 100644 * include/linux/spinlock_types_up.h - spinlock type definitions for UP * -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch b/kernel/patches-4.14.x-rt/0267-rcu-Frob-softirq-test.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch rename to kernel/patches-4.14.x-rt/0267-rcu-Frob-softirq-test.patch index 144970229..3011b045b 100644 --- a/kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch +++ b/kernel/patches-4.14.x-rt/0267-rcu-Frob-softirq-test.patch @@ -1,7 +1,7 @@ -From f28df56a721ee61782138f9337b075712a0d098d Mon Sep 17 00:00:00 2001 +From 83fb9b08491b69e613fb85366c98a0ecf60f0bc1 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sat, 13 Aug 2011 00:23:17 +0200 -Subject: [PATCH 269/418] rcu: Frob softirq test +Subject: [PATCH 267/414] rcu: Frob softirq test With RT_FULL we get the below wreckage: @@ -168,5 +168,5 @@ index 18b98ae934a2..157593d080c5 100644 "rcu_read_unlock() from irq or softirq with blocking in critical section!!!\n"); pr_alert("->rcu_read_unlock_special: %#x (b: %d, enq: %d nq: %d)\n", -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/kernel/patches-4.14.x-rt/0268-rcu-Merge-RCU-bh-into-RCU-preempt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch rename to kernel/patches-4.14.x-rt/0268-rcu-Merge-RCU-bh-into-RCU-preempt.patch index c499a8ecf..c40a5ca72 100644 --- a/kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch +++ b/kernel/patches-4.14.x-rt/0268-rcu-Merge-RCU-bh-into-RCU-preempt.patch @@ -1,7 +1,7 @@ -From 49efb343acd8e1130b4b63ea60b27a3d643f8551 Mon Sep 17 00:00:00 2001 +From a670e3c27647b2538868410eb482a1a36bfa3ad2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:59:38 -0700 -Subject: [PATCH 270/418] rcu: Merge RCU-bh into RCU-preempt +Subject: [PATCH 268/414] rcu: Merge RCU-bh into RCU-preempt The Linux kernel has long RCU-bh read-side critical sections that intolerably increase scheduling latency under mainline's RCU-bh rules, @@ -370,5 +370,5 @@ index 7a577bd989a4..c63c88a0de7e 100644 #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/kernel/patches-4.14.x-rt/0269-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch rename to kernel/patches-4.14.x-rt/0269-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch index f74b3d8f5..01802fa9a 100644 --- a/kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch +++ b/kernel/patches-4.14.x-rt/0269-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch @@ -1,7 +1,7 @@ -From 9e74cea27affa94aba94a73ae38e6962c31e3a3e Mon Sep 17 00:00:00 2001 +From b28380fae1b131566ec50632c3e5fe6f85a46a80 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 5 Oct 2011 11:45:18 -0700 -Subject: [PATCH 271/418] rcu: Make ksoftirqd do RCU quiescent states +Subject: [PATCH 269/414] rcu: Make ksoftirqd do RCU quiescent states Implementing RCU-bh in terms of RCU-preempt makes the system vulnerable to network-based denial-of-service attacks. This patch therefore @@ -113,5 +113,5 @@ index 157593d080c5..65efae0cf087 100644 /* * Prepare a CPU for idle from an RCU perspective. The first major task -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch b/kernel/patches-4.14.x-rt/0270-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch rename to kernel/patches-4.14.x-rt/0270-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch index ee210114a..64a09140d 100644 --- a/kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch +++ b/kernel/patches-4.14.x-rt/0270-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch @@ -1,7 +1,7 @@ -From ac4f0a71e1c6d0abc7d720ad1643d18f79030e0e Mon Sep 17 00:00:00 2001 +From 915ce289d0195d4b7803b0c81d9fbc65c0b5da61 Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Wed, 18 Dec 2013 17:51:49 +0800 -Subject: [PATCH 272/418] rcutree/rcu_bh_qs: Disable irq while calling +Subject: [PATCH 270/414] rcutree/rcu_bh_qs: Disable irq while calling rcu_preempt_qs() Any callers to the function rcu_preempt_qs() must disable irqs in @@ -51,5 +51,5 @@ index cc495f5273af..55c56b1aece7 100644 #else void rcu_bh_qs(void) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch b/kernel/patches-4.14.x-rt/0271-tty-serial-omap-Make-the-locking-RT-aware.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch rename to kernel/patches-4.14.x-rt/0271-tty-serial-omap-Make-the-locking-RT-aware.patch index 323f6926e..ade43e924 100644 --- a/kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0271-tty-serial-omap-Make-the-locking-RT-aware.patch @@ -1,7 +1,7 @@ -From cb548ccaf132f472d50e2b8da7b7ab4a13ffa64e Mon Sep 17 00:00:00 2001 +From 7bfeb4912ab85c2108c608ce7d748b4f03700fc9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 28 Jul 2011 13:32:57 +0200 -Subject: [PATCH 273/418] tty/serial/omap: Make the locking RT aware +Subject: [PATCH 271/414] tty/serial/omap: Make the locking RT aware The lock is a sleeping lock and local_irq_save() is not the optimsation we are looking for. Redo it to make it work on -RT and @@ -44,5 +44,5 @@ index 26a22b100df1..69117e355bcd 100644 static int __init -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch b/kernel/patches-4.14.x-rt/0272-tty-serial-pl011-Make-the-locking-work-on-RT.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch rename to kernel/patches-4.14.x-rt/0272-tty-serial-pl011-Make-the-locking-work-on-RT.patch index 83ef83025..8a256d327 100644 --- a/kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0272-tty-serial-pl011-Make-the-locking-work-on-RT.patch @@ -1,7 +1,7 @@ -From 044c5640b238d462686d18b4c3a5da12ed55952e Mon Sep 17 00:00:00 2001 +From f71d04d37956ed4e335bfc5aa1976e6f853fb4ca Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 8 Jan 2013 21:36:51 +0100 -Subject: [PATCH 274/418] tty/serial/pl011: Make the locking work on RT +Subject: [PATCH 272/414] tty/serial/pl011: Make the locking work on RT The lock is a sleeping lock and local_irq_save() is not the optimsation we are looking for. Redo it to make it work on -RT and non-RT. @@ -49,5 +49,5 @@ index c9f701aca677..81d6b15fb80a 100644 clk_disable(uap->clk); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch b/kernel/patches-4.14.x-rt/0273-rt-Improve-the-serial-console-PASS_LIMIT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch rename to kernel/patches-4.14.x-rt/0273-rt-Improve-the-serial-console-PASS_LIMIT.patch index a2b16e657..80495c6ae 100644 --- a/kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch +++ b/kernel/patches-4.14.x-rt/0273-rt-Improve-the-serial-console-PASS_LIMIT.patch @@ -1,7 +1,7 @@ -From b7cad0b0c9aefbae3d0322f4ac9d59fddd667350 Mon Sep 17 00:00:00 2001 +From 98db40e17829df0dd3a1fe520247508d49eb8657 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 14 Dec 2011 13:05:54 +0100 -Subject: [PATCH 275/418] rt: Improve the serial console PASS_LIMIT +Subject: [PATCH 273/414] rt: Improve the serial console PASS_LIMIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -42,5 +42,5 @@ index d29b512a7d9f..bc8cbb995b29 100644 #include /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch b/kernel/patches-4.14.x-rt/0274-tty-serial-8250-don-t-take-the-trylock-during-oops.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch rename to kernel/patches-4.14.x-rt/0274-tty-serial-8250-don-t-take-the-trylock-during-oops.patch index 2863ede8e..227694b94 100644 --- a/kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch +++ b/kernel/patches-4.14.x-rt/0274-tty-serial-8250-don-t-take-the-trylock-during-oops.patch @@ -1,7 +1,7 @@ -From 3b9b6e1519171cb6bf05e318777148e72ef0dd4f Mon Sep 17 00:00:00 2001 +From 8f34f5a727c1131fefe52854b672c1f8d547075f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Apr 2016 16:55:02 +0200 -Subject: [PATCH 276/418] tty: serial: 8250: don't take the trylock during oops +Subject: [PATCH 274/414] tty: serial: 8250: don't take the trylock during oops An oops with irqs off (panic() from irqsafe hrtimer like the watchdog timer) will lead to a lockdep warning on each invocation and as such @@ -30,5 +30,5 @@ index be456ea27ab2..832d0fd9d371 100644 spin_lock_irqsave(&port->lock, flags); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch b/kernel/patches-4.14.x-rt/0275-locking-percpu-rwsem-Remove-preempt_disable-variants.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch rename to kernel/patches-4.14.x-rt/0275-locking-percpu-rwsem-Remove-preempt_disable-variants.patch index 857d5c2cd..3ee247c23 100644 --- a/kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch +++ b/kernel/patches-4.14.x-rt/0275-locking-percpu-rwsem-Remove-preempt_disable-variants.patch @@ -1,7 +1,7 @@ -From a13bed09478d7efdcfd57259d0fc385e53d28087 Mon Sep 17 00:00:00 2001 +From 96684c5bc8c08d4b77e1e8de466dc74e62b4e6d4 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 23 Nov 2016 16:29:32 +0100 -Subject: [PATCH 277/418] locking/percpu-rwsem: Remove preempt_disable variants +Subject: [PATCH 275/414] locking/percpu-rwsem: Remove preempt_disable variants Effective revert commit: @@ -221,5 +221,5 @@ index 79b99d653e03..fb44e237316d 100644 extern void percpu_up_write(struct percpu_rw_semaphore *); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch b/kernel/patches-4.14.x-rt/0276-fs-namespace-preemption-fix.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch rename to kernel/patches-4.14.x-rt/0276-fs-namespace-preemption-fix.patch index 2e83a0e2e..447df170f 100644 --- a/kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch +++ b/kernel/patches-4.14.x-rt/0276-fs-namespace-preemption-fix.patch @@ -1,7 +1,7 @@ -From a45c65024ac8f55ad0dc1ccfa72803fb57500595 Mon Sep 17 00:00:00 2001 +From ab2dce566dbd1b9ac65945e69500355aed443f5c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 19 Jul 2009 08:44:27 -0500 -Subject: [PATCH 278/418] fs: namespace preemption fix +Subject: [PATCH 276/414] fs: namespace preemption fix On RT we cannot loop with preemption disabled here as mnt_make_readonly() might have been preempted. We can safely enable @@ -31,5 +31,5 @@ index 1eb3bfd8be5a..0a74d6c02928 100644 * After the slowpath clears MNT_WRITE_HOLD, mnt_is_readonly will * be set to match its requirements. So we must not load that until -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch b/kernel/patches-4.14.x-rt/0277-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch rename to kernel/patches-4.14.x-rt/0277-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch index 03c183976..8ff7f8341 100644 --- a/kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch +++ b/kernel/patches-4.14.x-rt/0277-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch @@ -1,7 +1,7 @@ -From 708e30bda47739d6dbea5202dbad40d8f8f8496d Mon Sep 17 00:00:00 2001 +From 3dcaa74177f1e95f0b7214fa224614a1f3fd16c2 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Tue, 15 May 2012 13:53:56 +0800 -Subject: [PATCH 279/418] mm: Protect activate_mm() by +Subject: [PATCH 277/414] mm: Protect activate_mm() by preempt_[disable&enable]_rt() User preempt_*_rt instead of local_irq_*_rt or otherwise there will be @@ -76,5 +76,5 @@ index 3e612ae748e9..d0ccc070979f 100644 #ifdef finish_arch_post_lock_switch finish_arch_post_lock_switch(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch b/kernel/patches-4.14.x-rt/0278-block-Turn-off-warning-which-is-bogus-on-RT.patch similarity index 80% rename from kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch rename to kernel/patches-4.14.x-rt/0278-block-Turn-off-warning-which-is-bogus-on-RT.patch index 17cfef89e..e186797f8 100644 --- a/kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0278-block-Turn-off-warning-which-is-bogus-on-RT.patch @@ -1,7 +1,7 @@ -From 18a708f4daf485c6b76fd7f2b7f4f8a8ba20cc02 Mon Sep 17 00:00:00 2001 +From bd21c3ac17eac6df8a1c67e53e6054125bd5e27b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jun 2011 17:05:09 +0200 -Subject: [PATCH 280/418] block: Turn off warning which is bogus on RT +Subject: [PATCH 278/414] block: Turn off warning which is bogus on RT On -RT the context is always with IRQs enabled. Ignore this warning on -RT. @@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c -index b4dd598666b9..0b7308bce7e7 100644 +index 2b026f66ecf1..7d9b502cc969 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -280,7 +280,7 @@ EXPORT_SYMBOL(blk_start_queue_async); @@ -24,5 +24,5 @@ index b4dd598666b9..0b7308bce7e7 100644 queue_flag_clear(QUEUE_FLAG_STOPPED, q); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch b/kernel/patches-4.14.x-rt/0279-fs-ntfs-disable-interrupt-only-on-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch rename to kernel/patches-4.14.x-rt/0279-fs-ntfs-disable-interrupt-only-on-RT.patch index b1060be55..b5cec54e8 100644 --- a/kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0279-fs-ntfs-disable-interrupt-only-on-RT.patch @@ -1,7 +1,7 @@ -From e5df9653b83104d3f7e153797f32a01efcb3a5a4 Mon Sep 17 00:00:00 2001 +From ef315e0c27e3b94211279e30e02c0b680e571a5f Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 3 Jul 2009 08:44:12 -0500 -Subject: [PATCH 281/418] fs: ntfs: disable interrupt only on !RT +Subject: [PATCH 279/414] fs: ntfs: disable interrupt only on !RT On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote: > * Nick Piggin wrote: @@ -76,5 +76,5 @@ index e11411997769..a982d7c3ad91 100644 if (likely(page_uptodate && !PageError(page))) SetPageUptodate(page); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0280-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0280-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index 51936bb48..a5a989d41 100644 --- a/kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0280-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ -From 657680ff385c773fdc9e90b12913d87647e4e5b4 Mon Sep 17 00:00:00 2001 +From 574717bcefe8f350e88ca9eabf46e7624290092a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 17 Feb 2014 17:30:03 +0100 -Subject: [PATCH 282/418] fs: jbd2: pull your plug when waiting for space +Subject: [PATCH 280/414] fs: jbd2: pull your plug when waiting for space Two cps in parallel managed to stall the the ext4 fs. It seems that journal code is either waiting for locks or sleeping waiting for @@ -33,5 +33,5 @@ index 4055f51617ef..bba2e5e6e917 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0281-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0281-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index b9c0ce6fd..9f1f3e2ec 100644 --- a/kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0281-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ -From 4a0051dd9c39470fa53111a6d5cae9aaa414da4e Mon Sep 17 00:00:00 2001 +From 4767acbbeddb5acd77a45c612dc6c06411fe6435 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Nov 2017 17:51:51 +0100 -Subject: [PATCH 283/418] Revert "fs: jbd2: pull your plug when waiting for +Subject: [PATCH 281/414] Revert "fs: jbd2: pull your plug when waiting for space" This reverts commit "fs: jbd2: pull your plug when waiting for space". @@ -28,5 +28,5 @@ index bba2e5e6e917..4055f51617ef 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch b/kernel/patches-4.14.x-rt/0282-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch rename to kernel/patches-4.14.x-rt/0282-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch index 8aecf8c2d..16b288b64 100644 --- a/kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch +++ b/kernel/patches-4.14.x-rt/0282-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch @@ -1,7 +1,7 @@ -From cec4d8b783cfc139cc95f3c570e12077b62d7669 Mon Sep 17 00:00:00 2001 +From e5cf5fb97772b04da25f373a9f184da3ab9c01f4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 12:32:34 +0200 -Subject: [PATCH 284/418] fs/dcache: bringt back explicit INIT_HLIST_BL_HEAD +Subject: [PATCH 282/414] fs/dcache: bringt back explicit INIT_HLIST_BL_HEAD init Commit 3d375d78593c ("mm: update callers to use HASH_ZERO flag") removed @@ -54,5 +54,5 @@ index 5f31a93150d1..73fe464d2240 100644 /* SLAB cache for __getname() consumers */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch b/kernel/patches-4.14.x-rt/0283-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch rename to kernel/patches-4.14.x-rt/0283-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch index ce0c934c3..b259bb207 100644 --- a/kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch +++ b/kernel/patches-4.14.x-rt/0283-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch @@ -1,7 +1,7 @@ -From 356fc53553f06102058730c4f9314f1842ee1dc9 Mon Sep 17 00:00:00 2001 +From bb0e576eb73b966d34de4782a5cd9ae9a7d31e67 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Oct 2017 11:29:53 +0200 -Subject: [PATCH 285/418] fs/dcache: disable preemption on i_dir_seq's write +Subject: [PATCH 283/414] fs/dcache: disable preemption on i_dir_seq's write side i_dir_seq is an opencoded seqcounter. Based on the code it looks like we @@ -69,7 +69,7 @@ index 73fe464d2240..0d8a43d0e445 100644 rcu_read_unlock(); goto retry; diff --git a/fs/inode.c b/fs/inode.c -index d1e35b53bb23..f3cb2638e258 100644 +index cfc36d11bcb3..b77ce179798a 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -154,7 +154,7 @@ int inode_init_always(struct super_block *sb, struct inode *inode) @@ -127,5 +127,5 @@ index cc613f20e5a6..b806e2116f5c 100644 __u32 i_generation; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch b/kernel/patches-4.14.x-rt/0284-x86-Convert-mce-timer-to-hrtimer.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch rename to kernel/patches-4.14.x-rt/0284-x86-Convert-mce-timer-to-hrtimer.patch index d07136a8b..945805ddc 100644 --- a/kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0284-x86-Convert-mce-timer-to-hrtimer.patch @@ -1,7 +1,7 @@ -From d85b403e69f451d4bbbed78998b1db324bd3c3ed Mon Sep 17 00:00:00 2001 +From f049a2a7920d0206aa147efa5667c37e9e740dba Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 13 Dec 2010 16:33:39 +0100 -Subject: [PATCH 286/418] x86: Convert mce timer to hrtimer +Subject: [PATCH 284/414] x86: Convert mce timer to hrtimer mce_timer is started in atomic contexts of cpu bringup. This results in might_sleep() warnings on RT. Convert mce_timer to a hrtimer to @@ -26,7 +26,7 @@ fold in: 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c -index 28d27de08545..85ceb6a035b4 100644 +index 98e4e4dc4a3b..5cce2ee3b9f6 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c @@ -42,6 +42,7 @@ @@ -37,7 +37,7 @@ index 28d27de08545..85ceb6a035b4 100644 #include #include -@@ -1353,7 +1354,7 @@ int memory_failure(unsigned long pfn, int vector, int flags) +@@ -1365,7 +1366,7 @@ int memory_failure(unsigned long pfn, int vector, int flags) static unsigned long check_interval = INITIAL_CHECK_INTERVAL; static DEFINE_PER_CPU(unsigned long, mce_next_interval); /* in jiffies */ @@ -46,7 +46,7 @@ index 28d27de08545..85ceb6a035b4 100644 static unsigned long mce_adjust_timer_default(unsigned long interval) { -@@ -1362,27 +1363,19 @@ static unsigned long mce_adjust_timer_default(unsigned long interval) +@@ -1374,27 +1375,19 @@ static unsigned long mce_adjust_timer_default(unsigned long interval) static unsigned long (*mce_adjust_timer)(unsigned long interval) = mce_adjust_timer_default; @@ -80,7 +80,7 @@ index 28d27de08545..85ceb6a035b4 100644 iv = __this_cpu_read(mce_next_interval); if (mce_available(this_cpu_ptr(&cpu_info))) { -@@ -1405,7 +1398,11 @@ static void mce_timer_fn(unsigned long data) +@@ -1417,7 +1410,11 @@ static void mce_timer_fn(unsigned long data) done: __this_cpu_write(mce_next_interval, iv); @@ -93,7 +93,7 @@ index 28d27de08545..85ceb6a035b4 100644 } /* -@@ -1413,7 +1410,7 @@ static void mce_timer_fn(unsigned long data) +@@ -1425,7 +1422,7 @@ static void mce_timer_fn(unsigned long data) */ void mce_timer_kick(unsigned long interval) { @@ -102,7 +102,7 @@ index 28d27de08545..85ceb6a035b4 100644 unsigned long iv = __this_cpu_read(mce_next_interval); __start_timer(t, interval); -@@ -1428,7 +1425,7 @@ static void mce_timer_delete_all(void) +@@ -1440,7 +1437,7 @@ static void mce_timer_delete_all(void) int cpu; for_each_online_cpu(cpu) @@ -111,7 +111,7 @@ index 28d27de08545..85ceb6a035b4 100644 } /* -@@ -1757,7 +1754,7 @@ static void __mcheck_cpu_clear_vendor(struct cpuinfo_x86 *c) +@@ -1769,7 +1766,7 @@ static void __mcheck_cpu_clear_vendor(struct cpuinfo_x86 *c) } } @@ -120,7 +120,7 @@ index 28d27de08545..85ceb6a035b4 100644 { unsigned long iv = check_interval * HZ; -@@ -1770,18 +1767,19 @@ static void mce_start_timer(struct timer_list *t) +@@ -1782,18 +1779,19 @@ static void mce_start_timer(struct timer_list *t) static void __mcheck_cpu_setup_timer(void) { @@ -146,7 +146,7 @@ index 28d27de08545..85ceb6a035b4 100644 mce_start_timer(t); } -@@ -2300,7 +2298,7 @@ static int mce_cpu_dead(unsigned int cpu) +@@ -2309,7 +2307,7 @@ static int mce_cpu_dead(unsigned int cpu) static int mce_cpu_online(unsigned int cpu) { @@ -155,7 +155,7 @@ index 28d27de08545..85ceb6a035b4 100644 int ret; mce_device_create(cpu); -@@ -2317,10 +2315,10 @@ static int mce_cpu_online(unsigned int cpu) +@@ -2326,10 +2324,10 @@ static int mce_cpu_online(unsigned int cpu) static int mce_cpu_pre_down(unsigned int cpu) { @@ -169,5 +169,5 @@ index 28d27de08545..85ceb6a035b4 100644 mce_device_remove(cpu); return 0; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch b/kernel/patches-4.14.x-rt/0285-x86-mce-use-swait-queue-for-mce-wakeups.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch rename to kernel/patches-4.14.x-rt/0285-x86-mce-use-swait-queue-for-mce-wakeups.patch index ca886cef6..b550eb13e 100644 --- a/kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch +++ b/kernel/patches-4.14.x-rt/0285-x86-mce-use-swait-queue-for-mce-wakeups.patch @@ -1,7 +1,7 @@ -From 05e5c8b7f200382ac85872f384aaf56dbd044606 Mon Sep 17 00:00:00 2001 +From fd77c501f6daf3fbcc45d2eb771933541f89c3fb Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 27 Feb 2015 15:20:37 +0100 -Subject: [PATCH 287/418] x86/mce: use swait queue for mce wakeups +Subject: [PATCH 285/414] x86/mce: use swait queue for mce wakeups We had a customer report a lockup on a 3.0-rt kernel that had the following backtrace: @@ -127,5 +127,5 @@ index 7f85b76f43bc..9e74b805070f 100644 return 0; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch b/kernel/patches-4.14.x-rt/0286-x86-stackprotector-Avoid-random-pool-on-rt.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch rename to kernel/patches-4.14.x-rt/0286-x86-stackprotector-Avoid-random-pool-on-rt.patch index 3b0ed1e6a..55599929e 100644 --- a/kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0286-x86-stackprotector-Avoid-random-pool-on-rt.patch @@ -1,7 +1,7 @@ -From 3d6a7dde3e2bb00d9ebd8f76f50136bfce927641 Mon Sep 17 00:00:00 2001 +From 86b1849738a234ea0435b00727ed20e28514f08c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 16 Dec 2010 14:25:18 +0100 -Subject: [PATCH 288/418] x86: stackprotector: Avoid random pool on rt +Subject: [PATCH 286/414] x86: stackprotector: Avoid random pool on rt CPU bringup calls into the random pool to initialize the stack canary. During boot that works nicely even on RT as the might sleep @@ -46,5 +46,5 @@ index 371b3a4af000..06613a805b25 100644 canary += tsc + (tsc << 32UL); canary &= CANARY_MASK; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/kernel/patches-4.14.x-rt/0287-x86-Use-generic-rwsem_spinlocks-on-rt.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch rename to kernel/patches-4.14.x-rt/0287-x86-Use-generic-rwsem_spinlocks-on-rt.patch index 0819553b9..6134ecf95 100644 --- a/kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0287-x86-Use-generic-rwsem_spinlocks-on-rt.patch @@ -1,7 +1,7 @@ -From 777fdaf3d80ddf9cc364f5fae01e75c380427208 Mon Sep 17 00:00:00 2001 +From 83f15e84ba21a516a0ddf84741198f3197faea0d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 26 Jul 2009 02:21:32 +0200 -Subject: [PATCH 289/418] x86: Use generic rwsem_spinlocks on -rt +Subject: [PATCH 287/414] x86: Use generic rwsem_spinlocks on -rt Simplifies the separation of anon_rw_semaphores and rw_semaphores for -rt. @@ -29,5 +29,5 @@ index 7483cd514c32..310df1ea0d68 100644 config GENERIC_CALIBRATE_DELAY def_bool y -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch b/kernel/patches-4.14.x-rt/0288-x86-UV-raw_spinlock-conversion.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch rename to kernel/patches-4.14.x-rt/0288-x86-UV-raw_spinlock-conversion.patch index 9e63f685a..0bcf5011f 100644 --- a/kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch +++ b/kernel/patches-4.14.x-rt/0288-x86-UV-raw_spinlock-conversion.patch @@ -1,7 +1,7 @@ -From aaf058930f47aa05108930d3769c0fd27e9c5374 Mon Sep 17 00:00:00 2001 +From 93ad19dbf6708fcad3d962e123053e19b37391ac Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 2 Nov 2014 08:31:37 +0100 -Subject: [PATCH 290/418] x86: UV: raw_spinlock conversion +Subject: [PATCH 288/414] x86: UV: raw_spinlock conversion Shrug. Lots of hobbyists have a beast in their basement, right? @@ -225,5 +225,5 @@ index b082d71b08ee..badf377efc21 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch b/kernel/patches-4.14.x-rt/0289-thermal-Defer-thermal-wakups-to-threads.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch rename to kernel/patches-4.14.x-rt/0289-thermal-Defer-thermal-wakups-to-threads.patch index e3df30ac8..870dc16df 100644 --- a/kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch +++ b/kernel/patches-4.14.x-rt/0289-thermal-Defer-thermal-wakups-to-threads.patch @@ -1,7 +1,7 @@ -From 0249714f7ad706a687274bfc85143fe48836f6ba Mon Sep 17 00:00:00 2001 +From f9a8d2abb9f840ce9d313f346eb300caeb551c3d Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 17 Feb 2015 09:37:44 +0100 -Subject: [PATCH 291/418] thermal: Defer thermal wakups to threads +Subject: [PATCH 289/414] thermal: Defer thermal wakups to threads On RT the spin lock in pkg_temp_thermal_platfrom_thermal_notify will call schedule while we run in irq context. @@ -131,5 +131,5 @@ index d93eee2f101b..0287333b1f3c 100644 module_exit(pkg_temp_thermal_exit) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch b/kernel/patches-4.14.x-rt/0290-fs-epoll-Do-not-disable-preemption-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch rename to kernel/patches-4.14.x-rt/0290-fs-epoll-Do-not-disable-preemption-on-RT.patch index 859ff7952..320321934 100644 --- a/kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0290-fs-epoll-Do-not-disable-preemption-on-RT.patch @@ -1,7 +1,7 @@ -From 692a0f545559540f152a9ee06be8cc7a72c34ad0 Mon Sep 17 00:00:00 2001 +From a37c73f42bcde43346b00f1813dac19dddf0b11b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 16:35:35 +0200 -Subject: [PATCH 292/418] fs/epoll: Do not disable preemption on RT +Subject: [PATCH 290/414] fs/epoll: Do not disable preemption on RT ep_call_nested() takes a sleeping lock so we can't disable preemption. The light version is enough since ep_call_nested() doesn't mind beeing @@ -32,5 +32,5 @@ index 2fabd19cdeea..b768c32631eb 100644 static void ep_remove_wait_queue(struct eppoll_entry *pwq) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch b/kernel/patches-4.14.x-rt/0291-mm-vmalloc-Another-preempt-disable-region-which-suck.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch rename to kernel/patches-4.14.x-rt/0291-mm-vmalloc-Another-preempt-disable-region-which-suck.patch index 7e09951cc..5a7ac5419 100644 --- a/kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch +++ b/kernel/patches-4.14.x-rt/0291-mm-vmalloc-Another-preempt-disable-region-which-suck.patch @@ -1,7 +1,7 @@ -From 96b989b348a79d546d59bc7281c8dbc5bb65bf42 Mon Sep 17 00:00:00 2001 +From 74e7ce72da715917b95d78afa742f23ca1197823 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 11:39:36 +0200 -Subject: [PATCH 293/418] mm/vmalloc: Another preempt disable region which +Subject: [PATCH 291/414] mm/vmalloc: Another preempt disable region which sucks Avoid the preempt disable version of get_cpu_var(). The inner-lock should @@ -68,5 +68,5 @@ index ebff729cc956..5e3c3b21fe9e 100644 /* Allocate new block if nothing was found */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch b/kernel/patches-4.14.x-rt/0292-block-mq-use-cpu_light.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch rename to kernel/patches-4.14.x-rt/0292-block-mq-use-cpu_light.patch index 38b26b7a9..80c7f7f9f 100644 --- a/kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0292-block-mq-use-cpu_light.patch @@ -1,7 +1,7 @@ -From 064f7f700e88a8f165c9abcf0ebd35f12c6713eb Mon Sep 17 00:00:00 2001 +From b0367543358036fa797e7eefe6d17fabd360f093 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 10:37:23 +0200 -Subject: [PATCH 294/418] block: mq: use cpu_light() +Subject: [PATCH 292/414] block: mq: use cpu_light() there is a might sleep splat because get_cpu() disables preemption and later we grab a lock. As a workaround for this we use get_cpu_light(). @@ -31,5 +31,5 @@ index 877237e09083..d944750bade0 100644 struct blk_mq_alloc_data { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch b/kernel/patches-4.14.x-rt/0293-block-mq-do-not-invoke-preempt_disable.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch rename to kernel/patches-4.14.x-rt/0293-block-mq-do-not-invoke-preempt_disable.patch index 0b046aeac..71c2e1665 100644 --- a/kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0293-block-mq-do-not-invoke-preempt_disable.patch @@ -1,7 +1,7 @@ -From 15884a21e8bf605626eca2cd6a19ca865b669ef9 Mon Sep 17 00:00:00 2001 +From 306ac409065baad2c353b2ed91f867daea9fe6d2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 295/418] block/mq: do not invoke preempt_disable() +Subject: [PATCH 293/414] block/mq: do not invoke preempt_disable() preempt_disable() and get_cpu() don't play well together with the sleeping locks it tries to allocate later. @@ -53,5 +53,5 @@ index 1bd1069c5d84..ff88e0991196 100644 kblockd_schedule_delayed_work_on(blk_mq_hctx_next_cpu(hctx), -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch b/kernel/patches-4.14.x-rt/0294-block-mq-don-t-complete-requests-via-IPI.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch rename to kernel/patches-4.14.x-rt/0294-block-mq-don-t-complete-requests-via-IPI.patch index 26ef472bd..b1867b2e9 100644 --- a/kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch +++ b/kernel/patches-4.14.x-rt/0294-block-mq-don-t-complete-requests-via-IPI.patch @@ -1,7 +1,7 @@ -From 9ccd4e0d93c504e73e0e35b948b067c70f2268fc Mon Sep 17 00:00:00 2001 +From b421c8861fb8d0b3ed58993e4419f0490e17d6d4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 15:10:08 +0100 -Subject: [PATCH 296/418] block/mq: don't complete requests via IPI +Subject: [PATCH 294/414] block/mq: don't complete requests via IPI The IPI runs in hardirq context and there are sleeping locks. This patch moves the completion into a workqueue. @@ -15,7 +15,7 @@ Signed-off-by: Sebastian Andrzej Siewior 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c -index 0b7308bce7e7..4ea09f0974d6 100644 +index 7d9b502cc969..fb8ad5b175e2 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -116,6 +116,9 @@ void blk_rq_init(struct request_queue *q, struct request *rq) @@ -100,7 +100,7 @@ index 994cbb0f7ffc..0d4b7e3489a9 100644 void blk_mq_start_request(struct request *rq); void blk_mq_end_request(struct request *rq, blk_status_t error); diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h -index 6362e3606aa5..b68752bfb645 100644 +index 4d4af0e94059..a32b7ad032cb 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -134,6 +134,9 @@ typedef __u32 __bitwise req_flags_t; @@ -114,5 +114,5 @@ index 6362e3606aa5..b68752bfb645 100644 struct __call_single_data csd; u64 fifo_time; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/kernel/patches-4.14.x-rt/0295-md-raid5-Make-raid5_percpu-handling-RT-aware.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch rename to kernel/patches-4.14.x-rt/0295-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 23f1e92e8..a019e57ea 100644 --- a/kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0295-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,7 +1,7 @@ -From c8bbffcc205a61efe944e774f79a8114524aea9f Mon Sep 17 00:00:00 2001 +From f207c455848234829347da5c7c422452abf79d7a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Apr 2010 16:51:31 +0200 -Subject: [PATCH 297/418] md: raid5: Make raid5_percpu handling RT aware +Subject: [PATCH 295/414] md: raid5: Make raid5_percpu handling RT aware __raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic @@ -19,7 +19,7 @@ Tested-by: Udo van den Heuvel 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c -index de1ef6264ee7..11569aa9e6d2 100644 +index 07ca2fd10189..d4fa7b78fb68 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -2067,8 +2067,9 @@ static void raid_run_ops(struct stripe_head *sh, unsigned long ops_request) @@ -43,7 +43,7 @@ index de1ef6264ee7..11569aa9e6d2 100644 } static void free_stripe(struct kmem_cache *sc, struct stripe_head *sh) -@@ -6797,6 +6799,7 @@ static int raid456_cpu_up_prepare(unsigned int cpu, struct hlist_node *node) +@@ -6775,6 +6777,7 @@ static int raid456_cpu_up_prepare(unsigned int cpu, struct hlist_node *node) __func__, cpu); return -ENOMEM; } @@ -51,7 +51,7 @@ index de1ef6264ee7..11569aa9e6d2 100644 return 0; } -@@ -6807,7 +6810,6 @@ static int raid5_alloc_percpu(struct r5conf *conf) +@@ -6785,7 +6788,6 @@ static int raid5_alloc_percpu(struct r5conf *conf) conf->percpu = alloc_percpu(struct raid5_percpu); if (!conf->percpu) return -ENOMEM; @@ -72,5 +72,5 @@ index 2e6123825095..37a6021418a2 100644 struct flex_array *scribble; /* space for constructing buffer * lists and performing address -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch b/kernel/patches-4.14.x-rt/0296-md-raid5-do-not-disable-interrupts.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch rename to kernel/patches-4.14.x-rt/0296-md-raid5-do-not-disable-interrupts.patch index 6c5bbd4f7..52f485c70 100644 --- a/kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0296-md-raid5-do-not-disable-interrupts.patch @@ -1,7 +1,7 @@ -From 37e948baaf292138db26d8af9947074a6e904450 Mon Sep 17 00:00:00 2001 +From a761e049048eab6527b58ba94e8847b8527bf513 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 17 Nov 2017 16:21:00 +0100 -Subject: [PATCH 298/418] md/raid5: do not disable interrupts +Subject: [PATCH 296/414] md/raid5: do not disable interrupts |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 |in_atomic(): 0, irqs_disabled(): 1, pid: 2992, name: lvm @@ -34,7 +34,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c -index 11569aa9e6d2..373ee9fb716c 100644 +index d4fa7b78fb68..6d8112678ff9 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -410,7 +410,7 @@ void raid5_release_stripe(struct stripe_head *sh) @@ -56,5 +56,5 @@ index 11569aa9e6d2..373ee9fb716c 100644 static inline void remove_hash(struct stripe_head *sh) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch b/kernel/patches-4.14.x-rt/0297-rt-Introduce-cpu_chill.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch rename to kernel/patches-4.14.x-rt/0297-rt-Introduce-cpu_chill.patch index 3eb6e5955..acc0af342 100644 --- a/kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch +++ b/kernel/patches-4.14.x-rt/0297-rt-Introduce-cpu_chill.patch @@ -1,7 +1,7 @@ -From 0b1763ad6e9891d15438150336caafcae8644dfa Mon Sep 17 00:00:00 2001 +From e9d5f841f999dca038114919379cad7114304d45 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 20:51:03 +0100 -Subject: [PATCH 299/418] rt: Introduce cpu_chill() +Subject: [PATCH 297/414] rt: Introduce cpu_chill() Retry loops on RT might loop forever when the modifying side was preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill() @@ -132,5 +132,5 @@ index f824b9721ce7..ad67ac12d6b6 100644 * Functions related to boot-time initialization: */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch b/kernel/patches-4.14.x-rt/0298-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch rename to kernel/patches-4.14.x-rt/0298-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch index df755ea53..d22b76cd3 100644 --- a/kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch +++ b/kernel/patches-4.14.x-rt/0298-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch @@ -1,7 +1,7 @@ -From af00646d7a38726c36b2c055037a57ed10577860 Mon Sep 17 00:00:00 2001 +From cd4b3f7688ee5eed05f367d461f96f064a606277 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 4 Mar 2014 12:28:32 -0500 -Subject: [PATCH 300/418] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep +Subject: [PATCH 298/414] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep We hit another bug that was caused by switching cpu_chill() from msleep() to hrtimer_nanosleep(). @@ -104,5 +104,5 @@ index ad67ac12d6b6..6c77643eaf02 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0299-kernel-cpu_chill-use-schedule_hrtimeout.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch rename to kernel/patches-4.14.x-rt/0299-kernel-cpu_chill-use-schedule_hrtimeout.patch index fbccb1b58..bf010bdc8 100644 --- a/kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0299-kernel-cpu_chill-use-schedule_hrtimeout.patch @@ -1,7 +1,7 @@ -From 6d3a5b0526dd3e1c18cf53e56c27b3afa0dcf532 Mon Sep 17 00:00:00 2001 +From f02ce3484dafe40e8ea9c571b9add09e31d71ab7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 13:07:59 +0100 -Subject: [PATCH 301/418] kernel/cpu_chill: use schedule_hrtimeout() +Subject: [PATCH 299/414] kernel/cpu_chill: use schedule_hrtimeout() If a task calls cpu_chill() and gets woken up by a regular or spurious wakeup and has a signal pending, then it exits the sleep loop in @@ -42,5 +42,5 @@ index 6c77643eaf02..c0efc22ba635 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch b/kernel/patches-4.14.x-rt/0300-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch rename to kernel/patches-4.14.x-rt/0300-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch index 6ecd5aad0..88094027b 100644 --- a/kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch +++ b/kernel/patches-4.14.x-rt/0300-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch @@ -1,7 +1,7 @@ -From 4f346629b8039668899908aec6b666807fa9b905 Mon Sep 17 00:00:00 2001 +From a41a8f9533f9528fb8750bd135b67b6fe5d12516 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 15:04:49 +0100 -Subject: [PATCH 302/418] Revert "cpu_chill: Add a UNINTERRUPTIBLE +Subject: [PATCH 300/414] Revert "cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep" This reverts commit "cpu_chill: Add a UNINTERRUPTIBLE @@ -76,5 +76,5 @@ index c0efc22ba635..ce2c2d04cbaa 100644 struct timespec __user *, rmtp) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch b/kernel/patches-4.14.x-rt/0301-rtmutex-annotate-sleeping-lock-context.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch rename to kernel/patches-4.14.x-rt/0301-rtmutex-annotate-sleeping-lock-context.patch index b1ea6a2d0..e018fd11a 100644 --- a/kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch +++ b/kernel/patches-4.14.x-rt/0301-rtmutex-annotate-sleeping-lock-context.patch @@ -1,7 +1,7 @@ -From 77bbee9c76e26c4a3fa0f1ad8db65f5581fb057b Mon Sep 17 00:00:00 2001 +From 545dd2b4646b8fc8a8549e4b65f7fa3ae8d9f85d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:16:26 +0200 -Subject: [PATCH 303/418] rtmutex: annotate sleeping lock context +Subject: [PATCH 301/414] rtmutex: annotate sleeping lock context The RCU code complains on schedule() within a rcu_readlock() section. The valid scenario on -RT is if a sleeping is held. In order to suppress @@ -239,5 +239,5 @@ index ce2c2d04cbaa..b59e009087a9 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/kernel/patches-4.14.x-rt/0302-block-blk-mq-move-blk_queue_usage_counter_release-in.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch rename to kernel/patches-4.14.x-rt/0302-block-blk-mq-move-blk_queue_usage_counter_release-in.patch index 133092394..3b8ac7478 100644 --- a/kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +++ b/kernel/patches-4.14.x-rt/0302-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -1,7 +1,7 @@ -From 1f0f39a6a7045be9c38a2d46c7ca49d14f89fd08 Mon Sep 17 00:00:00 2001 +From bdf39fe112b495159da20749bf6c332dde5c1b6e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 13:49:16 +0100 -Subject: [PATCH 306/418] block: blk-mq: move blk_queue_usage_counter_release() +Subject: [PATCH 302/414] block: blk-mq: move blk_queue_usage_counter_release() into process context | BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 @@ -52,10 +52,10 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c -index 4ea09f0974d6..a51c18d57a0d 100644 +index fb8ad5b175e2..81ab56cf7efa 100644 --- a/block/blk-core.c +++ b/block/blk-core.c -@@ -814,12 +814,21 @@ void blk_queue_exit(struct request_queue *q) +@@ -811,12 +811,21 @@ void blk_queue_exit(struct request_queue *q) percpu_ref_put(&q->q_usage_counter); } @@ -78,7 +78,7 @@ index 4ea09f0974d6..a51c18d57a0d 100644 } static void blk_rq_timed_out_timer(unsigned long data) -@@ -896,6 +905,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) +@@ -893,6 +902,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); init_waitqueue_head(&q->mq_freeze_wq); @@ -86,7 +86,7 @@ index 4ea09f0974d6..a51c18d57a0d 100644 /* * Init percpu_ref in atomic mode so that it's faster to shutdown. -@@ -3625,6 +3635,8 @@ int __init blk_dev_init(void) +@@ -3626,6 +3636,8 @@ int __init blk_dev_init(void) if (!kblockd_workqueue) panic("Failed to create kblockd\n"); @@ -96,7 +96,7 @@ index 4ea09f0974d6..a51c18d57a0d 100644 sizeof(struct request), 0, SLAB_PANIC, NULL); diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h -index b68752bfb645..49b53ad6d2d6 100644 +index a32b7ad032cb..cbf9d5730dd3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -27,6 +27,7 @@ @@ -116,5 +116,5 @@ index b68752bfb645..49b53ad6d2d6 100644 struct list_head all_q_node; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch b/kernel/patches-4.14.x-rt/0303-block-Use-cpu_chill-for-retry-loops.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch rename to kernel/patches-4.14.x-rt/0303-block-Use-cpu_chill-for-retry-loops.patch index cf32956a8..5c4302478 100644 --- a/kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch +++ b/kernel/patches-4.14.x-rt/0303-block-Use-cpu_chill-for-retry-loops.patch @@ -1,7 +1,7 @@ -From 7ae5e64d19356887a6b7e27d4b8d69b8f96a6418 Mon Sep 17 00:00:00 2001 +From 1399e59dc84759518c174a6c1464c9de6dd2b2a4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 20 Dec 2012 18:28:26 +0100 -Subject: [PATCH 307/418] block: Use cpu_chill() for retry loops +Subject: [PATCH 303/414] block: Use cpu_chill() for retry loops Retry loops on RT might loop forever when the modifying side was preempted. Steven also observed a live lock when there was a @@ -46,5 +46,5 @@ index f23311e4b201..ca9ea624f159 100644 } } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch b/kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch deleted file mode 100644 index d4f6a3973..000000000 --- a/kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch +++ /dev/null @@ -1,132 +0,0 @@ -From d89e89efb4ad991ec5ea4b91ec0451c5ec4ba123 Mon Sep 17 00:00:00 2001 -From: Sebastian Andrzej Siewior -Date: Fri, 13 Feb 2015 11:01:26 +0100 -Subject: [PATCH 304/418] block: blk-mq: Use swait - -| BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 -| in_atomic(): 1, irqs_disabled(): 0, pid: 255, name: kworker/u257:6 -| 5 locks held by kworker/u257:6/255: -| #0: ("events_unbound"){.+.+.+}, at: [] process_one_work+0x171/0x5e0 -| #1: ((&entry->work)){+.+.+.}, at: [] process_one_work+0x171/0x5e0 -| #2: (&shost->scan_mutex){+.+.+.}, at: [] __scsi_add_device+0xa3/0x130 [scsi_mod] -| #3: (&set->tag_list_lock){+.+...}, at: [] blk_mq_init_queue+0x96a/0xa50 -| #4: (rcu_read_lock_sched){......}, at: [] percpu_ref_kill_and_confirm+0x1d/0x120 -| Preemption disabled at:[] blk_mq_freeze_queue_start+0x56/0x70 -| -| CPU: 2 PID: 255 Comm: kworker/u257:6 Not tainted 3.18.7-rt0+ #1 -| Workqueue: events_unbound async_run_entry_fn -| 0000000000000003 ffff8800bc29f998 ffffffff815b3a12 0000000000000000 -| 0000000000000000 ffff8800bc29f9b8 ffffffff8109aa16 ffff8800bc29fa28 -| ffff8800bc5d1bc8 ffff8800bc29f9e8 ffffffff815b8dd4 ffff880000000000 -| Call Trace: -| [] dump_stack+0x4f/0x7c -| [] __might_sleep+0x116/0x190 -| [] rt_spin_lock+0x24/0x60 -| [] __wake_up+0x29/0x60 -| [] blk_mq_usage_counter_release+0x1e/0x20 -| [] percpu_ref_kill_and_confirm+0x106/0x120 -| [] blk_mq_freeze_queue_start+0x56/0x70 -| [] blk_mq_update_tag_set_depth+0x40/0xd0 -| [] blk_mq_init_queue+0x98c/0xa50 -| [] scsi_mq_alloc_queue+0x20/0x60 [scsi_mod] -| [] scsi_alloc_sdev+0x2f5/0x370 [scsi_mod] -| [] scsi_probe_and_add_lun+0x9e4/0xdd0 [scsi_mod] -| [] __scsi_add_device+0x126/0x130 [scsi_mod] -| [] ata_scsi_scan_host+0xaf/0x200 [libata] -| [] async_port_probe+0x46/0x60 [libata] -| [] async_run_entry_fn+0x3b/0xf0 -| [] process_one_work+0x201/0x5e0 - -Signed-off-by: Sebastian Andrzej Siewior ---- - block/blk-core.c | 6 +++--- - block/blk-mq.c | 8 ++++---- - include/linux/blkdev.h | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/block/blk-core.c b/block/blk-core.c -index 4ea09f0974d6..8b04cde33602 100644 ---- a/block/blk-core.c -+++ b/block/blk-core.c -@@ -799,7 +799,7 @@ int blk_queue_enter(struct request_queue *q, bool nowait) - */ - smp_rmb(); - -- ret = wait_event_interruptible(q->mq_freeze_wq, -+ ret = swait_event_interruptible(q->mq_freeze_wq, - !atomic_read(&q->mq_freeze_depth) || - blk_queue_dying(q)); - if (blk_queue_dying(q)) -@@ -819,7 +819,7 @@ static void blk_queue_usage_counter_release(struct percpu_ref *ref) - struct request_queue *q = - container_of(ref, struct request_queue, q_usage_counter); - -- wake_up_all(&q->mq_freeze_wq); -+ swake_up_all(&q->mq_freeze_wq); - } - - static void blk_rq_timed_out_timer(unsigned long data) -@@ -895,7 +895,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) - q->bypass_depth = 1; - __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); - -- init_waitqueue_head(&q->mq_freeze_wq); -+ init_swait_queue_head(&q->mq_freeze_wq); - - /* - * Init percpu_ref in atomic mode so that it's faster to shutdown. -diff --git a/block/blk-mq.c b/block/blk-mq.c -index 0815a6599ab3..6929a028db12 100644 ---- a/block/blk-mq.c -+++ b/block/blk-mq.c -@@ -151,14 +151,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); - - void blk_mq_freeze_queue_wait(struct request_queue *q) - { -- wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); -+ swait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); - } - EXPORT_SYMBOL_GPL(blk_mq_freeze_queue_wait); - - int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, - unsigned long timeout) - { -- return wait_event_timeout(q->mq_freeze_wq, -+ return swait_event_timeout(q->mq_freeze_wq, - percpu_ref_is_zero(&q->q_usage_counter), - timeout); - } -@@ -201,7 +201,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) - WARN_ON_ONCE(freeze_depth < 0); - if (!freeze_depth) { - percpu_ref_reinit(&q->q_usage_counter); -- wake_up_all(&q->mq_freeze_wq); -+ swake_up_all(&q->mq_freeze_wq); - } - } - EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); -@@ -282,7 +282,7 @@ void blk_mq_wake_waiters(struct request_queue *q) - * dying, we need to ensure that processes currently waiting on - * the queue are notified as well. - */ -- wake_up_all(&q->mq_freeze_wq); -+ swake_up_all(&q->mq_freeze_wq); - } - - bool blk_mq_can_queue(struct blk_mq_hw_ctx *hctx) -diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h -index b68752bfb645..6f278f1fd634 100644 ---- a/include/linux/blkdev.h -+++ b/include/linux/blkdev.h -@@ -598,7 +598,7 @@ struct request_queue { - struct throtl_data *td; - #endif - struct rcu_head rcu_head; -- wait_queue_head_t mq_freeze_wq; -+ struct swait_queue_head mq_freeze_wq; - struct percpu_ref q_usage_counter; - struct list_head all_q_node; - --- -2.17.1 - diff --git a/kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/kernel/patches-4.14.x-rt/0304-fs-dcache-Use-cpu_chill-in-trylock-loops.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch rename to kernel/patches-4.14.x-rt/0304-fs-dcache-Use-cpu_chill-in-trylock-loops.patch index 260c2da15..2df0c30db 100644 --- a/kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch +++ b/kernel/patches-4.14.x-rt/0304-fs-dcache-Use-cpu_chill-in-trylock-loops.patch @@ -1,7 +1,7 @@ -From 1919115b3860008bae10cad4030aff30fe17e87c Mon Sep 17 00:00:00 2001 +From e331cb76a4b69f2a4c3989330b69116625cd72c3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:00:34 +0100 -Subject: [PATCH 308/418] fs: dcache: Use cpu_chill() in trylock loops +Subject: [PATCH 304/414] fs: dcache: Use cpu_chill() in trylock loops Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system @@ -114,5 +114,5 @@ index 0a74d6c02928..78aae83453dd 100644 } /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch b/kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch deleted file mode 100644 index 00c78db2d..000000000 --- a/kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch +++ /dev/null @@ -1,102 +0,0 @@ -From 973ccd3785c59c769c646202eb5330908d08dbd4 Mon Sep 17 00:00:00 2001 -From: Sebastian Andrzej Siewior -Date: Tue, 13 Mar 2018 11:31:09 +0100 -Subject: [PATCH 305/418] Revert "block: blk-mq: Use swait" - -This reverts commit "block: blk-mq: Use swait". The issue remains but -will be fixed differently. - -Cc: stable-rt@vger.kernel.org -Signed-off-by: Sebastian Andrzej Siewior ---- - block/blk-core.c | 6 +++--- - block/blk-mq.c | 8 ++++---- - include/linux/blkdev.h | 2 +- - 3 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/block/blk-core.c b/block/blk-core.c -index 8b04cde33602..4ea09f0974d6 100644 ---- a/block/blk-core.c -+++ b/block/blk-core.c -@@ -799,7 +799,7 @@ int blk_queue_enter(struct request_queue *q, bool nowait) - */ - smp_rmb(); - -- ret = swait_event_interruptible(q->mq_freeze_wq, -+ ret = wait_event_interruptible(q->mq_freeze_wq, - !atomic_read(&q->mq_freeze_depth) || - blk_queue_dying(q)); - if (blk_queue_dying(q)) -@@ -819,7 +819,7 @@ static void blk_queue_usage_counter_release(struct percpu_ref *ref) - struct request_queue *q = - container_of(ref, struct request_queue, q_usage_counter); - -- swake_up_all(&q->mq_freeze_wq); -+ wake_up_all(&q->mq_freeze_wq); - } - - static void blk_rq_timed_out_timer(unsigned long data) -@@ -895,7 +895,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) - q->bypass_depth = 1; - __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); - -- init_swait_queue_head(&q->mq_freeze_wq); -+ init_waitqueue_head(&q->mq_freeze_wq); - - /* - * Init percpu_ref in atomic mode so that it's faster to shutdown. -diff --git a/block/blk-mq.c b/block/blk-mq.c -index 6929a028db12..0815a6599ab3 100644 ---- a/block/blk-mq.c -+++ b/block/blk-mq.c -@@ -151,14 +151,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); - - void blk_mq_freeze_queue_wait(struct request_queue *q) - { -- swait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); -+ wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); - } - EXPORT_SYMBOL_GPL(blk_mq_freeze_queue_wait); - - int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, - unsigned long timeout) - { -- return swait_event_timeout(q->mq_freeze_wq, -+ return wait_event_timeout(q->mq_freeze_wq, - percpu_ref_is_zero(&q->q_usage_counter), - timeout); - } -@@ -201,7 +201,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) - WARN_ON_ONCE(freeze_depth < 0); - if (!freeze_depth) { - percpu_ref_reinit(&q->q_usage_counter); -- swake_up_all(&q->mq_freeze_wq); -+ wake_up_all(&q->mq_freeze_wq); - } - } - EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); -@@ -282,7 +282,7 @@ void blk_mq_wake_waiters(struct request_queue *q) - * dying, we need to ensure that processes currently waiting on - * the queue are notified as well. - */ -- swake_up_all(&q->mq_freeze_wq); -+ wake_up_all(&q->mq_freeze_wq); - } - - bool blk_mq_can_queue(struct blk_mq_hw_ctx *hctx) -diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h -index 6f278f1fd634..b68752bfb645 100644 ---- a/include/linux/blkdev.h -+++ b/include/linux/blkdev.h -@@ -598,7 +598,7 @@ struct request_queue { - struct throtl_data *td; - #endif - struct rcu_head rcu_head; -- struct swait_queue_head mq_freeze_wq; -+ wait_queue_head_t mq_freeze_wq; - struct percpu_ref q_usage_counter; - struct list_head all_q_node; - --- -2.17.1 - diff --git a/kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch b/kernel/patches-4.14.x-rt/0305-net-Use-cpu_chill-instead-of-cpu_relax.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch rename to kernel/patches-4.14.x-rt/0305-net-Use-cpu_chill-instead-of-cpu_relax.patch index fc8450824..467d02dc2 100644 --- a/kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch +++ b/kernel/patches-4.14.x-rt/0305-net-Use-cpu_chill-instead-of-cpu_relax.patch @@ -1,7 +1,7 @@ -From 5f998852deb9bb47c44465113e43ec601ed3f6b2 Mon Sep 17 00:00:00 2001 +From 6e5f29888959bc7eecf70c8cfc73c0f060253c68 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:10:04 +0100 -Subject: [PATCH 309/418] net: Use cpu_chill() instead of cpu_relax() +Subject: [PATCH 305/414] net: Use cpu_chill() instead of cpu_relax() Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system @@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c -index 4fe2e34522d6..8bdf6c301261 100644 +index 27dafe36f29c..c8f59c5447c3 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -63,6 +63,7 @@ @@ -65,5 +65,5 @@ index 9a3c54e659e9..2a95f1d587ac 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch b/kernel/patches-4.14.x-rt/0306-fs-dcache-use-swait_queue-instead-of-waitqueue.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch rename to kernel/patches-4.14.x-rt/0306-fs-dcache-use-swait_queue-instead-of-waitqueue.patch index 8327daa5d..4bea634d0 100644 --- a/kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch +++ b/kernel/patches-4.14.x-rt/0306-fs-dcache-use-swait_queue-instead-of-waitqueue.patch @@ -1,7 +1,7 @@ -From 0e82ebc06bbeab4cc3598f3035f7043c8c65b429 Mon Sep 17 00:00:00 2001 +From 786a933370289694870185ce036568b5a2fb8c6d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 14:35:49 +0200 -Subject: [PATCH 310/418] fs/dcache: use swait_queue instead of waitqueue +Subject: [PATCH 306/414] fs/dcache: use swait_queue instead of waitqueue __d_lookup_done() invokes wake_up_all() while holding a hlist_bl_lock() which disables preemption. As a workaround convert it to swait. @@ -84,7 +84,7 @@ index 5aa25e166c7b..c1c1f3ce00ca 100644 hlist_bl_unlock(b); INIT_HLIST_NODE(&dentry->d_u.d_alias); diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c -index 24967382a7b1..031d85ec822c 100644 +index 7a980b4462d9..6dfe526c832f 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -1187,7 +1187,7 @@ static int fuse_direntplus_link(struct file *file, @@ -236,5 +236,5 @@ index 7006375949c2..b14638a05ec9 100644 list_splice_init(&q->task_list, &tmp); while (!list_empty(&tmp)) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch b/kernel/patches-4.14.x-rt/0307-workqueue-Use-normal-rcu.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch rename to kernel/patches-4.14.x-rt/0307-workqueue-Use-normal-rcu.patch index 78da0011b..b66a8a948 100644 --- a/kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch +++ b/kernel/patches-4.14.x-rt/0307-workqueue-Use-normal-rcu.patch @@ -1,7 +1,7 @@ -From 7ba1285c7cef8db04a848a131b7f103f57d8a8f6 Mon Sep 17 00:00:00 2001 +From 0b65e43978525cff5a4aa660edbd9526ff7160a6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 24 Jul 2013 15:26:54 +0200 -Subject: [PATCH 311/418] workqueue: Use normal rcu +Subject: [PATCH 307/414] workqueue: Use normal rcu There is no need for sched_rcu. The undocumented reason why sched_rcu is used is to avoid a few explicit rcu_read_lock()/unlock() pairs by @@ -355,5 +355,5 @@ index d8a7f8939c81..309024baa39f 100644 return written; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch b/kernel/patches-4.14.x-rt/0308-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch rename to kernel/patches-4.14.x-rt/0308-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch index c2891ebdf..3e366893f 100644 --- a/kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch +++ b/kernel/patches-4.14.x-rt/0308-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch @@ -1,7 +1,7 @@ -From 7b71b313da1fb3af12455982486259751f231075 Mon Sep 17 00:00:00 2001 +From ee03957259fd098165b60f83c32ecfe8ece9bf5f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:42:26 +0200 -Subject: [PATCH 312/418] workqueue: Use local irq lock instead of irq disable +Subject: [PATCH 308/414] workqueue: Use local irq lock instead of irq disable regions Use a local_irq_lock as a replacement for irq off regions. We keep the @@ -161,5 +161,5 @@ index 309024baa39f..165166d88c05 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch b/kernel/patches-4.14.x-rt/0309-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch rename to kernel/patches-4.14.x-rt/0309-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch index 0a8cebbda..15e2ba21c 100644 --- a/kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch +++ b/kernel/patches-4.14.x-rt/0309-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch @@ -1,7 +1,7 @@ -From 88c195e8ebc0141b4a7ccdf82f6c7553503e7d0d Mon Sep 17 00:00:00 2001 +From f69ce1cf3a1356e2aab07c9453654ba786e44cec Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 1 Jul 2013 11:02:42 +0200 -Subject: [PATCH 313/418] workqueue: Prevent workqueue versus ata-piix livelock +Subject: [PATCH 309/414] workqueue: Prevent workqueue versus ata-piix livelock An Intel i7 system regularly detected rcu_preempt stalls after the kernel was upgraded from 3.6-rt to 3.8-rt. When the stall happened, disk I/O was no @@ -134,5 +134,5 @@ index 165166d88c05..55d1dee16bc0 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch b/kernel/patches-4.14.x-rt/0310-sched-Distangle-worker-accounting-from-rqlock.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch rename to kernel/patches-4.14.x-rt/0310-sched-Distangle-worker-accounting-from-rqlock.patch index db232535a..a949349cd 100644 --- a/kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch +++ b/kernel/patches-4.14.x-rt/0310-sched-Distangle-worker-accounting-from-rqlock.patch @@ -1,7 +1,7 @@ -From 60e42b1eefeac9da2b5ca5f4e4e78d27a7778540 Mon Sep 17 00:00:00 2001 +From 25668720ff4c78e1c77de6d586f297a76ea058ca Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:03 +0200 -Subject: [PATCH 314/418] sched: Distangle worker accounting from rqlock +Subject: [PATCH 310/414] sched: Distangle worker accounting from rqlock The worker accounting for cpu bound workers is plugged into the core scheduler code and the wakeup code. This is not a hard requirement and @@ -30,10 +30,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 41 insertions(+), 100 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index b5d0877c7079..44a1dc2574de 100644 +index d65f7506bdfd..099428d3a0b4 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1716,10 +1716,6 @@ static inline void ttwu_activate(struct rq *rq, struct task_struct *p, int en_fl +@@ -1733,10 +1733,6 @@ static inline void ttwu_activate(struct rq *rq, struct task_struct *p, int en_fl { activate_task(rq, p, en_flags); p->on_rq = TASK_ON_RQ_QUEUED; @@ -44,7 +44,7 @@ index b5d0877c7079..44a1dc2574de 100644 } /* -@@ -2159,56 +2155,6 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) +@@ -2176,56 +2172,6 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) return success; } @@ -101,7 +101,7 @@ index b5d0877c7079..44a1dc2574de 100644 /** * wake_up_process - Wake up a specific process * @p: The process to be woken up. -@@ -3410,21 +3356,6 @@ static void __sched notrace __schedule(bool preempt) +@@ -3427,21 +3373,6 @@ static void __sched notrace __schedule(bool preempt) atomic_inc(&rq->nr_iowait); delayacct_blkio_start(); } @@ -123,7 +123,7 @@ index b5d0877c7079..44a1dc2574de 100644 } switch_count = &prev->nvcsw; } -@@ -3485,6 +3416,14 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3502,6 +3433,14 @@ static inline void sched_submit_work(struct task_struct *tsk) { if (!tsk->state || tsk_is_pi_blocked(tsk)) return; @@ -138,7 +138,7 @@ index b5d0877c7079..44a1dc2574de 100644 /* * If we are going to sleep and we have plugged IO queued, * make sure to submit it to avoid deadlocks. -@@ -3493,6 +3432,12 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3510,6 +3449,12 @@ static inline void sched_submit_work(struct task_struct *tsk) blk_schedule_flush_plug(tsk); } @@ -151,7 +151,7 @@ index b5d0877c7079..44a1dc2574de 100644 asmlinkage __visible void __sched schedule(void) { struct task_struct *tsk = current; -@@ -3503,6 +3448,7 @@ asmlinkage __visible void __sched schedule(void) +@@ -3520,6 +3465,7 @@ asmlinkage __visible void __sched schedule(void) __schedule(false); sched_preempt_enable_no_resched(); } while (need_resched()); @@ -277,5 +277,5 @@ index d390d1be3748..2dbcfe9bc364 100644 #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch b/kernel/patches-4.14.x-rt/0311-percpu_ida-Use-local-locks.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch rename to kernel/patches-4.14.x-rt/0311-percpu_ida-Use-local-locks.patch index 5920454cd..ca5e449f2 100644 --- a/kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0311-percpu_ida-Use-local-locks.patch @@ -1,7 +1,7 @@ -From 35c392fdde3f7becf08f6923fbb977f3a0efb962 Mon Sep 17 00:00:00 2001 +From d7c193d057c738486598271cf0b4fbcb6cc038e7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 11:58:17 +0200 -Subject: [PATCH 315/418] percpu_ida: Use local locks +Subject: [PATCH 311/414] percpu_ida: Use local locks the local_irq_save() + spin_lock() does not work that well on -RT @@ -103,5 +103,5 @@ index 6016f1deb1f5..cdd43086b55b 100644 } EXPORT_SYMBOL_GPL(percpu_ida_for_each_free); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0312-debugobjects-Make-RT-aware.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch rename to kernel/patches-4.14.x-rt/0312-debugobjects-Make-RT-aware.patch index 7c10e0dd5..1f311dc42 100644 --- a/kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0312-debugobjects-Make-RT-aware.patch @@ -1,7 +1,7 @@ -From e1d4fbd1eb23951873c0023c184cabacc7459575 Mon Sep 17 00:00:00 2001 +From 232086ba5c7283021678d7878cb0584d12dedca8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 -Subject: [PATCH 316/418] debugobjects: Make RT aware +Subject: [PATCH 312/414] debugobjects: Make RT aware Avoid filling the pool / allocating memory with irqs off(). @@ -27,5 +27,5 @@ index 2f5349c6e81a..d789930edcc2 100644 db = get_bucket((unsigned long) addr); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch b/kernel/patches-4.14.x-rt/0313-jump-label-disable-if-stop_machine-is-used.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch rename to kernel/patches-4.14.x-rt/0313-jump-label-disable-if-stop_machine-is-used.patch index a801ca9a3..54eaf85bd 100644 --- a/kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch +++ b/kernel/patches-4.14.x-rt/0313-jump-label-disable-if-stop_machine-is-used.patch @@ -1,7 +1,7 @@ -From 75bcfe01b33f077b3287d684bdd2fe62b22d2a4e Mon Sep 17 00:00:00 2001 +From 121bae0fbe1fe5ece65545ecea2538af27c057a1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Jul 2015 17:14:48 +0200 -Subject: [PATCH 317/418] jump-label: disable if stop_machine() is used +Subject: [PATCH 313/414] jump-label: disable if stop_machine() is used Some architectures are using stop_machine() while switching the opcode which leads to latency spikes. @@ -37,5 +37,5 @@ index d1346a160760..e57221694d28 100644 select HAVE_ARCH_MMAP_RND_BITS if MMU select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch b/kernel/patches-4.14.x-rt/0314-seqlock-Prevent-rt-starvation.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch rename to kernel/patches-4.14.x-rt/0314-seqlock-Prevent-rt-starvation.patch index ea25bfeba..0eb1bea7a 100644 --- a/kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch +++ b/kernel/patches-4.14.x-rt/0314-seqlock-Prevent-rt-starvation.patch @@ -1,7 +1,7 @@ -From 9d26fab112b6eb5298df0b7d448fad1be3990f5f Mon Sep 17 00:00:00 2001 +From f694f87e8d3fdb71dbe73b144ecd9b1cbe75dc12 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 318/418] seqlock: Prevent rt starvation +Subject: [PATCH 314/414] seqlock: Prevent rt starvation If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. @@ -189,5 +189,5 @@ index a964366a7ef5..51c854583987 100644 { unsigned int seq; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/kernel/patches-4.14.x-rt/0315-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch rename to kernel/patches-4.14.x-rt/0315-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch index 0e1b4accc..d6caf7880 100644 --- a/kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0315-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch @@ -1,7 +1,7 @@ -From cce92a00c792f3c43f35e6a2e20682d7fa125106 Mon Sep 17 00:00:00 2001 +From 968bab8610e285dbcd24060219b291618041243e Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 16:05:28 +0100 -Subject: [PATCH 319/418] sunrpc: Make svc_xprt_do_enqueue() use +Subject: [PATCH 315/414] sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 @@ -65,5 +65,5 @@ index d16a8b423c20..cedaf909eb97 100644 trace_svc_xprt_do_enqueue(xprt, rqstp); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch b/kernel/patches-4.14.x-rt/0316-net-Use-skbufhead-with-raw-lock.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch rename to kernel/patches-4.14.x-rt/0316-net-Use-skbufhead-with-raw-lock.patch index c14d17b00..80ee4fcb1 100644 --- a/kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0316-net-Use-skbufhead-with-raw-lock.patch @@ -1,7 +1,7 @@ -From 3d78659af54cfff1f1a0cf163bf51d8247867832 Mon Sep 17 00:00:00 2001 +From 70f3e2f35990d910014160acd2ee7245f138dcaf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 15:38:34 +0200 -Subject: [PATCH 320/418] net: Use skbufhead with raw lock +Subject: [PATCH 316/414] net: Use skbufhead with raw lock Use the rps lock as rawlock so we can keep irq-off regions. It looks low latency. However we can't kfree() from this context therefore we defer this @@ -15,10 +15,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index 46bf7cc7d5d5..a5e88b07a471 100644 +index 2ea7ee1fb495..4b32d4495f5d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -2772,6 +2772,7 @@ struct softnet_data { +@@ -2792,6 +2792,7 @@ struct softnet_data { unsigned int dropped; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; @@ -27,7 +27,7 @@ index 46bf7cc7d5d5..a5e88b07a471 100644 }; diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h -index be45224b01d7..675e45323f17 100644 +index 6dd77767fd5b..795b2d513874 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -287,6 +287,7 @@ struct sk_buff_head { @@ -163,5 +163,5 @@ index a67f99b8370f..4950ef3cc1b4 100644 sd->output_queue_tailp = &sd->output_queue; #ifdef CONFIG_RPS -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch b/kernel/patches-4.14.x-rt/0317-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch rename to kernel/patches-4.14.x-rt/0317-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch index 129c8c700..2586becf7 100644 --- a/kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch +++ b/kernel/patches-4.14.x-rt/0317-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch @@ -1,7 +1,7 @@ -From 808224ca97f2dd4b4186d975f0957d8118b14f31 Mon Sep 17 00:00:00 2001 +From ba2792b98e15e5911490593dea5977130cfbc187 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 9 Oct 2015 09:25:49 -0500 -Subject: [PATCH 321/418] net/core/cpuhotplug: Drain input_pkt_queue lockless +Subject: [PATCH 317/414] net/core/cpuhotplug: Drain input_pkt_queue lockless I can constantly see below error report with 4.1 RT-kernel on TI ARM dra7-evm if I'm trying to unplug cpu1: @@ -48,5 +48,5 @@ index 4950ef3cc1b4..8e7d77da7881 100644 input_queue_head_incr(oldsd); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch b/kernel/patches-4.14.x-rt/0318-net-move-xmit_recursion-to-per-task-variable-on-RT.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch rename to kernel/patches-4.14.x-rt/0318-net-move-xmit_recursion-to-per-task-variable-on-RT.patch index 7baaea5a2..1cc1a3986 100644 --- a/kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0318-net-move-xmit_recursion-to-per-task-variable-on-RT.patch @@ -1,7 +1,7 @@ -From 9383e2ddd603d35e57f016a83f29a94dbc9202b4 Mon Sep 17 00:00:00 2001 +From ad59d0eea0a361948edbd74e6e2728b59a3e5d70 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Jan 2016 15:55:02 +0100 -Subject: [PATCH 322/418] net: move xmit_recursion to per-task variable on -RT +Subject: [PATCH 318/414] net: move xmit_recursion to per-task variable on -RT A softirq on -RT can be preempted. That means one task is in __dev_queue_xmit(), gets preempted and another task may enter @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior 4 files changed, 51 insertions(+), 8 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index a5e88b07a471..03d01f91df83 100644 +index 4b32d4495f5d..7c2dce09019d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2433,14 +2433,53 @@ void netdev_freemem(struct net_device *dev); @@ -158,5 +158,5 @@ index d5158a10ac8f..ad96ec78f7b8 100644 return ret; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch b/kernel/patches-4.14.x-rt/0319-net-use-task_struct-instead-of-CPU-number-as-the-que.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch rename to kernel/patches-4.14.x-rt/0319-net-use-task_struct-instead-of-CPU-number-as-the-que.patch index e04e861dc..e89e1dd7a 100644 --- a/kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch +++ b/kernel/patches-4.14.x-rt/0319-net-use-task_struct-instead-of-CPU-number-as-the-que.patch @@ -1,7 +1,7 @@ -From 4e725f7d63971f911db84c241185de8291cf1ccf Mon Sep 17 00:00:00 2001 +From 5053a6e749a6345c3aa1a7c806cf6cd2230ca2d1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Feb 2018 10:39:54 +0100 -Subject: [PATCH 323/418] net: use task_struct instead of CPU number as the +Subject: [PATCH 319/414] net: use task_struct instead of CPU number as the queue owner on -RT In commit ("net: move xmit_recursion to per-task variable on -RT") the @@ -20,7 +20,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index 03d01f91df83..2b0110cc0e13 100644 +index 7c2dce09019d..8b5151f9e31c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -571,7 +571,11 @@ struct netdev_queue { @@ -35,7 +35,7 @@ index 03d01f91df83..2b0110cc0e13 100644 /* * Time (in jiffies) of last Tx */ -@@ -3535,10 +3539,48 @@ static inline u32 netif_msg_init(int debug_value, int default_msg_enable_bits) +@@ -3555,10 +3559,48 @@ static inline u32 netif_msg_init(int debug_value, int default_msg_enable_bits) return (1 << debug_value) - 1; } @@ -85,7 +85,7 @@ index 03d01f91df83..2b0110cc0e13 100644 } static inline bool __netif_tx_acquire(struct netdev_queue *txq) -@@ -3555,32 +3597,32 @@ static inline void __netif_tx_release(struct netdev_queue *txq) +@@ -3575,32 +3617,32 @@ static inline void __netif_tx_release(struct netdev_queue *txq) static inline void __netif_tx_lock_bh(struct netdev_queue *txq) { spin_lock_bh(&txq->_xmit_lock); @@ -149,5 +149,5 @@ index ecf45f23d3ef..afd50ebb7197 100644 queue->dev = dev; #ifdef CONFIG_BQL -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch b/kernel/patches-4.14.x-rt/0320-net-provide-a-way-to-delegate-processing-a-softirq-t.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch rename to kernel/patches-4.14.x-rt/0320-net-provide-a-way-to-delegate-processing-a-softirq-t.patch index 8b9683d23..0353902da 100644 --- a/kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch +++ b/kernel/patches-4.14.x-rt/0320-net-provide-a-way-to-delegate-processing-a-softirq-t.patch @@ -1,7 +1,7 @@ -From 99a5ef140b17b11b751fd61138ae8eec7ab67175 Mon Sep 17 00:00:00 2001 +From c7f2ab6c14a5e5531d9389fcaef899bda8d50de4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 15:39:05 +0100 -Subject: [PATCH 324/418] net: provide a way to delegate processing a softirq +Subject: [PATCH 320/414] net: provide a way to delegate processing a softirq to ksoftirqd If the NET_RX uses up all of his budget it moves the following NAPI @@ -84,5 +84,5 @@ index afd50ebb7197..8f9fa90d72bc 100644 net_rps_action_and_irq_enable(sd); out: -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch b/kernel/patches-4.14.x-rt/0321-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch rename to kernel/patches-4.14.x-rt/0321-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch index 9367810c5..f9c6aff2b 100644 --- a/kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch +++ b/kernel/patches-4.14.x-rt/0321-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch @@ -1,7 +1,7 @@ -From 6d03e80a7264041dc8b667bbc2550302c9dbf7a3 Mon Sep 17 00:00:00 2001 +From 2f3c82cccb4b4917027190d39c0c5fcef7dba2c1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 30 Mar 2016 13:36:29 +0200 -Subject: [PATCH 325/418] net: dev: always take qdisc's busylock in +Subject: [PATCH 321/414] net: dev: always take qdisc's busylock in __dev_xmit_skb() The root-lock is dropped before dev_hard_start_xmit() is invoked and after @@ -37,5 +37,5 @@ index 8f9fa90d72bc..17ec4679e3f3 100644 spin_lock(&q->busylock); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/kernel/patches-4.14.x-rt/0322-net-Qdisc-use-a-seqlock-instead-seqcount.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch rename to kernel/patches-4.14.x-rt/0322-net-Qdisc-use-a-seqlock-instead-seqcount.patch index ac26173c5..fe57d4a91 100644 --- a/kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/kernel/patches-4.14.x-rt/0322-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -1,7 +1,7 @@ -From 0813d42e576b47cbe559593e13c018625c153b73 Mon Sep 17 00:00:00 2001 +From b3c2470c2370dd73d83895fc80f25dafe889f194 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 17:36:35 +0200 -Subject: [PATCH 326/418] net/Qdisc: use a seqlock instead seqcount +Subject: [PATCH 322/414] net/Qdisc: use a seqlock instead seqcount The seqcount disables preemption on -RT while it is held which can't remove. Also we don't want the reader to spin for ages if the writer is @@ -207,10 +207,10 @@ index 7f980bd7426e..7250106015ef 100644 return gen_new_estimator(bstats, cpu_bstats, rate_est, stats_lock, running, opt); diff --git a/net/core/gen_stats.c b/net/core/gen_stats.c -index 87f28557b329..18e6c2a9f465 100644 +index 441c04adedba..07f9a6a1f8e4 100644 --- a/net/core/gen_stats.c +++ b/net/core/gen_stats.c -@@ -130,7 +130,7 @@ __gnet_stats_copy_basic_cpu(struct gnet_stats_basic_packed *bstats, +@@ -142,7 +142,7 @@ __gnet_stats_copy_basic_cpu(struct gnet_stats_basic_packed *bstats, } void @@ -219,7 +219,7 @@ index 87f28557b329..18e6c2a9f465 100644 struct gnet_stats_basic_packed *bstats, struct gnet_stats_basic_cpu __percpu *cpu, struct gnet_stats_basic_packed *b) -@@ -143,10 +143,10 @@ __gnet_stats_copy_basic(const seqcount_t *running, +@@ -155,10 +155,10 @@ __gnet_stats_copy_basic(const seqcount_t *running, } do { if (running) @@ -232,7 +232,7 @@ index 87f28557b329..18e6c2a9f465 100644 } EXPORT_SYMBOL(__gnet_stats_copy_basic); -@@ -164,7 +164,7 @@ EXPORT_SYMBOL(__gnet_stats_copy_basic); +@@ -176,7 +176,7 @@ EXPORT_SYMBOL(__gnet_stats_copy_basic); * if the room in the socket buffer was not sufficient. */ int @@ -289,5 +289,5 @@ index de0839491dd8..341f7895659c 100644 sch->ops = ops; sch->enqueue = ops->enqueue; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch b/kernel/patches-4.14.x-rt/0323-net-add-back-the-missing-serialization-in-ip_send_un.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch rename to kernel/patches-4.14.x-rt/0323-net-add-back-the-missing-serialization-in-ip_send_un.patch index cf93259c3..73a3b33ee 100644 --- a/kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch +++ b/kernel/patches-4.14.x-rt/0323-net-add-back-the-missing-serialization-in-ip_send_un.patch @@ -1,7 +1,7 @@ -From 291f6d5a1fa2d4c5b0ff2b3464604345a84891e4 Mon Sep 17 00:00:00 2001 +From faf51ff0bc104cad8f907a1993533d2e3f0da807 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:21:56 +0200 -Subject: [PATCH 327/418] net: add back the missing serialization in +Subject: [PATCH 323/414] net: add back the missing serialization in ip_send_unicast_reply() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -94,5 +94,5 @@ index a95ccdceb797..8f157f3aaafd 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch b/kernel/patches-4.14.x-rt/0324-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch rename to kernel/patches-4.14.x-rt/0324-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch index 9c579cbfe..932b8f0c2 100644 --- a/kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch +++ b/kernel/patches-4.14.x-rt/0324-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch @@ -1,7 +1,7 @@ -From d2a91cda43b10cf2860cdc72e8dea3175738f8a6 Mon Sep 17 00:00:00 2001 +From 4fed32a33b62eec01f6c02a3ceb272c0f092a60e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Aug 2017 15:09:13 +0200 -Subject: [PATCH 328/418] net: take the tcp_sk_lock lock with BH disabled +Subject: [PATCH 324/414] net: take the tcp_sk_lock lock with BH disabled Lockdep may complain about an unsafe locking scenario: | CPU0 CPU1 @@ -69,5 +69,5 @@ index 8f157f3aaafd..41e18629441b 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch b/kernel/patches-4.14.x-rt/0325-net-add-a-lock-around-icmp_sk.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0325-net-add-a-lock-around-icmp_sk.patch index f6cdcc9b0..0677a1951 100644 --- a/kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0325-net-add-a-lock-around-icmp_sk.patch @@ -1,7 +1,7 @@ -From 1a2dcc667042039655490aa23a547baae70882c1 Mon Sep 17 00:00:00 2001 +From 08952ee1bd98d78e7fa480a6272cb17a25967178 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:54:09 +0200 -Subject: [PATCH 329/418] net: add a lock around icmp_sk() +Subject: [PATCH 325/414] net: add a lock around icmp_sk() It looks like the this_cpu_ptr() access in icmp_sk() is protected with local_bh_disable(). To avoid missing serialization in -RT I am adding @@ -67,5 +67,5 @@ index 3c1570d3e22f..6e1ae84d662c 100644 out:; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch b/kernel/patches-4.14.x-rt/0326-net-use-trylock-in-icmp_sk.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0326-net-use-trylock-in-icmp_sk.patch index 5bc00897d..40b57a3ac 100644 --- a/kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0326-net-use-trylock-in-icmp_sk.patch @@ -1,7 +1,7 @@ -From ff62d446371f58701517feca924eac6b8dff1684 Mon Sep 17 00:00:00 2001 +From 9980cbd03c517a158b0935c0a840f94aff407bf4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:42:04 +0200 -Subject: [PATCH 330/418] net: use trylock in icmp_sk +Subject: [PATCH 326/414] net: use trylock in icmp_sk The locking path can be recursive (same as for sk->sk_lock.slock) and therefore we need a trylock version for the locallock, too. @@ -75,5 +75,5 @@ index 6e1ae84d662c..0310ea93f877 100644 out:; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch b/kernel/patches-4.14.x-rt/0327-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch rename to kernel/patches-4.14.x-rt/0327-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch index 66e2d21b2..dc3d06fd9 100644 --- a/kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch +++ b/kernel/patches-4.14.x-rt/0327-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch @@ -1,7 +1,7 @@ -From 7c43cc3345957d62dc840d1cb950d356127bff84 Mon Sep 17 00:00:00 2001 +From 8783772b97e30bd67417c1fcaf6e9246657fd820 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 6 Dec 2016 17:50:30 -0500 -Subject: [PATCH 331/418] net: Have __napi_schedule_irqoff() disable interrupts +Subject: [PATCH 327/414] net: Have __napi_schedule_irqoff() disable interrupts on RT A customer hit a crash where the napi sd->poll_list became corrupted. @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 14 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index 2b0110cc0e13..cd0f34dfc5f4 100644 +index 8b5151f9e31c..8b7282a13652 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -409,7 +409,19 @@ typedef enum rx_handler_result rx_handler_result_t; @@ -72,5 +72,5 @@ index 17ec4679e3f3..9c936553c46e 100644 bool napi_complete_done(struct napi_struct *n, int work_done) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch b/kernel/patches-4.14.x-rt/0328-irqwork-push-most-work-into-softirq-context.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch rename to kernel/patches-4.14.x-rt/0328-irqwork-push-most-work-into-softirq-context.patch index 3e3286e16..498fe30a7 100644 --- a/kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch +++ b/kernel/patches-4.14.x-rt/0328-irqwork-push-most-work-into-softirq-context.patch @@ -1,7 +1,7 @@ -From 9c809e93261aefd0ff15052efff087d792f531ca Mon Sep 17 00:00:00 2001 +From 5180a149f2fd957b94d094c8c1ccc05e9759ec7a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 23 Jun 2015 15:32:51 +0200 -Subject: [PATCH 332/418] irqwork: push most work into softirq context +Subject: [PATCH 328/414] irqwork: push most work into softirq context Initially we defered all irqwork into softirq because we didn't want the latency spikes if perf or another user was busy and delayed the RT task. @@ -194,5 +194,5 @@ index ced791c0b47b..feab4b90d896 100644 * must_forward_clk must be cleared before running timers so that any * timer functions that call mod_timer will not try to forward the -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch b/kernel/patches-4.14.x-rt/0329-irqwork-Move-irq-safe-work-to-irq-context.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch rename to kernel/patches-4.14.x-rt/0329-irqwork-Move-irq-safe-work-to-irq-context.patch index 7d8c20b14..14fe78933 100644 --- a/kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch +++ b/kernel/patches-4.14.x-rt/0329-irqwork-Move-irq-safe-work-to-irq-context.patch @@ -1,7 +1,7 @@ -From fe8aca9284a8c34e190db1e44160968f43c68827 Mon Sep 17 00:00:00 2001 +From ca9189373ef4644c2778ae10e3e6818a348ab7ea Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 15 Nov 2015 18:40:17 +0100 -Subject: [PATCH 333/418] irqwork: Move irq safe work to irq context +Subject: [PATCH 329/414] irqwork: Move irq safe work to irq context On architectures where arch_irq_work_has_interrupt() returns false, we end up running the irq safe work from the softirq context. That @@ -83,5 +83,5 @@ index feab4b90d896..ff1d60d4c0cc 100644 * must_forward_clk must be cleared before running timers so that any * timer functions that call mod_timer will not try to forward the -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch b/kernel/patches-4.14.x-rt/0330-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch rename to kernel/patches-4.14.x-rt/0330-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch index 87c870335..0fba36629 100644 --- a/kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch +++ b/kernel/patches-4.14.x-rt/0330-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch @@ -1,7 +1,7 @@ -From 3e2b0f1b7728aaf51f4a95b32a5c1f5a943ee17b Mon Sep 17 00:00:00 2001 +From ce4d66ce66ebd333a4ac83123dd064b3af1fa6a9 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 15:09:23 +0100 -Subject: [PATCH 334/418] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() +Subject: [PATCH 330/414] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() splats Locking functions previously using read_lock_irq()/read_lock_irqsave() were @@ -72,5 +72,5 @@ index ab3bf36786b6..f0bb7c9aa4be 100644 EXPORT_SYMBOL_GPL(snd_pcm_stream_unlock_irqrestore); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0331-printk-Make-rt-aware.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch rename to kernel/patches-4.14.x-rt/0331-printk-Make-rt-aware.patch index f3582eaa5..b40923510 100644 --- a/kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0331-printk-Make-rt-aware.patch @@ -1,7 +1,7 @@ -From be8888258ca3234e36fc04ef4d092f9eaf42c502 Mon Sep 17 00:00:00 2001 +From beaac84977277f797920655e8469a9f99f58d84c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Sep 2012 14:50:37 +0200 -Subject: [PATCH 335/418] printk: Make rt aware +Subject: [PATCH 331/414] printk: Make rt aware Drop the lock before calling the console driver and do not disable interrupts while printing to a serial console. @@ -72,5 +72,5 @@ index 1da739f39a3d..bce72853f9a2 100644 if (do_cond_resched) cond_resched(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch b/kernel/patches-4.14.x-rt/0332-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch rename to kernel/patches-4.14.x-rt/0332-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch index c139494f9..482ae76eb 100644 --- a/kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch +++ b/kernel/patches-4.14.x-rt/0332-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch @@ -1,7 +1,7 @@ -From 14ff530effdb2c48c594ef3507999cc5b9618e48 Mon Sep 17 00:00:00 2001 +From 272b8c81db5879c6fff072b893bc2e47675e66d7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 19 May 2016 17:45:27 +0200 -Subject: [PATCH 336/418] kernel/printk: Don't try to print from IRQ/NMI region +Subject: [PATCH 332/414] kernel/printk: Don't try to print from IRQ/NMI region On -RT we try to acquire sleeping locks which might lead to warnings from lockdep or a warn_on() from spin_try_lock() (which is a rtmutex on @@ -43,5 +43,5 @@ index bce72853f9a2..304abddbab01 100644 * console_unblank can no longer be called in interrupt context unless * oops_in_progress is set to 1.. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch b/kernel/patches-4.14.x-rt/0333-printk-Drop-the-logbuf_lock-more-often.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch rename to kernel/patches-4.14.x-rt/0333-printk-Drop-the-logbuf_lock-more-often.patch index 0355b4d8e..2699440a5 100644 --- a/kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch +++ b/kernel/patches-4.14.x-rt/0333-printk-Drop-the-logbuf_lock-more-often.patch @@ -1,7 +1,7 @@ -From 2ccf168b37e51467ae00acfc01017a8cd22dd956 Mon Sep 17 00:00:00 2001 +From 9f77dc673d90c73ba81872267bf0ebc6696a779a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Mar 2013 19:01:05 +0100 -Subject: [PATCH 337/418] printk: Drop the logbuf_lock more often +Subject: [PATCH 333/414] printk: Drop the logbuf_lock more often The lock is hold with irgs off. The latency drops 500us+ on my arm bugs with a "full" buffer after executing "dmesg" on the shell. @@ -78,5 +78,5 @@ index 304abddbab01..7393fcb271fb 100644 kfree(text); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch b/kernel/patches-4.14.x-rt/0334-powerpc-Use-generic-rwsem-on-RT.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch rename to kernel/patches-4.14.x-rt/0334-powerpc-Use-generic-rwsem-on-RT.patch index 7afa4a794..6c30a289d 100644 --- a/kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0334-powerpc-Use-generic-rwsem-on-RT.patch @@ -1,7 +1,7 @@ -From 8645e472903b7772169edc88072c481ee1f6e06d Mon Sep 17 00:00:00 2001 +From 7257f6a211fe6216ed96be12bea61a96c7e81ae3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 338/418] powerpc: Use generic rwsem on RT +Subject: [PATCH 334/414] powerpc: Use generic rwsem on RT Use generic code which uses rtmutex @@ -28,5 +28,5 @@ index fe418226df7f..b8525ddc4b3b 100644 config GENERIC_LOCKBREAK bool -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch b/kernel/patches-4.14.x-rt/0335-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch rename to kernel/patches-4.14.x-rt/0335-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch index 1a36a8315..de602f9aa 100644 --- a/kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch +++ b/kernel/patches-4.14.x-rt/0335-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch @@ -1,7 +1,7 @@ -From 849d0e3ca22b5d44a2a3f7d8b848831210b1bb5a Mon Sep 17 00:00:00 2001 +From 6efdb45bce403d6caeaba4a99aec988eb31825ec Mon Sep 17 00:00:00 2001 From: Bogdan Purcareata Date: Fri, 24 Apr 2015 15:53:13 +0000 -Subject: [PATCH 339/418] powerpc/kvm: Disable in-kernel MPIC emulation for +Subject: [PATCH 335/414] powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULL While converting the openpic emulation code to use a raw_spinlock_t enables @@ -40,5 +40,5 @@ index 648160334abf..9d24331fc9b4 100644 select HAVE_KVM_IRQFD select HAVE_KVM_IRQ_ROUTING -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch b/kernel/patches-4.14.x-rt/0336-powerpc-ps3-device-init.c-adapt-to-completions-using.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch rename to kernel/patches-4.14.x-rt/0336-powerpc-ps3-device-init.c-adapt-to-completions-using.patch index ebe4f7468..6c978afdf 100644 --- a/kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch +++ b/kernel/patches-4.14.x-rt/0336-powerpc-ps3-device-init.c-adapt-to-completions-using.patch @@ -1,7 +1,7 @@ -From 7363a4dff640f347b026a6c02d6fe68753f391c4 Mon Sep 17 00:00:00 2001 +From 5305f92fa4f8b0b2be1c41f21a4c3f26ecd02d0a Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 31 May 2015 14:44:42 -0400 -Subject: [PATCH 340/418] powerpc: ps3/device-init.c - adapt to completions +Subject: [PATCH 336/414] powerpc: ps3/device-init.c - adapt to completions using swait vs wait To fix: @@ -34,5 +34,5 @@ index e48462447ff0..2670cee66064 100644 if (kthread_should_stop()) res = -EINTR; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch b/kernel/patches-4.14.x-rt/0337-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch rename to kernel/patches-4.14.x-rt/0337-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch index 02e1ed277..9a7a47a7a 100644 --- a/kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0337-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch @@ -1,7 +1,7 @@ -From 3d50ec046e14909b0410ba7cc89d731fee14fad9 Mon Sep 17 00:00:00 2001 +From 525a31b7a9151ab8760bb5659a6e16d089a5514a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 May 2010 18:29:35 +0200 -Subject: [PATCH 341/418] ARM: at91: tclib: Default to tclib timer for RT +Subject: [PATCH 337/414] ARM: at91: tclib: Default to tclib timer for RT RT is not too happy about the shared timer interrupt in AT91 devices. Default to tclib timer for RT. @@ -33,5 +33,5 @@ index d2feb491e689..86e83b9629d7 100644 Select this to use 32 KiHz base clock rate as TC block clock source for clock events. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch b/kernel/patches-4.14.x-rt/0338-arm-unwind-use-a-raw_spin_lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch rename to kernel/patches-4.14.x-rt/0338-arm-unwind-use-a-raw_spin_lock.patch index 4fd900c2a..475925426 100644 --- a/kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch +++ b/kernel/patches-4.14.x-rt/0338-arm-unwind-use-a-raw_spin_lock.patch @@ -1,7 +1,7 @@ -From f2c2d76478be2c7059eeb3447e8e9cf5f0ee399c Mon Sep 17 00:00:00 2001 +From d25eee9dc20c51fcff7ad6a845ca91b9d1a27398 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Sep 2013 14:31:54 +0200 -Subject: [PATCH 342/418] arm/unwind: use a raw_spin_lock +Subject: [PATCH 338/414] arm/unwind: use a raw_spin_lock Mostly unwind is done with irqs enabled however SLUB may call it with irqs disabled while creating a new SLUB cache. @@ -85,5 +85,5 @@ index 0bee233fef9a..314cfb232a63 100644 kfree(tab); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch b/kernel/patches-4.14.x-rt/0339-ARM-enable-irq-in-translation-section-permission-fau.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch rename to kernel/patches-4.14.x-rt/0339-ARM-enable-irq-in-translation-section-permission-fau.patch index 8eacc9318..35d1f836f 100644 --- a/kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch +++ b/kernel/patches-4.14.x-rt/0339-ARM-enable-irq-in-translation-section-permission-fau.patch @@ -1,7 +1,7 @@ -From 7ea1f72cfd56274cb47357cf17126830aa91272d Mon Sep 17 00:00:00 2001 +From 26952b26cb87ceffdb5ee5f98a55eb80bf732152 Mon Sep 17 00:00:00 2001 From: "Yadi.hu" Date: Wed, 10 Dec 2014 10:32:09 +0800 -Subject: [PATCH 343/418] ARM: enable irq in translation/section permission +Subject: [PATCH 339/414] ARM: enable irq in translation/section permission fault handlers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -91,5 +91,5 @@ index 42f585379e19..93d2eccc8b60 100644 return 0; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch b/kernel/patches-4.14.x-rt/0340-genirq-update-irq_set_irqchip_state-documentation.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch rename to kernel/patches-4.14.x-rt/0340-genirq-update-irq_set_irqchip_state-documentation.patch index 4fa2f1531..e6d4d774a 100644 --- a/kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch +++ b/kernel/patches-4.14.x-rt/0340-genirq-update-irq_set_irqchip_state-documentation.patch @@ -1,7 +1,7 @@ -From 0f361ea0f81441f25315f5a42e6911bf0fd35ce7 Mon Sep 17 00:00:00 2001 +From fa88f4b0b8cb53e1fa42c1ea271d1b19697d190e Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:00 -0600 -Subject: [PATCH 344/418] genirq: update irq_set_irqchip_state documentation +Subject: [PATCH 340/414] genirq: update irq_set_irqchip_state documentation On -rt kernels, the use of migrate_disable()/migrate_enable() is sufficient to guarantee a task isn't moved to another CPU. Update the @@ -27,5 +27,5 @@ index d8fa6c86a8ca..000c519a35cd 100644 */ int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch b/kernel/patches-4.14.x-rt/0341-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch rename to kernel/patches-4.14.x-rt/0341-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch index ac30c49bc..336626d63 100644 --- a/kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch +++ b/kernel/patches-4.14.x-rt/0341-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch @@ -1,7 +1,7 @@ -From c39d4f0c4ee6c87ab145a81fa3942e0b86da6df9 Mon Sep 17 00:00:00 2001 +From cd4d7c7e603d7f09f3ade92a0c6a2eff81e7e7c2 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:01 -0600 -Subject: [PATCH 345/418] KVM: arm/arm64: downgrade preempt_disable()d region +Subject: [PATCH 341/414] KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() kvm_arch_vcpu_ioctl_run() disables the use of preemption when updating @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c -index 0c5d846ba809..9c25fd3d9708 100644 +index 0099cce0e264..c09e04130bfe 100644 --- a/virt/kvm/arm/arm.c +++ b/virt/kvm/arm/arm.c @@ -651,7 +651,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *run) @@ -54,5 +54,5 @@ index 0c5d846ba809..9c25fd3d9708 100644 ret = handle_exit(vcpu, run, ret); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch b/kernel/patches-4.14.x-rt/0342-arm64-xen-Make-XEN-depend-on-RT.patch similarity index 78% rename from kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch rename to kernel/patches-4.14.x-rt/0342-arm64-xen-Make-XEN-depend-on-RT.patch index 6dab2e4e8..24e80dce2 100644 --- a/kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0342-arm64-xen-Make-XEN-depend-on-RT.patch @@ -1,7 +1,7 @@ -From 5aec6952dc14a5dcdc44a6fef37b556798e8df4b Mon Sep 17 00:00:00 2001 +From 635b2adc9002774ace6e65a2a83557886b627f33 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 12 Oct 2015 11:18:40 +0200 -Subject: [PATCH 346/418] arm64/xen: Make XEN depend on !RT +Subject: [PATCH 342/414] arm64/xen: Make XEN depend on !RT It's not ready and probably never will be, unless xen folks have a look at it. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig -index 2d5f7aca156d..720678aea92f 100644 +index 1bbb89d37f57..4494eab8cc31 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -791,7 +791,7 @@ config XEN_DOM0 @@ -25,5 +25,5 @@ index 2d5f7aca156d..720678aea92f 100644 select PARAVIRT help -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch b/kernel/patches-4.14.x-rt/0343-kgdb-serial-Short-term-workaround.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch rename to kernel/patches-4.14.x-rt/0343-kgdb-serial-Short-term-workaround.patch index 691962200..34a1aba81 100644 --- a/kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch +++ b/kernel/patches-4.14.x-rt/0343-kgdb-serial-Short-term-workaround.patch @@ -1,7 +1,7 @@ -From 1eff793fe4a861e993ec2711599bf8b0d2f9f429 Mon Sep 17 00:00:00 2001 +From 97e106e8bd43112b14128759dfb48eb3191a2443 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Thu, 28 Jul 2011 12:42:23 -0500 -Subject: [PATCH 347/418] kgdb/serial: Short term workaround +Subject: [PATCH 343/414] kgdb/serial: Short term workaround On 07/27/2011 04:37 PM, Thomas Gleixner wrote: > - KGDB (not yet disabled) is reportedly unusable on -rt right now due @@ -81,5 +81,5 @@ index ed5d34925ad0..c0d4c24fc241 100644 return r; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch b/kernel/patches-4.14.x-rt/0344-sysfs-Add-sys-kernel-realtime-entry.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch rename to kernel/patches-4.14.x-rt/0344-sysfs-Add-sys-kernel-realtime-entry.patch index 62cb0d56a..0d5d8a9ac 100644 --- a/kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch +++ b/kernel/patches-4.14.x-rt/0344-sysfs-Add-sys-kernel-realtime-entry.patch @@ -1,7 +1,7 @@ -From 6ef46884b1f5a000a95bb80adb5dafc04d2340cb Mon Sep 17 00:00:00 2001 +From 2462efc351d9d57bb8ed04782c1d97c9a76f026f Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Sat, 30 Jul 2011 21:55:53 -0500 -Subject: [PATCH 348/418] sysfs: Add /sys/kernel/realtime entry +Subject: [PATCH 344/414] sysfs: Add /sys/kernel/realtime entry Add a /sys/kernel entry to indicate that the kernel is a realtime kernel. @@ -49,5 +49,5 @@ index 46ba853656f6..9a23632b6294 100644 NULL }; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0345-powerpc-Disable-highmem-on-RT.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch rename to kernel/patches-4.14.x-rt/0345-powerpc-Disable-highmem-on-RT.patch index d26ab0730..8322a1f63 100644 --- a/kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0345-powerpc-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ -From 850465b6c3ac57ece03ae5328fb0987f50d14468 Mon Sep 17 00:00:00 2001 +From e1d7d61d1ff2e38a2aef8afb51b99f42b653fd12 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:08:34 +0200 -Subject: [PATCH 349/418] powerpc: Disable highmem on RT +Subject: [PATCH 345/414] powerpc: Disable highmem on RT The current highmem handling on -RT is not compatible and needs fixups. @@ -24,5 +24,5 @@ index b8525ddc4b3b..f3201bf888ad 100644 source kernel/Kconfig.hz source kernel/Kconfig.preempt -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0346-mips-Disable-highmem-on-RT.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch rename to kernel/patches-4.14.x-rt/0346-mips-Disable-highmem-on-RT.patch index eec3c68f4..412c59373 100644 --- a/kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0346-mips-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ -From 5666723926459ab906708a2597bc3de068a27802 Mon Sep 17 00:00:00 2001 +From 26ddc5281f2e4b37495d01265ed88b3a6a3e1fa1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:10:12 +0200 -Subject: [PATCH 350/418] mips: Disable highmem on RT +Subject: [PATCH 346/414] mips: Disable highmem on RT The current highmem handling on -RT is not compatible and needs fixups. @@ -24,5 +24,5 @@ index c82457b0e733..7bb1838508de 100644 config CPU_SUPPORTS_HIGHMEM bool -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch b/kernel/patches-4.14.x-rt/0347-mm-rt-kmap_atomic-scheduling.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch rename to kernel/patches-4.14.x-rt/0347-mm-rt-kmap_atomic-scheduling.patch index b9fe47d39..3166ab5b8 100644 --- a/kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch +++ b/kernel/patches-4.14.x-rt/0347-mm-rt-kmap_atomic-scheduling.patch @@ -1,7 +1,7 @@ -From 2d1859c26f8eda82fcc4ca6d2899474d5f8836a5 Mon Sep 17 00:00:00 2001 +From e7ba36f21b5c2eab40fc7599eef46e785f17d803 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 28 Jul 2011 10:43:51 +0200 -Subject: [PATCH 351/418] mm, rt: kmap_atomic scheduling +Subject: [PATCH 347/414] mm, rt: kmap_atomic scheduling In fact, with migrate_disable() existing one could play games with kmap_atomic. You could save/restore the kmap_atomic slots on context @@ -302,5 +302,5 @@ index 59db3223a5d6..22aa3ddbd87b 100644 unsigned int nr_free_highpages (void) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch b/kernel/patches-4.14.x-rt/0348-mm-rt-Fix-generic-kmap_atomic-for-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch rename to kernel/patches-4.14.x-rt/0348-mm-rt-Fix-generic-kmap_atomic-for-RT.patch index 807a140aa..a324d7927 100644 --- a/kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0348-mm-rt-Fix-generic-kmap_atomic-for-RT.patch @@ -1,7 +1,7 @@ -From fa87e7c559db3670cfb5ac4716b84cd2cf658e9d Mon Sep 17 00:00:00 2001 +From 8ee1547149d8153025861936d34d6364c4550039 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 19 Sep 2015 10:15:00 +0200 -Subject: [PATCH 352/418] mm: rt: Fix generic kmap_atomic for RT +Subject: [PATCH 348/414] mm: rt: Fix generic kmap_atomic for RT The update to 4.1 brought in the mainline variant of the pagefault disable distangling from preempt count. That introduced a @@ -42,5 +42,5 @@ index cfcd7b7ab205..8f248e2137eb 100644 #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn)) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch b/kernel/patches-4.14.x-rt/0349-x86-highmem-Add-a-already-used-pte-check.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch rename to kernel/patches-4.14.x-rt/0349-x86-highmem-Add-a-already-used-pte-check.patch index 68f1e8dd7..e8a3f4171 100644 --- a/kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch +++ b/kernel/patches-4.14.x-rt/0349-x86-highmem-Add-a-already-used-pte-check.patch @@ -1,7 +1,7 @@ -From c73a4d806931620893979f92f929e037650e3bdc Mon Sep 17 00:00:00 2001 +From e700b71a12586a07e0c19b8decec56df66f0d843 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 17:09:55 +0100 -Subject: [PATCH 353/418] x86/highmem: Add a "already used pte" check +Subject: [PATCH 349/414] x86/highmem: Add a "already used pte" check This is a copy from kmap_atomic_prot(). @@ -24,5 +24,5 @@ index 2620fb55ece1..585f6829653b 100644 current->kmap_pte[type] = pte; #endif -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch b/kernel/patches-4.14.x-rt/0350-arm-highmem-Flush-tlb-on-unmap.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch rename to kernel/patches-4.14.x-rt/0350-arm-highmem-Flush-tlb-on-unmap.patch index b2651b1da..2d79fdc3e 100644 --- a/kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch +++ b/kernel/patches-4.14.x-rt/0350-arm-highmem-Flush-tlb-on-unmap.patch @@ -1,7 +1,7 @@ -From 39626d0d570e4de60f9ab7522716461440d4cc94 Mon Sep 17 00:00:00 2001 +From 4b2a63b49a6b3c306db34e82af3a54fe73dc44e7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 21:37:27 +0100 -Subject: [PATCH 354/418] arm/highmem: Flush tlb on unmap +Subject: [PATCH 350/414] arm/highmem: Flush tlb on unmap The tlb should be flushed on unmap and thus make the mapping entry invalid. This is only done in the non-debug case which does not look @@ -29,5 +29,5 @@ index d02f8187b1cc..eb4b225d28c9 100644 } else if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { /* this address was obtained through kmap_high_get() */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch b/kernel/patches-4.14.x-rt/0351-arm-Enable-highmem-for-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch rename to kernel/patches-4.14.x-rt/0351-arm-Enable-highmem-for-rt.patch index 4f9ff7c51..e79862498 100644 --- a/kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0351-arm-Enable-highmem-for-rt.patch @@ -1,7 +1,7 @@ -From 5e98cd4f6e3bcdbbf09af71500a83ae0fc209363 Mon Sep 17 00:00:00 2001 +From 87fec3fc6afad6184c6734f08e2307707b96a0fd Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 13 Feb 2013 11:03:11 +0100 -Subject: [PATCH 355/418] arm: Enable highmem for rt +Subject: [PATCH 351/414] arm: Enable highmem for rt fixup highmem for ARM. @@ -179,5 +179,5 @@ index 8f248e2137eb..5f0bd7a3e6a7 100644 #include -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0352-scsi-fcoe-Make-RT-aware.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch rename to kernel/patches-4.14.x-rt/0352-scsi-fcoe-Make-RT-aware.patch index c3a8c3abb..aa23e20af 100644 --- a/kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0352-scsi-fcoe-Make-RT-aware.patch @@ -1,7 +1,7 @@ -From 84c2c6ef49c20128abf1c9c452c40dc41a8e8cc7 Mon Sep 17 00:00:00 2001 +From 6d7d79a0e3d15096588e7692b8e9896f02aa472b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 12 Nov 2011 14:00:48 +0100 -Subject: [PATCH 356/418] scsi/fcoe: Make RT aware. +Subject: [PATCH 352/414] scsi/fcoe: Make RT aware. Do not disable preemption while taking sleeping locks. All user look safe for migrate_diable() only. @@ -111,5 +111,5 @@ index 42bcf7f3a0f9..2ce045d6860c 100644 /* peek cache of free slot */ if (pool->left != FC_XID_UNKNOWN) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch b/kernel/patches-4.14.x-rt/0353-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch rename to kernel/patches-4.14.x-rt/0353-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch index c7fd3047e..24f78c599 100644 --- a/kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch +++ b/kernel/patches-4.14.x-rt/0353-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch @@ -1,7 +1,7 @@ -From 5266beff34ad56100127ee746142005e014e3add Mon Sep 17 00:00:00 2001 +From 5bdbf84364699f7bb6180687535a143fb2a74e19 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sat, 14 Feb 2015 11:01:16 -0500 -Subject: [PATCH 357/418] sas-ata/isci: dont't disable interrupts in qc_issue +Subject: [PATCH 353/414] sas-ata/isci: dont't disable interrupts in qc_issue handler On 3.14-rt we see the following trace on Canoe Pass for @@ -81,5 +81,5 @@ index 70be4425ae0b..a23ef685deac 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0354-x86-crypto-Reduce-preempt-disabled-regions.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0354-x86-crypto-Reduce-preempt-disabled-regions.patch index af6fa77cd..21ec25089 100644 --- a/kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0354-x86-crypto-Reduce-preempt-disabled-regions.patch @@ -1,7 +1,7 @@ -From 13519a69cb506bbf3243bd853345bc06c93f9b5c Mon Sep 17 00:00:00 2001 +From 00670e569ec7a47551414f65d2e816307777e78d Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 14 Nov 2011 18:19:27 +0100 -Subject: [PATCH 358/418] x86: crypto: Reduce preempt disabled regions +Subject: [PATCH 354/414] x86: crypto: Reduce preempt disabled regions Restrict the preempt disabled regions to the actual floating point operations and enable preemption for the administrative actions. @@ -113,5 +113,5 @@ index c690ddc78c03..7a3138d33e33 100644 return err; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch b/kernel/patches-4.14.x-rt/0355-crypto-Reduce-preempt-disabled-regions-more-algos.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch rename to kernel/patches-4.14.x-rt/0355-crypto-Reduce-preempt-disabled-regions-more-algos.patch index d7dccb4cc..82c42735f 100644 --- a/kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch +++ b/kernel/patches-4.14.x-rt/0355-crypto-Reduce-preempt-disabled-regions-more-algos.patch @@ -1,7 +1,7 @@ -From 3105d021136b6494dc238ecd56f754ff2fc7e110 Mon Sep 17 00:00:00 2001 +From 1d1b557720b31aeb5e469f6f7f172ba9711ab33f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Feb 2014 17:24:04 +0100 -Subject: [PATCH 359/418] crypto: Reduce preempt disabled regions, more algos +Subject: [PATCH 355/414] crypto: Reduce preempt disabled regions, more algos Don Estabrook reported | kernel: WARNING: CPU: 2 PID: 858 at kernel/sched/core.c:2428 migrate_disable+0xed/0x100() @@ -245,5 +245,5 @@ index d61e57960fe0..c67560d9718a 100644 } EXPORT_SYMBOL_GPL(glue_xts_crypt_128bit); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch b/kernel/patches-4.14.x-rt/0356-crypto-limit-more-FPU-enabled-sections.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch rename to kernel/patches-4.14.x-rt/0356-crypto-limit-more-FPU-enabled-sections.patch index e98982b0a..01fbee13a 100644 --- a/kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch +++ b/kernel/patches-4.14.x-rt/0356-crypto-limit-more-FPU-enabled-sections.patch @@ -1,7 +1,7 @@ -From 6b5577038510d5681f74af092ae566cbdf15b42a Mon Sep 17 00:00:00 2001 +From 18667febc2ee21d1dc9487a7e216e58dc1090202 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 13:40:10 +0100 -Subject: [PATCH 360/418] crypto: limit more FPU-enabled sections +Subject: [PATCH 356/414] crypto: limit more FPU-enabled sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -496,5 +496,5 @@ index f92a6593de1e..7128beaf594c 100644 * Save the FPU state (mark it for reload if necessary): * -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch b/kernel/patches-4.14.x-rt/0357-arm-disable-NEON-in-kernel-mode.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch rename to kernel/patches-4.14.x-rt/0357-arm-disable-NEON-in-kernel-mode.patch index 49dc86e44..ac23eb74b 100644 --- a/kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch +++ b/kernel/patches-4.14.x-rt/0357-arm-disable-NEON-in-kernel-mode.patch @@ -1,7 +1,7 @@ -From bc70d40246ca10c2c9a064bf1baef03dc02f49bf Mon Sep 17 00:00:00 2001 +From 0880265399b60f724b594b72c8cddf9118b67b37 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 1 Dec 2017 10:42:03 +0100 -Subject: [PATCH 361/418] arm*: disable NEON in kernel mode +Subject: [PATCH 357/414] arm*: disable NEON in kernel mode NEON in kernel mode is used by the crypto algorithms and raid6 code. While the raid6 code looks okay, the crypto algorithms do not: NEON @@ -133,5 +133,5 @@ index 34b4e3d46aab..ae055cdad8cf 100644 crc32_pmull_algs[1].update = crc32c_pmull_update; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0358-dm-Make-rt-aware.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch rename to kernel/patches-4.14.x-rt/0358-dm-Make-rt-aware.patch index afcc6a652..b4014a882 100644 --- a/kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0358-dm-Make-rt-aware.patch @@ -1,7 +1,7 @@ -From 09bba1c89fe819973eed7a8ddbbe34d59ac98155 Mon Sep 17 00:00:00 2001 +From d94635cbd54f892fc6edad894436a48bf88d207d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 23:06:09 +0100 -Subject: [PATCH 362/418] dm: Make rt aware +Subject: [PATCH 358/414] dm: Make rt aware Use the BUG_ON_NORT variant for the irq_disabled() checks. RT has interrupts legitimately enabled here as we cant deadlock against the @@ -28,5 +28,5 @@ index eadfcfd106ff..8824aeda85cf 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch b/kernel/patches-4.14.x-rt/0359-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch rename to kernel/patches-4.14.x-rt/0359-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch index 601240916..d616fbd58 100644 --- a/kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch +++ b/kernel/patches-4.14.x-rt/0359-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch @@ -1,7 +1,7 @@ -From 1e42d8f297c5c746245e025b4c21474a14c276aa Mon Sep 17 00:00:00 2001 +From 84346a9e5990c8810780a1bda1d7409532f1e308 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 13 Feb 2013 09:26:05 -0500 -Subject: [PATCH 363/418] acpi/rt: Convert acpi_gbl_hardware lock back to a +Subject: [PATCH 359/414] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t We hit the following bug with 3.6-rt: @@ -184,5 +184,5 @@ index 1b473efd9eb6..89ee5e1dac48 100644 * OSL interfaces used by debugger/disassembler */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/kernel/patches-4.14.x-rt/0360-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch rename to kernel/patches-4.14.x-rt/0360-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch index 951084cd7..9eb462c6a 100644 --- a/kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0360-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch @@ -1,7 +1,7 @@ -From 4c29e979ce2c1f897fc737006cb000de3a2f4c27 Mon Sep 17 00:00:00 2001 +From 2cd28bbc67f575a3003bf57033139043ca71f3e0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 14 Dec 2011 01:03:49 +0100 -Subject: [PATCH 364/418] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT +Subject: [PATCH 360/414] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT There are "valid" GFP_ATOMIC allocations such as @@ -71,5 +71,5 @@ index b1445b22a6de..9ab51b78991a 100644 Use dynamic allocation for cpumask_var_t, instead of putting them on the stack. This is a bit more expensive, but avoids -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch b/kernel/patches-4.14.x-rt/0361-random-Make-it-work-on-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch rename to kernel/patches-4.14.x-rt/0361-random-Make-it-work-on-rt.patch index 3967a9523..b49ccefd2 100644 --- a/kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0361-random-Make-it-work-on-rt.patch @@ -1,7 +1,7 @@ -From c9aeeac26d5f445cbf14d637b39151b1fae6d651 Mon Sep 17 00:00:00 2001 +From c6a674a9a6bcf3db34c604d71cf5717c5652e26c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Aug 2012 20:38:50 +0200 -Subject: [PATCH 365/418] random: Make it work on rt +Subject: [PATCH 361/414] random: Make it work on rt Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq @@ -143,5 +143,5 @@ index 000c519a35cd..5190abc61d37 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch b/kernel/patches-4.14.x-rt/0362-random-avoid-preempt_disable-ed-section.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch rename to kernel/patches-4.14.x-rt/0362-random-avoid-preempt_disable-ed-section.patch index cf9b68d7d..4b32c282f 100644 --- a/kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch +++ b/kernel/patches-4.14.x-rt/0362-random-avoid-preempt_disable-ed-section.patch @@ -1,7 +1,7 @@ -From 0ff8b53141c333e87e4e2b73b2a2df00d4e5501a Mon Sep 17 00:00:00 2001 +From 791b50a14ed4d4ffa59d08a76ead382ecc33a927 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 12 May 2017 15:46:17 +0200 -Subject: [PATCH 366/418] random: avoid preempt_disable()ed section +Subject: [PATCH 362/414] random: avoid preempt_disable()ed section extract_crng() will use sleeping locks while in a preempt_disable() section due to get_cpu_var(). @@ -76,5 +76,5 @@ index 07d3b27db4fb..74a0f65217f5 100644 } EXPORT_SYMBOL(get_random_u32); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch b/kernel/patches-4.14.x-rt/0363-char-random-don-t-print-that-the-init-is-done.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch rename to kernel/patches-4.14.x-rt/0363-char-random-don-t-print-that-the-init-is-done.patch index 598fb38f9..835ff0139 100644 --- a/kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch +++ b/kernel/patches-4.14.x-rt/0363-char-random-don-t-print-that-the-init-is-done.patch @@ -1,7 +1,7 @@ -From 7754f712e5338b263c5bb3920a0474b92e97c90e Mon Sep 17 00:00:00 2001 +From aa9e8f0bdd506a2396abeadca48e4db9d92950c8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 30 May 2017 16:39:01 +0200 -Subject: [PATCH 367/418] char/random: don't print that the init is done +Subject: [PATCH 363/414] char/random: don't print that the init is done On RT we run into circular locking with pendingb_lock (workqueue), port_lock_key (uart) and the primary_crng (random): @@ -182,5 +182,5 @@ index 74a0f65217f5..4a8458ff5ee8 100644 } } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch b/kernel/patches-4.14.x-rt/0364-cpu-hotplug-Implement-CPU-pinning.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch rename to kernel/patches-4.14.x-rt/0364-cpu-hotplug-Implement-CPU-pinning.patch index 8b709cbf1..ba485aa2a 100644 --- a/kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch +++ b/kernel/patches-4.14.x-rt/0364-cpu-hotplug-Implement-CPU-pinning.patch @@ -1,7 +1,7 @@ -From e97f994f0e4988e1d970ab7e9a55cbc27f8a0c80 Mon Sep 17 00:00:00 2001 +From 2a0ee06fd38579385684ca2094d3053668bda8e5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Jul 2017 17:31:20 +0200 -Subject: [PATCH 368/418] cpu/hotplug: Implement CPU pinning +Subject: [PATCH 364/414] cpu/hotplug: Implement CPU pinning Signed-off-by: Thomas Gleixner --- @@ -114,5 +114,5 @@ index aa9b1702e115..61ca799b76c5 100644 irq_unlock_sparse(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/kernel/patches-4.14.x-rt/0365-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch rename to kernel/patches-4.14.x-rt/0365-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch index 0358c18b9..fb57e5b6c 100644 --- a/kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch +++ b/kernel/patches-4.14.x-rt/0365-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch @@ -1,7 +1,7 @@ -From a5fa45be1b5940e5355dd944043d13809a378f4f Mon Sep 17 00:00:00 2001 +From cc57aa62cf9fc408eac3a3ab803be8f6fefde89a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 18:31:00 +0200 -Subject: [PATCH 369/418] hotplug: duct-tape RT-rwlock usage for non-RT +Subject: [PATCH 365/414] hotplug: duct-tape RT-rwlock usage for non-RT This type is only available on -RT. We need to craft something for non-RT. Since the only migrate_disable() user is -RT only, there is no @@ -97,5 +97,5 @@ index 61ca799b76c5..8fbc0f5ac6f9 100644 irq_unlock_sparse(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch b/kernel/patches-4.14.x-rt/0366-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch rename to kernel/patches-4.14.x-rt/0366-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch index 5893c9247..777650799 100644 --- a/kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch +++ b/kernel/patches-4.14.x-rt/0366-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch @@ -1,7 +1,7 @@ -From 79b257af3a9ae091f7947cdd799c3372bdb48663 Mon Sep 17 00:00:00 2001 +From b2fa8a9eb7d1090667b2dba8de7b1dae649b4817 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 27 Apr 2012 12:48:46 +0200 -Subject: [PATCH 370/418] scsi: qla2xxx: Use local_irq_save_nort() in +Subject: [PATCH 366/414] scsi: qla2xxx: Use local_irq_save_nort() in qla2x00_poll RT triggers the following: @@ -50,5 +50,5 @@ index 9a2c86eacf44..28266455b54c 100644 static inline uint8_t * -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch b/kernel/patches-4.14.x-rt/0367-net-Remove-preemption-disabling-in-netif_rx.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch rename to kernel/patches-4.14.x-rt/0367-net-Remove-preemption-disabling-in-netif_rx.patch index 99401102a..41279db38 100644 --- a/kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch +++ b/kernel/patches-4.14.x-rt/0367-net-Remove-preemption-disabling-in-netif_rx.patch @@ -1,7 +1,7 @@ -From 20d4ae650ed74d75429f3a7315c0da1169974085 Mon Sep 17 00:00:00 2001 +From c8316fa5cbe45566ee2d0dab15dac9eb2e202f05 Mon Sep 17 00:00:00 2001 From: Priyanka Jain Date: Thu, 17 May 2012 09:35:11 +0530 -Subject: [PATCH 371/418] net: Remove preemption disabling in netif_rx() +Subject: [PATCH 367/414] net: Remove preemption disabling in netif_rx() 1)enqueue_to_backlog() (called from netif_rx) should be bind to a particluar CPU. This can be achieved by @@ -66,5 +66,5 @@ index 9c936553c46e..11bb8981602d 100644 return ret; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch b/kernel/patches-4.14.x-rt/0368-net-Another-local_irq_disable-kmalloc-headache.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch rename to kernel/patches-4.14.x-rt/0368-net-Another-local_irq_disable-kmalloc-headache.patch index 20b281e26..115750049 100644 --- a/kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch +++ b/kernel/patches-4.14.x-rt/0368-net-Another-local_irq_disable-kmalloc-headache.patch @@ -1,7 +1,7 @@ -From bdbac438d862833be4d21f4fffcbc15d3c649a11 Mon Sep 17 00:00:00 2001 +From 0e907ca0411a830a3d326adbdd4b85053b91ff66 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 26 Sep 2012 16:21:08 +0200 -Subject: [PATCH 372/418] net: Another local_irq_disable/kmalloc headache +Subject: [PATCH 368/414] net: Another local_irq_disable/kmalloc headache Replace it by a local lock. Though that's pretty inefficient :( @@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c -index c132eca9e383..a20583c3224e 100644 +index 2e5eeba97de9..bdaf2650b8af 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -63,6 +63,7 @@ @@ -60,5 +60,5 @@ index c132eca9e383..a20583c3224e 100644 if (unlikely(!data)) return NULL; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch b/kernel/patches-4.14.x-rt/0369-net-core-protect-users-of-napi_alloc_cache-against-r.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch rename to kernel/patches-4.14.x-rt/0369-net-core-protect-users-of-napi_alloc_cache-against-r.patch index d964c4ec1..1f729a640 100644 --- a/kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch +++ b/kernel/patches-4.14.x-rt/0369-net-core-protect-users-of-napi_alloc_cache-against-r.patch @@ -1,7 +1,7 @@ -From 4765799a2c19dd1d6bc1feadd6e5c4ce411ae2ac Mon Sep 17 00:00:00 2001 +From ecabdcec3beb3e73611b5b794550bb52072217a0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 15 Jan 2016 16:33:34 +0100 -Subject: [PATCH 373/418] net/core: protect users of napi_alloc_cache against +Subject: [PATCH 369/414] net/core: protect users of napi_alloc_cache against reentrance On -RT the code running in BH can not be moved to another CPU so CPU @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c -index a20583c3224e..59976c5a7e3b 100644 +index bdaf2650b8af..73ba966326b0 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -332,6 +332,7 @@ struct napi_alloc_cache { @@ -114,5 +114,5 @@ index a20583c3224e..59976c5a7e3b 100644 void __kfree_skb_defer(struct sk_buff *skb) { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch b/kernel/patches-4.14.x-rt/0370-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch rename to kernel/patches-4.14.x-rt/0370-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch index 1e77530be..4ecdc5433 100644 --- a/kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch +++ b/kernel/patches-4.14.x-rt/0370-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch @@ -1,7 +1,7 @@ -From 1af4ca6975b54a0619ec4f28e07587e6f633f9ea Mon Sep 17 00:00:00 2001 +From d6435e340762d7cc32b26353af8f1906473b9006 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 11:18:08 +0100 -Subject: [PATCH 374/418] net: netfilter: Serialize xt_write_recseq sections on +Subject: [PATCH 370/414] net: netfilter: Serialize xt_write_recseq sections on RT The netfilter code relies only on the implicit semantics of @@ -79,5 +79,5 @@ index 52cd2901a097..c63e937b6676 100644 const struct nf_afinfo __rcu *nf_afinfo[NFPROTO_NUMPROTO] __read_mostly; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch b/kernel/patches-4.14.x-rt/0371-net-Add-a-mutex-around-devnet_rename_seq.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch rename to kernel/patches-4.14.x-rt/0371-net-Add-a-mutex-around-devnet_rename_seq.patch index 80036a8e0..a8a723125 100644 --- a/kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch +++ b/kernel/patches-4.14.x-rt/0371-net-Add-a-mutex-around-devnet_rename_seq.patch @@ -1,7 +1,7 @@ -From 53aece04234a80984fd32a4eca7c8ead39a1b6c8 Mon Sep 17 00:00:00 2001 +From 816a250e7a1770ce62a8f8063448fd508e555315 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Mar 2013 18:06:20 +0100 -Subject: [PATCH 375/418] net: Add a mutex around devnet_rename_seq +Subject: [PATCH 371/414] net: Add a mutex around devnet_rename_seq On RT write_seqcount_begin() disables preemption and device_rename() allocates memory with GFP_KERNEL and grabs later the sysfs_mutex @@ -108,5 +108,5 @@ index 11bb8981602d..e0e8738abac9 100644 /** -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch b/kernel/patches-4.14.x-rt/0372-crypto-Convert-crypto-notifier-chain-to-SRCU.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch rename to kernel/patches-4.14.x-rt/0372-crypto-Convert-crypto-notifier-chain-to-SRCU.patch index 3236c0d60..db665435f 100644 --- a/kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch +++ b/kernel/patches-4.14.x-rt/0372-crypto-Convert-crypto-notifier-chain-to-SRCU.patch @@ -1,7 +1,7 @@ -From 97177d4b67f35f71cb44270dc162cb763a698da2 Mon Sep 17 00:00:00 2001 +From bbde44d50c46a933beb4b4d3f88a933f449102f3 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 5 Oct 2012 09:03:24 +0100 -Subject: [PATCH 376/418] crypto: Convert crypto notifier chain to SRCU +Subject: [PATCH 372/414] crypto: Convert crypto notifier chain to SRCU The crypto notifier deadlocks on RT. Though this can be a real deadlock on mainline as well due to fifo fair rwsems. @@ -188,5 +188,5 @@ index f07320423191..333d985088fe 100644 #endif /* _CRYPTO_INTERNAL_H */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch b/kernel/patches-4.14.x-rt/0373-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch rename to kernel/patches-4.14.x-rt/0373-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch index e5f166a80..86b7e4a92 100644 --- a/kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch +++ b/kernel/patches-4.14.x-rt/0373-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch @@ -1,7 +1,7 @@ -From 71236004ea4c8057a84f70b9d6f5182bcbdafec2 Mon Sep 17 00:00:00 2001 +From bc3b29b04f8b9b9674a4dbad1259d644d21f1f07 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Mon, 16 Apr 2012 15:01:56 +0800 -Subject: [PATCH 377/418] lockdep: selftest: Only do hardirq context test for +Subject: [PATCH 373/414] lockdep: selftest: Only do hardirq context test for raw spinlock On -rt there is no softirq context any more and rwlock is sleepable, @@ -57,5 +57,5 @@ index b5c1293ce147..7a452887c9c3 100644 ww_tests(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/kernel/patches-4.14.x-rt/0374-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch rename to kernel/patches-4.14.x-rt/0374-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch index 33c8e150e..296d4054d 100644 --- a/kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch +++ b/kernel/patches-4.14.x-rt/0374-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch @@ -1,7 +1,7 @@ -From a3a1e9cbffd524cb19b67d640a23251fc7536d39 Mon Sep 17 00:00:00 2001 +From b556bc733dad1af913672871956ce1354979ca5e Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Wed, 28 Jan 2015 13:08:45 -0600 -Subject: [PATCH 378/418] lockdep: selftest: fix warnings due to missing +Subject: [PATCH 374/414] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals "lockdep: Selftest: Only do hardirq context test for raw spinlock" @@ -144,5 +144,5 @@ index 7a452887c9c3..075e225f4111 100644 * read-lock / write-lock recursion that is unsafe. */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch b/kernel/patches-4.14.x-rt/0375-srcu-use-cpu_online-instead-custom-check.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch rename to kernel/patches-4.14.x-rt/0375-srcu-use-cpu_online-instead-custom-check.patch index e368e8eb0..774e12d54 100644 --- a/kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch +++ b/kernel/patches-4.14.x-rt/0375-srcu-use-cpu_online-instead-custom-check.patch @@ -1,7 +1,7 @@ -From 7b17fa1461347cf507fc3367b82c587f8795815c Mon Sep 17 00:00:00 2001 +From dddbfab2ad34717f610016d549eb43a5529c3a6a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 14:43:41 +0200 -Subject: [PATCH 379/418] srcu: use cpu_online() instead custom check +Subject: [PATCH 375/414] srcu: use cpu_online() instead custom check The current check via srcu_online is slightly racy because after looking at srcu_online there could be an interrupt that interrupted us long @@ -103,5 +103,5 @@ index 55c56b1aece7..85e2dc55a82c 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0376-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch rename to kernel/patches-4.14.x-rt/0376-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch index fa17d0bb4..b86d0fdf1 100644 --- a/kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0376-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch @@ -1,7 +1,7 @@ -From 7e2fbef5e1f87047963be1499ad5bf75527c259b Mon Sep 17 00:00:00 2001 +From e24bd322a27373a3ec40d37e23233e6c59e30d2a Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 10 Oct 2017 13:52:30 -0700 -Subject: [PATCH 380/418] srcu: Prohibit call_srcu() use under raw spinlocks +Subject: [PATCH 376/414] srcu: Prohibit call_srcu() use under raw spinlocks Upstream commit 08265b8f1a139c1cff052b35ab7cf929528f88bb @@ -406,5 +406,5 @@ index b72d8c552604..c9d1f0e5f899 100644 if (pushgp) queue_delayed_work(system_power_efficient_wq, &sp->work, delay); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch b/kernel/patches-4.14.x-rt/0377-srcu-replace-local_irqsave-with-a-locallock.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch rename to kernel/patches-4.14.x-rt/0377-srcu-replace-local_irqsave-with-a-locallock.patch index 009315980..ed49ecb68 100644 --- a/kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch +++ b/kernel/patches-4.14.x-rt/0377-srcu-replace-local_irqsave-with-a-locallock.patch @@ -1,7 +1,7 @@ -From 69ab29706007e328c8e17cd0bd480da7bb21e07e Mon Sep 17 00:00:00 2001 +From 13bb9093a490410ebb250ec887eb2e50ab540226 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 18:37:12 +0200 -Subject: [PATCH 381/418] srcu: replace local_irqsave() with a locallock +Subject: [PATCH 377/414] srcu: replace local_irqsave() with a locallock There are two instances which disable interrupts in order to become a stable this_cpu_ptr() pointer. The restore part is coupled with @@ -72,5 +72,5 @@ index c9d1f0e5f899..0e3b2bd3f2ac 100644 srcu_funnel_gp_start(sp, sdp, s, do_norm); else if (needexp) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch b/kernel/patches-4.14.x-rt/0378-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch rename to kernel/patches-4.14.x-rt/0378-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch index 6198536fe..6b6146051 100644 --- a/kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0378-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch @@ -1,7 +1,7 @@ -From 68a83f2934a3f9f19fd932d7b715827c79cf469f Mon Sep 17 00:00:00 2001 +From 4788b2759bf37ef0f168df5a690a4a1a6e25bedf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 13:26:09 +0000 -Subject: [PATCH 382/418] rcu: Disable RCU_FAST_NO_HZ on RT +Subject: [PATCH 378/414] rcu: Disable RCU_FAST_NO_HZ on RT This uses a timer_list timer from the irq disabled guts of the idle code. Disable it for now to prevent wreckage. @@ -25,5 +25,5 @@ index 9210379c0353..644264be90f0 100644 help This option permits CPUs to enter dynticks-idle state even if -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch b/kernel/patches-4.14.x-rt/0379-rcu-Eliminate-softirq-processing-from-rcutree.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch rename to kernel/patches-4.14.x-rt/0379-rcu-Eliminate-softirq-processing-from-rcutree.patch index 85caa62fa..51a29058b 100644 --- a/kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch +++ b/kernel/patches-4.14.x-rt/0379-rcu-Eliminate-softirq-processing-from-rcutree.patch @@ -1,7 +1,7 @@ -From cde97512d5759b2e9aeb14542c016e26b3bb4eed Mon Sep 17 00:00:00 2001 +From b6773bdea5d3a4d88ecc30dc2fbdde41c917c10b Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Mon, 4 Nov 2013 13:21:10 -0800 -Subject: [PATCH 383/418] rcu: Eliminate softirq processing from rcutree +Subject: [PATCH 379/414] rcu: Eliminate softirq processing from rcutree Running RCU out of softirq is a problem for some workloads that would like to manage RCU core processing independently of other softirq work, @@ -435,5 +435,5 @@ index 09c739703533..17ee8d1f38c4 100644 { return false; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch b/kernel/patches-4.14.x-rt/0380-rcu-make-RCU_BOOST-default-on-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch rename to kernel/patches-4.14.x-rt/0380-rcu-make-RCU_BOOST-default-on-RT.patch index 88b901a24..a892da9e3 100644 --- a/kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0380-rcu-make-RCU_BOOST-default-on-RT.patch @@ -1,7 +1,7 @@ -From 89d849930e05b76e217793e9fe23fcedc0ee6805 Mon Sep 17 00:00:00 2001 +From b3e7f5884807062766458a29d8d42c5467f2b4a0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Mar 2014 20:19:05 +0100 -Subject: [PATCH 384/418] rcu: make RCU_BOOST default on RT +Subject: [PATCH 380/414] rcu: make RCU_BOOST default on RT Since it is no longer invoked from the softirq people run into OOM more often if the priority of the RCU thread is too low. Making boosting @@ -36,5 +36,5 @@ index 644264be90f0..0be2c96fb640 100644 This option boosts the priority of preempted RCU readers that block the current preemptible RCU grace period for too long. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch b/kernel/patches-4.14.x-rt/0381-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch rename to kernel/patches-4.14.x-rt/0381-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch index 1f277308d..7edb53ff9 100644 --- a/kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0381-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch @@ -1,7 +1,7 @@ -From 449ba95eb771a1c0bc5d3208707baf79fa7d59b4 Mon Sep 17 00:00:00 2001 +From e1ef68d1060f1197a2181a5968be3d48fd9b6c98 Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Wed, 12 Oct 2016 11:21:14 -0500 -Subject: [PATCH 385/418] rcu: enable rcu_normal_after_boot by default for RT +Subject: [PATCH 381/414] rcu: enable rcu_normal_after_boot by default for RT The forcing of an expedited grace period is an expensive and very RT-application unfriendly operation, as it forcibly preempts all running @@ -31,5 +31,5 @@ index c63c88a0de7e..2006a09680aa 100644 #endif /* #ifndef CONFIG_TINY_RCU */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0382-sched-Add-support-for-lazy-preemption.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0382-sched-Add-support-for-lazy-preemption.patch index 90f6218ce..919479df0 100644 --- a/kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0382-sched-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From 23c369d344399f08455da98e77f7386d35e836ac Mon Sep 17 00:00:00 2001 +From 655481e0ab95a9be2c5edbf169112e1047b6bc36 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 26 Oct 2012 18:50:54 +0100 -Subject: [PATCH 386/418] sched: Add support for lazy preemption +Subject: [PATCH 382/414] sched: Add support for lazy preemption It has become an obsession to mitigate the determinism vs. throughput loss of RT. Looking at the mainline semantics of preemption points @@ -243,7 +243,7 @@ index f8a2982bdbde..11dbe26a8279 100644 prompt "Preemption Model" default PREEMPT_NONE diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 44a1dc2574de..70455682c1f8 100644 +index 099428d3a0b4..38ba16e8beee 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -518,6 +518,48 @@ void resched_curr(struct rq *rq) @@ -295,7 +295,7 @@ index 44a1dc2574de..70455682c1f8 100644 void resched_cpu(int cpu) { struct rq *rq = cpu_rq(cpu); -@@ -2445,6 +2487,9 @@ int sched_fork(unsigned long clone_flags, struct task_struct *p) +@@ -2462,6 +2504,9 @@ int sched_fork(unsigned long clone_flags, struct task_struct *p) p->on_cpu = 0; #endif init_task_preempt_count(p); @@ -305,7 +305,7 @@ index 44a1dc2574de..70455682c1f8 100644 #ifdef CONFIG_SMP plist_node_init(&p->pushable_tasks, MAX_PRIO); RB_CLEAR_NODE(&p->pushable_dl_tasks); -@@ -3362,6 +3407,7 @@ static void __sched notrace __schedule(bool preempt) +@@ -3379,6 +3424,7 @@ static void __sched notrace __schedule(bool preempt) next = pick_next_task(rq, prev, &rf); clear_tsk_need_resched(prev); @@ -313,7 +313,7 @@ index 44a1dc2574de..70455682c1f8 100644 clear_preempt_need_resched(); if (likely(prev != next)) { -@@ -3537,6 +3583,30 @@ static void __sched notrace preempt_schedule_common(void) +@@ -3554,6 +3600,30 @@ static void __sched notrace preempt_schedule_common(void) } while (need_resched()); } @@ -344,7 +344,7 @@ index 44a1dc2574de..70455682c1f8 100644 #ifdef CONFIG_PREEMPT /* * this is the entry point to schedule() from in-kernel preemption -@@ -3551,7 +3621,8 @@ asmlinkage __visible void __sched notrace preempt_schedule(void) +@@ -3568,7 +3638,8 @@ asmlinkage __visible void __sched notrace preempt_schedule(void) */ if (likely(!preemptible())) return; @@ -354,7 +354,7 @@ index 44a1dc2574de..70455682c1f8 100644 preempt_schedule_common(); } NOKPROBE_SYMBOL(preempt_schedule); -@@ -3578,6 +3649,9 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) +@@ -3595,6 +3666,9 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) if (likely(!preemptible())) return; @@ -364,7 +364,7 @@ index 44a1dc2574de..70455682c1f8 100644 do { /* * Because the function tracer can trace preempt_count_sub() -@@ -5317,7 +5391,9 @@ void init_idle(struct task_struct *idle, int cpu) +@@ -5334,7 +5408,9 @@ void init_idle(struct task_struct *idle, int cpu) /* Set the preempt count _outside_ the spinlocks! */ init_idle_preempt_count(idle, cpu); @@ -375,7 +375,7 @@ index 44a1dc2574de..70455682c1f8 100644 /* * The idle tasks have their own, simple scheduling class: */ -@@ -6873,6 +6949,7 @@ void migrate_disable(void) +@@ -6890,6 +6966,7 @@ void migrate_disable(void) } preempt_disable(); @@ -383,7 +383,7 @@ index 44a1dc2574de..70455682c1f8 100644 pin_current_cpu(); migrate_disable_update_cpus_allowed(p); -@@ -6940,6 +7017,7 @@ void migrate_enable(void) +@@ -6957,6 +7034,7 @@ void migrate_enable(void) arg.dest_cpu = dest_cpu; unpin_current_cpu(); @@ -391,7 +391,7 @@ index 44a1dc2574de..70455682c1f8 100644 preempt_enable(); stop_one_cpu(task_cpu(p), migration_cpu_stop, &arg); tlb_migrate_finish(p->mm); -@@ -6948,6 +7026,7 @@ void migrate_enable(void) +@@ -6965,6 +7043,7 @@ void migrate_enable(void) } } unpin_current_cpu(); @@ -510,7 +510,7 @@ index ace39806bff8..96481980c8c7 100644 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime); diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 7e01f6793ca0..3fe94621007c 100644 +index f2d05bf43e84..8566d8d5130f 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2129,6 +2129,7 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags, @@ -571,13 +571,13 @@ index 7e01f6793ca0..3fe94621007c 100644 - seq_printf(m, "# %s||| / delay\n", + seq_printf(m, "# %s||| / _--=> preempt-depth\n", tgid ? tgid_space : space); -- seq_printf(m, "# TASK-PID CPU#%s|||| TIMESTAMP FUNCTION\n", +- seq_printf(m, "# TASK-PID %sCPU# |||| TIMESTAMP FUNCTION\n", + seq_printf(m, "# %s|||| / delay\n", + tgid ? tgid_space : space); -+ seq_printf(m, "# TASK-PID CPU#%s||||| TIMESTAMP FUNCTION\n", ++ seq_printf(m, "# TASK-PID %sCPU# ||||| TIMESTAMP FUNCTION\n", tgid ? " TGID " : space); -- seq_printf(m, "# | | | %s|||| | |\n", -+ seq_printf(m, "# | | | %s||||| | |\n", +- seq_printf(m, "# | | %s | |||| | |\n", ++ seq_printf(m, "# | | %s | ||||| | |\n", tgid ? " | " : space); } @@ -602,7 +602,7 @@ index 0b8af849dc75..18bf383f46e8 100644 #define TRACE_BUF_SIZE 1024 diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c -index 2bccb364a483..5af6d7d1b1e9 100644 +index dfbe55f3e6ac..74a4bfc2c6b7 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c @@ -447,6 +447,7 @@ int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry) @@ -647,5 +647,5 @@ index 2bccb364a483..5af6d7d1b1e9 100644 trace_seq_printf(s, "%x", entry->migrate_disable); else -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch b/kernel/patches-4.14.x-rt/0383-ftrace-Fix-trace-header-alignment.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch rename to kernel/patches-4.14.x-rt/0383-ftrace-Fix-trace-header-alignment.patch index 72a73905b..bd9343c8e 100644 --- a/kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch +++ b/kernel/patches-4.14.x-rt/0383-ftrace-Fix-trace-header-alignment.patch @@ -1,7 +1,7 @@ -From 689dbe43df4fd20617cd0870c5928193c010326b Mon Sep 17 00:00:00 2001 +From b43df0d2b26c85a4d42b8cbf266c65a80c3f73c9 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:08:30 +0200 -Subject: [PATCH 387/418] ftrace: Fix trace header alignment +Subject: [PATCH 383/414] ftrace: Fix trace header alignment Line up helper arrows to the right column. @@ -14,7 +14,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 3fe94621007c..d67ac5c2bc66 100644 +index 8566d8d5130f..5ab686a090e3 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -3343,17 +3343,17 @@ get_total_entries(struct trace_buffer *buf, @@ -47,5 +47,5 @@ index 3fe94621007c..d67ac5c2bc66 100644 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0384-x86-Support-for-lazy-preemption.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0384-x86-Support-for-lazy-preemption.patch index e6c7cb231..06899c538 100644 --- a/kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0384-x86-Support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From f1bd269dcf7c145d0495ef7b85bb5c1f9e801ac6 Mon Sep 17 00:00:00 2001 +From a44d6bdd4a2cb8f2b921e27dcd2a6b381182164c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 11:03:47 +0100 -Subject: [PATCH 388/418] x86: Support for lazy preemption +Subject: [PATCH 384/414] x86: Support for lazy preemption Implement the x86 pieces for lazy preempt. @@ -236,5 +236,5 @@ index 76417a9aab73..62c3e27c8e1c 100644 /* TLB state for the entry code */ OFFSET(TLB_STATE_user_pcid_flush_mask, tlb_state, user_pcid_flush_mask); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0385-arm-Add-support-for-lazy-preemption.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0385-arm-Add-support-for-lazy-preemption.patch index e3d0e0eec..f720bbe9e 100644 --- a/kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0385-arm-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From fedf6d7389831899945c204e467ea9389e20444c Mon Sep 17 00:00:00 2001 +From 035c6f4e07e29613731437a642c0ae81f849a8e6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 31 Oct 2012 12:04:11 +0100 -Subject: [PATCH 389/418] arm: Add support for lazy preemption +Subject: [PATCH 385/414] arm: Add support for lazy preemption Implement the arm pieces for lazy preempt. @@ -163,5 +163,5 @@ index b67ae12503f3..7039988510bb 100644 } else { if (unlikely(!user_mode(regs))) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0386-powerpc-Add-support-for-lazy-preemption.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0386-powerpc-Add-support-for-lazy-preemption.patch index 4b6a4bbb3..abb05d0ac 100644 --- a/kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0386-powerpc-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From ece346f77007f0c29c2d09762f7c32d3cbea3f40 Mon Sep 17 00:00:00 2001 +From 5a4a1806f17fdea37c77455dfe9c7959fc7d8c8d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 10:14:11 +0100 -Subject: [PATCH 390/418] powerpc: Add support for lazy preemption +Subject: [PATCH 386/414] powerpc: Add support for lazy preemption Implement the powerpc pieces for lazy preempt. @@ -141,10 +141,10 @@ index e780e1fbf6c2..dc7fe90ff6a9 100644 andi. r0,r9,_TIF_USER_WORK_MASK beq restore_user diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S -index 6f07c687fc05..24ae3d343084 100644 +index c194f4c8e66b..117c1f6cab66 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S -@@ -689,7 +689,7 @@ _GLOBAL(ret_from_except_lite) +@@ -690,7 +690,7 @@ _GLOBAL(ret_from_except_lite) bl restore_math b restore #endif @@ -153,7 +153,7 @@ index 6f07c687fc05..24ae3d343084 100644 beq 2f bl restore_interrupts SCHEDULE_USER -@@ -751,10 +751,18 @@ resume_kernel: +@@ -752,10 +752,18 @@ resume_kernel: #ifdef CONFIG_PREEMPT /* Check if we need to preempt */ @@ -173,7 +173,7 @@ index 6f07c687fc05..24ae3d343084 100644 cmpwi cr1,r8,0 ld r0,SOFTE(r1) cmpdi r0,0 -@@ -771,7 +779,7 @@ resume_kernel: +@@ -772,7 +780,7 @@ resume_kernel: /* Re-test flags and eventually loop */ CURRENT_THREAD_INFO(r9, r1) ld r4,TI_FLAGS(r9) @@ -183,5 +183,5 @@ index 6f07c687fc05..24ae3d343084 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch b/kernel/patches-4.14.x-rt/0387-arch-arm64-Add-lazy-preempt-support.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch rename to kernel/patches-4.14.x-rt/0387-arch-arm64-Add-lazy-preempt-support.patch index 590bb78d5..8d25afe45 100644 --- a/kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch +++ b/kernel/patches-4.14.x-rt/0387-arch-arm64-Add-lazy-preempt-support.patch @@ -1,7 +1,7 @@ -From 012271ca852e27ad4fe40c63dff1b9c60bfbcb72 Mon Sep 17 00:00:00 2001 +From 9b46d91f49786266c66f5c8d81e8428f5916871c Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 14 May 2015 17:52:17 +0200 -Subject: [PATCH 391/418] arch/arm64: Add lazy preempt support +Subject: [PATCH 387/414] arch/arm64: Add lazy preempt support arm64 is missing support for PREEMPT_RT. The main feature which is lacking is support for lazy preemption. The arch-specific entry code, @@ -20,7 +20,7 @@ Signed-off-by: Anders Roxell 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig -index 720678aea92f..f1c20cfca4ab 100644 +index 4494eab8cc31..6ccd878c32c2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -103,6 +103,7 @@ config ARM64 @@ -32,7 +32,7 @@ index 720678aea92f..f1c20cfca4ab 100644 select HAVE_RCU_TABLE_FREE select HAVE_SYSCALL_TRACEPOINTS diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h -index ddded6497a8a..935271f5914d 100644 +index fc786d344e46..b833258b7594 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -43,6 +43,7 @@ struct thread_info { @@ -51,7 +51,7 @@ index ddded6497a8a..935271f5914d 100644 #define TIF_NOHZ 7 #define TIF_SYSCALL_TRACE 8 #define TIF_SYSCALL_AUDIT 9 -@@ -97,6 +99,7 @@ void arch_setup_new_exec(void); +@@ -98,6 +100,7 @@ void arch_setup_new_exec(void); #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) #define _TIF_FOREIGN_FPSTATE (1 << TIF_FOREIGN_FPSTATE) @@ -59,7 +59,7 @@ index ddded6497a8a..935271f5914d 100644 #define _TIF_NOHZ (1 << TIF_NOHZ) #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) #define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) -@@ -108,8 +111,9 @@ void arch_setup_new_exec(void); +@@ -109,8 +112,9 @@ void arch_setup_new_exec(void); #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \ _TIF_NOTIFY_RESUME | _TIF_FOREIGN_FPSTATE | \ @@ -71,7 +71,7 @@ index ddded6497a8a..935271f5914d 100644 _TIF_SYSCALL_TRACEPOINT | _TIF_SECCOMP | \ _TIF_NOHZ) diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c -index af247d10252f..215a48154042 100644 +index b5e43b01b396..ae26a1664436 100644 --- a/arch/arm64/kernel/asm-offsets.c +++ b/arch/arm64/kernel/asm-offsets.c @@ -39,6 +39,7 @@ int main(void) @@ -83,10 +83,10 @@ index af247d10252f..215a48154042 100644 #ifdef CONFIG_ARM64_SW_TTBR0_PAN DEFINE(TSK_TI_TTBR0, offsetof(struct task_struct, thread_info.ttbr0)); diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S -index 93958d1341bb..ed6959beb5a4 100644 +index c1ffa95c0ad2..c60ecb5a3916 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S -@@ -607,11 +607,16 @@ el1_irq: +@@ -637,11 +637,16 @@ el1_irq: #ifdef CONFIG_PREEMPT ldr w24, [tsk, #TSK_TI_PREEMPT] // get preempt count @@ -106,7 +106,7 @@ index 93958d1341bb..ed6959beb5a4 100644 #endif #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_on -@@ -625,6 +630,7 @@ el1_preempt: +@@ -655,6 +660,7 @@ el1_preempt: 1: bl preempt_schedule_irq // irq en/disable is done inside ldr x0, [tsk, #TSK_TI_FLAGS] // get new tasks TI_FLAGS tbnz x0, #TIF_NEED_RESCHED, 1b // needs rescheduling? @@ -115,10 +115,10 @@ index 93958d1341bb..ed6959beb5a4 100644 #endif diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c -index 0bdc96c61bc0..5393eb231209 100644 +index 43442b3a463f..81bf9545a589 100644 --- a/arch/arm64/kernel/signal.c +++ b/arch/arm64/kernel/signal.c -@@ -755,7 +755,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, +@@ -756,7 +756,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, /* Check valid user FS if needed */ addr_limit_user_check(); @@ -128,5 +128,5 @@ index 0bdc96c61bc0..5393eb231209 100644 } else { local_irq_enable(); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch b/kernel/patches-4.14.x-rt/0388-leds-trigger-disable-CPU-trigger-on-RT.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch rename to kernel/patches-4.14.x-rt/0388-leds-trigger-disable-CPU-trigger-on-RT.patch index 99150e9f7..c16a24ea0 100644 --- a/kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0388-leds-trigger-disable-CPU-trigger-on-RT.patch @@ -1,7 +1,7 @@ -From 8fa5fc847283f8869343df765ae97ff55f754ea3 Mon Sep 17 00:00:00 2001 +From e6dcfab4f57dcc8912b87b6388af5b6113e0fe4e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Jan 2014 14:45:59 +0100 -Subject: [PATCH 392/418] leds: trigger: disable CPU trigger on -RT +Subject: [PATCH 388/414] leds: trigger: disable CPU trigger on -RT as it triggers: |CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.8-rt10 #141 @@ -37,5 +37,5 @@ index 3f9ddb9fafa7..09da5b6b44a1 100644 This allows LEDs to be controlled by active CPUs. This shows the active CPUs across an array of LEDs so you can see which -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch b/kernel/patches-4.14.x-rt/0389-mmci-Remove-bogus-local_irq_save.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch rename to kernel/patches-4.14.x-rt/0389-mmci-Remove-bogus-local_irq_save.patch index e6ea0e444..16a0a2fcc 100644 --- a/kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch +++ b/kernel/patches-4.14.x-rt/0389-mmci-Remove-bogus-local_irq_save.patch @@ -1,7 +1,7 @@ -From 993fb8cf1d63ec1db9b9981f4e560b45a5a5d1bf Mon Sep 17 00:00:00 2001 +From 676b37b26f1d12f34aea3d2b3f46cad5325dd3ec Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:11:12 +0100 -Subject: [PATCH 393/418] mmci: Remove bogus local_irq_save() +Subject: [PATCH 389/414] mmci: Remove bogus local_irq_save() On !RT interrupt runs with interrupts disabled. On RT it's in a thread, so no need to disable interrupts at all. @@ -41,5 +41,5 @@ index f1f54a818489..ce102378df02 100644 * If we have less than the fifo 'half-full' threshold to transfer, * trigger a PIO interrupt as soon as any data is available. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch b/kernel/patches-4.14.x-rt/0390-cpufreq-drop-K8-s-driver-from-beeing-selected.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch rename to kernel/patches-4.14.x-rt/0390-cpufreq-drop-K8-s-driver-from-beeing-selected.patch index f1ae09d1a..313fac700 100644 --- a/kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch +++ b/kernel/patches-4.14.x-rt/0390-cpufreq-drop-K8-s-driver-from-beeing-selected.patch @@ -1,7 +1,7 @@ -From d7d4b86a2344a87910cea7f631262321e9b1c988 Mon Sep 17 00:00:00 2001 +From 51f49b754aa88ae00829382ef87af7c3a3f0de85 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 9 Apr 2015 15:23:01 +0200 -Subject: [PATCH 394/418] cpufreq: drop K8's driver from beeing selected +Subject: [PATCH 390/414] cpufreq: drop K8's driver from beeing selected Ralf posted a picture of a backtrace from @@ -34,5 +34,5 @@ index 35f71825b7f3..bb4a6160d0f7 100644 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. Support for K10 and newer processors is now in acpi-cpufreq. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch b/kernel/patches-4.14.x-rt/0391-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch rename to kernel/patches-4.14.x-rt/0391-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch index 883c144b8..d692cf384 100644 --- a/kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch +++ b/kernel/patches-4.14.x-rt/0391-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch @@ -1,7 +1,7 @@ -From 3bbaf8ca6a38f9291214b9814ff82e6cb2faa95b Mon Sep 17 00:00:00 2001 +From a5a04dfe2d3ab16c26927d259e7b27a8f4f7dd1e Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:11:54 +0200 -Subject: [PATCH 395/418] connector/cn_proc: Protect send_msg() with a local +Subject: [PATCH 391/414] connector/cn_proc: Protect send_msg() with a local lock on RT |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:931 @@ -69,5 +69,5 @@ index a782ce87715c..19d265948526 100644 void proc_fork_connector(struct task_struct *task) -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/kernel/patches-4.14.x-rt/0392-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch rename to kernel/patches-4.14.x-rt/0392-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch index 7e0c09b2e..e8a027846 100644 --- a/kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch +++ b/kernel/patches-4.14.x-rt/0392-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch @@ -1,7 +1,7 @@ -From 92c0cd4ee0c9942a08d820e5711ba55f7555134c Mon Sep 17 00:00:00 2001 +From cbcad74cc31d7852c24bb92f9975ac8525a04386 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 31 Mar 2016 04:08:28 +0200 -Subject: [PATCH 396/418] drivers/block/zram: Replace bit spinlocks with +Subject: [PATCH 392/414] drivers/block/zram: Replace bit spinlocks with rtmutex for -rt They're nondeterministic, and lead to ___might_sleep() splats in -rt. @@ -80,5 +80,5 @@ index 31762db861e3..a417c96b8f3f 100644 struct zram_stats { -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch b/kernel/patches-4.14.x-rt/0393-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch rename to kernel/patches-4.14.x-rt/0393-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch index 19ea01f8f..ff7c2572a 100644 --- a/kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch +++ b/kernel/patches-4.14.x-rt/0393-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch @@ -1,7 +1,7 @@ -From 0f4d9fb0ae9a5d006c86694694841dda3328b575 Mon Sep 17 00:00:00 2001 +From ec82cdb2dfc6267a87120e432bf2745a51a2833d Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 20 Oct 2016 11:15:22 +0200 -Subject: [PATCH 397/418] drivers/zram: Don't disable preemption in +Subject: [PATCH 393/414] drivers/zram: Don't disable preemption in zcomp_stream_get/put() In v4.7, the driver switched to percpu compression streams, disabling @@ -102,5 +102,5 @@ index 0fc72950be2d..9839656465ea 100644 /* Should NEVER happen. Return bio error if it does. */ -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch b/kernel/patches-4.14.x-rt/0394-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch rename to kernel/patches-4.14.x-rt/0394-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch index 8075aad85..d44639eaa 100644 --- a/kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch +++ b/kernel/patches-4.14.x-rt/0394-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch @@ -1,7 +1,7 @@ -From dfd74ea61dc533370570b27fe4fb01220e99020d Mon Sep 17 00:00:00 2001 +From 89cd4c552847f7751a6782a4b38e8b70c71f3237 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 23 Aug 2017 11:57:29 +0200 -Subject: [PATCH 398/418] drivers/zram: fix zcomp_stream_get() +Subject: [PATCH 394/414] drivers/zram: fix zcomp_stream_get() smp_processor_id() use in preemptible code Use get_local_ptr() instead this_cpu_ptr() to avoid a warning regarding @@ -39,5 +39,5 @@ index 374931245128..40345483a022 100644 int zcomp_compress(struct zcomp_strm *zstrm, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch b/kernel/patches-4.14.x-rt/0395-tpm_tis-fix-stall-after-iowrite-s.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch rename to kernel/patches-4.14.x-rt/0395-tpm_tis-fix-stall-after-iowrite-s.patch index cc3d31e5d..46e2bb99e 100644 --- a/kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch +++ b/kernel/patches-4.14.x-rt/0395-tpm_tis-fix-stall-after-iowrite-s.patch @@ -1,7 +1,7 @@ -From dc93ab94c0362370ca85e45abdcdb8040591fd13 Mon Sep 17 00:00:00 2001 +From 87f751517713e3a95623289901073ec078bd46aa Mon Sep 17 00:00:00 2001 From: Haris Okanovic Date: Tue, 15 Aug 2017 15:13:08 -0500 -Subject: [PATCH 399/418] tpm_tis: fix stall after iowrite*()s +Subject: [PATCH 395/414] tpm_tis: fix stall after iowrite*()s ioread8() operations to TPM MMIO addresses can stall the cpu when immediately following a sequence of iowrite*()'s to the same region. @@ -79,5 +79,5 @@ index 50b59a69dc33..cbdb0a6c5337 100644 return 0; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch b/kernel/patches-4.14.x-rt/0396-pci-switchtec-Don-t-use-completion-s-wait-queue.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch rename to kernel/patches-4.14.x-rt/0396-pci-switchtec-Don-t-use-completion-s-wait-queue.patch index 346e52676..a99ae77d5 100644 --- a/kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch +++ b/kernel/patches-4.14.x-rt/0396-pci-switchtec-Don-t-use-completion-s-wait-queue.patch @@ -1,7 +1,7 @@ -From 0175e8d9963a2fbd225bb37711d16d85fd0737bd Mon Sep 17 00:00:00 2001 +From d34b0eb5bdc79b1942d03b7f4f4e14c0c2f8bf4a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 10:24:23 +0200 -Subject: [PATCH 400/418] pci/switchtec: Don't use completion's wait queue +Subject: [PATCH 396/414] pci/switchtec: Don't use completion's wait queue The poll callback is using completion's wait_queue_head_t member and puts it in poll_wait() so the poll() caller gets a wakeup after command @@ -110,5 +110,5 @@ index af81b2dec42e..1910c6c72fcd 100644 stuser_put(stuser); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch b/kernel/patches-4.14.x-rt/0397-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch rename to kernel/patches-4.14.x-rt/0397-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch index 1d991ef60..370cb4f54 100644 --- a/kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch +++ b/kernel/patches-4.14.x-rt/0397-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch @@ -1,7 +1,7 @@ -From d4262b1fc0b32a8384e97798aeb081dbada56e80 Mon Sep 17 00:00:00 2001 +From 3724d7b8705354b77be2f3edec9e68e0edaef138 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 08:09:11 +0100 -Subject: [PATCH 401/418] drm,radeon,i915: Use preempt_disable/enable_rt() +Subject: [PATCH 397/414] drm,radeon,i915: Use preempt_disable/enable_rt() where recommended DRM folks identified the spots, so use them. @@ -16,7 +16,7 @@ Signed-off-by: Thomas Gleixner 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c -index b63893eeca73..78f86d4fba2f 100644 +index 20a471ad0ad2..5d34d48a8b7b 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -867,6 +867,7 @@ static bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, @@ -56,5 +56,5 @@ index ddfe91efa61e..3157bcf6428f 100644 /* Decode into vertical and horizontal scanout position. */ *vpos = position & 0x1fff; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch b/kernel/patches-4.14.x-rt/0398-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch rename to kernel/patches-4.14.x-rt/0398-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch index 42bacbfe7..8967cdfff 100644 --- a/kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch +++ b/kernel/patches-4.14.x-rt/0398-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch @@ -1,7 +1,7 @@ -From 9192e8cb30fce9bfe851e81a67e1e9958b30af44 Mon Sep 17 00:00:00 2001 +From f76b10fcd51f282f516838c129709ac4abe7b1ed Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 09:01:42 +0100 -Subject: [PATCH 402/418] drm,i915: Use local_lock/unlock_irq() in +Subject: [PATCH 398/414] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end() [ 8.014039] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:918 @@ -114,5 +114,5 @@ index 41e31a454604..7e0cadf51b31 100644 if (intel_vgpu_active(dev_priv)) return; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch b/kernel/patches-4.14.x-rt/0399-cgroups-use-simple-wait-in-css_release.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch rename to kernel/patches-4.14.x-rt/0399-cgroups-use-simple-wait-in-css_release.patch index 4ba06c0c1..d573fd96c 100644 --- a/kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch +++ b/kernel/patches-4.14.x-rt/0399-cgroups-use-simple-wait-in-css_release.patch @@ -1,7 +1,7 @@ -From 7f5c1e8d48f894437c9ece711691a979491eb006 Mon Sep 17 00:00:00 2001 +From 27972142f0e691476a777426b394bfad50b17eaa Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Feb 2015 15:52:24 +0100 -Subject: [PATCH 403/418] cgroups: use simple wait in css_release() +Subject: [PATCH 399/414] cgroups: use simple wait in css_release() To avoid: |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 @@ -90,5 +90,5 @@ index 76c0ef2cb509..cfa3505f2b3b 100644 } core_initcall(cgroup_wq_init); -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch b/kernel/patches-4.14.x-rt/0400-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch rename to kernel/patches-4.14.x-rt/0400-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch index 0e50bf5bd..fdd9cfaff 100644 --- a/kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch +++ b/kernel/patches-4.14.x-rt/0400-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch @@ -1,7 +1,7 @@ -From 087e1e104b3d37ac6099f6d603682deecbc32527 Mon Sep 17 00:00:00 2001 +From d34c4d8cab911dceca23f2cc629adcc3e4486436 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 21 Jun 2014 10:09:48 +0200 -Subject: [PATCH 404/418] memcontrol: Prevent scheduling while atomic in cgroup +Subject: [PATCH 400/414] memcontrol: Prevent scheduling while atomic in cgroup code mm, memcg: make refill_stock() use get_cpu_light() @@ -43,7 +43,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 9458de860e41..bb9562903d84 100644 +index 0e08c9b7d704..af0ed470349f 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1723,6 +1723,7 @@ struct memcg_stock_pcp { @@ -107,5 +107,5 @@ index 9458de860e41..bb9562903d84 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch b/kernel/patches-4.14.x-rt/0401-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch rename to kernel/patches-4.14.x-rt/0401-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch index 0eb4c7888..7ff786346 100644 --- a/kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch +++ b/kernel/patches-4.14.x-rt/0401-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch @@ -1,7 +1,7 @@ -From 1699ccd1d0ee9ba1769ac5845a52c53844a43e26 Mon Sep 17 00:00:00 2001 +From 7bc63a5a755acc0f0e8149840f7aa64d72e973b6 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 22 Nov 2017 07:31:19 -0500 -Subject: [PATCH 405/418] Revert "memcontrol: Prevent scheduling while atomic +Subject: [PATCH 401/414] Revert "memcontrol: Prevent scheduling while atomic in cgroup code" The commit "memcontrol: Prevent scheduling while atomic in cgroup code" @@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index bb9562903d84..9458de860e41 100644 +index af0ed470349f..0e08c9b7d704 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1723,7 +1723,6 @@ struct memcg_stock_pcp { @@ -102,5 +102,5 @@ index bb9562903d84..9458de860e41 100644 /* -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch b/kernel/patches-4.14.x-rt/0402-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch rename to kernel/patches-4.14.x-rt/0402-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch index 59ffa40bc..a6abf5bea 100644 --- a/kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch +++ b/kernel/patches-4.14.x-rt/0402-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch @@ -1,7 +1,7 @@ -From a57e764bf1c1611f2dc2f6e6440c58b8c2cc78af Mon Sep 17 00:00:00 2001 +From e5f8ec18598da4911e92ab2bdbdcbc3311762b1b Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 8 Jan 2017 09:32:25 +0100 -Subject: [PATCH 406/418] cpuset: Convert callback_lock to raw_spinlock_t +Subject: [PATCH 402/414] cpuset: Convert callback_lock to raw_spinlock_t The two commits below add up to a cpuset might_sleep() splat for RT: @@ -288,5 +288,5 @@ index 7bb7384b543a..bda2af78277a 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch b/kernel/patches-4.14.x-rt/0403-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch rename to kernel/patches-4.14.x-rt/0403-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch index 5aef93253..560d3e4d0 100644 --- a/kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch +++ b/kernel/patches-4.14.x-rt/0403-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch @@ -1,7 +1,7 @@ -From 958f43b85871f47c4237eaca87f3dc4cbe55bc9b Mon Sep 17 00:00:00 2001 +From 23af095e5ae0b75387731bb8bd7c762abe867782 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 26 Jun 2013 15:28:11 -0400 -Subject: [PATCH 407/418] rt,ntp: Move call to schedule_delayed_work() to +Subject: [PATCH 403/414] rt,ntp: Move call to schedule_delayed_work() to helper thread The ntp code for notify_cmos_timer() is called from a hard interrupt @@ -75,5 +75,5 @@ index 99e03bec68e4..2c226b90c231 100644 #else void ntp_notify_cmos_timer(void) { } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch b/kernel/patches-4.14.x-rt/0404-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch rename to kernel/patches-4.14.x-rt/0404-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch index 1b4b241e7..b39d44b8e 100644 --- a/kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch +++ b/kernel/patches-4.14.x-rt/0404-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch @@ -1,7 +1,7 @@ -From f26a2e1619dc0db0020a750e76eccece13e699da Mon Sep 17 00:00:00 2001 +From b0394d541a0c10637c600dad413d3a2640dbfdd7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 2 Mar 2018 11:37:57 +0100 -Subject: [PATCH 408/418] Revert "rt,ntp: Move call to schedule_delayed_work() +Subject: [PATCH 404/414] Revert "rt,ntp: Move call to schedule_delayed_work() to helper thread" I've been looking at this in v3.10-RT where it got in. The patch @@ -73,5 +73,5 @@ index 2c226b90c231..99e03bec68e4 100644 #else void ntp_notify_cmos_timer(void) { } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch b/kernel/patches-4.14.x-rt/0405-md-disable-bcache.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch rename to kernel/patches-4.14.x-rt/0405-md-disable-bcache.patch index 165ce8121..218948160 100644 --- a/kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch +++ b/kernel/patches-4.14.x-rt/0405-md-disable-bcache.patch @@ -1,7 +1,7 @@ -From 52644a0661af9e481c9bdfb61b61b9fe7f8dc56f Mon Sep 17 00:00:00 2001 +From 063d22e4902bcccaecc8526d0e849c77e366f152 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 11:48:57 +0200 -Subject: [PATCH 409/418] md: disable bcache +Subject: [PATCH 405/414] md: disable bcache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -36,5 +36,5 @@ index 4d200883c505..98b64ed5cb81 100644 Allows a block device to be used as cache for other devices; uses a btree for indexing and the layout is optimized for SSDs. -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch b/kernel/patches-4.14.x-rt/0406-apparmor-use-a-locallock-instead-preempt_disable.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch rename to kernel/patches-4.14.x-rt/0406-apparmor-use-a-locallock-instead-preempt_disable.patch index 81e3948cf..7e16f79da 100644 --- a/kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0406-apparmor-use-a-locallock-instead-preempt_disable.patch @@ -1,7 +1,7 @@ -From 408c6d17e7afd6631b1ee5a3abe48b6e70380bea Mon Sep 17 00:00:00 2001 +From b6fe8cc7d11b7331a0cc6600a1503944c9569345 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 11 Oct 2017 17:43:49 +0200 -Subject: [PATCH 410/418] apparmor: use a locallock instead preempt_disable() +Subject: [PATCH 406/414] apparmor: use a locallock instead preempt_disable() get_buffers() disables preemption which acts as a lock for the per-CPU variable. Since we can't disable preemption here on RT, a local_lock is @@ -87,5 +87,5 @@ index 1346ee5be04f..aa7e4dee107b 100644 /* * LSM hook functions -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch b/kernel/patches-4.14.x-rt/0407-workqueue-Prevent-deadlock-stall-on-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch rename to kernel/patches-4.14.x-rt/0407-workqueue-Prevent-deadlock-stall-on-RT.patch index 983704bf4..3478c40a6 100644 --- a/kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0407-workqueue-Prevent-deadlock-stall-on-RT.patch @@ -1,7 +1,7 @@ -From 1187ac2d6efa3053a2243848ab7421b63e79b600 Mon Sep 17 00:00:00 2001 +From 4bc2c83ae64ff6c65ba8922870009a446f3943b5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 27 Jun 2014 16:24:52 +0200 -Subject: [PATCH 411/418] workqueue: Prevent deadlock/stall on RT +Subject: [PATCH 407/414] workqueue: Prevent deadlock/stall on RT Austin reported a XFS deadlock/stall on RT where scheduled work gets never exececuted and tasks are waiting for each other for ever. @@ -42,10 +42,10 @@ Cc: Steven Rostedt 2 files changed, 52 insertions(+), 15 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 70455682c1f8..d6c2afc8c629 100644 +index 38ba16e8beee..a2e38556bbef 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3460,9 +3460,8 @@ void __noreturn do_task_dead(void) +@@ -3477,9 +3477,8 @@ void __noreturn do_task_dead(void) static inline void sched_submit_work(struct task_struct *tsk) { @@ -56,7 +56,7 @@ index 70455682c1f8..d6c2afc8c629 100644 /* * If a worker went to sleep, notify and ask workqueue whether * it wants to wake up a task to maintain concurrency. -@@ -3470,6 +3469,10 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3487,6 +3486,10 @@ static inline void sched_submit_work(struct task_struct *tsk) if (tsk->flags & PF_WQ_WORKER) wq_worker_sleeping(tsk); @@ -203,5 +203,5 @@ index fffe7dd994b9..f3f7afecb686 100644 wake_up_process(worker->task); } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch b/kernel/patches-4.14.x-rt/0408-Add-localversion-for-RT-release.patch similarity index 75% rename from kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch rename to kernel/patches-4.14.x-rt/0408-Add-localversion-for-RT-release.patch index 0c6127881..940a453a6 100644 --- a/kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch +++ b/kernel/patches-4.14.x-rt/0408-Add-localversion-for-RT-release.patch @@ -1,7 +1,7 @@ -From 3ad640a273f5e1db45d1a0d84e5637865d37fd2c Mon Sep 17 00:00:00 2001 +From d5b69ff19ba03f99b07025109a133509fa6eb9a4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 20:25:16 +0200 -Subject: [PATCH 412/418] Add localversion for -RT release +Subject: [PATCH 408/414] Add localversion for -RT release Signed-off-by: Thomas Gleixner --- @@ -17,5 +17,5 @@ index 000000000000..90290c642ed5 @@ -0,0 +1 @@ +-rt29 -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch b/kernel/patches-4.14.x-rt/0409-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch rename to kernel/patches-4.14.x-rt/0409-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch index f93e2020c..357f3a018 100644 --- a/kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch +++ b/kernel/patches-4.14.x-rt/0409-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch @@ -1,7 +1,7 @@ -From f2e9b9bfd99ef6b1e6f8bf6e5e92df8f994d1ac7 Mon Sep 17 00:00:00 2001 +From d32c631bd739dc37afea1c0b4fcdc8d63784fef1 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:49 -0500 -Subject: [PATCH 413/418] tracing: Add field modifier parsing hist error for +Subject: [PATCH 409/414] tracing: Add field modifier parsing hist error for hist triggers [ commit dcf234577cd31fa16874e828b90659166ad6b80d ] @@ -48,5 +48,5 @@ index 37db86145c8b..b8fee11b5be9 100644 goto out; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch b/kernel/patches-4.14.x-rt/0410-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch rename to kernel/patches-4.14.x-rt/0410-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch index 9c7c8dfef..d77f8e86b 100644 --- a/kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch +++ b/kernel/patches-4.14.x-rt/0410-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch @@ -1,7 +1,7 @@ -From 6a2990630764733b9b7df28b038088bb928aa23d Mon Sep 17 00:00:00 2001 +From 2c7abe0804a1e9979610e0aaf11f05edeb7df326 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:48 -0500 -Subject: [PATCH 414/418] tracing: Add field parsing hist error for hist +Subject: [PATCH 410/414] tracing: Add field parsing hist error for hist triggers [ commit 5ec432d7bf9dd3b4a2b84f8974e3adb71f45fb1d ] @@ -49,5 +49,5 @@ index b8fee11b5be9..9dac8bae4f34 100644 goto out; } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch b/kernel/patches-4.14.x-rt/0411-tracing-Restore-proper-field-flag-printing-when-disp.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch rename to kernel/patches-4.14.x-rt/0411-tracing-Restore-proper-field-flag-printing-when-disp.patch index 12bf95dec..92f96c3f1 100644 --- a/kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch +++ b/kernel/patches-4.14.x-rt/0411-tracing-Restore-proper-field-flag-printing-when-disp.patch @@ -1,7 +1,7 @@ -From ec3a6e2b1c04d1fd9808a8bde4755f9a396c2a37 Mon Sep 17 00:00:00 2001 +From 5128dd99eb60118c1d2539e7565cd9581b90cca7 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:47 -0500 -Subject: [PATCH 415/418] tracing: Restore proper field flag printing when +Subject: [PATCH 411/414] tracing: Restore proper field flag printing when displaying triggers [ commit 608940dabe1bd2ce4c97524004ec86637cf80f2c ] @@ -64,5 +64,5 @@ index 9dac8bae4f34..4745ed588607 100644 static int event_hist_trigger_print(struct seq_file *m, -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch b/kernel/patches-4.14.x-rt/0412-tracing-Uninitialized-variable-in-create_tracing_map.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch rename to kernel/patches-4.14.x-rt/0412-tracing-Uninitialized-variable-in-create_tracing_map.patch index e363ba8df..6a0877125 100644 --- a/kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch +++ b/kernel/patches-4.14.x-rt/0412-tracing-Uninitialized-variable-in-create_tracing_map.patch @@ -1,7 +1,7 @@ -From c141308bd57584273fd5e9351672e7a1a4b29fe8 Mon Sep 17 00:00:00 2001 +From dcfa2a4b576b5ac37699e019e43befd67de6f3f2 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 28 Mar 2018 14:48:15 +0300 -Subject: [PATCH 416/418] tracing: Uninitialized variable in +Subject: [PATCH 412/414] tracing: Uninitialized variable in create_tracing_map_fields() [ commit b28d7b2dc27f0eef1ae608b49d6860f2463910f1 ] @@ -35,5 +35,5 @@ index 4745ed588607..b3808969ac92 100644 for_each_hist_field(i, hist_data) { hist_field = hist_data->fields[i]; -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch b/kernel/patches-4.14.x-rt/0413-tracing-Fix-a-potential-NULL-dereference.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch rename to kernel/patches-4.14.x-rt/0413-tracing-Fix-a-potential-NULL-dereference.patch index 46e2f419b..d54af6e36 100644 --- a/kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch +++ b/kernel/patches-4.14.x-rt/0413-tracing-Fix-a-potential-NULL-dereference.patch @@ -1,7 +1,7 @@ -From f7b4e7cfee658abc3ec0fddfcbcdf754e9793891 Mon Sep 17 00:00:00 2001 +From d8a89a3988801f87d8449eb8b2c7d4b6c8cb47c6 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 23 Mar 2018 14:37:36 +0300 -Subject: [PATCH 417/418] tracing: Fix a potential NULL dereference +Subject: [PATCH 413/414] tracing: Fix a potential NULL dereference [ commit 5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 ] @@ -31,5 +31,5 @@ index b3808969ac92..24bc0769fdd6 100644 } -- -2.17.1 +2.18.0 diff --git a/kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch b/kernel/patches-4.14.x-rt/0414-Linux-4.14.59-rt37-REBASE.patch similarity index 63% rename from kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch rename to kernel/patches-4.14.x-rt/0414-Linux-4.14.59-rt37-REBASE.patch index e7a909f23..e56b03d68 100644 --- a/kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch +++ b/kernel/patches-4.14.x-rt/0414-Linux-4.14.59-rt37-REBASE.patch @@ -1,19 +1,19 @@ -From 733b7b767041b42c70fdd39342ed5e5a2c8caf1d Mon Sep 17 00:00:00 2001 +From b66fd2320be2393e6d868f921150ec8835a5c3e3 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 16 May 2018 09:33:00 -0400 -Subject: [PATCH 418/418] Linux 4.14.52-rt34 REBASE +Subject: [PATCH 414/414] Linux 4.14.59-rt37 REBASE --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt -index 90290c642ed5..21988f9ad53f 100644 +index 90290c642ed5..a3b2408c1da6 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt29 -+-rt34 ++-rt37 -- -2.17.1 +2.18.0