diff --git a/kernel/patches-4.14.x-rt/0001-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 index 8e4d8c6ab..e826aea5f 100644 --- a/kernel/patches-4.14.x-rt/0001-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 cf77772195405adc1a0cd2bc304ed810e6420c73 Mon Sep 17 00:00:00 2001 From: Boqun Feng Date: Fri, 9 Mar 2018 14:56:28 +0800 -Subject: [PATCH 001/437] rtmutex: Make rt_mutex_futex_unlock() safe for +Subject: [PATCH 001/450] rtmutex: Make rt_mutex_futex_unlock() safe for irq-off callsites Upstream commit 6b0ef92fee2a3189eba6d6b827b247cb4f6da7e9 @@ -123,5 +123,5 @@ index 4ad35718f123..456750bf9c95 100644 if (postunlock) rt_mutex_postunlock(&wake_q); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0002-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 index 12e619700..c51bcde27 100644 --- a/kernel/patches-4.14.x-rt/0002-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 80b97a7398475268f38b59179b7798da7576593b Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 19 Sep 2017 15:36:42 -0700 -Subject: [PATCH 002/437] rcu: Suppress lockdep false-positive ->boost_mtx +Subject: [PATCH 002/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch b/kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch index 16e0cce6d..6bddcad08 100644 --- a/kernel/patches-4.14.x-rt/0003-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 88e1236f4d0412babbf59bdf44516d4d2326d093 Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Fri, 10 Nov 2017 12:29:34 -0500 -Subject: [PATCH 003/437] brd: remove unused brd_mutex +Subject: [PATCH 003/450] brd: remove unused brd_mutex Upstream commit 15f7b41f70ddcca3b555bd0fdc7c8da7466b517e @@ -28,5 +28,5 @@ index 2d7178f7754e..c1cf87718c2e 100644 { pgoff_t idx; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch b/kernel/patches-4.14.x-rt/0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch index b468b6d90..0e54658b0 100644 --- a/kernel/patches-4.14.x-rt/0004-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 caadf195c1da52ea6db6e657346eeac26afb68f3 Mon Sep 17 00:00:00 2001 From: Christoffer Dall Date: Fri, 8 Sep 2017 07:07:13 -0700 -Subject: [PATCH 004/437] KVM: arm/arm64: Remove redundant preemptible checks +Subject: [PATCH 004/450] KVM: arm/arm64: Remove redundant preemptible checks Upstream commit 5a24575032971c5a9a4580417a791c427ebdb8e5 @@ -40,5 +40,5 @@ index ed42b8cf6f5b..045aa39b14c1 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0005-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 index 929c1c0d1..345295048 100644 --- a/kernel/patches-4.14.x-rt/0005-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 0f961ceb5f56e333087f3ff78ba3f897f31a6113 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 21 Jan 2018 03:28:54 -0600 -Subject: [PATCH 005/437] iommu/amd: Use raw locks on atomic context paths +Subject: [PATCH 005/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0006-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 index 61fd92767..998abc021 100644 --- a/kernel/patches-4.14.x-rt/0006-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 f60d301f66278292bb819375e579980f52d01679 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 28 Jan 2018 14:22:19 -0600 -Subject: [PATCH 006/437] iommu/amd: Don't use dev_data in +Subject: [PATCH 006/450] iommu/amd: Don't use dev_data in irte_ga_set_affinity() Upstream commit 01ee04badefd296eb7a4430497373be9b7b16783 @@ -34,5 +34,5 @@ index 131a881d033d..24fc8ea4909a 100644 irte->lo.fields_remap.destination = dest_apicid; modify_irte_ga(devid, index, irte, NULL); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0007-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 index 8eec9fe48..70bd379f2 100644 --- a/kernel/patches-4.14.x-rt/0007-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 75e9886d998becd42de359a6795f19d8aba1eeea Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Wed, 14 Feb 2018 17:36:28 -0600 -Subject: [PATCH 007/437] iommu/amd: Avoid locking get_irq_table() from atomic +Subject: [PATCH 007/450] iommu/amd: Avoid locking get_irq_table() from atomic context Upstream commit df42a04b15f19a842393dc98a84cbc52b1f8ed49 @@ -118,5 +118,5 @@ index 24fc8ea4909a..57c873ff05fa 100644 return -ENODEV; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0008-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 index 27f458210..76eef5ae9 100644 --- a/kernel/patches-4.14.x-rt/0008-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 ece88076b665589976cb6fc1e2fc07cc6e7c1ec4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:34 +0100 -Subject: [PATCH 008/437] iommu/amd: Turn dev_data_list into a lock less list +Subject: [PATCH 008/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0009-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 index ec01bc3be..11b16e2e5 100644 --- a/kernel/patches-4.14.x-rt/0009-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 5ef7777092fe740f67d1e304019e3bea28eb8fce Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:35 +0100 -Subject: [PATCH 009/437] iommu/amd: Split domain id out of +Subject: [PATCH 009/450] iommu/amd: Split domain id out of amd_iommu_devtable_lock Upstream commit 2bc00180890427dcc092b2f2b0d03c904bcade29 @@ -64,5 +64,5 @@ index 50b6cab604aa..ccf9d1d08983 100644 #define DEFINE_FREE_PT_FN(LVL, FN) \ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0010-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 index c1c7a318f..7df44d809 100644 --- a/kernel/patches-4.14.x-rt/0010-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 5003ff93cc34975cd85c14248483548cd0635dc6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:36 +0100 -Subject: [PATCH 010/437] iommu/amd: Split irq_lookup_table out of the +Subject: [PATCH 010/450] iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock Upstream commit ea6166f4b83e9cfba1c18f46a764d50045682fe5 @@ -52,5 +52,5 @@ index ccf9d1d08983..1bb09f1e5cd1 100644 return table; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0011-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 index 3ed707a7d..047a71ef6 100644 --- a/kernel/patches-4.14.x-rt/0011-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 a3bd03fcc63c2806bee9b1b4da5d55a40a7d1c6c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:37 +0100 -Subject: [PATCH 011/437] iommu/amd: Remove the special case from +Subject: [PATCH 011/450] iommu/amd: Remove the special case from alloc_irq_table() Upstream commit fde65dd3d3096e8f6ecc7bbe544eb91f4220772c @@ -96,5 +96,5 @@ index 1bb09f1e5cd1..f1017cf37eb3 100644 index = alloc_irq_index(devid, nr_irqs); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0012-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 index 8f8b3609a..e91dc919a 100644 --- a/kernel/patches-4.14.x-rt/0012-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 340f3a55c46a7bf11cee5431d73ebbd1fa9081c0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:38 +0100 -Subject: [PATCH 012/437] iommu/amd: Use `table' instead `irt' as variable name +Subject: [PATCH 012/450] iommu/amd: Use `table' instead `irt' as variable name in amd_iommu_update_ga() Upstream commit 4fde541c9dc114c5b448ad34b0286fe8b7c550f1 @@ -54,5 +54,5 @@ index f1017cf37eb3..561664b0e609 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0013-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 index a62f4a657..efa7626e3 100644 --- a/kernel/patches-4.14.x-rt/0013-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 78b50efad4c03293a63d9b482f5c33f8186bfc9f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:39 +0100 -Subject: [PATCH 013/437] iommu/amd: Factor out setting the remap table for a +Subject: [PATCH 013/450] iommu/amd: Factor out setting the remap table for a devid Upstream commit 2fcc1e8ac4a8514c64f946178fc36c2e30e56a41 @@ -68,5 +68,5 @@ index 561664b0e609..473ec78ba50c 100644 out: iommu_completion_wait(iommu); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0014-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 index bd6bf062b..df8132afb 100644 --- a/kernel/patches-4.14.x-rt/0014-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 0ef3ebf9be599ebc17441c220f837622a2ddeb79 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:40 +0100 -Subject: [PATCH 014/437] iommu/amd: Drop the lock while allocating new irq +Subject: [PATCH 014/450] iommu/amd: Drop the lock while allocating new irq remap table Upstream commit 993ca6e063a69a0c65ca42ed449b6bc1b3844151 @@ -133,5 +133,5 @@ index 473ec78ba50c..c9e703260324 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0015-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 index d3bf5c54c..d8a8ecce6 100644 --- a/kernel/patches-4.14.x-rt/0015-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 7febe26307d9a7f74f5e1509961b682017caaa31 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:41 +0100 -Subject: [PATCH 015/437] iommu/amd: Make amd_iommu_devtable_lock a spin_lock +Subject: [PATCH 015/450] iommu/amd: Make amd_iommu_devtable_lock a spin_lock Upstream commit 2cd1083d79a0a8c223af430ca97884c28a1e2fc0 @@ -75,5 +75,5 @@ index c9e703260324..67008031537a 100644 static void protection_domain_free(struct protection_domain *domain) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0016-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 index cc714b2b9..b966ec81b 100644 --- a/kernel/patches-4.14.x-rt/0016-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 274e123364bc15e0fce26d4bc5f98793e6db18d8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:42 +0100 -Subject: [PATCH 016/437] iommu/amd: Return proper error code in +Subject: [PATCH 016/450] iommu/amd: Return proper error code in irq_remapping_alloc() Upstream commit 29d049be9438278c47253a74cf8d0ddf36bd5d68 @@ -42,5 +42,5 @@ index 67008031537a..876947fcb4c6 100644 } else { index = alloc_irq_index(devid, nr_irqs); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0017-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 index dc4a01dd5..89bf063ef 100644 --- a/kernel/patches-4.14.x-rt/0017-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 7d3e8471f6d634b971ed483bf0fe0e3f426a799c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:50 +0100 -Subject: [PATCH 017/437] timers: Use static keys for +Subject: [PATCH 017/450] 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 f17c76a1a05f..9b644e70b660 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0018-hrtimer-Correct-blantanly-wrong-comment.patch b/kernel/patches-4.14.x-rt/0018-hrtimer-Correct-blantanly-wrong-comment.patch index 910e695de..4e90b7615 100644 --- a/kernel/patches-4.14.x-rt/0018-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 0032a44f1d407ce2c142b3493bb6f2bb60158896 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:51 +0100 -Subject: [PATCH 018/437] hrtimer: Correct blantanly wrong comment +Subject: [PATCH 018/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0019-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 index 12a7b77f8..151f6d4b9 100644 --- a/kernel/patches-4.14.x-rt/0019-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 514d5cebbbc72530f555551b1edbf7908bb3bf2d Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:52 +0100 -Subject: [PATCH 019/437] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base +Subject: [PATCH 019/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0020-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0020-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch index fefe195dc..03ebba941 100644 --- a/kernel/patches-4.14.x-rt/0020-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 88f3615b960b07d71c6fb2c6a14075be7e9099b4 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:53 +0100 -Subject: [PATCH 020/437] hrtimer: Cleanup clock argument in +Subject: [PATCH 020/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-hrtimer-function-description.patch b/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-hrtimer-function-description.patch index 76b75172f..295997db6 100644 --- a/kernel/patches-4.14.x-rt/0021-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 0a6e7eb400a68467d21993bd9ec87b43fc871411 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:54 +0100 -Subject: [PATCH 021/437] hrtimer: Fix hrtimer function description +Subject: [PATCH 021/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-hrtimer_mode-enum.patch b/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-hrtimer_mode-enum.patch index 9f6e52861..69c169e99 100644 --- a/kernel/patches-4.14.x-rt/0022-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 c70a78a159599bbc711e49f8d1d44a978d7fd6da Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:56 +0100 -Subject: [PATCH 022/437] hrtimer: Cleanup hrtimer_mode enum +Subject: [PATCH 022/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0023-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 index ae433a17a..2c69f182d 100644 --- a/kernel/patches-4.14.x-rt/0023-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 539a7faf8c0ee647ec65c88ab187f9200c8878cf Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:58 +0100 -Subject: [PATCH 023/437] tracing/hrtimer: Print hrtimer mode in hrtimer_start +Subject: [PATCH 023/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0024-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch b/kernel/patches-4.14.x-rt/0024-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch index eff1b6f0f..dc73367d9 100644 --- a/kernel/patches-4.14.x-rt/0024-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 bb3a1b059ac7a6e2ada2d4045a8a18a125627e65 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:59 +0100 -Subject: [PATCH 024/437] hrtimer: Switch for loop to _ffs() evaluation +Subject: [PATCH 024/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0025-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 index fd097ed55..120b06d7e 100644 --- a/kernel/patches-4.14.x-rt/0025-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 06c6f558d3e8182d49a68dd3cafa56d771e0aa30 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:00 +0100 -Subject: [PATCH 025/437] hrtimer: Store running timer in hrtimer_clock_base +Subject: [PATCH 025/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0026-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 index d0b6bd043..d4dae8d3c 100644 --- a/kernel/patches-4.14.x-rt/0026-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 848a963465a750a46dd6554f18ff5593d8b9cbda Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:01 +0100 -Subject: [PATCH 026/437] hrtimer: Make room in struct hrtimer_cpu_base +Subject: [PATCH 026/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0027-hrtimer-Reduce-conditional-code-hres_active.patch b/kernel/patches-4.14.x-rt/0027-hrtimer-Reduce-conditional-code-hres_active.patch index ee415e604..b23d7814a 100644 --- a/kernel/patches-4.14.x-rt/0027-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 ae9cbcb83bcfc4a83965378438eca2a1ca78afc9 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:02 +0100 -Subject: [PATCH 027/437] hrtimer: Reduce conditional code (hres_active) +Subject: [PATCH 027/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0028-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 index 376702821..afae85d0d 100644 --- a/kernel/patches-4.14.x-rt/0028-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 b978729a14b5b64461840a95d386fe545dae0924 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:03 +0100 -Subject: [PATCH 028/437] hrtimer: Use accesor functions instead of direct +Subject: [PATCH 028/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0029-hrtimer-Make-the-remote-enqueue-check-unconditional.patch b/kernel/patches-4.14.x-rt/0029-hrtimer-Make-the-remote-enqueue-check-unconditional.patch index fa8675880..763baf6e3 100644 --- a/kernel/patches-4.14.x-rt/0029-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 b5cd9c9539b8a050c5c9806e54aa9b295215ba00 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:04 +0100 -Subject: [PATCH 029/437] hrtimer: Make the remote enqueue check unconditional +Subject: [PATCH 029/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0030-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 index 6baeaee02..96bff3be8 100644 --- a/kernel/patches-4.14.x-rt/0030-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 63efcc991a5d6b098605ccdb9a2223f6afbd8602 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:05 +0100 -Subject: [PATCH 030/437] hrtimer: Make hrtimer_cpu_base.next_timer handling +Subject: [PATCH 030/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0031-hrtimer-Make-hrtimer_reprogramm-unconditional.patch b/kernel/patches-4.14.x-rt/0031-hrtimer-Make-hrtimer_reprogramm-unconditional.patch index e20402d92..c248c8f08 100644 --- a/kernel/patches-4.14.x-rt/0031-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 259346e29614e27a84c4e3cbcbe6a26e61ad56eb Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:06 +0100 -Subject: [PATCH 031/437] hrtimer: Make hrtimer_reprogramm() unconditional +Subject: [PATCH 031/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch b/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch index 6ef9a5cb1..5e521b1df 100644 --- a/kernel/patches-4.14.x-rt/0032-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 24cd3845de20fd8fe195d0e9cc51e64669d39f1f Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:07 +0100 -Subject: [PATCH 032/437] hrtimer: Make hrtimer_force_reprogramm() +Subject: [PATCH 032/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0033-hrtimer-Unify-handling-of-hrtimer-remove.patch b/kernel/patches-4.14.x-rt/0033-hrtimer-Unify-handling-of-hrtimer-remove.patch index 08fdcd58b..1107b55f9 100644 --- a/kernel/patches-4.14.x-rt/0033-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 e74c0793383b70b53c785a36f9dcdc7c8d3f6940 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:08 +0100 -Subject: [PATCH 033/437] hrtimer: Unify handling of hrtimer remove +Subject: [PATCH 033/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0034-hrtimer-Unify-handling-of-remote-enqueue.patch b/kernel/patches-4.14.x-rt/0034-hrtimer-Unify-handling-of-remote-enqueue.patch index d55e9a4f4..e542b1744 100644 --- a/kernel/patches-4.14.x-rt/0034-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 8fb098ddff5d47a14a9a5843032b8e206c83ff7a Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:09 +0100 -Subject: [PATCH 034/437] hrtimer: Unify handling of remote enqueue +Subject: [PATCH 034/450] 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 9b644e70b660..3b6c7e287f23 100644 static unsigned long round_jiffies_common(unsigned long j, int cpu, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0035-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch b/kernel/patches-4.14.x-rt/0035-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch index 6e16e989d..69dd3104b 100644 --- a/kernel/patches-4.14.x-rt/0035-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 13b3625a91c6df2a63dfc4ac26db33008d63a7e2 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:10 +0100 -Subject: [PATCH 035/437] hrtimer: Make remote enqueue decision less +Subject: [PATCH 035/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0036-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch b/kernel/patches-4.14.x-rt/0036-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch index c52391d16..420291b7c 100644 --- a/kernel/patches-4.14.x-rt/0036-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 0cf40556907398391a02e49acbb93e2be5f0be98 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:11 +0100 -Subject: [PATCH 036/437] hrtimer: Remove base argument from +Subject: [PATCH 036/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0037-hrtimer-Split-hrtimer_start_range_ns.patch b/kernel/patches-4.14.x-rt/0037-hrtimer-Split-hrtimer_start_range_ns.patch index 33a4d9f5f..d92263dbd 100644 --- a/kernel/patches-4.14.x-rt/0037-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 e884985cb8d91c0547a8d1cdda126bf7e0019c1c Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:12 +0100 -Subject: [PATCH 037/437] hrtimer: Split hrtimer_start_range_ns() +Subject: [PATCH 037/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0038-hrtimer-Split-__hrtimer_get_next_event.patch b/kernel/patches-4.14.x-rt/0038-hrtimer-Split-__hrtimer_get_next_event.patch index 3a80d8329..8dee26f32 100644 --- a/kernel/patches-4.14.x-rt/0038-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 4317f172bc6903167e82cc24d11bea7e21148440 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:13 +0100 -Subject: [PATCH 038/437] hrtimer: Split __hrtimer_get_next_event() +Subject: [PATCH 038/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0039-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch b/kernel/patches-4.14.x-rt/0039-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch index b3a95bfe9..4704530a1 100644 --- a/kernel/patches-4.14.x-rt/0039-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 b7ccaa85f3ae93369f44be697f5db72c1c3f5c10 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:14 +0100 -Subject: [PATCH 039/437] hrtimer: Use irqsave/irqrestore around +Subject: [PATCH 039/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0040-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 index 323886439..d2c4aa4b6 100644 --- a/kernel/patches-4.14.x-rt/0040-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 ca683556d23c0f7dd07d63f56d9becd628db4386 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:15 +0100 -Subject: [PATCH 040/437] hrtimer: Add clock bases and hrtimer mode for soft +Subject: [PATCH 040/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0041-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 index 067a1949e..40b8342dc 100644 --- a/kernel/patches-4.14.x-rt/0041-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 cae6bc5fa3632fb13d559189b382b8935b165be1 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:16 +0100 -Subject: [PATCH 041/437] hrtimer: Prepare handling of hard and softirq based +Subject: [PATCH 041/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0042-hrtimer-Implement-support-for-softirq-based-hrtimers.patch b/kernel/patches-4.14.x-rt/0042-hrtimer-Implement-support-for-softirq-based-hrtimers.patch index 758292c4a..d37e2ca90 100644 --- a/kernel/patches-4.14.x-rt/0042-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 478a104cc093e2bd50b75791abc57f3a7957e566 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:17 +0100 -Subject: [PATCH 042/437] hrtimer: Implement support for softirq based hrtimers +Subject: [PATCH 042/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0043-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch b/kernel/patches-4.14.x-rt/0043-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch index 16256278b..7c1d6d7a3 100644 --- a/kernel/patches-4.14.x-rt/0043-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 236c74d642c5fb89d4733b97b4f85ba6d1f98fde Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:18 +0100 -Subject: [PATCH 043/437] hrtimer: Implement SOFT/HARD clock base selection +Subject: [PATCH 043/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0044-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 index dcc29a581..8f9b679c5 100644 --- a/kernel/patches-4.14.x-rt/0044-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 53707523d5193b8dd4a0fb417bf4a09edc811c6c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:11 +0100 -Subject: [PATCH 044/437] can/bcm: Replace hrtimer_tasklet with softirq based +Subject: [PATCH 044/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0045-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch b/kernel/patches-4.14.x-rt/0045-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch index 090a01a76..6fccd53af 100644 --- a/kernel/patches-4.14.x-rt/0045-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 342c4c04e0060c8e398dad26f9ca0abe9f9985b8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:12 +0100 -Subject: [PATCH 045/437] mac80211_hwsim: Replace hrtimer tasklet with softirq +Subject: [PATCH 045/450] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer @@ -137,5 +137,5 @@ index 477f9f2f6626..06dff45037fe 100644 spin_lock_bh(&hwsim_radio_lock); list_add_tail(&data->list, &hwsim_radios); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0046-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0046-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch index 544a9a596..3b0893c62 100644 --- a/kernel/patches-4.14.x-rt/0046-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 a18cdb53cd5213258d37db709c0af9feb3e68341 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:13 +0100 -Subject: [PATCH 046/437] xfrm: Replace hrtimer tasklet with softirq hrtimer +Subject: [PATCH 046/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch b/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch index 803faeae2..fcd8bdfa5 100644 --- a/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0047-softirq-Remove-tasklet_hrtimer.patch @@ -1,7 +1,7 @@ From 7e36685a07adb7a6bb5e1c8ca09b359dad8ba444 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:14 +0100 -Subject: [PATCH 047/437] softirq: Remove tasklet_hrtimer +Subject: [PATCH 047/450] softirq: Remove tasklet_hrtimer There are no more tasklet_hrtimer users of this interface. Remove it. @@ -113,5 +113,5 @@ index a4c87cf27f9d..1a5dfc8dcf49 100644 { int cpu; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0048-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0048-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch index 6b475df4c..6bd8e2651 100644 --- a/kernel/patches-4.14.x-rt/0048-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 3ebe79e022f917a7461c7785d2882e578c34f094 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:15 +0100 -Subject: [PATCH 048/437] ALSA/dummy: Replace tasklet with softirq hrtimer +Subject: [PATCH 048/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0049-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 index f12ab9144..d8c1d2136 100644 --- a/kernel/patches-4.14.x-rt/0049-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 9e2909d68eb94cf781688f66472b85e95a8aebde Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:16 +0100 -Subject: [PATCH 049/437] usb/gadget/NCM: Replace tasklet with softirq hrtimer +Subject: [PATCH 049/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0050-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0050-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch index 393d5fd6f..a544cada4 100644 --- a/kernel/patches-4.14.x-rt/0050-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 5f46919e7892edef70b9289e2c8418e4f9ffe804 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:17 +0100 -Subject: [PATCH 050/437] net/mvpp2: Replace tasklet with softirq hrtimer +Subject: [PATCH 050/450] 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 00e6f1d155a6..9c69ab2c5b07 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0051-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 index eef75d36f..f016c8c2c 100644 --- a/kernel/patches-4.14.x-rt/0051-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 3855ee73c8b0f26ecb2bedd2c28351c38d3882ab Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Mar 2016 10:51:06 +0100 -Subject: [PATCH 051/437] arm: at91: do not disable/enable clocks in a row +Subject: [PATCH 051/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0052-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 index cb2b5eef0..4b36b7cd9 100644 --- a/kernel/patches-4.14.x-rt/0052-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 507ef937323c7aeb59dad74c200aaaa9f16e6150 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 11 Sep 2015 21:21:23 +0300 -Subject: [PATCH 052/437] ARM: smp: Move clear_tasks_mm_cpumask() call to +Subject: [PATCH 052/450] 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 e61af0600133..d8f2e77d5651 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0053-rtmutex-Handle-non-enqueued-waiters-gracefully.patch b/kernel/patches-4.14.x-rt/0053-rtmutex-Handle-non-enqueued-waiters-gracefully.patch index d21c0256b..ebf6de77c 100644 --- a/kernel/patches-4.14.x-rt/0053-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 04d4c6f31743974003d211da27cfe093f8cb724d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 6 Nov 2015 18:51:03 +0100 -Subject: [PATCH 053/437] rtmutex: Handle non enqueued waiters gracefully +Subject: [PATCH 053/450] 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 456750bf9c95..a8119deef92e 100644 debug_rt_mutex_print_deadlock(waiter); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0054-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 index 6359ee275..7bd729947 100644 --- a/kernel/patches-4.14.x-rt/0054-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 3152ba2bf24f52a147556852a29522b67cb6ceb0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 11:52:17 +0200 -Subject: [PATCH 054/437] rbtree: include rcu.h because we use it +Subject: [PATCH 054/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0055-rxrpc-remove-unused-static-variables.patch b/kernel/patches-4.14.x-rt/0055-rxrpc-remove-unused-static-variables.patch index 1b39a4349..d8b9be98e 100644 --- a/kernel/patches-4.14.x-rt/0055-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 0327ee53081aa5cda616879003e4817ee6d231d3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Oct 2016 10:54:50 +0200 -Subject: [PATCH 055/437] rxrpc: remove unused static variables +Subject: [PATCH 055/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0056-mfd-syscon-atmel-smc-include-string.h.patch b/kernel/patches-4.14.x-rt/0056-mfd-syscon-atmel-smc-include-string.h.patch index c6dffa114..6eb3a88df 100644 --- a/kernel/patches-4.14.x-rt/0056-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 fa6ce1fa81dfde47d57ea111931de106e2977ebc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 09:55:58 +0200 -Subject: [PATCH 056/437] mfd: syscon: atmel-smc: include string.h +Subject: [PATCH 056/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0057-sched-swait-include-wait.h.patch b/kernel/patches-4.14.x-rt/0057-sched-swait-include-wait.h.patch index 6cd305f49..c2008fb58 100644 --- a/kernel/patches-4.14.x-rt/0057-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 307536cbf7b07eeaf5582bf169c3a2b235720280 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Dec 2017 13:11:10 +0100 -Subject: [PATCH 057/437] sched/swait: include wait.h +Subject: [PATCH 057/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0058-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 index d92f7869a..e0bcd3cf9 100644 --- a/kernel/patches-4.14.x-rt/0058-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 45a017ae2c5bb2548baa8a2848ac7d81c86dc757 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 28 Oct 2016 23:05:11 +0200 -Subject: [PATCH 058/437] NFSv4: replace seqcount_t with a seqlock_t +Subject: [PATCH 058/450] 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 @@ -131,5 +131,5 @@ index e1d88bca815e..c51bcc176026 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0059-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 index 0ecaa6ea7..2fe3f49ef 100644 --- a/kernel/patches-4.14.x-rt/0059-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 993ed674f91546159ccd72fcfccb05b7179df734 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 15:35:57 +0200 -Subject: [PATCH 059/437] Bluetooth: avoid recursive locking in +Subject: [PATCH 059/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0060-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 index 97138d637..1d2d3868c 100644 --- a/kernel/patches-4.14.x-rt/0060-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 fdbd8254ab62179f7aee6033e4ff8353b4ade395 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 17:21:40 +0200 -Subject: [PATCH 060/437] iommu/iova: Use raw_cpu_ptr() instead of +Subject: [PATCH 060/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0061-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 index ecb39c0dc..4c2f8d1ec 100644 --- a/kernel/patches-4.14.x-rt/0061-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 fbcbb30ee0869c20e0058364661c2bb612c48bbf Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 061/437] greybus: audio: don't inclide rwlock.h directly. +Subject: [PATCH 061/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0062-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 index f8d41bbbd..25a2a456e 100644 --- a/kernel/patches-4.14.x-rt/0062-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 53e8aad4871bacbe9ca9dae684d61821f520300d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 062/437] xen/9pfs: don't inclide rwlock.h directly. +Subject: [PATCH 062/450] 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 c10bdf63eae7..84a49f2bcfbc 100644 #include #include -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0063-drm-i915-properly-init-lockdep-class.patch b/kernel/patches-4.14.x-rt/0063-drm-i915-properly-init-lockdep-class.patch index 488c6f8fd..c085277f1 100644 --- a/kernel/patches-4.14.x-rt/0063-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 0d3d9c5f072e910b2f184bfac6c15b9690a779e9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 16:06:13 +0100 -Subject: [PATCH 063/437] drm/i915: properly init lockdep class +Subject: [PATCH 063/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0064-timerqueue-Document-return-values-of-timerqueue_add-.patch b/kernel/patches-4.14.x-rt/0064-timerqueue-Document-return-values-of-timerqueue_add-.patch index c5549721d..0b6d7da4e 100644 --- a/kernel/patches-4.14.x-rt/0064-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 74826a26ced7740701c5d18e2678b2771ef4b9f1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:15 +0100 -Subject: [PATCH 064/437] timerqueue: Document return values of +Subject: [PATCH 064/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0065-sparc64-use-generic-rwsem-spinlocks-rt.patch b/kernel/patches-4.14.x-rt/0065-sparc64-use-generic-rwsem-spinlocks-rt.patch index bfd67961b..465513203 100644 --- a/kernel/patches-4.14.x-rt/0065-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 5692af55627acc4af517136fd0ea965581b5bba8 Mon Sep 17 00:00:00 2001 From: Allen Pais Date: Fri, 13 Dec 2013 09:44:41 +0530 -Subject: [PATCH 065/437] sparc64: use generic rwsem spinlocks rt +Subject: [PATCH 065/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0066-kernel-SRCU-provide-a-static-initializer.patch b/kernel/patches-4.14.x-rt/0066-kernel-SRCU-provide-a-static-initializer.patch index f4d2665cc..e200a578c 100644 --- a/kernel/patches-4.14.x-rt/0066-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 04c244882b9bf3a257292ac6b3cfba56121b3628 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 19 Mar 2013 14:44:30 +0100 -Subject: [PATCH 066/437] kernel/SRCU: provide a static initializer +Subject: [PATCH 066/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0067-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 index e1f2df208..9f406662e 100644 --- a/kernel/patches-4.14.x-rt/0067-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 23624e1d8e58efec7e18f61451c2feb4f37238ab Mon Sep 17 00:00:00 2001 From: "bigeasy@linutronix.de" Date: Fri, 23 Mar 2018 18:17:36 +0100 -Subject: [PATCH 067/437] target: drop spin_lock_assert() + irqs_disabled() +Subject: [PATCH 067/450] 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 0d0be7d8b9d6..f652e58e2988 100644 return 0; /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0068-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 index ee3b1f95c..2f0a789f8 100644 --- a/kernel/patches-4.14.x-rt/0068-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 48bcffa01b2e8a54e5b8fb0100dffce5f3864bea Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 4 Apr 2017 12:50:16 +0200 -Subject: [PATCH 068/437] kernel: sched: Provide a pointer to the valid CPU +Subject: [PATCH 068/450] kernel: sched: Provide a pointer to the valid CPU mask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -803,5 +803,5 @@ index 5522692100ba..8b4be8e1802a 100644 trace_foo_with_template_simple("HELLO", cnt); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0069-kernel-sched-core-add-migrate_disable.patch b/kernel/patches-4.14.x-rt/0069-kernel-sched-core-add-migrate_disable.patch index 23b4020c6..abe709e45 100644 --- a/kernel/patches-4.14.x-rt/0069-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 79690d62718a5e83b3d7fce3f4939d55b961812a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 069/437] kernel/sched/core: add migrate_disable() +Subject: [PATCH 069/450] kernel/sched/core: add migrate_disable() --- include/linux/preempt.h | 23 +++++++ @@ -261,5 +261,5 @@ index 2f93e4a2d9f6..3108da1ee253 100644 #undef PN #undef __PN -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0070-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 index 88fa05b10..fc6c0832d 100644 --- a/kernel/patches-4.14.x-rt/0070-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 5949dd1e7ccd5b129d4f1fd30c9090bcc1ee8620 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 21 Sep 2017 16:22:49 -0400 -Subject: [PATCH 070/437] tracing: Reverse the order of trace_types_lock and +Subject: [PATCH 070/450] tracing: Reverse the order of trace_types_lock and event_mutex In order to make future changes where we need to call @@ -195,5 +195,5 @@ index d53268a4e167..1b87157edbff 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0071-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 index a7ac3b8c6..2af414f68 100644 --- a/kernel/patches-4.14.x-rt/0071-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 2b1f41ec5ffa792926f78d9561c67ec7bfc7a215 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Fri, 22 Sep 2017 16:59:02 -0400 -Subject: [PATCH 071/437] ring-buffer: Rewrite trace_recursive_(un)lock() to be +Subject: [PATCH 071/450] 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 a1d5e0949dcf..ade8493cb69f 100644 /** -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0072-tracing-Remove-lookups-from-tracing_map-hitcount.patch b/kernel/patches-4.14.x-rt/0072-tracing-Remove-lookups-from-tracing_map-hitcount.patch index 1dc0bc377..8cd0a1c55 100644 --- a/kernel/patches-4.14.x-rt/0072-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 6c8db16c6d06bad6ad65df740972283acaf82297 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:18 -0500 -Subject: [PATCH 072/437] tracing: Remove lookups from tracing_map hitcount +Subject: [PATCH 072/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0073-tracing-Increase-tracing-map-KEYS_MAX-size.patch b/kernel/patches-4.14.x-rt/0073-tracing-Increase-tracing-map-KEYS_MAX-size.patch index 3f4d29120..dbcd14d3e 100644 --- a/kernel/patches-4.14.x-rt/0073-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 45d6041465d780691c7c498eb7f7458bb5192ded Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:19 -0500 -Subject: [PATCH 073/437] tracing: Increase tracing map KEYS_MAX size +Subject: [PATCH 073/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0074-tracing-Make-traceprobe-parsing-code-reusable.patch b/kernel/patches-4.14.x-rt/0074-tracing-Make-traceprobe-parsing-code-reusable.patch index 0012d51c9..c53c373f5 100644 --- a/kernel/patches-4.14.x-rt/0074-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 f8a450144ee205d29baae926ec23478a12f25476 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:20 -0500 -Subject: [PATCH 074/437] tracing: Make traceprobe parsing code reusable +Subject: [PATCH 074/450] 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 @@ -333,5 +333,5 @@ index ea0d90a31fc9..2ccfbb8efeb2 100644 static const struct file_operations uprobe_events_ops = { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0075-tracing-Clean-up-hist_field_flags-enum.patch b/kernel/patches-4.14.x-rt/0075-tracing-Clean-up-hist_field_flags-enum.patch index 1e46021eb..3c225db6a 100644 --- a/kernel/patches-4.14.x-rt/0075-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 a10939ad451478d0da11c0b2fb7e77219a7fbd8f Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:21 -0500 -Subject: [PATCH 075/437] tracing: Clean up hist_field_flags enum +Subject: [PATCH 075/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0076-tracing-Add-hist_field_name-accessor.patch b/kernel/patches-4.14.x-rt/0076-tracing-Add-hist_field_name-accessor.patch index 44eb4c5dd..34eee537f 100644 --- a/kernel/patches-4.14.x-rt/0076-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 5268e6c1c89091d12ad6e4f39733c0523498f42a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:22 -0500 -Subject: [PATCH 076/437] tracing: Add hist_field_name() accessor +Subject: [PATCH 076/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch b/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch index ef68c1b3f..a30574af8 100644 --- a/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch +++ b/kernel/patches-4.14.x-rt/0077-tracing-Reimplement-log2.patch @@ -1,7 +1,7 @@ From a26cd096a9541d39014f28705c6cdb351212b3c3 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:23 -0500 -Subject: [PATCH 077/437] tracing: Reimplement log2 +Subject: [PATCH 077/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0078-tracing-Move-hist-trigger-Documentation-to-histogram.patch b/kernel/patches-4.14.x-rt/0078-tracing-Move-hist-trigger-Documentation-to-histogram.patch index 7d8a92cee..b932f1a59 100644 --- a/kernel/patches-4.14.x-rt/0078-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 63731b6eb06799763c7f72a36954341fffc9d003 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:35 -0600 -Subject: [PATCH 078/437] tracing: Move hist trigger Documentation to +Subject: [PATCH 078/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0079-tracing-Add-Documentation-for-log2-modifier.patch b/kernel/patches-4.14.x-rt/0079-tracing-Add-Documentation-for-log2-modifier.patch index f95a7ff65..7ee64c377 100644 --- a/kernel/patches-4.14.x-rt/0079-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 cdc25f0d6e106121a6dd599495ad7f00f766ca49 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:36 -0600 -Subject: [PATCH 079/437] tracing: Add Documentation for log2 modifier +Subject: [PATCH 079/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0080-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 index 8b18d1703..e72e930b0 100644 --- a/kernel/patches-4.14.x-rt/0080-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 d8196bc0e2751a637e8eacbbd15ae20322b2b74d Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:37 -0600 -Subject: [PATCH 080/437] tracing: Add support to detect and avoid duplicates +Subject: [PATCH 080/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0081-tracing-Remove-code-which-merges-duplicates.patch b/kernel/patches-4.14.x-rt/0081-tracing-Remove-code-which-merges-duplicates.patch index 8a1f97354..128d204a9 100644 --- a/kernel/patches-4.14.x-rt/0081-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 6139f982902cdb12bbbf875895de16575c41abc3 Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:38 -0600 -Subject: [PATCH 081/437] tracing: Remove code which merges duplicates +Subject: [PATCH 081/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0082-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 index a810fde12..2e58a2373 100644 --- a/kernel/patches-4.14.x-rt/0082-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 582fb702bc2b0544b208b2a5990dadf00da3e486 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:39 -0600 -Subject: [PATCH 082/437] ring-buffer: Add interface for setting absolute time +Subject: [PATCH 082/450] ring-buffer: Add interface for setting absolute time stamps Define a new function, tracing_set_time_stamp_abs(), which can be used @@ -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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0083-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch b/kernel/patches-4.14.x-rt/0083-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch index 99e0a751d..50723a5c3 100644 --- a/kernel/patches-4.14.x-rt/0083-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 64d14090ceefe8b55ecdcb0d3543fec1d830920c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:40 -0600 -Subject: [PATCH 083/437] ring-buffer: Redefine the unimplemented +Subject: [PATCH 083/450] 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 c74b329879ad..197617001c0b 100644 ring_buffer_normalize_time_stamp(buffer, cpu_buffer->cpu, ts); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0084-tracing-Add-timestamp_mode-trace-file.patch b/kernel/patches-4.14.x-rt/0084-tracing-Add-timestamp_mode-trace-file.patch index 74e39a21a..a157eecd8 100644 --- a/kernel/patches-4.14.x-rt/0084-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 78df5faab56e9333581a9b048905776dcb52bb99 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:41 -0600 -Subject: [PATCH 084/437] tracing: Add timestamp_mode trace file +Subject: [PATCH 084/450] tracing: Add timestamp_mode trace file Add a new option flag indicating whether or not the ring buffer is in 'absolute timestamp' mode. @@ -141,5 +141,5 @@ index ffb67272b642..c358cae7461f 100644 #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0085-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 index 35fea7d80..27c01dc1b 100644 --- a/kernel/patches-4.14.x-rt/0085-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 635d753e923c3acd4de41b201ccc450da32e8330 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:42 -0600 -Subject: [PATCH 085/437] tracing: Give event triggers access to +Subject: [PATCH 085/450] 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 43254c5e7e16..4c269f2e00a4 100644 int event_enable_trigger_print(struct seq_file *m, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0086-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 index 05b1706f0..49ae550ed 100644 --- a/kernel/patches-4.14.x-rt/0086-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 9bd98ebd9a345d81a789160ce7ab7a0c4be5c61a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:43 -0600 -Subject: [PATCH 086/437] tracing: Add ring buffer event param to hist field +Subject: [PATCH 086/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0087-tracing-Break-out-hist-trigger-assignment-parsing.patch b/kernel/patches-4.14.x-rt/0087-tracing-Break-out-hist-trigger-assignment-parsing.patch index 2d43fd2d8..29adb81be 100644 --- a/kernel/patches-4.14.x-rt/0087-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 e2bbd29cab8010be36eb88dc22c5e3addc9d7a2c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:44 -0600 -Subject: [PATCH 087/437] tracing: Break out hist trigger assignment parsing +Subject: [PATCH 087/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0088-tracing-Add-hist-trigger-timestamp-support.patch b/kernel/patches-4.14.x-rt/0088-tracing-Add-hist-trigger-timestamp-support.patch index ae515eefc..67f860cbb 100644 --- a/kernel/patches-4.14.x-rt/0088-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 67b7fdf52c9a5092aea0a1dd29becd8b5ba7292b Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:45 -0600 -Subject: [PATCH 088/437] tracing: Add hist trigger timestamp support +Subject: [PATCH 088/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0089-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 index 90cc19308..520e258bd 100644 --- a/kernel/patches-4.14.x-rt/0089-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 3c95c215d087d86eb91bda208a6b219eadb556e6 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:46 -0600 -Subject: [PATCH 089/437] tracing: Add per-element variable support to +Subject: [PATCH 089/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0090-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 index fe111d785..80459ba02 100644 --- a/kernel/patches-4.14.x-rt/0090-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 fa4697e01eb4236a2e0ec5d294ae41bc0d3d8a35 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:47 -0600 -Subject: [PATCH 090/437] tracing: Add hist_data member to hist_field +Subject: [PATCH 090/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0091-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 index c8604b609..f84b504d9 100644 --- a/kernel/patches-4.14.x-rt/0091-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 89f6ad2173cbe3a78397f9a3ed07de978840b30d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:48 -0600 -Subject: [PATCH 091/437] tracing: Add usecs modifier for hist trigger +Subject: [PATCH 091/450] tracing: Add usecs modifier for hist trigger timestamps Appending .usecs onto a common_timestamp field will cause the @@ -166,5 +166,5 @@ index ec58902145e9..6d268e25d051 100644 return flags_str; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0092-tracing-Add-variable-support-to-hist-triggers.patch b/kernel/patches-4.14.x-rt/0092-tracing-Add-variable-support-to-hist-triggers.patch index 6c2cf91c0..870b1e700 100644 --- a/kernel/patches-4.14.x-rt/0092-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 854d042f0bf85296ca85144c48f66475651cdaed Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:49 -0600 -Subject: [PATCH 092/437] tracing: Add variable support to hist triggers +Subject: [PATCH 092/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0093-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 index 3ab7558b3..fbe3d98b2 100644 --- a/kernel/patches-4.14.x-rt/0093-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 3d8b3cac2bd3b3898bb0d37555cf677a1e9d9160 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:50 -0600 -Subject: [PATCH 093/437] tracing: Account for variables in named trigger +Subject: [PATCH 093/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0094-tracing-Move-get_hist_field_flags.patch b/kernel/patches-4.14.x-rt/0094-tracing-Move-get_hist_field_flags.patch index 1f999945e..8d39aa048 100644 --- a/kernel/patches-4.14.x-rt/0094-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 01d1a46a1261ddc3dd9342e975f4ec39a2da543d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:51 -0600 -Subject: [PATCH 094/437] tracing: Move get_hist_field_flags() +Subject: [PATCH 094/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0095-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 index c3b70bddd..878f68471 100644 --- a/kernel/patches-4.14.x-rt/0095-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 f7d4aeb6cc78f11fa4826c0d18b2807c976f4aee Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:52 -0600 -Subject: [PATCH 095/437] tracing: Add simple expression support to hist +Subject: [PATCH 095/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0096-tracing-Generalize-per-element-hist-trigger-data.patch b/kernel/patches-4.14.x-rt/0096-tracing-Generalize-per-element-hist-trigger-data.patch index a46b55297..0c591dae8 100644 --- a/kernel/patches-4.14.x-rt/0096-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 c3de8611575e0e51050210b128f9340bb006964a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:53 -0600 -Subject: [PATCH 096/437] tracing: Generalize per-element hist trigger data +Subject: [PATCH 096/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0097-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 index 7a043e633..36b685d33 100644 --- a/kernel/patches-4.14.x-rt/0097-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 d2ce1d4ffafada6db4b9b4f8fe5561f40cb03b76 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:54 -0600 -Subject: [PATCH 097/437] tracing: Pass tracing_map_elt to hist_field accessor +Subject: [PATCH 097/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0098-tracing-Add-hist_field-type-field.patch b/kernel/patches-4.14.x-rt/0098-tracing-Add-hist_field-type-field.patch index 8f2171919..193d4bd7a 100644 --- a/kernel/patches-4.14.x-rt/0098-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 d333c65c795cde2de88f5759101bc29c36058992 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:55 -0600 -Subject: [PATCH 098/437] tracing: Add hist_field 'type' field +Subject: [PATCH 098/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0099-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 index 94668239f..00af9fdd4 100644 --- a/kernel/patches-4.14.x-rt/0099-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 ba702b3dad3b6d3b50caac695d99bf3e30e34199 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:56 -0600 -Subject: [PATCH 099/437] tracing: Add variable reference handling to hist +Subject: [PATCH 099/450] tracing: Add variable reference handling to hist triggers Add the necessary infrastructure to allow the variables defined on one @@ -963,5 +963,5 @@ index 4c269f2e00a4..24d42350d738 100644 traceon_trigger(struct event_trigger_data *data, void *rec, struct ring_buffer_event *event) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0100-tracing-Add-hist-trigger-action-hook.patch b/kernel/patches-4.14.x-rt/0100-tracing-Add-hist-trigger-action-hook.patch index 3ea56859c..0eadf404b 100644 --- a/kernel/patches-4.14.x-rt/0100-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 bc65875eba8adfc360b79baf7cc2772354f4824a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:57 -0600 -Subject: [PATCH 100/437] tracing: Add hist trigger action hook +Subject: [PATCH 100/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0101-tracing-Add-support-for-synthetic-events.patch b/kernel/patches-4.14.x-rt/0101-tracing-Add-support-for-synthetic-events.patch index 34b8c43c4..9cf094139 100644 --- a/kernel/patches-4.14.x-rt/0101-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 77030dc4867f01af9cd39df8c2a82dd3c4649d44 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:58 -0600 -Subject: [PATCH 101/437] tracing: Add support for 'synthetic' events +Subject: [PATCH 101/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0102-tracing-Add-support-for-field-variables.patch b/kernel/patches-4.14.x-rt/0102-tracing-Add-support-for-field-variables.patch index 83d277000..89bb447ff 100644 --- a/kernel/patches-4.14.x-rt/0102-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 3b2d1998cf77761cff9598925362a9ca0c1b9f93 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:59 -0600 -Subject: [PATCH 102/437] tracing: Add support for 'field variables' +Subject: [PATCH 102/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0103-tracing-Add-onmatch-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0103-tracing-Add-onmatch-hist-trigger-action-support.patch index 4f81d3460..d4eaac3c4 100644 --- a/kernel/patches-4.14.x-rt/0103-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 a4960078e4a0625bb9f468116b19e35061558a33 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:00 -0600 -Subject: [PATCH 103/437] tracing: Add 'onmatch' hist trigger action support +Subject: [PATCH 103/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0104-tracing-Add-onmax-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0104-tracing-Add-onmax-hist-trigger-action-support.patch index 987ea0b01..bc6ea3687 100644 --- a/kernel/patches-4.14.x-rt/0104-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 1f029483405f380bc7a8471acf036e7b54ff75ab Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:01 -0600 -Subject: [PATCH 104/437] tracing: Add 'onmax' hist trigger action support +Subject: [PATCH 104/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0105-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 index 7be5dd497..96184bb1f 100644 --- a/kernel/patches-4.14.x-rt/0105-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 a5ced6a976d4455f445e4bdef011b38acf4f47e8 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:02 -0600 -Subject: [PATCH 105/437] tracing: Allow whitespace to surround hist trigger +Subject: [PATCH 105/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0106-tracing-Add-cpu-field-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0106-tracing-Add-cpu-field-for-hist-triggers.patch index e9b825189..cb0b4c663 100644 --- a/kernel/patches-4.14.x-rt/0106-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 160df7fa3eacee8583ef796699bafa229cfb3cc5 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:03 -0600 -Subject: [PATCH 106/437] tracing: Add cpu field for hist triggers +Subject: [PATCH 106/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0107-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 index f7a86cf7e..ff9fc3cfb 100644 --- a/kernel/patches-4.14.x-rt/0107-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 446b49d3adc44a040542385bd5efc52858a73cd3 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:04 -0600 -Subject: [PATCH 107/437] tracing: Add hist trigger support for variable +Subject: [PATCH 107/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0108-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 index 4321768ec..753e8b90e 100644 --- a/kernel/patches-4.14.x-rt/0108-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 be1cdd9536bb6be78ddaa8a461955dc5d701bfc1 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:05 -0600 -Subject: [PATCH 108/437] tracing: Add 'last error' error facility for hist +Subject: [PATCH 108/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0109-tracing-Add-inter-event-hist-trigger-Documentation.patch b/kernel/patches-4.14.x-rt/0109-tracing-Add-inter-event-hist-trigger-Documentation.patch index 89a6efdd1..1183254a5 100644 --- a/kernel/patches-4.14.x-rt/0109-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 d3c22a59774ab35444d4c5958df90ced8600758a Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:06 -0600 -Subject: [PATCH 109/437] tracing: Add inter-event hist trigger Documentation +Subject: [PATCH 109/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0110-tracing-Make-tracing_set_clock-non-static.patch b/kernel/patches-4.14.x-rt/0110-tracing-Make-tracing_set_clock-non-static.patch index e4cfedd8d..0d7fb266a 100644 --- a/kernel/patches-4.14.x-rt/0110-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 6987f618fe9c279ef6bcfb0a9a1a37007a8e85d5 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:07 -0600 -Subject: [PATCH 110/437] tracing: Make tracing_set_clock() non-static +Subject: [PATCH 110/450] tracing: Make tracing_set_clock() non-static Allow tracing code outside of trace.c to access tracing_set_clock(). @@ -47,5 +47,5 @@ index 5975d5f5c4bc..0b8af849dc75 100644 extern bool trace_clock_in_ns(struct trace_array *tr); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0111-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 index c256d7232..bdd2a6922 100644 --- a/kernel/patches-4.14.x-rt/0111-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 89005b6d25c813eb854b61e5b6bdb950214107ce Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:08 -0600 -Subject: [PATCH 111/437] tracing: Add a clock attribute for hist triggers +Subject: [PATCH 111/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0112-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 index a6f7d9f6f..59ff98773 100644 --- a/kernel/patches-4.14.x-rt/0112-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 93f30f296ca22bd9468ca86e1d0b2a8873adfaf2 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Mon, 15 Jan 2018 10:47:09 -0500 -Subject: [PATCH 112/437] ring-buffer: Bring back context level recursive +Subject: [PATCH 112/450] ring-buffer: Bring back context level recursive checks Commit 1a149d7d3f45 ("ring-buffer: Rewrite trace_recursive_(un)lock() to be @@ -129,5 +129,5 @@ index 197617001c0b..b7cda4701ab3 100644 /** -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0113-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 index d2e05b697..9b53bddd9 100644 --- a/kernel/patches-4.14.x-rt/0113-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 158c7e6197471e64b5d8b70c580808803b5383c5 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 18 Jan 2018 15:42:09 -0500 -Subject: [PATCH 113/437] ring-buffer: Fix duplicate results in mapping context +Subject: [PATCH 113/450] 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 b7cda4701ab3..be296c38893f 100644 if (unlikely(val & (1 << bit))) return 1; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0114-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 index 4db64babb..a4f9c8598 100644 --- a/kernel/patches-4.14.x-rt/0114-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 55a309475692c9c88440298c8c02d9f4e9e581c6 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:26:32 -0500 -Subject: [PATCH 114/437] ring-buffer: Add nesting for adding events within +Subject: [PATCH 114/450] 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 be296c38893f..e8ca1e01facd 100644 /** -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0115-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 index e1e753b3a..8606d5f1c 100644 --- a/kernel/patches-4.14.x-rt/0115-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 cfbff455010bbddb3772e6d9cde753fb717c1ee6 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:29:46 -0500 -Subject: [PATCH 115/437] tracing: Use the ring-buffer nesting to allow +Subject: [PATCH 115/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0116-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 index 6bae7714c..a3e33e08f 100644 --- a/kernel/patches-4.14.x-rt/0116-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 ba8152928d50e4c2a175f81f2035f5f79e05c1ab Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:10 -0600 -Subject: [PATCH 116/437] tracing: Add inter-event blurb to HIST_TRIGGERS +Subject: [PATCH 116/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0117-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 index 687a9f077..02e9c1a6d 100644 --- a/kernel/patches-4.14.x-rt/0117-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 aa0c1808950ef2ac45c2653ca1180f828570980e Mon Sep 17 00:00:00 2001 From: Rajvi Jingar Date: Mon, 15 Jan 2018 20:52:11 -0600 -Subject: [PATCH 117/437] selftests: ftrace: Add inter-event hist triggers +Subject: [PATCH 117/450] selftests: ftrace: Add inter-event hist triggers testcases This adds inter-event hist triggers testcases which covers following: @@ -465,5 +465,5 @@ index 000000000000..cef11377dcbd + +exit 0 -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0118-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 index 5a857e378..5e225d188 100644 --- a/kernel/patches-4.14.x-rt/0118-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 85830476840c2e6ebbba8fe775453ab912e28934 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:53 -0500 -Subject: [PATCH 118/437] tracing: Fix display of hist trigger expressions +Subject: [PATCH 118/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0119-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 index 378e1581e..2ecfec722 100644 --- a/kernel/patches-4.14.x-rt/0119-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 97e2b4fc323a7076160c1930e2f5a35022ca3724 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:54 -0500 -Subject: [PATCH 119/437] tracing: Don't add flag strings when displaying +Subject: [PATCH 119/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0120-tracing-Add-action-comparisons-when-testing-matching.patch b/kernel/patches-4.14.x-rt/0120-tracing-Add-action-comparisons-when-testing-matching.patch index 23c8235b3..637255555 100644 --- a/kernel/patches-4.14.x-rt/0120-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 e81731c6c75b86e46ce4ce026bcf274583814ef2 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:55 -0500 -Subject: [PATCH 120/437] tracing: Add action comparisons when testing matching +Subject: [PATCH 120/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0121-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 index 5a12c9213..fdb384272 100644 --- a/kernel/patches-4.14.x-rt/0121-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 9ced88cdeba23ed45c15816a15c57b08b0fecdc4 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:56 -0500 -Subject: [PATCH 121/437] tracing: Make sure variable string fields are +Subject: [PATCH 121/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0122-block-Shorten-interrupt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0122-block-Shorten-interrupt-disabled-regions.patch index 63e89ff4c..12a76659b 100644 --- a/kernel/patches-4.14.x-rt/0122-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 e8b31720561427506149812db62e949b6ca5e332 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:02 +0200 -Subject: [PATCH 122/437] block: Shorten interrupt disabled regions +Subject: [PATCH 122/450] 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 @@ -98,5 +98,5 @@ index 0b14aebfd1a8..9e3521c4431a 100644 void blk_finish_plug(struct blk_plug *plug) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch b/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch index 62a740c68..e39b9352b 100644 --- a/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch +++ b/kernel/patches-4.14.x-rt/0123-timekeeping-Split-jiffies-seqlock.patch @@ -1,7 +1,7 @@ From b4dce15b1521980b9cc0c5a8dc8fda4569e2d986 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Feb 2013 22:36:59 +0100 -Subject: [PATCH 123/437] timekeeping: Split jiffies seqlock +Subject: [PATCH 123/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0124-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 index 8059aecef..b75447700 100644 --- a/kernel/patches-4.14.x-rt/0124-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 c8ee195989e8750fdd93991969e1254120e503f8 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 29 Sep 2011 12:24:30 -0500 -Subject: [PATCH 124/437] tracing: Account for preempt off in +Subject: [PATCH 124/450] tracing: Account for preempt off in preempt_schedule() The preempt_schedule() uses the preempt_disable_notrace() version @@ -49,5 +49,5 @@ index 590a3a396048..5b1a76112243 100644 preempt_latency_stop(1); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0125-signal-Revert-ptrace-preempt-magic.patch b/kernel/patches-4.14.x-rt/0125-signal-Revert-ptrace-preempt-magic.patch index 8e58750be..dad55d961 100644 --- a/kernel/patches-4.14.x-rt/0125-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 d29203fc540a74934cc20916290e65c691d53d25 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 21 Sep 2011 19:57:12 +0200 -Subject: [PATCH 125/437] signal: Revert ptrace preempt magic +Subject: [PATCH 125/450] 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 164c36ef0825..8ffd4fb0a0f2 100644 } else { /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0126-arm-Convert-arm-boot_lock-to-raw.patch b/kernel/patches-4.14.x-rt/0126-arm-Convert-arm-boot_lock-to-raw.patch index f0bd7e526..55adaf514 100644 --- a/kernel/patches-4.14.x-rt/0126-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 181e6d8c5d3fd3c3c6d751c64b3716e56dad29f3 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Mon, 19 Sep 2011 14:51:14 -0700 -Subject: [PATCH 126/437] arm: Convert arm boot_lock to raw +Subject: [PATCH 126/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0127-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 index c6d908b35..35d71121d 100644 --- a/kernel/patches-4.14.x-rt/0127-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 e9331a157470378a4524092971a16d10c3e9fd64 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Nov 2016 16:17:55 -0800 -Subject: [PATCH 127/437] arm: kprobe: replace patch_lock to raw lock +Subject: [PATCH 127/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0128-posix-timers-Prevent-broadcast-signals.patch b/kernel/patches-4.14.x-rt/0128-posix-timers-Prevent-broadcast-signals.patch index 8ada686dc..8577ea00a 100644 --- a/kernel/patches-4.14.x-rt/0128-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 049f419be39f57dbd0ae2b8f71b282a2c28f7821 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:29:20 -0500 -Subject: [PATCH 128/437] posix-timers: Prevent broadcast signals +Subject: [PATCH 128/450] posix-timers: Prevent broadcast signals Posix timers should not send broadcast signals and kernel only signals. Prevent it. @@ -34,5 +34,5 @@ index 55d45fe2cc17..dff86a0157db 100644 /* FALLTHRU */ case SIGEV_NONE: -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0129-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 index 3b137ec57..17fe86a5a 100644 --- a/kernel/patches-4.14.x-rt/0129-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 818da71ff388a006767feb2a8332b9fc3f80766e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:56 -0500 -Subject: [PATCH 129/437] signals: Allow rt tasks to cache one sigqueue struct +Subject: [PATCH 129/450] 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 8ffd4fb0a0f2..ca7de0d8a4bd 100644 if (q) q->flags |= SIGQUEUE_PREALLOC; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0130-drivers-random-Reduce-preempt-disabled-region.patch b/kernel/patches-4.14.x-rt/0130-drivers-random-Reduce-preempt-disabled-region.patch index d5b799212..51e2d1ab0 100644 --- a/kernel/patches-4.14.x-rt/0130-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 3931903ca419f65c45ab81f67443109aa1bde3cd Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:30 -0500 -Subject: [PATCH 130/437] drivers: random: Reduce preempt disabled region +Subject: [PATCH 130/450] drivers: random: Reduce preempt disabled region No need to keep preemption disabled across the whole function. @@ -33,5 +33,5 @@ index ea4dbfa30657..8a6228ab983c 100644 void add_input_randomness(unsigned int type, unsigned int code, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0131-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 index 490fae2a3..829d57ff2 100644 --- a/kernel/patches-4.14.x-rt/0131-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 fbd024901d7a248f536fd9d5c81f1c432af909ba Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Sat, 6 Mar 2010 17:47:10 +0100 -Subject: [PATCH 131/437] ARM: AT91: PIT: Remove irq handler when clock event +Subject: [PATCH 131/450] ARM: AT91: PIT: Remove irq handler when clock event is unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -153,5 +153,5 @@ index d2e660f475af..c63b96cfc23e 100644 if (IS_ERR(sclk)) { pr_err("Unable to get slow clock\n"); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0132-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 index d24dde78c..26a46a4a3 100644 --- a/kernel/patches-4.14.x-rt/0132-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 91b17ba12ebd2ebc2dff1cb0a5a46eb25b842acb Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Thu, 17 Mar 2016 21:09:43 +0100 -Subject: [PATCH 132/437] clockevents/drivers/timer-atmel-pit: fix double +Subject: [PATCH 132/450] clockevents/drivers/timer-atmel-pit: fix double free_irq clockevents_exchange_device() changes the state from detached to shutdown @@ -48,5 +48,5 @@ index 68c530354512..98460c1bdec0 100644 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); pit_write(data->base, AT91_PIT_MR, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0133-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 index 09aef0115..87decb679 100644 --- a/kernel/patches-4.14.x-rt/0133-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 529e93f4547812493d1b1cd7add36cf38d43ee8c Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Mon, 8 Mar 2010 18:57:04 +0100 -Subject: [PATCH 133/437] clocksource: TCLIB: Allow higher clock rates for +Subject: [PATCH 133/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0134-suspend-Prevent-might-sleep-splats.patch b/kernel/patches-4.14.x-rt/0134-suspend-Prevent-might-sleep-splats.patch index 94bfd9c9a..a8f35609f 100644 --- a/kernel/patches-4.14.x-rt/0134-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 41e3862e0041d35d44320b4401863707d4798640 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 15 Jul 2010 10:29:00 +0200 -Subject: [PATCH 134/437] suspend: Prevent might sleep splats +Subject: [PATCH 134/450] 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 c0bc2c89697a..0d3dab53c527 100644 BUG_ON(irqs_disabled()); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0135-net-flip-lock-dep-thingy.patch.patch b/kernel/patches-4.14.x-rt/0135-net-flip-lock-dep-thingy.patch.patch index ad4313b54..ed822af38 100644 --- a/kernel/patches-4.14.x-rt/0135-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 57a08f446fd23ab42ab8ea35776be5c7a71f18d8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 10:59:58 +0200 -Subject: [PATCH 135/437] net-flip-lock-dep-thingy.patch +Subject: [PATCH 135/450] net-flip-lock-dep-thingy.patch ======================================================= [ INFO: possible circular locking dependency detected ] @@ -113,5 +113,5 @@ index 36f19458e2fe..244f6fda0a96 100644 EXPORT_SYMBOL(lock_sock_nested); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0136-net-sched-Use-msleep-instead-of-yield.patch b/kernel/patches-4.14.x-rt/0136-net-sched-Use-msleep-instead-of-yield.patch index 65465bb6f..3c10d968a 100644 --- a/kernel/patches-4.14.x-rt/0136-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 a1414bad7091191aa9dbf3dcc59a2253cf85a967 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 5 Mar 2014 00:49:47 +0100 -Subject: [PATCH 136/437] net: sched: Use msleep() instead of yield() +Subject: [PATCH 136/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0137-net-core-disable-NET_RX_BUSY_POLL.patch b/kernel/patches-4.14.x-rt/0137-net-core-disable-NET_RX_BUSY_POLL.patch index 9dabda710..af7f6c01c 100644 --- a/kernel/patches-4.14.x-rt/0137-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 ece96931ab4b21f8f5aaf666daff565b49dbc11a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 137/437] net/core: disable NET_RX_BUSY_POLL +Subject: [PATCH 137/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0138-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 index 4f79da967..6dd2ffbe2 100644 --- a/kernel/patches-4.14.x-rt/0138-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 645a7c79aa4e0503fccfa644355244eb9ce8c608 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:27 -0500 -Subject: [PATCH 138/437] x86/ioapic: Do not unmask io_apic when interrupt is +Subject: [PATCH 138/450] 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 96a8a68f9c79..5832a9d657f2 100644 return true; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0139-rcu-segcblist-include-rcupdate.h.patch b/kernel/patches-4.14.x-rt/0139-rcu-segcblist-include-rcupdate.h.patch index dcec95f5f..239c1d635 100644 --- a/kernel/patches-4.14.x-rt/0139-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 9b94ddb647d12f1d2f18a8755e81ec0ee2455615 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 22 Sep 2017 15:01:46 +0200 -Subject: [PATCH 139/437] rcu/segcblist: include rcupdate.h +Subject: [PATCH 139/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0140-printk-Add-a-printk-kill-switch.patch b/kernel/patches-4.14.x-rt/0140-printk-Add-a-printk-kill-switch.patch index 425f8d82b..12a421aef 100644 --- a/kernel/patches-4.14.x-rt/0140-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 869184fcf821740992b214c288086e33015cb19f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 22 Jul 2011 17:58:40 +0200 -Subject: [PATCH 140/437] printk: Add a printk kill switch +Subject: [PATCH 140/450] 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. @@ -177,5 +177,5 @@ index 4ece6028007a..210dccc57c04 100644 nmi_panic(regs, "Hard LOCKUP"); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0141-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 index 479150f0b..0286e4f04 100644 --- a/kernel/patches-4.14.x-rt/0141-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 76ae4b91ab3d2aacab8be15d1c91bd577fc022d6 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:41:29 +0200 -Subject: [PATCH 141/437] printk: Add "force_early_printk" boot param to help +Subject: [PATCH 141/450] 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 f0855cecec9d..a24e16bef51c 100644 { printk_killswitch = true; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0142-rt-Provide-PREEMPT_RT_BASE-config-switch.patch b/kernel/patches-4.14.x-rt/0142-rt-Provide-PREEMPT_RT_BASE-config-switch.patch index a508bda77..7b948d340 100644 --- a/kernel/patches-4.14.x-rt/0142-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 717512fc9eab7c6cb0118225b738f702c4ab7c23 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 12:39:57 +0200 -Subject: [PATCH 142/437] rt: Provide PREEMPT_RT_BASE config switch +Subject: [PATCH 142/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0143-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 index 6164e8d35..a7ef93f1a 100644 --- a/kernel/patches-4.14.x-rt/0143-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 8d96e538d166cc8dbd5af0889b59e4bc82107bf7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 24 Jul 2011 12:11:43 +0200 -Subject: [PATCH 143/437] kconfig: Disable config options which are not RT +Subject: [PATCH 143/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0144-kconfig-Add-PREEMPT_RT_FULL.patch b/kernel/patches-4.14.x-rt/0144-kconfig-Add-PREEMPT_RT_FULL.patch index 21d0a1859..f22f52210 100644 --- a/kernel/patches-4.14.x-rt/0144-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 5a5f5c742ce8e4fd3f596a06fca0e44e9fe20d23 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 14:58:57 +0200 -Subject: [PATCH 144/437] kconfig: Add PREEMPT_RT_FULL +Subject: [PATCH 144/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0145-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 index ce0d33434..fd89f0c9a 100644 --- a/kernel/patches-4.14.x-rt/0145-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 e084dc8c43f540679c499857a086cf82206762bf Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 145/437] bug: BUG_ON/WARN_ON variants dependend on RT/!RT +Subject: [PATCH 145/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0146-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 index 837838ca3..829b46609 100644 --- a/kernel/patches-4.14.x-rt/0146-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 82f7c7f43cae44940e47867ef790f8f88cb748d5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 27 Feb 2016 10:22:23 +0100 -Subject: [PATCH 146/437] iommu/amd: Use WARN_ON_NORT in __attach_device() +Subject: [PATCH 146/450] 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 876947fcb4c6..7d9d41f803d1 100644 if (WARN_ON(!dev_data->domain)) return; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0147-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 index 7fd78a067..38cd66121 100644 --- a/kernel/patches-4.14.x-rt/0147-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 ae3322916ba39450d3ea4f935ba2acaaf44ed5a9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 22:34:14 +0200 -Subject: [PATCH 147/437] rt: local_irq_* variants depending on RT/!RT +Subject: [PATCH 147/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0148-preempt-Provide-preempt_-_-no-rt-variants.patch b/kernel/patches-4.14.x-rt/0148-preempt-Provide-preempt_-_-no-rt-variants.patch index b6503c28b..363422c1b 100644 --- a/kernel/patches-4.14.x-rt/0148-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 20d2e5cce1e67cdaac043ab7059a97a4982f8a93 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jul 2009 12:38:56 +0200 -Subject: [PATCH 148/437] preempt: Provide preempt_*_(no)rt variants +Subject: [PATCH 148/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0149-futex-workaround-migrate_disable-enable-in-different.patch b/kernel/patches-4.14.x-rt/0149-futex-workaround-migrate_disable-enable-in-different.patch index c5449be87..c5ff68125 100644 --- a/kernel/patches-4.14.x-rt/0149-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 409c9265b1416ec33879fac9864e727f03af4931 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Mar 2017 14:23:35 +0100 -Subject: [PATCH 149/437] futex: workaround migrate_disable/enable in different +Subject: [PATCH 149/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0150-rt-Add-local-irq-locks.patch b/kernel/patches-4.14.x-rt/0150-rt-Add-local-irq-locks.patch index 867a03734..91a45c80a 100644 --- a/kernel/patches-4.14.x-rt/0150-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 e7234d5db109fa4b37ca0d789f00217574e7648a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 20 Jun 2011 09:03:47 +0200 -Subject: [PATCH 150/437] rt: Add local irq locks +Subject: [PATCH 150/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0151-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 index 47abab41c..b4d3278a3 100644 --- a/kernel/patches-4.14.x-rt/0151-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 d68b176c0966248883554b0d06bafdd2cfd9d4d6 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:44:29 -0500 -Subject: [PATCH 151/437] ata: Do not disable interrupts in ide code for +Subject: [PATCH 151/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0152-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 index bb2ea6486..72d9170df 100644 --- a/kernel/patches-4.14.x-rt/0152-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 ce0317fb2714be2be8d385ffc6ef8a19f2bbaee2 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 152/437] ide: Do not disable interrupts for PREEMPT-RT +Subject: [PATCH 152/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0153-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 index 7739c6781..c9f492f60 100644 --- a/kernel/patches-4.14.x-rt/0153-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 46035933fcfd103832c6eb11a9916698716d0f28 Mon Sep 17 00:00:00 2001 From: Sven-Thorsten Dietrich Date: Fri, 3 Jul 2009 08:30:35 -0500 -Subject: [PATCH 153/437] infiniband: Mellanox IB driver patch use _nort() +Subject: [PATCH 153/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0154-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 index f7f42fac2..4938eab11 100644 --- a/kernel/patches-4.14.x-rt/0154-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 c92f8a1a659ebf3ba6fc7e5b3a3ae3aabd06bac9 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 154/437] input: gameport: Do not disable interrupts on +Subject: [PATCH 154/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0155-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 index 00a99725d..f8dba2c4a 100644 --- a/kernel/patches-4.14.x-rt/0155-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 6c7fa9bfc7c152897b0b1315e412703262182259 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 23:06:05 +0200 -Subject: [PATCH 155/437] core: Do not disable interrupts on RT in +Subject: [PATCH 155/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0156-usb-Use-_nort-in-giveback-function.patch b/kernel/patches-4.14.x-rt/0156-usb-Use-_nort-in-giveback-function.patch index 65a2edf26..af305aa09 100644 --- a/kernel/patches-4.14.x-rt/0156-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 ba9e47b77d0094bd6f1dd284baa481243aec2960 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 8 Nov 2013 17:34:54 +0100 -Subject: [PATCH 156/437] usb: Use _nort in giveback function +Subject: [PATCH 156/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0157-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 index a588c9a07..5d647fb4b 100644 --- a/kernel/patches-4.14.x-rt/0157-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 6206e047bf80aa247ee5c84e46c44d067f69e0e7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:34 -0500 -Subject: [PATCH 157/437] mm/scatterlist: Do not disable irqs on RT +Subject: [PATCH 157/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0158-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 index fe014a718..7f6bba95d 100644 --- a/kernel/patches-4.14.x-rt/0158-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 3ea1ded21463a93bb065b5f50e6d391b0ec3f891 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 17:19:44 +0100 -Subject: [PATCH 158/437] mm/workingset: Do not protect workingset_shadow_nodes +Subject: [PATCH 158/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0159-signal-Make-__lock_task_sighand-RT-aware.patch b/kernel/patches-4.14.x-rt/0159-signal-Make-__lock_task_sighand-RT-aware.patch index b98b7b737..b2a0ad551 100644 --- a/kernel/patches-4.14.x-rt/0159-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 ec5ba6046970ae761880bcaa018816a13370ccff Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Jul 2011 08:07:08 +0200 -Subject: [PATCH 159/437] signal: Make __lock_task_sighand() RT aware +Subject: [PATCH 159/450] 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 ca7de0d8a4bd..374d60ea3699 100644 return sighand; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0160-signal-x86-Delay-calling-signals-in-atomic.patch b/kernel/patches-4.14.x-rt/0160-signal-x86-Delay-calling-signals-in-atomic.patch index 17565bccc..153cc218d 100644 --- a/kernel/patches-4.14.x-rt/0160-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 4961b4ad4cf8bba0c6e80477f4d0045c51f3f2c1 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 160/437] signal/x86: Delay calling signals in atomic +Subject: [PATCH 160/450] 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 374d60ea3699..c6266045e1b3 100644 * Nuke all other threads in the group. */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0161-x86-signal-delay-calling-signals-on-32bit.patch b/kernel/patches-4.14.x-rt/0161-x86-signal-delay-calling-signals-on-32bit.patch index b942b6426..233c4a6a8 100644 --- a/kernel/patches-4.14.x-rt/0161-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 ac824740da3271352df385fb547448c4258b9b5a Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Dec 2015 10:58:51 -0800 -Subject: [PATCH 161/437] x86/signal: delay calling signals on 32bit +Subject: [PATCH 161/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0162-net-wireless-Use-WARN_ON_NORT.patch b/kernel/patches-4.14.x-rt/0162-net-wireless-Use-WARN_ON_NORT.patch index 1c24b09d0..c24ff7d35 100644 --- a/kernel/patches-4.14.x-rt/0162-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 e67f22f5ef343a0b326e6c4dbe735c50c43fa69e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 21:05:33 +0200 -Subject: [PATCH 162/437] net/wireless: Use WARN_ON_NORT() +Subject: [PATCH 162/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0163-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 index 30f812abc..3deba8770 100644 --- a/kernel/patches-4.14.x-rt/0163-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 a150441aac2b4e46aac03643590279186690bd8c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 09:18:52 +0100 -Subject: [PATCH 163/437] buffer_head: Replace bh_uptodate_lock for -rt +Subject: [PATCH 163/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0164-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 index 30fdba413..3c4acc75b 100644 --- a/kernel/patches-4.14.x-rt/0164-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 9aef918d94f719307028a7cf9c94cae820ca712e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:11:25 +0100 -Subject: [PATCH 164/437] fs: jbd/jbd2: Make state lock and journal head lock +Subject: [PATCH 164/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0165-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 index be2e40dfb..0210ebb2a 100644 --- a/kernel/patches-4.14.x-rt/0165-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 1e16a8872db9416915db9a87254e95be8a2d5235 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 21 Jun 2013 15:07:25 -0400 -Subject: [PATCH 165/437] list_bl: Make list head locking RT safe +Subject: [PATCH 165/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0166-list_bl-fixup-bogus-lockdep-warning.patch b/kernel/patches-4.14.x-rt/0166-list_bl-fixup-bogus-lockdep-warning.patch index 990979ba5..25e050f7c 100644 --- a/kernel/patches-4.14.x-rt/0166-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 1b38bd241ee47e3750c0dce98360f53cb2180acd Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 31 Mar 2016 00:04:25 -0500 -Subject: [PATCH 166/437] list_bl: fixup bogus lockdep warning +Subject: [PATCH 166/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0167-genirq-Disable-irqpoll-on-rt.patch b/kernel/patches-4.14.x-rt/0167-genirq-Disable-irqpoll-on-rt.patch index d38989591..a10648182 100644 --- a/kernel/patches-4.14.x-rt/0167-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 2df832c6644a848e7f2cdf936badb72358a8daf4 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:57 -0500 -Subject: [PATCH 167/437] genirq: Disable irqpoll on -rt +Subject: [PATCH 167/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0168-genirq-Force-interrupt-thread-on-RT.patch b/kernel/patches-4.14.x-rt/0168-genirq-Force-interrupt-thread-on-RT.patch index 4061a1c8b..d80be5de1 100644 --- a/kernel/patches-4.14.x-rt/0168-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 2d09d245af35a2bb5b8ca6f92a26caf052e38ff6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 3 Apr 2011 11:57:29 +0200 -Subject: [PATCH 168/437] genirq: Force interrupt thread on RT +Subject: [PATCH 168/450] genirq: Force interrupt thread on RT Force threaded_irqs and optimize the code (force_irqthreads) in regard to this. @@ -52,5 +52,5 @@ index 4cd85870f00e..f9934b6d879e 100644 static void __synchronize_hardirq(struct irq_desc *desc) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0169-drivers-net-vortex-fix-locking-issues.patch b/kernel/patches-4.14.x-rt/0169-drivers-net-vortex-fix-locking-issues.patch index 078958a4d..09e1c5b64 100644 --- a/kernel/patches-4.14.x-rt/0169-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 4ee19b026a3e2b969b5da2f55cfee5122768a715 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:30:00 -0500 -Subject: [PATCH 169/437] drivers/net: vortex fix locking issues +Subject: [PATCH 169/450] drivers/net: vortex fix locking issues Argh, cut and paste wasn't enough... @@ -53,5 +53,5 @@ index 402d9090ad29..9bc02563b853 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0170-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/kernel/patches-4.14.x-rt/0170-mm-page_alloc-rt-friendly-per-cpu-pages.patch index b817a9d74..8f04c3b43 100644 --- a/kernel/patches-4.14.x-rt/0170-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/kernel/patches-4.14.x-rt/0170-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -1,7 +1,7 @@ From 6a175195d8db76416b4661a50698f69c190af5bc Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:37 -0500 -Subject: [PATCH 170/437] mm: page_alloc: rt-friendly per-cpu pages +Subject: [PATCH 170/450] 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 2074f424dabf..7316ae31df8e 100644 #ifdef CONFIG_MEMORY_HOTREMOVE -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0171-mm-page_alloc-Reduce-lock-sections-further.patch b/kernel/patches-4.14.x-rt/0171-mm-page_alloc-Reduce-lock-sections-further.patch index d96339d61..d5c8e797e 100644 --- a/kernel/patches-4.14.x-rt/0171-mm-page_alloc-Reduce-lock-sections-further.patch +++ b/kernel/patches-4.14.x-rt/0171-mm-page_alloc-Reduce-lock-sections-further.patch @@ -1,7 +1,7 @@ From 1e26ee0addd811f0636a8102a08e24950acc413d Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:37 -0500 -Subject: [PATCH 171/437] mm: page_alloc: Reduce lock sections further +Subject: [PATCH 171/450] 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 7316ae31df8e..ca19f55de422 100644 out: -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0172-mm-swap-Convert-to-percpu-locked.patch b/kernel/patches-4.14.x-rt/0172-mm-swap-Convert-to-percpu-locked.patch index 8702d7a0b..0f6b5ac2a 100644 --- a/kernel/patches-4.14.x-rt/0172-mm-swap-Convert-to-percpu-locked.patch +++ b/kernel/patches-4.14.x-rt/0172-mm-swap-Convert-to-percpu-locked.patch @@ -1,7 +1,7 @@ From 8e72aa5e0f006652d1fb3714091b616675754693 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:51 -0500 -Subject: [PATCH 172/437] mm/swap: Convert to percpu locked +Subject: [PATCH 172/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0173-mm-perform-lru_add_drain_all-remotely.patch b/kernel/patches-4.14.x-rt/0173-mm-perform-lru_add_drain_all-remotely.patch index 34d2cf9c6..4d986705f 100644 --- a/kernel/patches-4.14.x-rt/0173-mm-perform-lru_add_drain_all-remotely.patch +++ b/kernel/patches-4.14.x-rt/0173-mm-perform-lru_add_drain_all-remotely.patch @@ -1,7 +1,7 @@ From 9341ed82cb232da1f37223870cb2b0ff38713be2 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 27 May 2016 15:03:28 +0200 -Subject: [PATCH 173/437] mm: perform lru_add_drain_all() remotely +Subject: [PATCH 173/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0174-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch b/kernel/patches-4.14.x-rt/0174-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch index c3ee2dced..59c11b3e8 100644 --- a/kernel/patches-4.14.x-rt/0174-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch +++ b/kernel/patches-4.14.x-rt/0174-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch @@ -1,7 +1,7 @@ From b42713ade1cf103b333bc937b8304b2a6195791d Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:13 -0500 -Subject: [PATCH 174/437] mm/vmstat: Protect per cpu variables with preempt +Subject: [PATCH 174/450] 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 6389e876c7a7..203bc6d3be75 100644 void __dec_zone_page_state(struct page *page, enum zone_stat_item item) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0175-ARM-Initialize-split-page-table-locks-for-vector-pag.patch b/kernel/patches-4.14.x-rt/0175-ARM-Initialize-split-page-table-locks-for-vector-pag.patch index a30ede8d3..ca7cc31d7 100644 --- a/kernel/patches-4.14.x-rt/0175-ARM-Initialize-split-page-table-locks-for-vector-pag.patch +++ b/kernel/patches-4.14.x-rt/0175-ARM-Initialize-split-page-table-locks-for-vector-pag.patch @@ -1,7 +1,7 @@ From 661bc1dee47a1d175214165b121893c3b15138d8 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Sat, 1 Oct 2011 18:58:13 -0700 -Subject: [PATCH 175/437] ARM: Initialize split page table locks for vector +Subject: [PATCH 175/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0176-mm-bounce-Use-local_irq_save_nort.patch b/kernel/patches-4.14.x-rt/0176-mm-bounce-Use-local_irq_save_nort.patch index 5254d7366..ebcc828f5 100644 --- a/kernel/patches-4.14.x-rt/0176-mm-bounce-Use-local_irq_save_nort.patch +++ b/kernel/patches-4.14.x-rt/0176-mm-bounce-Use-local_irq_save_nort.patch @@ -1,7 +1,7 @@ From 29e584d8a8a04c5531c3a2e0dfcad995b880848e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 10:33:09 +0100 -Subject: [PATCH 176/437] mm: bounce: Use local_irq_save_nort +Subject: [PATCH 176/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0177-mm-Allow-only-slub-on-RT.patch b/kernel/patches-4.14.x-rt/0177-mm-Allow-only-slub-on-RT.patch index 1686991e5..4ac4582f0 100644 --- a/kernel/patches-4.14.x-rt/0177-mm-Allow-only-slub-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0177-mm-Allow-only-slub-on-RT.patch @@ -1,7 +1,7 @@ From a276eb4d8b187ebb02c3edbb0cf6faf7c73f6ea2 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:03 -0500 -Subject: [PATCH 177/437] mm: Allow only slub on RT +Subject: [PATCH 177/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0178-mm-Enable-SLUB-for-RT.patch b/kernel/patches-4.14.x-rt/0178-mm-Enable-SLUB-for-RT.patch index a3e1af945..f4309210c 100644 --- a/kernel/patches-4.14.x-rt/0178-mm-Enable-SLUB-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0178-mm-Enable-SLUB-for-RT.patch @@ -1,7 +1,7 @@ From 1c78e1ec776c9a4b04e302110f3eee2ab5ef22b8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 25 Oct 2012 10:32:35 +0100 -Subject: [PATCH 178/437] mm: Enable SLUB for RT +Subject: [PATCH 178/450] 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. @@ -477,5 +477,5 @@ index 220d42e592ef..2f9f5e133587 100644 for (i = 0; i < t.count; i++) { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0179-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch b/kernel/patches-4.14.x-rt/0179-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch index 36c07455e..1e0087308 100644 --- a/kernel/patches-4.14.x-rt/0179-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch +++ b/kernel/patches-4.14.x-rt/0179-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch @@ -1,7 +1,7 @@ From 6521f7ac165e75bc3ada9bdd6cae84837c89095d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Dec 2017 12:44:14 +0100 -Subject: [PATCH 179/437] mm/slub: close possible memory-leak in +Subject: [PATCH 179/450] mm/slub: close possible memory-leak in kmem_cache_alloc_bulk() Under certain circumstances we could leak elements which were moved to @@ -27,5 +27,5 @@ index 2f9f5e133587..aa884987df6b 100644 __kmem_cache_free_bulk(s, i, p); return 0; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0180-slub-Enable-irqs-for-__GFP_WAIT.patch b/kernel/patches-4.14.x-rt/0180-slub-Enable-irqs-for-__GFP_WAIT.patch index b284aa08d..ef38bc94d 100644 --- a/kernel/patches-4.14.x-rt/0180-slub-Enable-irqs-for-__GFP_WAIT.patch +++ b/kernel/patches-4.14.x-rt/0180-slub-Enable-irqs-for-__GFP_WAIT.patch @@ -1,7 +1,7 @@ From 5e111b9d402b33815f03e93e3bfed6c8f93c81cf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:08:15 +0100 -Subject: [PATCH 180/437] slub: Enable irqs for __GFP_WAIT +Subject: [PATCH 180/450] 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. @@ -49,5 +49,5 @@ index aa884987df6b..9b337c28dd1f 100644 if (!page) return NULL; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0181-slub-Disable-SLUB_CPU_PARTIAL.patch b/kernel/patches-4.14.x-rt/0181-slub-Disable-SLUB_CPU_PARTIAL.patch index 7eb058278..92c3f06b6 100644 --- a/kernel/patches-4.14.x-rt/0181-slub-Disable-SLUB_CPU_PARTIAL.patch +++ b/kernel/patches-4.14.x-rt/0181-slub-Disable-SLUB_CPU_PARTIAL.patch @@ -1,7 +1,7 @@ From 79ba188c2f1651cb18a4276a0c27e3131c132488 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Apr 2015 19:00:47 +0200 -Subject: [PATCH 181/437] slub: Disable SLUB_CPU_PARTIAL +Subject: [PATCH 181/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0182-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch b/kernel/patches-4.14.x-rt/0182-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch index 6b3d58511..b0eb640db 100644 --- a/kernel/patches-4.14.x-rt/0182-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch +++ b/kernel/patches-4.14.x-rt/0182-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch @@ -1,7 +1,7 @@ From e2cb1c4c5be0f67847525fc5ceeaa24dd6fba341 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 27 Sep 2012 11:11:46 +0200 -Subject: [PATCH 182/437] mm: page_alloc: Use local_lock_on() instead of plain +Subject: [PATCH 182/450] 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 cd81e08bb504..c959b7b0292c 100644 # define cpu_lock_irqsave(cpu, flags) local_irq_save(flags) # define cpu_unlock_irqrestore(cpu, flags) local_irq_restore(flags) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0183-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/kernel/patches-4.14.x-rt/0183-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch index f4770dac4..5d0e8b2a9 100644 --- a/kernel/patches-4.14.x-rt/0183-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch +++ b/kernel/patches-4.14.x-rt/0183-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch @@ -1,7 +1,7 @@ From 5806765157114c70826afc4a306f9398ff55969f Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Wed, 30 Oct 2013 11:48:33 -0700 -Subject: [PATCH 183/437] mm/memcontrol: Don't call schedule_work_on in +Subject: [PATCH 183/450] mm/memcontrol: Don't call schedule_work_on in preemption disabled context The following trace is triggered when running ltp oom test cases: @@ -70,5 +70,5 @@ index 6a9a7e1066ef..92139e87df28 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch b/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch index 1934435bd..a8e12c245 100644 --- a/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch +++ b/kernel/patches-4.14.x-rt/0184-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch @@ -1,7 +1,7 @@ From 0abe0410fbd8c10569c75d8674b36445cbf3f9d3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Jan 2015 17:14:16 +0100 -Subject: [PATCH 184/437] mm/memcontrol: Replace local_irq_disable with local +Subject: [PATCH 184/450] mm/memcontrol: Replace local_irq_disable with local locks There are a few local_irq_disable() which then take sleeping locks. This @@ -119,5 +119,5 @@ index 92139e87df28..3cc297730103 100644 /** -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0185-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch b/kernel/patches-4.14.x-rt/0185-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch index 245cca329..3b3e71d44 100644 --- a/kernel/patches-4.14.x-rt/0185-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch +++ b/kernel/patches-4.14.x-rt/0185-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch @@ -1,7 +1,7 @@ From 213cd45678dbce93ac53697715ef87044ee74d38 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 5 Feb 2016 12:17:14 +0100 -Subject: [PATCH 185/437] mm: backing-dev: don't disable IRQs in +Subject: [PATCH 185/450] mm: backing-dev: don't disable IRQs in wb_congested_put() it triggers: @@ -44,5 +44,5 @@ index 9386c98dac12..5e9d804c37cb 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0186-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch b/kernel/patches-4.14.x-rt/0186-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch index 37d58f921..990a94ea4 100644 --- a/kernel/patches-4.14.x-rt/0186-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch +++ b/kernel/patches-4.14.x-rt/0186-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch @@ -1,7 +1,7 @@ From 7258f2ed88bb2f780f2252e46fad1c6c7475ead0 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Tue, 22 Mar 2016 11:16:09 +0100 -Subject: [PATCH 186/437] mm/zsmalloc: copy with get_cpu_var() and locking +Subject: [PATCH 186/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0187-radix-tree-use-local-locks.patch b/kernel/patches-4.14.x-rt/0187-radix-tree-use-local-locks.patch index 22859c8f2..0b0e5196c 100644 --- a/kernel/patches-4.14.x-rt/0187-radix-tree-use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0187-radix-tree-use-local-locks.patch @@ -1,7 +1,7 @@ From 7a812202fba4c9526a865a31afd555c8a57a5549 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 25 Jan 2017 16:34:27 +0100 -Subject: [PATCH 187/437] radix-tree: use local locks +Subject: [PATCH 187/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0188-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch b/kernel/patches-4.14.x-rt/0188-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch index 5401cad6e..e91cd2a77 100644 --- a/kernel/patches-4.14.x-rt/0188-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch +++ b/kernel/patches-4.14.x-rt/0188-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch @@ -1,7 +1,7 @@ From 7fee3caa1bdf406d3ebe5fc1328f6645c8b2422e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 188/437] panic: skip get_random_bytes for RT_FULL in +Subject: [PATCH 188/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0189-timers-Prepare-for-full-preemption.patch b/kernel/patches-4.14.x-rt/0189-timers-Prepare-for-full-preemption.patch index f497a2b30..eb6120730 100644 --- a/kernel/patches-4.14.x-rt/0189-timers-Prepare-for-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0189-timers-Prepare-for-full-preemption.patch @@ -1,7 +1,7 @@ From 10ac2a3a86592c59cd652aef2a60100d1efeca7c Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 189/437] timers: Prepare for full preemption +Subject: [PATCH 189/450] 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 @@ -171,5 +171,5 @@ index 3b6c7e287f23..97c28b96aeb1 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0190-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/kernel/patches-4.14.x-rt/0190-timer-delay-waking-softirqs-from-the-jiffy-tick.patch index 891c654c0..9458d0be6 100644 --- a/kernel/patches-4.14.x-rt/0190-timer-delay-waking-softirqs-from-the-jiffy-tick.patch +++ b/kernel/patches-4.14.x-rt/0190-timer-delay-waking-softirqs-from-the-jiffy-tick.patch @@ -1,7 +1,7 @@ From 3842c13318573e304ee2bc4d4ea221c4d75bfdbd Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 21 Aug 2009 11:56:45 +0200 -Subject: [PATCH 190/437] timer: delay waking softirqs from the jiffy tick +Subject: [PATCH 190/450] timer: delay waking softirqs from the jiffy tick People were complaining about broken balancing with the recent -rt series. @@ -76,5 +76,5 @@ index 97c28b96aeb1..807133c1bc20 100644 run_posix_cpu_timers(p); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0191-nohz-Prevent-erroneous-tick-stop-invocations.patch b/kernel/patches-4.14.x-rt/0191-nohz-Prevent-erroneous-tick-stop-invocations.patch index a47401925..a962a391c 100644 --- a/kernel/patches-4.14.x-rt/0191-nohz-Prevent-erroneous-tick-stop-invocations.patch +++ b/kernel/patches-4.14.x-rt/0191-nohz-Prevent-erroneous-tick-stop-invocations.patch @@ -1,7 +1,7 @@ From 896a19a34dac35a435de6e32986dade16c56f4d7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:13 +0100 -Subject: [PATCH 191/437] nohz: Prevent erroneous tick stop invocations +Subject: [PATCH 191/450] nohz: Prevent erroneous tick stop invocations The conditions in irq_exit() to invoke tick_nohz_irq_exit() are: @@ -55,5 +55,5 @@ index 1a5dfc8dcf49..36092932c532 100644 tick_nohz_irq_exit(); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0192-x86-kvm-Require-const-tsc-for-RT.patch b/kernel/patches-4.14.x-rt/0192-x86-kvm-Require-const-tsc-for-RT.patch index 05b7097a0..07bef2254 100644 --- a/kernel/patches-4.14.x-rt/0192-x86-kvm-Require-const-tsc-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0192-x86-kvm-Require-const-tsc-for-RT.patch @@ -1,7 +1,7 @@ From 9109effb72a0964511b0c3a06980bf05a8e7d16d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 6 Nov 2011 12:26:18 +0100 -Subject: [PATCH 192/437] x86: kvm Require const tsc for RT +Subject: [PATCH 192/450] 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 f24329659bea..1934203b6fc5 100644 if (r) goto out_free_percpu; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0193-wait.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0193-wait.h-include-atomic.h.patch index cf79b0e2e..ea9fa9718 100644 --- a/kernel/patches-4.14.x-rt/0193-wait.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0193-wait.h-include-atomic.h.patch @@ -1,7 +1,7 @@ From 14f4c4246705a01739d7f73fc76b083a0157737e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 28 Oct 2013 12:19:57 +0100 -Subject: [PATCH 193/437] wait.h: include atomic.h +Subject: [PATCH 193/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0194-work-simple-Simple-work-queue-implemenation.patch b/kernel/patches-4.14.x-rt/0194-work-simple-Simple-work-queue-implemenation.patch index b1a1a41c7..272ebe724 100644 --- a/kernel/patches-4.14.x-rt/0194-work-simple-Simple-work-queue-implemenation.patch +++ b/kernel/patches-4.14.x-rt/0194-work-simple-Simple-work-queue-implemenation.patch @@ -1,7 +1,7 @@ From 0462e7e9afb6c97aae1210255720e67dadc2b08d Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 11 Jul 2014 15:26:11 +0200 -Subject: [PATCH 194/437] work-simple: Simple work queue implemenation +Subject: [PATCH 194/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0195-completion-Use-simple-wait-queues.patch b/kernel/patches-4.14.x-rt/0195-completion-Use-simple-wait-queues.patch index fa359de59..57c9f9c91 100644 --- a/kernel/patches-4.14.x-rt/0195-completion-Use-simple-wait-queues.patch +++ b/kernel/patches-4.14.x-rt/0195-completion-Use-simple-wait-queues.patch @@ -1,7 +1,7 @@ From 54cdce8b41456443fa2e99c989878ea1f4c58523 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 11 Jan 2013 11:23:51 +0100 -Subject: [PATCH 195/437] completion: Use simple wait queues +Subject: [PATCH 195/450] 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 @@ -374,5 +374,5 @@ index 9ff1555341ed..7006375949c2 100644 { unsigned long flags; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0196-fs-aio-simple-simple-work.patch b/kernel/patches-4.14.x-rt/0196-fs-aio-simple-simple-work.patch index 9c4c78b72..b1b8a9532 100644 --- a/kernel/patches-4.14.x-rt/0196-fs-aio-simple-simple-work.patch +++ b/kernel/patches-4.14.x-rt/0196-fs-aio-simple-simple-work.patch @@ -1,7 +1,7 @@ From 251a0495ea9e42f32d656ee371261456f9e73f21 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 16 Feb 2015 18:49:10 +0100 -Subject: [PATCH 196/437] fs/aio: simple simple work +Subject: [PATCH 196/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0197-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch b/kernel/patches-4.14.x-rt/0197-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch index 39203dacb..06ea6ad7c 100644 --- a/kernel/patches-4.14.x-rt/0197-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch +++ b/kernel/patches-4.14.x-rt/0197-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch @@ -1,7 +1,7 @@ From 674f8ce0de7f72664c12cf56c4b8ac1d34c605e3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Aug 2013 17:48:46 +0200 -Subject: [PATCH 197/437] genirq: Do not invoke the affinity callback via a +Subject: [PATCH 197/450] 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 f9934b6d879e..ead9da12c26a 100644 raw_spin_lock_irqsave(&desc->lock, flags); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0198-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch b/kernel/patches-4.14.x-rt/0198-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch index 3ddf42e42..2483c0e29 100644 --- a/kernel/patches-4.14.x-rt/0198-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch +++ b/kernel/patches-4.14.x-rt/0198-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch @@ -1,7 +1,7 @@ From 99f37ca964eaf9bbf602221d3afb82c22586e778 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Nov 2017 17:29:51 +0100 -Subject: [PATCH 198/437] time/hrtimer: avoid schedule_work() with interrupts +Subject: [PATCH 198/450] time/hrtimer: avoid schedule_work() with interrupts disabled The NOHZ code tries to schedule a workqueue with interrupts disabled. @@ -55,5 +55,5 @@ index 807133c1bc20..9b08190ff65a 100644 void __user *buffer, size_t *lenp, loff_t *ppos) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0199-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch b/kernel/patches-4.14.x-rt/0199-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch index be5a102d7..7ce57be61 100644 --- a/kernel/patches-4.14.x-rt/0199-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch +++ b/kernel/patches-4.14.x-rt/0199-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch @@ -1,7 +1,7 @@ From 96e3bf1d2cdf9a751c29c974bfb3e523dfdacc8f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Sep 2017 18:31:50 +0200 -Subject: [PATCH 199/437] hrtimer: consolidate hrtimer_init() + +Subject: [PATCH 199/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0200-hrtimers-Prepare-full-preemption.patch b/kernel/patches-4.14.x-rt/0200-hrtimers-Prepare-full-preemption.patch index 7670540ba..caf4cdde0 100644 --- a/kernel/patches-4.14.x-rt/0200-hrtimers-Prepare-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0200-hrtimers-Prepare-full-preemption.patch @@ -1,7 +1,7 @@ From 68221ff1a692859d71eca4c47c58f47fd4034f38 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 200/437] hrtimers: Prepare full preemption +Subject: [PATCH 200/450] hrtimers: Prepare full preemption Make cancellation of a running callback in softirq context safe against preemption. @@ -219,5 +219,5 @@ index dff86a0157db..27186326723f 100644 } list_del(&timer->list); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0201-hrtimer-by-timers-by-default-into-the-softirq-contex.patch b/kernel/patches-4.14.x-rt/0201-hrtimer-by-timers-by-default-into-the-softirq-contex.patch index f30fe92af..05daf08ad 100644 --- a/kernel/patches-4.14.x-rt/0201-hrtimer-by-timers-by-default-into-the-softirq-contex.patch +++ b/kernel/patches-4.14.x-rt/0201-hrtimer-by-timers-by-default-into-the-softirq-contex.patch @@ -1,7 +1,7 @@ From 750cdd1103515b61fe606f2df482df386ba0ebb1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 3 Jul 2009 08:44:31 -0500 -Subject: [PATCH 201/437] hrtimer: by timers by default into the softirq +Subject: [PATCH 201/450] hrtimer: by timers by default into the softirq context We can't have hrtimers callbacks running in hardirq context on RT. Therefore @@ -233,5 +233,5 @@ index 087994b23f8b..ea4c09109ce4 100644 hrtimer_start(hrtimer, ns_to_ktime(sample_period), HRTIMER_MODE_REL_PINNED); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0202-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch b/kernel/patches-4.14.x-rt/0202-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch index 99e064212..83ff077f3 100644 --- a/kernel/patches-4.14.x-rt/0202-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch +++ b/kernel/patches-4.14.x-rt/0202-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch @@ -1,7 +1,7 @@ From 58fec41067dcdc269500b1dc6d8dfcf931c2d0b9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 27 Mar 2018 15:58:16 +0200 -Subject: [PATCH 202/437] alarmtimer: Prevent live lock in alarm_cancel() +Subject: [PATCH 202/450] 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 fa5de5e8de61..6020ee66e517 100644 } EXPORT_SYMBOL_GPL(alarm_cancel); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0203-posix-timers-user-proper-timer-while-waiting-for-ala.patch b/kernel/patches-4.14.x-rt/0203-posix-timers-user-proper-timer-while-waiting-for-ala.patch index fac23a387..2afa48a9b 100644 --- a/kernel/patches-4.14.x-rt/0203-posix-timers-user-proper-timer-while-waiting-for-ala.patch +++ b/kernel/patches-4.14.x-rt/0203-posix-timers-user-proper-timer-while-waiting-for-ala.patch @@ -1,7 +1,7 @@ From 3b2696c2db2ea687ecb4572ff3362c03146b4288 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 10:45:40 +0200 -Subject: [PATCH 203/437] posix-timers: user proper timer while waiting for +Subject: [PATCH 203/450] 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 27186326723f..5cf8bf8eea89 100644 { return hrtimer_try_to_cancel(&timr->it.real.timer); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0204-posix-timers-move-the-rcu-head-out-of-the-union.patch b/kernel/patches-4.14.x-rt/0204-posix-timers-move-the-rcu-head-out-of-the-union.patch index eabd72719..48c27611f 100644 --- a/kernel/patches-4.14.x-rt/0204-posix-timers-move-the-rcu-head-out-of-the-union.patch +++ b/kernel/patches-4.14.x-rt/0204-posix-timers-move-the-rcu-head-out-of-the-union.patch @@ -1,7 +1,7 @@ From 9e9f595ba6639148f6d6c971f6c7cf65eb9d5c66 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 11:15:19 +0200 -Subject: [PATCH 204/437] posix-timers: move the rcu head out of the union +Subject: [PATCH 204/450] 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 5cf8bf8eea89..5a59538f3d16 100644 static int common_timer_create(struct k_itimer *new_timer) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0205-hrtimer-Move-schedule_work-call-to-helper-thread.patch b/kernel/patches-4.14.x-rt/0205-hrtimer-Move-schedule_work-call-to-helper-thread.patch index a5bdd7e6a..cc9191474 100644 --- a/kernel/patches-4.14.x-rt/0205-hrtimer-Move-schedule_work-call-to-helper-thread.patch +++ b/kernel/patches-4.14.x-rt/0205-hrtimer-Move-schedule_work-call-to-helper-thread.patch @@ -1,7 +1,7 @@ From 568b9c5ae7869762a8542d01cc003747610ac928 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Mon, 16 Sep 2013 14:09:19 -0700 -Subject: [PATCH 205/437] hrtimer: Move schedule_work call to helper thread +Subject: [PATCH 205/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0206-timer-fd-Prevent-live-lock.patch b/kernel/patches-4.14.x-rt/0206-timer-fd-Prevent-live-lock.patch index 7dc1d9426..a86e56d78 100644 --- a/kernel/patches-4.14.x-rt/0206-timer-fd-Prevent-live-lock.patch +++ b/kernel/patches-4.14.x-rt/0206-timer-fd-Prevent-live-lock.patch @@ -1,7 +1,7 @@ From 08baa369c0a7447cd14946c04f46810bdb301d27 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 25 Jan 2012 11:08:40 +0100 -Subject: [PATCH 206/437] timer-fd: Prevent live lock +Subject: [PATCH 206/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0207-posix-timers-Thread-posix-cpu-timers-on-rt.patch b/kernel/patches-4.14.x-rt/0207-posix-timers-Thread-posix-cpu-timers-on-rt.patch index 7101081d5..a4a048a3d 100644 --- a/kernel/patches-4.14.x-rt/0207-posix-timers-Thread-posix-cpu-timers-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0207-posix-timers-Thread-posix-cpu-timers-on-rt.patch @@ -1,7 +1,7 @@ From 4df2f4bb9dd44886b2c0e3687873500886f721fd Mon Sep 17 00:00:00 2001 From: John Stultz Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 207/437] posix-timers: Thread posix-cpu-timers on -rt +Subject: [PATCH 207/450] 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 2da660d53a4b..c7b7d047d12e 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0208-sched-Move-task_struct-cleanup-to-RCU.patch b/kernel/patches-4.14.x-rt/0208-sched-Move-task_struct-cleanup-to-RCU.patch index f2eae0ac4..a9b5cb37a 100644 --- a/kernel/patches-4.14.x-rt/0208-sched-Move-task_struct-cleanup-to-RCU.patch +++ b/kernel/patches-4.14.x-rt/0208-sched-Move-task_struct-cleanup-to-RCU.patch @@ -1,7 +1,7 @@ From 4e0c0cf0c61f3c059b8836923edda1afca0e46e1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 May 2011 16:59:16 +0200 -Subject: [PATCH 208/437] sched: Move task_struct cleanup to RCU +Subject: [PATCH 208/450] 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. @@ -91,5 +91,5 @@ index d7f20bdbb465..677d17d7efb5 100644 void __init __weak arch_task_cache_init(void) { } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0209-sched-Limit-the-number-of-task-migrations-per-batch.patch b/kernel/patches-4.14.x-rt/0209-sched-Limit-the-number-of-task-migrations-per-batch.patch index 648d43c6f..41febbf31 100644 --- a/kernel/patches-4.14.x-rt/0209-sched-Limit-the-number-of-task-migrations-per-batch.patch +++ b/kernel/patches-4.14.x-rt/0209-sched-Limit-the-number-of-task-migrations-per-batch.patch @@ -1,7 +1,7 @@ From 6ce72272f2af8f6056b5cdd5fe70ab000cdb2f37 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:12:51 +0200 -Subject: [PATCH 209/437] sched: Limit the number of task migrations per batch +Subject: [PATCH 209/450] 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. @@ -28,5 +28,5 @@ index 9526621d97e3..1608faf5d08e 100644 /* * period over which we average the RT time consumption, measured -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0210-sched-Move-mmdrop-to-RCU-on-RT.patch b/kernel/patches-4.14.x-rt/0210-sched-Move-mmdrop-to-RCU-on-RT.patch index 02a30beac..5754c4236 100644 --- a/kernel/patches-4.14.x-rt/0210-sched-Move-mmdrop-to-RCU-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0210-sched-Move-mmdrop-to-RCU-on-RT.patch @@ -1,7 +1,7 @@ From 41156d65040c20950b51b8f9c52403188f998187 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:20:33 +0200 -Subject: [PATCH 210/437] sched: Move mmdrop to RCU on RT +Subject: [PATCH 210/450] 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. @@ -135,5 +135,5 @@ index 1608faf5d08e..0d854e75e16a 100644 } #endif -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0211-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch b/kernel/patches-4.14.x-rt/0211-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch index 7fd0a075f..f824ed5f6 100644 --- a/kernel/patches-4.14.x-rt/0211-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch +++ b/kernel/patches-4.14.x-rt/0211-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch @@ -1,7 +1,7 @@ From 5a4b7b821bd9bfa7af1f44dc2956655be2c0cfa6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Nov 2016 19:31:08 +0100 -Subject: [PATCH 211/437] kernel/sched: move stack + kprobe clean up to +Subject: [PATCH 211/450] 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 @@ -64,5 +64,5 @@ index 0d854e75e16a..8bdfb648b900 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0212-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch b/kernel/patches-4.14.x-rt/0212-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch index 0d1645168..afb6f7bd1 100644 --- a/kernel/patches-4.14.x-rt/0212-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch +++ b/kernel/patches-4.14.x-rt/0212-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch @@ -1,7 +1,7 @@ From 38d8f2b7ebebc2376194de04e69fc39cc8a505f4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 25 Jun 2011 09:21:04 +0200 -Subject: [PATCH 212/437] sched: Add saved_state for tasks blocked on sleeping +Subject: [PATCH 212/450] sched: Add saved_state for tasks blocked on sleeping locks Spinlocks are state preserving in !RT. RT changes the state when a @@ -101,5 +101,5 @@ index b3ba6e5e99f2..bd6363799cf6 100644 /* * To aid in avoiding the subversion of "niceness" due to uneven distribution -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0213-sched-Prevent-task-state-corruption-by-spurious-lock.patch b/kernel/patches-4.14.x-rt/0213-sched-Prevent-task-state-corruption-by-spurious-lock.patch index f989d8b0a..d51a82a04 100644 --- a/kernel/patches-4.14.x-rt/0213-sched-Prevent-task-state-corruption-by-spurious-lock.patch +++ b/kernel/patches-4.14.x-rt/0213-sched-Prevent-task-state-corruption-by-spurious-lock.patch @@ -1,7 +1,7 @@ From 70ff14704b10db1b8ef9f6534442d885be1a16aa Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Jun 2017 14:20:37 +0200 -Subject: [PATCH 213/437] sched: Prevent task state corruption by spurious lock +Subject: [PATCH 213/450] sched: Prevent task state corruption by spurious lock wakeup Mathias and others reported GDB failures on RT. @@ -80,5 +80,5 @@ index d5210a7dae70..840f5fe684d5 100644 int wake_up_state(struct task_struct *p, unsigned int state) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0214-sched-Remove-TASK_ALL.patch b/kernel/patches-4.14.x-rt/0214-sched-Remove-TASK_ALL.patch index f6a1f1a31..385aefd82 100644 --- a/kernel/patches-4.14.x-rt/0214-sched-Remove-TASK_ALL.patch +++ b/kernel/patches-4.14.x-rt/0214-sched-Remove-TASK_ALL.patch @@ -1,7 +1,7 @@ From a51f5adc29f1df6843454d69065b53400f945989 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 7 Jun 2017 10:12:45 +0200 -Subject: [PATCH 214/437] sched: Remove TASK_ALL +Subject: [PATCH 214/450] sched: Remove TASK_ALL It's unused: @@ -31,5 +31,5 @@ index 962c3e6e8979..45c1bc53321f 100644 /* get_task_state(): */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0215-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch b/kernel/patches-4.14.x-rt/0215-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch index 0db937a5f..3dce6e77a 100644 --- a/kernel/patches-4.14.x-rt/0215-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch +++ b/kernel/patches-4.14.x-rt/0215-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch @@ -1,7 +1,7 @@ From 90071a4339a4dbe5d353b164ae986152146c4c45 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 7 Jun 2011 09:19:06 +0200 -Subject: [PATCH 215/437] sched: Do not account rcu_preempt_depth on RT in +Subject: [PATCH 215/450] 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 @@ -52,5 +52,5 @@ index 840f5fe684d5..bcb5ea038266 100644 return (nested == preempt_offset); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0216-sched-Take-RT-softirq-semantics-into-account-in-cond.patch b/kernel/patches-4.14.x-rt/0216-sched-Take-RT-softirq-semantics-into-account-in-cond.patch index 980359f02..081304004 100644 --- a/kernel/patches-4.14.x-rt/0216-sched-Take-RT-softirq-semantics-into-account-in-cond.patch +++ b/kernel/patches-4.14.x-rt/0216-sched-Take-RT-softirq-semantics-into-account-in-cond.patch @@ -1,7 +1,7 @@ From 3f298647538a3d62d66db495dc930dc92db762ff Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Jul 2011 09:56:44 +0200 -Subject: [PATCH 216/437] sched: Take RT softirq semantics into account in +Subject: [PATCH 216/450] sched: Take RT softirq semantics into account in cond_resched() The softirq semantics work different on -RT. There is no SOFTIRQ_MASK in @@ -57,5 +57,5 @@ index bcb5ea038266..148e7627c595 100644 /** * yield - yield the current processor to other threads. -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0217-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch b/kernel/patches-4.14.x-rt/0217-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch index 765a2d487..b3c0e5aee 100644 --- a/kernel/patches-4.14.x-rt/0217-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch +++ b/kernel/patches-4.14.x-rt/0217-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch @@ -1,7 +1,7 @@ From d52d23eebda645e4aa9676623b93eb933d00237a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:51:33 +0200 -Subject: [PATCH 217/437] sched: Use the proper LOCK_OFFSET for cond_resched() +Subject: [PATCH 217/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0218-sched-Disable-TTWU_QUEUE-on-RT.patch b/kernel/patches-4.14.x-rt/0218-sched-Disable-TTWU_QUEUE-on-RT.patch index 45d5734de..434210836 100644 --- a/kernel/patches-4.14.x-rt/0218-sched-Disable-TTWU_QUEUE-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0218-sched-Disable-TTWU_QUEUE-on-RT.patch @@ -1,7 +1,7 @@ From 3b52a98bf8264a3eb8b28a035de27bc50ef58ea8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Sep 2011 16:42:35 +0200 -Subject: [PATCH 218/437] sched: Disable TTWU_QUEUE on RT +Subject: [PATCH 218/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0219-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/kernel/patches-4.14.x-rt/0219-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch index 927e38d52..0cf66ed64 100644 --- a/kernel/patches-4.14.x-rt/0219-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0219-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch @@ -1,7 +1,7 @@ From 15e41b750773b99b8ffb0d3c605f122375dbbdf8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:03:52 +0200 -Subject: [PATCH 219/437] sched: Disable CONFIG_RT_GROUP_SCHED on RT +Subject: [PATCH 219/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0220-sched-ttwu-Return-success-when-only-changing-the-sav.patch b/kernel/patches-4.14.x-rt/0220-sched-ttwu-Return-success-when-only-changing-the-sav.patch index f61f622ac..a00068e4a 100644 --- a/kernel/patches-4.14.x-rt/0220-sched-ttwu-Return-success-when-only-changing-the-sav.patch +++ b/kernel/patches-4.14.x-rt/0220-sched-ttwu-Return-success-when-only-changing-the-sav.patch @@ -1,7 +1,7 @@ From 88877013a5214ab58121c0adb371e0c2ab1b5067 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Dec 2011 21:42:19 +0100 -Subject: [PATCH 220/437] sched: ttwu: Return success when only changing the +Subject: [PATCH 220/450] 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 @@ -36,5 +36,5 @@ index 148e7627c595..75c7bd31cba4 100644 goto out; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0221-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/kernel/patches-4.14.x-rt/0221-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch index d92a7222d..c37ebce23 100644 --- a/kernel/patches-4.14.x-rt/0221-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch +++ b/kernel/patches-4.14.x-rt/0221-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch @@ -1,7 +1,7 @@ From 64da8c818609427bd7dca604fde6217f536a8509 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 18 Mar 2013 15:12:49 -0400 -Subject: [PATCH 221/437] sched/workqueue: Only wake up idle workers if not +Subject: [PATCH 221/450] 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 @@ -40,5 +40,5 @@ index 75c7bd31cba4..82da2b9facc9 100644 to_wakeup = wq_worker_sleeping(prev); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0222-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/kernel/patches-4.14.x-rt/0222-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch index cf4ed4188..4a64606cd 100644 --- a/kernel/patches-4.14.x-rt/0222-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch +++ b/kernel/patches-4.14.x-rt/0222-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch @@ -1,7 +1,7 @@ From 683b12cfb28b91fbb49cddbdbb8c1962d17cd855 Mon Sep 17 00:00:00 2001 From: Daniel Bristot de Oliveira Date: Mon, 26 Jun 2017 17:07:15 +0200 -Subject: [PATCH 222/437] rt: Increase/decrease the nr of migratory tasks when +Subject: [PATCH 222/450] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration There is a problem in the migrate_disable()/enable() implementation @@ -157,5 +157,5 @@ index 82da2b9facc9..b5738acc4bf1 100644 if (p->migrate_disable_update) { struct rq *rq; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0223-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/kernel/patches-4.14.x-rt/0223-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch index b6445a668..0c010acb1 100644 --- a/kernel/patches-4.14.x-rt/0223-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch +++ b/kernel/patches-4.14.x-rt/0223-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch @@ -1,7 +1,7 @@ From 0dfbad209a41126dd1b51bb818e37e0878a9f2c9 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:27 -0500 -Subject: [PATCH 223/437] stop_machine: convert stop_machine_run() to +Subject: [PATCH 223/450] stop_machine: convert stop_machine_run() to PREEMPT_RT Instead of playing with non-preemption, introduce explicit @@ -37,5 +37,5 @@ index 067cb83f37ea..f8d1ae9ed7be 100644 preempt_count_inc(); ret = fn(arg); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0224-stop_machine-Use-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0224-stop_machine-Use-raw-spinlocks.patch index 7ee4704cd..46f5d3828 100644 --- a/kernel/patches-4.14.x-rt/0224-stop_machine-Use-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0224-stop_machine-Use-raw-spinlocks.patch @@ -1,7 +1,7 @@ From eff70631cf55bb22b788ac7446b8e9613fbe392a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 11:01:51 +0200 -Subject: [PATCH 224/437] stop_machine: Use raw spinlocks +Subject: [PATCH 224/450] stop_machine: Use raw spinlocks Use raw-locks in stomp_machine() to allow locking in irq-off regions. @@ -32,5 +32,5 @@ index f8d1ae9ed7be..56f2f2e01229 100644 /* cpu stop callbacks must not sleep, make in_atomic() == T */ preempt_count_inc(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0225-hotplug-Lightweight-get-online-cpus.patch b/kernel/patches-4.14.x-rt/0225-hotplug-Lightweight-get-online-cpus.patch index 086604923..9e384be90 100644 --- a/kernel/patches-4.14.x-rt/0225-hotplug-Lightweight-get-online-cpus.patch +++ b/kernel/patches-4.14.x-rt/0225-hotplug-Lightweight-get-online-cpus.patch @@ -1,7 +1,7 @@ From bbeeb3d6b7c54f8bc6c3b96adcc16444961e23e1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 225/437] hotplug: Lightweight get online cpus +Subject: [PATCH 225/450] 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 @@ -96,5 +96,5 @@ index b5738acc4bf1..e4c9a2f745cf 100644 } EXPORT_SYMBOL(migrate_enable); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0226-trace-Add-migrate-disabled-counter-to-tracing-output.patch b/kernel/patches-4.14.x-rt/0226-trace-Add-migrate-disabled-counter-to-tracing-output.patch index 272ced0d9..d568d076f 100644 --- a/kernel/patches-4.14.x-rt/0226-trace-Add-migrate-disabled-counter-to-tracing-output.patch +++ b/kernel/patches-4.14.x-rt/0226-trace-Add-migrate-disabled-counter-to-tracing-output.patch @@ -1,7 +1,7 @@ From 5590a85f742ef9adfea2559e265bf36d04576de3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:56:42 +0200 -Subject: [PATCH 226/437] trace: Add migrate-disabled counter to tracing output +Subject: [PATCH 226/450] trace: Add migrate-disabled counter to tracing output Signed-off-by: Thomas Gleixner --- @@ -81,5 +81,5 @@ index 4500b00e4e36..dfbe55f3e6ac 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0227-lockdep-Make-it-RT-aware.patch b/kernel/patches-4.14.x-rt/0227-lockdep-Make-it-RT-aware.patch index 2da156310..c5705cb51 100644 --- a/kernel/patches-4.14.x-rt/0227-lockdep-Make-it-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0227-lockdep-Make-it-RT-aware.patch @@ -1,7 +1,7 @@ From 67472f6754cc2e0cafb055c2a43c13aef8d7996e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 -Subject: [PATCH 227/437] lockdep: Make it RT aware +Subject: [PATCH 227/450] lockdep: Make it RT aware teach lockdep that we don't really do softirqs on -RT. @@ -78,5 +78,5 @@ index bf694c709b96..8012378b7445 100644 if (!debug_locks) print_irqtrace_events(current); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0228-lockdep-disable-self-test.patch b/kernel/patches-4.14.x-rt/0228-lockdep-disable-self-test.patch index c32c18733..cd7b7dd5f 100644 --- a/kernel/patches-4.14.x-rt/0228-lockdep-disable-self-test.patch +++ b/kernel/patches-4.14.x-rt/0228-lockdep-disable-self-test.patch @@ -1,7 +1,7 @@ From c7b2d4d71641197bea5498f2264bfaf55666cda2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 17 Oct 2017 16:36:18 +0200 -Subject: [PATCH 228/437] lockdep: disable self-test +Subject: [PATCH 228/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0229-locking-Disable-spin-on-owner-for-RT.patch b/kernel/patches-4.14.x-rt/0229-locking-Disable-spin-on-owner-for-RT.patch index a555a2118..0fec6d5c9 100644 --- a/kernel/patches-4.14.x-rt/0229-locking-Disable-spin-on-owner-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0229-locking-Disable-spin-on-owner-for-RT.patch @@ -1,7 +1,7 @@ From 53c2268d31ab617d8f928e8133170637b0769ca6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:51:45 +0200 -Subject: [PATCH 229/437] locking: Disable spin on owner for RT +Subject: [PATCH 229/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0230-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/kernel/patches-4.14.x-rt/0230-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch index 37b81c2fe..0081a0501 100644 --- a/kernel/patches-4.14.x-rt/0230-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch +++ b/kernel/patches-4.14.x-rt/0230-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch @@ -1,7 +1,7 @@ From b0398bec6b370691cff81570250a931a1516dc18 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 29 Nov 2011 20:18:22 -0500 -Subject: [PATCH 230/437] tasklet: Prevent tasklets from going into infinite +Subject: [PATCH 230/450] 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 36092932c532..7f8629d8ee57 100644 { return local_softirq_pending(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0231-softirq-Check-preemption-after-reenabling-interrupts.patch b/kernel/patches-4.14.x-rt/0231-softirq-Check-preemption-after-reenabling-interrupts.patch index f5daf54c2..ef478aed7 100644 --- a/kernel/patches-4.14.x-rt/0231-softirq-Check-preemption-after-reenabling-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0231-softirq-Check-preemption-after-reenabling-interrupts.patch @@ -1,7 +1,7 @@ From 520d969b45300be63d4bb5af9e697edbadfb50f6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 13 Nov 2011 17:17:09 +0100 -Subject: [PATCH 231/437] softirq: Check preemption after reenabling interrupts +Subject: [PATCH 231/450] 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 4337450a5fdb..49812d1dba8e 100644 #ifdef CONFIG_RPS remsd = oldsd->rps_ipi_list; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0232-softirq-Disable-softirq-stacks-for-RT.patch b/kernel/patches-4.14.x-rt/0232-softirq-Disable-softirq-stacks-for-RT.patch index aad949599..5d4efdf40 100644 --- a/kernel/patches-4.14.x-rt/0232-softirq-Disable-softirq-stacks-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0232-softirq-Disable-softirq-stacks-for-RT.patch @@ -1,7 +1,7 @@ From dc3447f8dfafd632399cef0d395385b1d020b205 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 13:59:17 +0200 -Subject: [PATCH 232/437] softirq: Disable softirq stacks for RT +Subject: [PATCH 232/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0233-softirq-Split-softirq-locks.patch b/kernel/patches-4.14.x-rt/0233-softirq-Split-softirq-locks.patch index d4348e47a..be95c4fbb 100644 --- a/kernel/patches-4.14.x-rt/0233-softirq-Split-softirq-locks.patch +++ b/kernel/patches-4.14.x-rt/0233-softirq-Split-softirq-locks.patch @@ -1,7 +1,7 @@ From caa51304cafba2c42f71347845f0d7f3aa7f32a7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 4 Oct 2012 14:20:47 +0100 -Subject: [PATCH 233/437] softirq: Split softirq locks +Subject: [PATCH 233/450] 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 49812d1dba8e..8972786d17de 100644 return err; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0234-kernel-softirq-unlock-with-irqs-on.patch b/kernel/patches-4.14.x-rt/0234-kernel-softirq-unlock-with-irqs-on.patch index 098b96b76..7b5999afd 100644 --- a/kernel/patches-4.14.x-rt/0234-kernel-softirq-unlock-with-irqs-on.patch +++ b/kernel/patches-4.14.x-rt/0234-kernel-softirq-unlock-with-irqs-on.patch @@ -1,7 +1,7 @@ From 2e7e67779ed8539f0e92fb0db4811ee7ba244af0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 9 Feb 2016 18:17:18 +0100 -Subject: [PATCH 234/437] kernel: softirq: unlock with irqs on +Subject: [PATCH 234/450] 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 92fbc06bce6f..9b56981ccc8d 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0235-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/kernel/patches-4.14.x-rt/0235-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch index e328b79a2..5658439ba 100644 --- a/kernel/patches-4.14.x-rt/0235-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch +++ b/kernel/patches-4.14.x-rt/0235-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch @@ -1,7 +1,7 @@ From c06fca93b5e4b5e39b98319fe5febfe78ab7b5a0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 Jan 2012 13:01:27 +0100 -Subject: [PATCH 235/437] genirq: Allow disabling of softirq processing in irq +Subject: [PATCH 235/450] 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 9b56981ccc8d..5650395b8d6a 100644 { return current->flags & PF_IN_SOFTIRQ; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0236-softirq-split-timer-softirqs-out-of-ksoftirqd.patch b/kernel/patches-4.14.x-rt/0236-softirq-split-timer-softirqs-out-of-ksoftirqd.patch index e83e5c672..9d4db5313 100644 --- a/kernel/patches-4.14.x-rt/0236-softirq-split-timer-softirqs-out-of-ksoftirqd.patch +++ b/kernel/patches-4.14.x-rt/0236-softirq-split-timer-softirqs-out-of-ksoftirqd.patch @@ -1,7 +1,7 @@ From 6683d5da8223ddf11782866fce26ff38e56da578 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 16:34:17 +0100 -Subject: [PATCH 236/437] softirq: split timer softirqs out of ksoftirqd +Subject: [PATCH 236/450] 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 5650395b8d6a..ff8471aa1c0b 100644 } early_initcall(spawn_ksoftirqd); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0237-softirq-wake-the-timer-softirq-if-needed.patch b/kernel/patches-4.14.x-rt/0237-softirq-wake-the-timer-softirq-if-needed.patch index 3c0c7b502..c293c3716 100644 --- a/kernel/patches-4.14.x-rt/0237-softirq-wake-the-timer-softirq-if-needed.patch +++ b/kernel/patches-4.14.x-rt/0237-softirq-wake-the-timer-softirq-if-needed.patch @@ -1,7 +1,7 @@ From 9529533714b8e9522217aec0996f288d07eb6180 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 20 Jan 2017 18:10:20 +0100 -Subject: [PATCH 237/437] softirq: wake the timer softirq if needed +Subject: [PATCH 237/450] 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 ff8471aa1c0b..da87715b10be 100644 local_irq_save(flags); if (__this_cpu_read(ksoftirqd) && -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0238-rtmutex-trylock-is-okay-on-RT.patch b/kernel/patches-4.14.x-rt/0238-rtmutex-trylock-is-okay-on-RT.patch index ba43dbd24..514837772 100644 --- a/kernel/patches-4.14.x-rt/0238-rtmutex-trylock-is-okay-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0238-rtmutex-trylock-is-okay-on-RT.patch @@ -1,7 +1,7 @@ From 01a71c577984ae0f1ef7e3289cc64f44385f32bf Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 2 Dec 2015 11:34:07 +0100 -Subject: [PATCH 238/437] rtmutex: trylock is okay on -RT +Subject: [PATCH 238/450] 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 a8119deef92e..205a0e2ca730 100644 ret = rt_mutex_fasttrylock(lock, rt_mutex_slowtrylock); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0239-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch b/kernel/patches-4.14.x-rt/0239-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch index 6c593f4f8..ba675e80f 100644 --- a/kernel/patches-4.14.x-rt/0239-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch +++ b/kernel/patches-4.14.x-rt/0239-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch @@ -1,7 +1,7 @@ From 16af2853f220161370f6b388994987940ae8d544 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 15 Sep 2016 10:51:27 +0200 -Subject: [PATCH 239/437] fs/nfs: turn rmdir_sem into a semaphore +Subject: [PATCH 239/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0240-rtmutex-Handle-the-various-new-futex-race-conditions.patch b/kernel/patches-4.14.x-rt/0240-rtmutex-Handle-the-various-new-futex-race-conditions.patch index 49d4e7ca8..836e9f5b6 100644 --- a/kernel/patches-4.14.x-rt/0240-rtmutex-Handle-the-various-new-futex-race-conditions.patch +++ b/kernel/patches-4.14.x-rt/0240-rtmutex-Handle-the-various-new-futex-race-conditions.patch @@ -1,7 +1,7 @@ From d1a3ef81abb1a72e4d70db2f6fd3691c2d679457 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:04:15 +0200 -Subject: [PATCH 240/437] rtmutex: Handle the various new futex race conditions +Subject: [PATCH 240/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0241-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/kernel/patches-4.14.x-rt/0241-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch index 091e8c2aa..d8c08486d 100644 --- a/kernel/patches-4.14.x-rt/0241-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch +++ b/kernel/patches-4.14.x-rt/0241-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch @@ -1,7 +1,7 @@ From 00ab1614b16480152f071b950a12b5bfd52e3a1f Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 241/437] futex: Fix bug on when a requeued RT task times out +Subject: [PATCH 241/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0242-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch b/kernel/patches-4.14.x-rt/0242-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch index b56970268..bc16a29fe 100644 --- a/kernel/patches-4.14.x-rt/0242-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch +++ b/kernel/patches-4.14.x-rt/0242-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch @@ -1,7 +1,7 @@ From f7935d72b84fab0608c5951271acf243301f2729 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 7 Sep 2017 12:38:47 +0200 -Subject: [PATCH 242/437] locking/rtmutex: don't drop the wait_lock twice +Subject: [PATCH 242/450] 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 ea8dd82835c9..935adbbe08f1 100644 } task->pi_blocked_on = PI_REQUEUE_INPROGRESS; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0243-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch b/kernel/patches-4.14.x-rt/0243-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch index d9752166f..6377ace4a 100644 --- a/kernel/patches-4.14.x-rt/0243-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch +++ b/kernel/patches-4.14.x-rt/0243-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch @@ -1,7 +1,7 @@ From c2eb8f9ce166e98cf66975faa274895220a19d95 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 1 Mar 2013 11:17:42 +0100 -Subject: [PATCH 243/437] futex: Ensure lock/unlock symetry versus pi_lock and +Subject: [PATCH 243/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0244-pid.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0244-pid.h-include-atomic.h.patch index 05e7d18bc..fe686db35 100644 --- a/kernel/patches-4.14.x-rt/0244-pid.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0244-pid.h-include-atomic.h.patch @@ -1,7 +1,7 @@ From 167e150e3cc71b6a510c88fee049096c843ec415 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Tue, 21 Jul 2015 19:43:56 +0300 -Subject: [PATCH 244/437] pid.h: include atomic.h +Subject: [PATCH 244/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0245-arm-include-definition-for-cpumask_t.patch b/kernel/patches-4.14.x-rt/0245-arm-include-definition-for-cpumask_t.patch index a0af1d53b..96932e4cd 100644 --- a/kernel/patches-4.14.x-rt/0245-arm-include-definition-for-cpumask_t.patch +++ b/kernel/patches-4.14.x-rt/0245-arm-include-definition-for-cpumask_t.patch @@ -1,7 +1,7 @@ From 79365b011a093dfb4e2b3c27764bac5dc522dd97 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Dec 2016 17:28:33 +0100 -Subject: [PATCH 245/437] arm: include definition for cpumask_t +Subject: [PATCH 245/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0246-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0246-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch index 783aaa59c..ddea534c0 100644 --- a/kernel/patches-4.14.x-rt/0246-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0246-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch @@ -1,7 +1,7 @@ From b3539c486f64958c3530a286e06202850398caf1 Mon Sep 17 00:00:00 2001 From: "Wolfgang M. Reimer" Date: Tue, 21 Jul 2015 16:20:07 +0200 -Subject: [PATCH 246/437] locking: locktorture: Do NOT include rwlock.h +Subject: [PATCH 246/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0247-rtmutex-Add-rtmutex_lock_killable.patch b/kernel/patches-4.14.x-rt/0247-rtmutex-Add-rtmutex_lock_killable.patch index 9bdfef87d..3ddaf5ab9 100644 --- a/kernel/patches-4.14.x-rt/0247-rtmutex-Add-rtmutex_lock_killable.patch +++ b/kernel/patches-4.14.x-rt/0247-rtmutex-Add-rtmutex_lock_killable.patch @@ -1,7 +1,7 @@ From da8f518ac576fd0130fccdad0517bc0f228fddd7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 9 Jun 2011 11:43:52 +0200 -Subject: [PATCH 247/437] rtmutex: Add rtmutex_lock_killable() +Subject: [PATCH 247/450] 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 935adbbe08f1..fb6bb56ac33d 100644 * rt_mutex_timed_lock - lock a rt_mutex interruptible * the timeout structure is provided -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0248-rtmutex-Make-lock_killable-work.patch b/kernel/patches-4.14.x-rt/0248-rtmutex-Make-lock_killable-work.patch index 0dd5d1a6d..336a890c2 100644 --- a/kernel/patches-4.14.x-rt/0248-rtmutex-Make-lock_killable-work.patch +++ b/kernel/patches-4.14.x-rt/0248-rtmutex-Make-lock_killable-work.patch @@ -1,7 +1,7 @@ From 33c51e680680205d86caa10e4283a3982df4d43c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 Apr 2017 12:50:59 +0200 -Subject: [PATCH 248/437] rtmutex: Make lock_killable work +Subject: [PATCH 248/450] 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 fb6bb56ac33d..5f2b7609693f 100644 raw_spin_unlock_irq(&lock->wait_lock); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0249-spinlock-Split-the-lock-types-header.patch b/kernel/patches-4.14.x-rt/0249-spinlock-Split-the-lock-types-header.patch index 624e97088..98ae47716 100644 --- a/kernel/patches-4.14.x-rt/0249-spinlock-Split-the-lock-types-header.patch +++ b/kernel/patches-4.14.x-rt/0249-spinlock-Split-the-lock-types-header.patch @@ -1,7 +1,7 @@ From f9c80a2e865e12db3fd0bb30d5338efb22a4cbe7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:34:01 +0200 -Subject: [PATCH 249/437] spinlock: Split the lock types header +Subject: [PATCH 249/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0250-rtmutex-Avoid-include-hell.patch b/kernel/patches-4.14.x-rt/0250-rtmutex-Avoid-include-hell.patch index 5dc33d813..3edeaac06 100644 --- a/kernel/patches-4.14.x-rt/0250-rtmutex-Avoid-include-hell.patch +++ b/kernel/patches-4.14.x-rt/0250-rtmutex-Avoid-include-hell.patch @@ -1,7 +1,7 @@ From eb8c7a8a2dc15dd4c8783fda5340857dea64c171 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:06:39 +0200 -Subject: [PATCH 250/437] rtmutex: Avoid include hell +Subject: [PATCH 250/450] 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 81ece6a8291a..a355289b1fa1 100644 extern int max_lock_depth; /* for sysctl */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0251-rbtree-don-t-include-the-rcu-header.patch b/kernel/patches-4.14.x-rt/0251-rbtree-don-t-include-the-rcu-header.patch index 4a6454cc2..d25b07b00 100644 --- a/kernel/patches-4.14.x-rt/0251-rbtree-don-t-include-the-rcu-header.patch +++ b/kernel/patches-4.14.x-rt/0251-rbtree-don-t-include-the-rcu-header.patch @@ -1,7 +1,7 @@ From 9fdfae1b4d52c2db110dd6c8558833d7417b1e74 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:46:31 +0200 -Subject: [PATCH 251/437] rbtree: don't include the rcu header +Subject: [PATCH 251/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0252-rtmutex-Provide-rt_mutex_slowlock_locked.patch b/kernel/patches-4.14.x-rt/0252-rtmutex-Provide-rt_mutex_slowlock_locked.patch index a2bb3ef0c..db00912bf 100644 --- a/kernel/patches-4.14.x-rt/0252-rtmutex-Provide-rt_mutex_slowlock_locked.patch +++ b/kernel/patches-4.14.x-rt/0252-rtmutex-Provide-rt_mutex_slowlock_locked.patch @@ -1,7 +1,7 @@ From 4fbcfcdb022d94fcd81bd7139552627582c55ea9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:14:22 +0200 -Subject: [PATCH 252/437] rtmutex: Provide rt_mutex_slowlock_locked() +Subject: [PATCH 252/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0253-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/kernel/patches-4.14.x-rt/0253-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch index 6b2a07835..3a08f7f45 100644 --- a/kernel/patches-4.14.x-rt/0253-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch +++ b/kernel/patches-4.14.x-rt/0253-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch @@ -1,7 +1,7 @@ From d04ec21118f4a3360a274c5bbb3d7c39c9b09e63 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:36:39 +0200 -Subject: [PATCH 253/437] rtmutex: export lockdep-less version of rt_mutex's +Subject: [PATCH 253/450] rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock Required for lock implementation ontop of rtmutex. @@ -160,5 +160,5 @@ index 3b10fde6fd1f..ff17912f869c 100644 struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0254-rtmutex-add-sleeping-lock-implementation.patch b/kernel/patches-4.14.x-rt/0254-rtmutex-add-sleeping-lock-implementation.patch index b75054aee..bf35d53a9 100644 --- a/kernel/patches-4.14.x-rt/0254-rtmutex-add-sleeping-lock-implementation.patch +++ b/kernel/patches-4.14.x-rt/0254-rtmutex-add-sleeping-lock-implementation.patch @@ -1,7 +1,7 @@ From 64f504e34e6123f04c506325bbb231e879a03390 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:11:19 +0200 -Subject: [PATCH 254/437] rtmutex: add sleeping lock implementation +Subject: [PATCH 254/450] rtmutex: add sleeping lock implementation Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -1221,5 +1221,5 @@ index e4c9a2f745cf..b34002b6c91b 100644 } } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0255-rtmutex-add-mutex-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0255-rtmutex-add-mutex-implementation-based-on-rtmutex.patch index 08942e09b..0817d9c90 100644 --- a/kernel/patches-4.14.x-rt/0255-rtmutex-add-mutex-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0255-rtmutex-add-mutex-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ From 218562664afcb7a8d6439e04cbe06fb2e4a322f6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:17:03 +0200 -Subject: [PATCH 255/437] rtmutex: add mutex implementation based on rtmutex +Subject: [PATCH 255/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0256-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0256-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch index a857ce125..a1a2f14a7 100644 --- a/kernel/patches-4.14.x-rt/0256-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0256-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ From 4029732510cb67246a845e4c9d329eaf9c94b402 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:28:34 +0200 -Subject: [PATCH 256/437] rtmutex: add rwsem implementation based on rtmutex +Subject: [PATCH 256/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch index 983e3daa4..e2a57c267 100644 --- a/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0257-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ From 527069affcb77c76bae2cce18e9c67dfae4b25ea Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:18:06 +0200 -Subject: [PATCH 257/437] rtmutex: add rwlock implementation based on rtmutex +Subject: [PATCH 257/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0258-rtmutex-wire-up-RT-s-locking.patch b/kernel/patches-4.14.x-rt/0258-rtmutex-wire-up-RT-s-locking.patch index 507ecab34..95f869e73 100644 --- a/kernel/patches-4.14.x-rt/0258-rtmutex-wire-up-RT-s-locking.patch +++ b/kernel/patches-4.14.x-rt/0258-rtmutex-wire-up-RT-s-locking.patch @@ -1,7 +1,7 @@ From 126b97b0b8bf74ba9a4820d51fa1c16c01822c92 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:31:14 +0200 -Subject: [PATCH 258/437] rtmutex: wire up RT's locking +Subject: [PATCH 258/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0259-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch b/kernel/patches-4.14.x-rt/0259-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch index 97e2c71fc..f5db20753 100644 --- a/kernel/patches-4.14.x-rt/0259-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch +++ b/kernel/patches-4.14.x-rt/0259-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch @@ -1,7 +1,7 @@ From 283bca2faa9abc1a7f3cac94fb3e6c01da391bd5 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 17:34:38 +0200 -Subject: [PATCH 259/437] rtmutex: add ww_mutex addon for mutex-rt +Subject: [PATCH 259/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0260-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch b/kernel/patches-4.14.x-rt/0260-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch index b8b096d96..caf993218 100644 --- a/kernel/patches-4.14.x-rt/0260-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch +++ b/kernel/patches-4.14.x-rt/0260-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch @@ -1,7 +1,7 @@ From e4b3c20d9a121637bfd50ccb71fbcd2d0f2d8d24 Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Mon, 13 Nov 2017 12:56:53 -0500 -Subject: [PATCH 260/437] locking/rt-mutex: fix deadlock in device mapper / +Subject: [PATCH 260/450] 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 5772283ebd17..070cd952a3e8 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0261-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch b/kernel/patches-4.14.x-rt/0261-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch index 0fd503f38..cbe0f82c5 100644 --- a/kernel/patches-4.14.x-rt/0261-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch +++ b/kernel/patches-4.14.x-rt/0261-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch @@ -1,7 +1,7 @@ From 4baea1a4408f0fad249dc24ee1f8b3eafd793595 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 16 Nov 2017 16:48:48 +0100 -Subject: [PATCH 261/437] locking/rtmutex: re-init the wait_lock in +Subject: [PATCH 261/450] 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 070cd952a3e8..53b510d29a3a 100644 rt_mutex_set_owner(lock, proxy_owner); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0262-ptrace-fix-ptrace-vs-tasklist_lock-race.patch b/kernel/patches-4.14.x-rt/0262-ptrace-fix-ptrace-vs-tasklist_lock-race.patch index b8c59dd66..d72e73183 100644 --- a/kernel/patches-4.14.x-rt/0262-ptrace-fix-ptrace-vs-tasklist_lock-race.patch +++ b/kernel/patches-4.14.x-rt/0262-ptrace-fix-ptrace-vs-tasklist_lock-race.patch @@ -1,7 +1,7 @@ From 2c72b0a19b6f6dcfe4dacb756e598410054e718e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 18:21:04 +0200 -Subject: [PATCH 262/437] ptrace: fix ptrace vs tasklist_lock race +Subject: [PATCH 262/450] ptrace: fix ptrace vs tasklist_lock race As explained by Alexander Fyodorov : @@ -161,5 +161,5 @@ index b34002b6c91b..c9f8f0699885 100644 task_rq_unlock(rq, p, &rf); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0263-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch b/kernel/patches-4.14.x-rt/0263-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch index 0aeaadeab..297d73a2f 100644 --- a/kernel/patches-4.14.x-rt/0263-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch +++ b/kernel/patches-4.14.x-rt/0263-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch @@ -1,7 +1,7 @@ From 7bb975338a8f37db0135bb469a0763c0f9089327 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:25:13 +0200 -Subject: [PATCH 263/437] RCU: we need to skip that warning but only on +Subject: [PATCH 263/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0264-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch b/kernel/patches-4.14.x-rt/0264-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch index 032b6eff8..c8125dcc2 100644 --- a/kernel/patches-4.14.x-rt/0264-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch +++ b/kernel/patches-4.14.x-rt/0264-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch @@ -1,7 +1,7 @@ From 59f632ff902c1a2697e9c67e1cb4b496573ba883 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Feb 2018 11:45:13 +0100 -Subject: [PATCH 264/437] RCU: skip the "schedule() in RCU section" warning on +Subject: [PATCH 264/450] 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 @@ -128,5 +128,5 @@ index c9f8f0699885..44c22ff3e6fe 100644 +EXPORT_SYMBOL(migrate_enable); #endif -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0265-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch b/kernel/patches-4.14.x-rt/0265-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch index 8d579a137..4439eb05c 100644 --- a/kernel/patches-4.14.x-rt/0265-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch +++ b/kernel/patches-4.14.x-rt/0265-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch @@ -1,7 +1,7 @@ From 86a533488648a2de4592cd00516722d47696a9ef Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 17:40:42 +0200 -Subject: [PATCH 265/437] locking: don't check for __LINUX_SPINLOCK_TYPES_H on +Subject: [PATCH 265/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0266-rcu-Frob-softirq-test.patch b/kernel/patches-4.14.x-rt/0266-rcu-Frob-softirq-test.patch index 3cab2f714..fdcb18aa3 100644 --- a/kernel/patches-4.14.x-rt/0266-rcu-Frob-softirq-test.patch +++ b/kernel/patches-4.14.x-rt/0266-rcu-Frob-softirq-test.patch @@ -1,7 +1,7 @@ From b4d56c6e48e33fe18861b55552fd5375cbae4b67 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sat, 13 Aug 2011 00:23:17 +0200 -Subject: [PATCH 266/437] rcu: Frob softirq test +Subject: [PATCH 266/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0267-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/kernel/patches-4.14.x-rt/0267-rcu-Merge-RCU-bh-into-RCU-preempt.patch index 2b369f1ed..ce59b8f12 100644 --- a/kernel/patches-4.14.x-rt/0267-rcu-Merge-RCU-bh-into-RCU-preempt.patch +++ b/kernel/patches-4.14.x-rt/0267-rcu-Merge-RCU-bh-into-RCU-preempt.patch @@ -1,7 +1,7 @@ From 483b81787aca812ec731a33fbb0356a133c193f9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:59:38 -0700 -Subject: [PATCH 267/437] rcu: Merge RCU-bh into RCU-preempt +Subject: [PATCH 267/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0268-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/kernel/patches-4.14.x-rt/0268-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch index c63a1d87a..254be5ce0 100644 --- a/kernel/patches-4.14.x-rt/0268-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch +++ b/kernel/patches-4.14.x-rt/0268-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch @@ -1,7 +1,7 @@ From 12e204e731465f1517223971e9046dd70de7ae59 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 5 Oct 2011 11:45:18 -0700 -Subject: [PATCH 268/437] rcu: Make ksoftirqd do RCU quiescent states +Subject: [PATCH 268/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0269-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch b/kernel/patches-4.14.x-rt/0269-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch index 9774529d1..b922a5b55 100644 --- a/kernel/patches-4.14.x-rt/0269-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch +++ b/kernel/patches-4.14.x-rt/0269-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch @@ -1,7 +1,7 @@ From 2c097d3b0a94fedd8cf237efab16c710d120a642 Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Wed, 18 Dec 2013 17:51:49 +0800 -Subject: [PATCH 269/437] rcutree/rcu_bh_qs: Disable irq while calling +Subject: [PATCH 269/450] 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 5e991041f50a..f37d06ec5ee1 100644 #else void rcu_bh_qs(void) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0270-tty-serial-omap-Make-the-locking-RT-aware.patch b/kernel/patches-4.14.x-rt/0270-tty-serial-omap-Make-the-locking-RT-aware.patch index d59c8c3cd..f01261be0 100644 --- a/kernel/patches-4.14.x-rt/0270-tty-serial-omap-Make-the-locking-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0270-tty-serial-omap-Make-the-locking-RT-aware.patch @@ -1,7 +1,7 @@ From af1af66664f2b89686a49fdb5dc2d8cbc5022681 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 28 Jul 2011 13:32:57 +0200 -Subject: [PATCH 270/437] tty/serial/omap: Make the locking RT aware +Subject: [PATCH 270/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0271-tty-serial-pl011-Make-the-locking-work-on-RT.patch b/kernel/patches-4.14.x-rt/0271-tty-serial-pl011-Make-the-locking-work-on-RT.patch index 62f4ce88f..8b4ef9010 100644 --- a/kernel/patches-4.14.x-rt/0271-tty-serial-pl011-Make-the-locking-work-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0271-tty-serial-pl011-Make-the-locking-work-on-RT.patch @@ -1,7 +1,7 @@ From b3ec94145219700a0db30e5ac54e5eaa53911c93 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 8 Jan 2013 21:36:51 +0100 -Subject: [PATCH 271/437] tty/serial/pl011: Make the locking work on RT +Subject: [PATCH 271/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0272-rt-Improve-the-serial-console-PASS_LIMIT.patch b/kernel/patches-4.14.x-rt/0272-rt-Improve-the-serial-console-PASS_LIMIT.patch index 4a4a7937a..e8c661e02 100644 --- a/kernel/patches-4.14.x-rt/0272-rt-Improve-the-serial-console-PASS_LIMIT.patch +++ b/kernel/patches-4.14.x-rt/0272-rt-Improve-the-serial-console-PASS_LIMIT.patch @@ -1,7 +1,7 @@ From d6558a1e2a9ef9404d0612e3e266b7e173f28c2d Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 14 Dec 2011 13:05:54 +0100 -Subject: [PATCH 272/437] rt: Improve the serial console PASS_LIMIT +Subject: [PATCH 272/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0273-tty-serial-8250-don-t-take-the-trylock-during-oops.patch b/kernel/patches-4.14.x-rt/0273-tty-serial-8250-don-t-take-the-trylock-during-oops.patch index 5517b7ab2..195c8cb64 100644 --- a/kernel/patches-4.14.x-rt/0273-tty-serial-8250-don-t-take-the-trylock-during-oops.patch +++ b/kernel/patches-4.14.x-rt/0273-tty-serial-8250-don-t-take-the-trylock-during-oops.patch @@ -1,7 +1,7 @@ From 886def17e5e3d5ef96f1179e1ea15be0e89d80b0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Apr 2016 16:55:02 +0200 -Subject: [PATCH 273/437] tty: serial: 8250: don't take the trylock during oops +Subject: [PATCH 273/450] 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 ecf3d631bc09..c331434ce443 100644 spin_lock_irqsave(&port->lock, flags); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0274-locking-percpu-rwsem-Remove-preempt_disable-variants.patch b/kernel/patches-4.14.x-rt/0274-locking-percpu-rwsem-Remove-preempt_disable-variants.patch index b44c5a3b6..7bc185bee 100644 --- a/kernel/patches-4.14.x-rt/0274-locking-percpu-rwsem-Remove-preempt_disable-variants.patch +++ b/kernel/patches-4.14.x-rt/0274-locking-percpu-rwsem-Remove-preempt_disable-variants.patch @@ -1,7 +1,7 @@ From efbadaf7db20d954980f8a2382f23d24bc71d34b Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 23 Nov 2016 16:29:32 +0100 -Subject: [PATCH 274/437] locking/percpu-rwsem: Remove preempt_disable variants +Subject: [PATCH 274/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0275-fs-namespace-preemption-fix.patch b/kernel/patches-4.14.x-rt/0275-fs-namespace-preemption-fix.patch index c1f198e14..6e987a520 100644 --- a/kernel/patches-4.14.x-rt/0275-fs-namespace-preemption-fix.patch +++ b/kernel/patches-4.14.x-rt/0275-fs-namespace-preemption-fix.patch @@ -1,7 +1,7 @@ From 77899fdd6dfbc3f2a974498231ae7822a84d24d1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 19 Jul 2009 08:44:27 -0500 -Subject: [PATCH 275/437] fs: namespace preemption fix +Subject: [PATCH 275/450] 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 e9c13eedd739..47bfbb592a2c 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0276-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch b/kernel/patches-4.14.x-rt/0276-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch index 88809a9a2..bbf75ab51 100644 --- a/kernel/patches-4.14.x-rt/0276-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch +++ b/kernel/patches-4.14.x-rt/0276-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch @@ -1,7 +1,7 @@ From 5f2d9ad05796dd05af4d407521cb3e347d6f6e2b Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Tue, 15 May 2012 13:53:56 +0800 -Subject: [PATCH 276/437] mm: Protect activate_mm() by +Subject: [PATCH 276/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0277-block-Turn-off-warning-which-is-bogus-on-RT.patch b/kernel/patches-4.14.x-rt/0277-block-Turn-off-warning-which-is-bogus-on-RT.patch index 5703e049a..c8fb096a4 100644 --- a/kernel/patches-4.14.x-rt/0277-block-Turn-off-warning-which-is-bogus-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0277-block-Turn-off-warning-which-is-bogus-on-RT.patch @@ -1,7 +1,7 @@ From 2fc78f9f6ab3222710f63e11c01f7fcada05ea3a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jun 2011 17:05:09 +0200 -Subject: [PATCH 277/437] block: Turn off warning which is bogus on RT +Subject: [PATCH 277/450] block: Turn off warning which is bogus on RT On -RT the context is always with IRQs enabled. Ignore this warning on -RT. @@ -24,5 +24,5 @@ index 9e3521c4431a..b3edf248d148 100644 queue_flag_clear(QUEUE_FLAG_STOPPED, q); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0278-fs-ntfs-disable-interrupt-only-on-RT.patch b/kernel/patches-4.14.x-rt/0278-fs-ntfs-disable-interrupt-only-on-RT.patch index 827ce9831..aa0729194 100644 --- a/kernel/patches-4.14.x-rt/0278-fs-ntfs-disable-interrupt-only-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0278-fs-ntfs-disable-interrupt-only-on-RT.patch @@ -1,7 +1,7 @@ From 0d72351ed31f4b49b5cd01fd3c91eb3113c2fe23 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 3 Jul 2009 08:44:12 -0500 -Subject: [PATCH 278/437] fs: ntfs: disable interrupt only on !RT +Subject: [PATCH 278/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0279-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0279-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index 5b722db19..4594c8bc9 100644 --- a/kernel/patches-4.14.x-rt/0279-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0279-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ From 09a289609a3fdf987214160fc713bf5a412ab407 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 17 Feb 2014 17:30:03 +0100 -Subject: [PATCH 279/437] fs: jbd2: pull your plug when waiting for space +Subject: [PATCH 279/450] 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 fe4fe155b7fb..03f08a7ca5bc 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0280-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0280-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index 650d41a1e..08f97350b 100644 --- a/kernel/patches-4.14.x-rt/0280-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0280-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ From a732209c07fa86aedcfbb0c4d9591ecfb1712857 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Nov 2017 17:51:51 +0100 -Subject: [PATCH 280/437] Revert "fs: jbd2: pull your plug when waiting for +Subject: [PATCH 280/450] 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 03f08a7ca5bc..fe4fe155b7fb 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0281-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch b/kernel/patches-4.14.x-rt/0281-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch index 71d6b7793..2c3eb19ad 100644 --- a/kernel/patches-4.14.x-rt/0281-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch +++ b/kernel/patches-4.14.x-rt/0281-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch @@ -1,7 +1,7 @@ From dc1bd887cefe3fb7209f0cd93ae7070053bad798 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 12:32:34 +0200 -Subject: [PATCH 281/437] fs/dcache: bringt back explicit INIT_HLIST_BL_HEAD +Subject: [PATCH 281/450] 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 28b2e770bb69..f93b5570bc99 100644 /* SLAB cache for __getname() consumers */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0282-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch b/kernel/patches-4.14.x-rt/0282-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch index 065847be9..49243aed5 100644 --- a/kernel/patches-4.14.x-rt/0282-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch +++ b/kernel/patches-4.14.x-rt/0282-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch @@ -1,7 +1,7 @@ From a97e1866677bb396b2034a3ae3cd882234452caf Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Oct 2017 11:29:53 +0200 -Subject: [PATCH 282/437] fs/dcache: disable preemption on i_dir_seq's write +Subject: [PATCH 282/450] 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 @@ -127,5 +127,5 @@ index f6a577edec67..10cdd9dbbf84 100644 __u32 i_generation; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0283-x86-Convert-mce-timer-to-hrtimer.patch b/kernel/patches-4.14.x-rt/0283-x86-Convert-mce-timer-to-hrtimer.patch index 0a96e4f82..b8eaa5330 100644 --- a/kernel/patches-4.14.x-rt/0283-x86-Convert-mce-timer-to-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0283-x86-Convert-mce-timer-to-hrtimer.patch @@ -1,7 +1,7 @@ From 47d6f280a4fb9fa2f3856f07da8a7607e3320e5f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 13 Dec 2010 16:33:39 +0100 -Subject: [PATCH 283/437] x86: Convert mce timer to hrtimer +Subject: [PATCH 283/450] 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 @@ -169,5 +169,5 @@ index 98e4e4dc4a3b..5cce2ee3b9f6 100644 mce_device_remove(cpu); return 0; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0284-x86-mce-use-swait-queue-for-mce-wakeups.patch b/kernel/patches-4.14.x-rt/0284-x86-mce-use-swait-queue-for-mce-wakeups.patch index 6680d83f4..0a89d5356 100644 --- a/kernel/patches-4.14.x-rt/0284-x86-mce-use-swait-queue-for-mce-wakeups.patch +++ b/kernel/patches-4.14.x-rt/0284-x86-mce-use-swait-queue-for-mce-wakeups.patch @@ -1,7 +1,7 @@ From c9dfaf6f866b9dcdf82ec90717101d20b7599002 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 27 Feb 2015 15:20:37 +0100 -Subject: [PATCH 284/437] x86/mce: use swait queue for mce wakeups +Subject: [PATCH 284/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0285-x86-stackprotector-Avoid-random-pool-on-rt.patch b/kernel/patches-4.14.x-rt/0285-x86-stackprotector-Avoid-random-pool-on-rt.patch index 7af4da1fd..67c05f27b 100644 --- a/kernel/patches-4.14.x-rt/0285-x86-stackprotector-Avoid-random-pool-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0285-x86-stackprotector-Avoid-random-pool-on-rt.patch @@ -1,7 +1,7 @@ From c3edfff3893fb9ea36c0b9199adcee709c07b57d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 16 Dec 2010 14:25:18 +0100 -Subject: [PATCH 285/437] x86: stackprotector: Avoid random pool on rt +Subject: [PATCH 285/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0286-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/kernel/patches-4.14.x-rt/0286-x86-Use-generic-rwsem_spinlocks-on-rt.patch index ea7aefd1e..54f45197f 100644 --- a/kernel/patches-4.14.x-rt/0286-x86-Use-generic-rwsem_spinlocks-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0286-x86-Use-generic-rwsem_spinlocks-on-rt.patch @@ -1,7 +1,7 @@ From 61139c98e3538a576a9f524393ba94eaf74e0fc8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 26 Jul 2009 02:21:32 +0200 -Subject: [PATCH 286/437] x86: Use generic rwsem_spinlocks on -rt +Subject: [PATCH 286/450] x86: Use generic rwsem_spinlocks on -rt Simplifies the separation of anon_rw_semaphores and rw_semaphores for -rt. @@ -29,5 +29,5 @@ index 4f393eb9745f..22a63ddf5668 100644 config GENERIC_CALIBRATE_DELAY def_bool y -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0287-x86-UV-raw_spinlock-conversion.patch b/kernel/patches-4.14.x-rt/0287-x86-UV-raw_spinlock-conversion.patch index 5a7598366..1d19f7f8b 100644 --- a/kernel/patches-4.14.x-rt/0287-x86-UV-raw_spinlock-conversion.patch +++ b/kernel/patches-4.14.x-rt/0287-x86-UV-raw_spinlock-conversion.patch @@ -1,7 +1,7 @@ From 470030e88c452ee6759644780d01eff7f4e0fd69 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 2 Nov 2014 08:31:37 +0100 -Subject: [PATCH 287/437] x86: UV: raw_spinlock conversion +Subject: [PATCH 287/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0288-thermal-Defer-thermal-wakups-to-threads.patch b/kernel/patches-4.14.x-rt/0288-thermal-Defer-thermal-wakups-to-threads.patch index c031ca724..d20eeb458 100644 --- a/kernel/patches-4.14.x-rt/0288-thermal-Defer-thermal-wakups-to-threads.patch +++ b/kernel/patches-4.14.x-rt/0288-thermal-Defer-thermal-wakups-to-threads.patch @@ -1,7 +1,7 @@ From 9c801faae3ec149a11c6d6b38c320198cb2eff87 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 17 Feb 2015 09:37:44 +0100 -Subject: [PATCH 288/437] thermal: Defer thermal wakups to threads +Subject: [PATCH 288/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0289-fs-epoll-Do-not-disable-preemption-on-RT.patch b/kernel/patches-4.14.x-rt/0289-fs-epoll-Do-not-disable-preemption-on-RT.patch index 4159ccaa1..3f2dddb3c 100644 --- a/kernel/patches-4.14.x-rt/0289-fs-epoll-Do-not-disable-preemption-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0289-fs-epoll-Do-not-disable-preemption-on-RT.patch @@ -1,7 +1,7 @@ From 96d894a2de5c48a0cf700df45140e530d30987ed Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 16:35:35 +0200 -Subject: [PATCH 289/437] fs/epoll: Do not disable preemption on RT +Subject: [PATCH 289/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0290-mm-vmalloc-Another-preempt-disable-region-which-suck.patch b/kernel/patches-4.14.x-rt/0290-mm-vmalloc-Another-preempt-disable-region-which-suck.patch index cc0a33543..040a79482 100644 --- a/kernel/patches-4.14.x-rt/0290-mm-vmalloc-Another-preempt-disable-region-which-suck.patch +++ b/kernel/patches-4.14.x-rt/0290-mm-vmalloc-Another-preempt-disable-region-which-suck.patch @@ -1,7 +1,7 @@ From 3b5b7590e56263ba80198ae916802d69e5696f06 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 11:39:36 +0200 -Subject: [PATCH 290/437] mm/vmalloc: Another preempt disable region which +Subject: [PATCH 290/450] 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 9ff21a12ea00..95c83b291548 100644 /* Allocate new block if nothing was found */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0291-block-mq-use-cpu_light.patch b/kernel/patches-4.14.x-rt/0291-block-mq-use-cpu_light.patch index 95471adcd..604a2d8fb 100644 --- a/kernel/patches-4.14.x-rt/0291-block-mq-use-cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0291-block-mq-use-cpu_light.patch @@ -1,7 +1,7 @@ From 1c4826faee5ea60271487ad1c212e84e55e04370 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 10:37:23 +0200 -Subject: [PATCH 291/437] block: mq: use cpu_light() +Subject: [PATCH 291/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0292-block-mq-do-not-invoke-preempt_disable.patch b/kernel/patches-4.14.x-rt/0292-block-mq-do-not-invoke-preempt_disable.patch index 7e5677e04..d3869916e 100644 --- a/kernel/patches-4.14.x-rt/0292-block-mq-do-not-invoke-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0292-block-mq-do-not-invoke-preempt_disable.patch @@ -1,7 +1,7 @@ From 9c3c6a9a4eb5d1376582274d4a3e22c6000f6bcc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 292/437] block/mq: do not invoke preempt_disable() +Subject: [PATCH 292/450] 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 5a572127c7af..d6dc746eeab1 100644 kblockd_schedule_delayed_work_on(blk_mq_hctx_next_cpu(hctx), -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0293-block-mq-don-t-complete-requests-via-IPI.patch b/kernel/patches-4.14.x-rt/0293-block-mq-don-t-complete-requests-via-IPI.patch index 264b33846..0c811fd12 100644 --- a/kernel/patches-4.14.x-rt/0293-block-mq-don-t-complete-requests-via-IPI.patch +++ b/kernel/patches-4.14.x-rt/0293-block-mq-don-t-complete-requests-via-IPI.patch @@ -1,7 +1,7 @@ From 3f2ef2cd1efd2df737cef1d41dfc030ea882d83c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 15:10:08 +0100 -Subject: [PATCH 293/437] block/mq: don't complete requests via IPI +Subject: [PATCH 293/450] 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. @@ -114,5 +114,5 @@ index 4d4af0e94059..a32b7ad032cb 100644 struct __call_single_data csd; u64 fifo_time; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0294-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/kernel/patches-4.14.x-rt/0294-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 707d2052c..8a099951f 100644 --- a/kernel/patches-4.14.x-rt/0294-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0294-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,7 +1,7 @@ From b75ca677f946ade7c7cc82676cd903939960b896 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Apr 2010 16:51:31 +0200 -Subject: [PATCH 294/437] md: raid5: Make raid5_percpu handling RT aware +Subject: [PATCH 294/450] 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 @@ -72,5 +72,5 @@ index 2e6123825095..37a6021418a2 100644 struct flex_array *scribble; /* space for constructing buffer * lists and performing address -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0295-md-raid5-do-not-disable-interrupts.patch b/kernel/patches-4.14.x-rt/0295-md-raid5-do-not-disable-interrupts.patch index 33fcd85e0..ebcd22209 100644 --- a/kernel/patches-4.14.x-rt/0295-md-raid5-do-not-disable-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0295-md-raid5-do-not-disable-interrupts.patch @@ -1,7 +1,7 @@ From 2705da3c07149ffffcefb1fa85526ac5c2034d12 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 17 Nov 2017 16:21:00 +0100 -Subject: [PATCH 295/437] md/raid5: do not disable interrupts +Subject: [PATCH 295/450] 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 @@ -56,5 +56,5 @@ index dd0c17736633..5cfccaf87687 100644 static inline void remove_hash(struct stripe_head *sh) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0296-rt-Introduce-cpu_chill.patch b/kernel/patches-4.14.x-rt/0296-rt-Introduce-cpu_chill.patch index d7051f811..63f60a255 100644 --- a/kernel/patches-4.14.x-rt/0296-rt-Introduce-cpu_chill.patch +++ b/kernel/patches-4.14.x-rt/0296-rt-Introduce-cpu_chill.patch @@ -1,7 +1,7 @@ From 4989629587968edeece6338a9f20f6ebd07f4ada Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 20:51:03 +0100 -Subject: [PATCH 296/437] rt: Introduce cpu_chill() +Subject: [PATCH 296/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0297-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch b/kernel/patches-4.14.x-rt/0297-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch index f0822474a..cb2248925 100644 --- a/kernel/patches-4.14.x-rt/0297-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch +++ b/kernel/patches-4.14.x-rt/0297-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch @@ -1,7 +1,7 @@ From 23b34d8a6e474c7025ac9cddd5cddfba5dd2d56a Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 4 Mar 2014 12:28:32 -0500 -Subject: [PATCH 297/437] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep +Subject: [PATCH 297/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0298-kernel-cpu_chill-use-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0298-kernel-cpu_chill-use-schedule_hrtimeout.patch index 2ed6e0a8c..941c44cfe 100644 --- a/kernel/patches-4.14.x-rt/0298-kernel-cpu_chill-use-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0298-kernel-cpu_chill-use-schedule_hrtimeout.patch @@ -1,7 +1,7 @@ From 7a5da5da915b3f847332aadcbc23c51673943579 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 13:07:59 +0100 -Subject: [PATCH 298/437] kernel/cpu_chill: use schedule_hrtimeout() +Subject: [PATCH 298/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0299-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch b/kernel/patches-4.14.x-rt/0299-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch index a84355792..5aaec2016 100644 --- a/kernel/patches-4.14.x-rt/0299-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch +++ b/kernel/patches-4.14.x-rt/0299-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch @@ -1,7 +1,7 @@ From 9c6140c9ba1a5991e6fb52bf1705d3129d255d3a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 15:04:49 +0100 -Subject: [PATCH 299/437] Revert "cpu_chill: Add a UNINTERRUPTIBLE +Subject: [PATCH 299/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0300-rtmutex-annotate-sleeping-lock-context.patch b/kernel/patches-4.14.x-rt/0300-rtmutex-annotate-sleeping-lock-context.patch index 84ddb2408..a56f861c5 100644 --- a/kernel/patches-4.14.x-rt/0300-rtmutex-annotate-sleeping-lock-context.patch +++ b/kernel/patches-4.14.x-rt/0300-rtmutex-annotate-sleeping-lock-context.patch @@ -1,7 +1,7 @@ From bbe072eda000ee970b84bf71ff4935f03c5b60af Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:16:26 +0200 -Subject: [PATCH 300/437] rtmutex: annotate sleeping lock context +Subject: [PATCH 300/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0301-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/kernel/patches-4.14.x-rt/0301-block-blk-mq-move-blk_queue_usage_counter_release-in.patch index 995698ce3..0e6e30433 100644 --- a/kernel/patches-4.14.x-rt/0301-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +++ b/kernel/patches-4.14.x-rt/0301-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -1,7 +1,7 @@ From 223b2527af397368f3e5f2077b52fdb268896ccb Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 13:49:16 +0100 -Subject: [PATCH 301/437] block: blk-mq: move blk_queue_usage_counter_release() +Subject: [PATCH 301/450] 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 @@ -116,5 +116,5 @@ index a32b7ad032cb..cbf9d5730dd3 100644 struct list_head all_q_node; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0302-block-Use-cpu_chill-for-retry-loops.patch b/kernel/patches-4.14.x-rt/0302-block-Use-cpu_chill-for-retry-loops.patch index 1b616a9b2..ab2600d49 100644 --- a/kernel/patches-4.14.x-rt/0302-block-Use-cpu_chill-for-retry-loops.patch +++ b/kernel/patches-4.14.x-rt/0302-block-Use-cpu_chill-for-retry-loops.patch @@ -1,7 +1,7 @@ From d6aea246f760b8cec55422e14f9c32d88c374b9a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 20 Dec 2012 18:28:26 +0100 -Subject: [PATCH 302/437] block: Use cpu_chill() for retry loops +Subject: [PATCH 302/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0303-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/kernel/patches-4.14.x-rt/0303-fs-dcache-Use-cpu_chill-in-trylock-loops.patch index 77dc360bb..6184e2226 100644 --- a/kernel/patches-4.14.x-rt/0303-fs-dcache-Use-cpu_chill-in-trylock-loops.patch +++ b/kernel/patches-4.14.x-rt/0303-fs-dcache-Use-cpu_chill-in-trylock-loops.patch @@ -1,7 +1,7 @@ From 01650e0ff97ecbd4e530cbf632c89c771f118f37 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:00:34 +0100 -Subject: [PATCH 303/437] fs: dcache: Use cpu_chill() in trylock loops +Subject: [PATCH 303/450] 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 47bfbb592a2c..991a2054bad9 100644 } /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0304-net-Use-cpu_chill-instead-of-cpu_relax.patch b/kernel/patches-4.14.x-rt/0304-net-Use-cpu_chill-instead-of-cpu_relax.patch index ee6579bbd..15cd5ca6c 100644 --- a/kernel/patches-4.14.x-rt/0304-net-Use-cpu_chill-instead-of-cpu_relax.patch +++ b/kernel/patches-4.14.x-rt/0304-net-Use-cpu_chill-instead-of-cpu_relax.patch @@ -1,7 +1,7 @@ From 14d569f6fbc1999e18cc2797ddcd081b35e96f69 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:10:04 +0100 -Subject: [PATCH 304/437] net: Use cpu_chill() instead of cpu_relax() +Subject: [PATCH 304/450] 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 @@ -65,5 +65,5 @@ index 9a3c54e659e9..2a95f1d587ac 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0305-fs-dcache-use-swait_queue-instead-of-waitqueue.patch b/kernel/patches-4.14.x-rt/0305-fs-dcache-use-swait_queue-instead-of-waitqueue.patch index a9c0efd2f..303561df9 100644 --- a/kernel/patches-4.14.x-rt/0305-fs-dcache-use-swait_queue-instead-of-waitqueue.patch +++ b/kernel/patches-4.14.x-rt/0305-fs-dcache-use-swait_queue-instead-of-waitqueue.patch @@ -1,7 +1,7 @@ From 8c595a9fc23f592ba05a3f15f845c66465baa0e4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 14:35:49 +0200 -Subject: [PATCH 305/437] fs/dcache: use swait_queue instead of waitqueue +Subject: [PATCH 305/450] 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. @@ -236,5 +236,5 @@ index 7006375949c2..b14638a05ec9 100644 list_splice_init(&q->task_list, &tmp); while (!list_empty(&tmp)) { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0306-workqueue-Use-normal-rcu.patch b/kernel/patches-4.14.x-rt/0306-workqueue-Use-normal-rcu.patch index 3f33b194e..d3603d10c 100644 --- a/kernel/patches-4.14.x-rt/0306-workqueue-Use-normal-rcu.patch +++ b/kernel/patches-4.14.x-rt/0306-workqueue-Use-normal-rcu.patch @@ -1,7 +1,7 @@ From a2a559cbb22d6441d6ae9667b0a96aae156634a1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 24 Jul 2013 15:26:54 +0200 -Subject: [PATCH 306/437] workqueue: Use normal rcu +Subject: [PATCH 306/450] 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 08bc551976b2..7ed3b49267a8 100644 return written; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0307-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch b/kernel/patches-4.14.x-rt/0307-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch index a22f24fb9..cabc3d169 100644 --- a/kernel/patches-4.14.x-rt/0307-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch +++ b/kernel/patches-4.14.x-rt/0307-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch @@ -1,7 +1,7 @@ From 2077501f424bee3e44c9796c85083ba395b2f85f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:42:26 +0200 -Subject: [PATCH 307/437] workqueue: Use local irq lock instead of irq disable +Subject: [PATCH 307/450] 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 7ed3b49267a8..b798d32af3fd 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0308-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch b/kernel/patches-4.14.x-rt/0308-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch index c604969fc..a027ce37d 100644 --- a/kernel/patches-4.14.x-rt/0308-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch +++ b/kernel/patches-4.14.x-rt/0308-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch @@ -1,7 +1,7 @@ From f01d9be16d6f9f10226fdfe059747e3234a58827 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 1 Jul 2013 11:02:42 +0200 -Subject: [PATCH 308/437] workqueue: Prevent workqueue versus ata-piix livelock +Subject: [PATCH 308/450] 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 b798d32af3fd..a222bed39623 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0309-sched-Distangle-worker-accounting-from-rqlock.patch b/kernel/patches-4.14.x-rt/0309-sched-Distangle-worker-accounting-from-rqlock.patch index a1a559eb3..29d78ab58 100644 --- a/kernel/patches-4.14.x-rt/0309-sched-Distangle-worker-accounting-from-rqlock.patch +++ b/kernel/patches-4.14.x-rt/0309-sched-Distangle-worker-accounting-from-rqlock.patch @@ -1,7 +1,7 @@ From 658a6d6a81af4d03fff5e502932460e169becf3f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:03 +0200 -Subject: [PATCH 309/437] sched: Distangle worker accounting from rqlock +Subject: [PATCH 309/450] 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 @@ -277,5 +277,5 @@ index d390d1be3748..2dbcfe9bc364 100644 #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0310-percpu_ida-Use-local-locks.patch b/kernel/patches-4.14.x-rt/0310-percpu_ida-Use-local-locks.patch index 96d6ab4a3..c9226c928 100644 --- a/kernel/patches-4.14.x-rt/0310-percpu_ida-Use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0310-percpu_ida-Use-local-locks.patch @@ -1,7 +1,7 @@ From a6c51384a63d6f33598449898ed3f0c63ec0410e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 11:58:17 +0200 -Subject: [PATCH 310/437] percpu_ida: Use local locks +Subject: [PATCH 310/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0311-debugobjects-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0311-debugobjects-Make-RT-aware.patch index 06a713b53..0e24ed928 100644 --- a/kernel/patches-4.14.x-rt/0311-debugobjects-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0311-debugobjects-Make-RT-aware.patch @@ -1,7 +1,7 @@ From ff1fd4c04ee29a12cf2ef8a3395461f27c6f63fe Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 -Subject: [PATCH 311/437] debugobjects: Make RT aware +Subject: [PATCH 311/450] debugobjects: Make RT aware Avoid filling the pool / allocating memory with irqs off(). @@ -27,5 +27,5 @@ index 99308479b1c8..161da6c6e173 100644 db = get_bucket((unsigned long) addr); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0312-jump-label-disable-if-stop_machine-is-used.patch b/kernel/patches-4.14.x-rt/0312-jump-label-disable-if-stop_machine-is-used.patch index a264d5ab5..1e072304d 100644 --- a/kernel/patches-4.14.x-rt/0312-jump-label-disable-if-stop_machine-is-used.patch +++ b/kernel/patches-4.14.x-rt/0312-jump-label-disable-if-stop_machine-is-used.patch @@ -1,7 +1,7 @@ From 970af03df6bb4a2408523359ee340a9062597e37 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Jul 2015 17:14:48 +0200 -Subject: [PATCH 312/437] jump-label: disable if stop_machine() is used +Subject: [PATCH 312/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0313-seqlock-Prevent-rt-starvation.patch b/kernel/patches-4.14.x-rt/0313-seqlock-Prevent-rt-starvation.patch index d59dc2512..1d56a4748 100644 --- a/kernel/patches-4.14.x-rt/0313-seqlock-Prevent-rt-starvation.patch +++ b/kernel/patches-4.14.x-rt/0313-seqlock-Prevent-rt-starvation.patch @@ -1,7 +1,7 @@ From 031a7a902e23165e75d54bd19d84fd30d969624c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 313/437] seqlock: Prevent rt starvation +Subject: [PATCH 313/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0314-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/kernel/patches-4.14.x-rt/0314-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch index eb2156be4..8d10adc7e 100644 --- a/kernel/patches-4.14.x-rt/0314-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0314-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch @@ -1,7 +1,7 @@ From f234a2ed83e2717ba6f33d8c22ba5f9172f47ddf Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 16:05:28 +0100 -Subject: [PATCH 314/437] sunrpc: Make svc_xprt_do_enqueue() use +Subject: [PATCH 314/450] 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 ea7b5a3a53f0..7d24cb5ea450 100644 trace_svc_xprt_do_enqueue(xprt, rqstp); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0315-net-Use-skbufhead-with-raw-lock.patch b/kernel/patches-4.14.x-rt/0315-net-Use-skbufhead-with-raw-lock.patch index 954091475..b24cccfdb 100644 --- a/kernel/patches-4.14.x-rt/0315-net-Use-skbufhead-with-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0315-net-Use-skbufhead-with-raw-lock.patch @@ -1,7 +1,7 @@ From eb7077b932491031b0470d697306c842b256a424 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 15:38:34 +0200 -Subject: [PATCH 315/437] net: Use skbufhead with raw lock +Subject: [PATCH 315/450] 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 @@ -163,5 +163,5 @@ index 8972786d17de..b26b1b82f680 100644 sd->output_queue_tailp = &sd->output_queue; #ifdef CONFIG_RPS -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0316-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch b/kernel/patches-4.14.x-rt/0316-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch index e2c9f4f5b..f43901c58 100644 --- a/kernel/patches-4.14.x-rt/0316-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch +++ b/kernel/patches-4.14.x-rt/0316-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch @@ -1,7 +1,7 @@ From eb700e9352fbbbe85063578727f9d03235f6a0ac Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 9 Oct 2015 09:25:49 -0500 -Subject: [PATCH 316/437] net/core/cpuhotplug: Drain input_pkt_queue lockless +Subject: [PATCH 316/450] 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 b26b1b82f680..093b2bf46ce7 100644 input_queue_head_incr(oldsd); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0317-net-move-xmit_recursion-to-per-task-variable-on-RT.patch b/kernel/patches-4.14.x-rt/0317-net-move-xmit_recursion-to-per-task-variable-on-RT.patch index 5b3a91b9f..2a438696c 100644 --- a/kernel/patches-4.14.x-rt/0317-net-move-xmit_recursion-to-per-task-variable-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0317-net-move-xmit_recursion-to-per-task-variable-on-RT.patch @@ -1,7 +1,7 @@ From 60d98d8d56aaf5ef8a9c8f74d26326df8fba4a24 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Jan 2016 15:55:02 +0100 -Subject: [PATCH 317/437] net: move xmit_recursion to per-task variable on -RT +Subject: [PATCH 317/450] 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 @@ -158,5 +158,5 @@ index d5158a10ac8f..ad96ec78f7b8 100644 return ret; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0318-net-use-task_struct-instead-of-CPU-number-as-the-que.patch b/kernel/patches-4.14.x-rt/0318-net-use-task_struct-instead-of-CPU-number-as-the-que.patch index fa036d541..c3c8552ca 100644 --- a/kernel/patches-4.14.x-rt/0318-net-use-task_struct-instead-of-CPU-number-as-the-que.patch +++ b/kernel/patches-4.14.x-rt/0318-net-use-task_struct-instead-of-CPU-number-as-the-que.patch @@ -1,7 +1,7 @@ From 3a58c2a589dd012d6bc31e7f0b2c4415f1b3903c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Feb 2018 10:39:54 +0100 -Subject: [PATCH 318/437] net: use task_struct instead of CPU number as the +Subject: [PATCH 318/450] 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 @@ -149,5 +149,5 @@ index 73161f5455d1..8d35a35d99a0 100644 queue->dev = dev; #ifdef CONFIG_BQL -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0319-net-provide-a-way-to-delegate-processing-a-softirq-t.patch b/kernel/patches-4.14.x-rt/0319-net-provide-a-way-to-delegate-processing-a-softirq-t.patch index b5f2ad506..9cca6e838 100644 --- a/kernel/patches-4.14.x-rt/0319-net-provide-a-way-to-delegate-processing-a-softirq-t.patch +++ b/kernel/patches-4.14.x-rt/0319-net-provide-a-way-to-delegate-processing-a-softirq-t.patch @@ -1,7 +1,7 @@ From b6f4517055f64f0afefa8fd3c16340334709b6eb Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 15:39:05 +0100 -Subject: [PATCH 319/437] net: provide a way to delegate processing a softirq +Subject: [PATCH 319/450] 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 8d35a35d99a0..b5f1f2c51297 100644 net_rps_action_and_irq_enable(sd); out: -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0320-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch b/kernel/patches-4.14.x-rt/0320-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch index c98e5bd9e..9a4005cdc 100644 --- a/kernel/patches-4.14.x-rt/0320-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch +++ b/kernel/patches-4.14.x-rt/0320-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch @@ -1,7 +1,7 @@ From 955191c007edaf54336e0134d4f19f96ece44d8a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 30 Mar 2016 13:36:29 +0200 -Subject: [PATCH 320/437] net: dev: always take qdisc's busylock in +Subject: [PATCH 320/450] 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 b5f1f2c51297..0b2abcfce03a 100644 spin_lock(&q->busylock); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0321-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/kernel/patches-4.14.x-rt/0321-net-Qdisc-use-a-seqlock-instead-seqcount.patch index 5e58e43bf..e570c22a2 100644 --- a/kernel/patches-4.14.x-rt/0321-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/kernel/patches-4.14.x-rt/0321-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -1,7 +1,7 @@ From ffd70bea069b587528d5136ff594181e0ba1f75f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 17:36:35 +0200 -Subject: [PATCH 321/437] net/Qdisc: use a seqlock instead seqcount +Subject: [PATCH 321/450] 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 @@ -289,5 +289,5 @@ index de0839491dd8..341f7895659c 100644 sch->ops = ops; sch->enqueue = ops->enqueue; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0322-net-add-back-the-missing-serialization-in-ip_send_un.patch b/kernel/patches-4.14.x-rt/0322-net-add-back-the-missing-serialization-in-ip_send_un.patch index 468545fad..8d618b9f7 100644 --- a/kernel/patches-4.14.x-rt/0322-net-add-back-the-missing-serialization-in-ip_send_un.patch +++ b/kernel/patches-4.14.x-rt/0322-net-add-back-the-missing-serialization-in-ip_send_un.patch @@ -1,7 +1,7 @@ From 8b60687c87f5161e598d231c4e9c28a467a8e567 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:21:56 +0200 -Subject: [PATCH 322/437] net: add back the missing serialization in +Subject: [PATCH 322/450] 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 31b34c0c2d5f..a08d68e97bdb 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0323-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch b/kernel/patches-4.14.x-rt/0323-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch index ee4d628da..89322ad5d 100644 --- a/kernel/patches-4.14.x-rt/0323-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch +++ b/kernel/patches-4.14.x-rt/0323-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch @@ -1,7 +1,7 @@ From f63534d5a04a3fe4e7501e511d51e271e8884efe Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Aug 2017 15:09:13 +0200 -Subject: [PATCH 323/437] net: take the tcp_sk_lock lock with BH disabled +Subject: [PATCH 323/450] 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 a08d68e97bdb..851f241e70b5 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0324-net-add-a-lock-around-icmp_sk.patch b/kernel/patches-4.14.x-rt/0324-net-add-a-lock-around-icmp_sk.patch index 365f2c6cd..abba335fc 100644 --- a/kernel/patches-4.14.x-rt/0324-net-add-a-lock-around-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0324-net-add-a-lock-around-icmp_sk.patch @@ -1,7 +1,7 @@ From b0befb6b2f25d200ec4d384aae4fbf621f6e41d7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:54:09 +0200 -Subject: [PATCH 324/437] net: add a lock around icmp_sk() +Subject: [PATCH 324/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0325-net-use-trylock-in-icmp_sk.patch b/kernel/patches-4.14.x-rt/0325-net-use-trylock-in-icmp_sk.patch index a211433b2..0acfb18d6 100644 --- a/kernel/patches-4.14.x-rt/0325-net-use-trylock-in-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0325-net-use-trylock-in-icmp_sk.patch @@ -1,7 +1,7 @@ From babaed17d873a03392afd8ffb8244cebee8146fe Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:42:04 +0200 -Subject: [PATCH 325/437] net: use trylock in icmp_sk +Subject: [PATCH 325/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0326-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch b/kernel/patches-4.14.x-rt/0326-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch index 1473a2a09..937420a08 100644 --- a/kernel/patches-4.14.x-rt/0326-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch +++ b/kernel/patches-4.14.x-rt/0326-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch @@ -1,7 +1,7 @@ From b15c950527882f5fb205a4aaabf11a32fcde90de Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 6 Dec 2016 17:50:30 -0500 -Subject: [PATCH 326/437] net: Have __napi_schedule_irqoff() disable interrupts +Subject: [PATCH 326/450] net: Have __napi_schedule_irqoff() disable interrupts on RT A customer hit a crash where the napi sd->poll_list became corrupted. @@ -72,5 +72,5 @@ index 0b2abcfce03a..8f40b36c2ec3 100644 bool napi_complete_done(struct napi_struct *n, int work_done) { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0327-irqwork-push-most-work-into-softirq-context.patch b/kernel/patches-4.14.x-rt/0327-irqwork-push-most-work-into-softirq-context.patch index f426985e5..f2c21fc5f 100644 --- a/kernel/patches-4.14.x-rt/0327-irqwork-push-most-work-into-softirq-context.patch +++ b/kernel/patches-4.14.x-rt/0327-irqwork-push-most-work-into-softirq-context.patch @@ -1,7 +1,7 @@ From 38e63f2f170b11dc5d7d899f6f47987c9780d06c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 23 Jun 2015 15:32:51 +0200 -Subject: [PATCH 327/437] irqwork: push most work into softirq context +Subject: [PATCH 327/450] 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 9b08190ff65a..2362b03051aa 100644 if (IS_ENABLED(CONFIG_NO_HZ_COMMON)) __run_timers(this_cpu_ptr(&timer_bases[BASE_DEF])); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0328-irqwork-Move-irq-safe-work-to-irq-context.patch b/kernel/patches-4.14.x-rt/0328-irqwork-Move-irq-safe-work-to-irq-context.patch index c9acd0f34..1c7ca060a 100644 --- a/kernel/patches-4.14.x-rt/0328-irqwork-Move-irq-safe-work-to-irq-context.patch +++ b/kernel/patches-4.14.x-rt/0328-irqwork-Move-irq-safe-work-to-irq-context.patch @@ -1,7 +1,7 @@ From 7b1fee64ed369ee92692ea1690d11461950f8f9d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 15 Nov 2015 18:40:17 +0100 -Subject: [PATCH 328/437] irqwork: Move irq safe work to irq context +Subject: [PATCH 328/450] 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 2362b03051aa..ea742b49bdb5 100644 if (IS_ENABLED(CONFIG_NO_HZ_COMMON)) __run_timers(this_cpu_ptr(&timer_bases[BASE_DEF])); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0329-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch b/kernel/patches-4.14.x-rt/0329-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch index 91bbba719..8ad937070 100644 --- a/kernel/patches-4.14.x-rt/0329-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch +++ b/kernel/patches-4.14.x-rt/0329-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch @@ -1,7 +1,7 @@ From f2c0ec10c4936c60a5619e06c6c3ed3bcb69c51f Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 15:09:23 +0100 -Subject: [PATCH 329/437] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() +Subject: [PATCH 329/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0330-printk-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0330-printk-Make-rt-aware.patch index 4b91a36ad..a2f568d26 100644 --- a/kernel/patches-4.14.x-rt/0330-printk-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0330-printk-Make-rt-aware.patch @@ -1,7 +1,7 @@ From 39baf9e4fb2678d4d977ab5c833063a28814935d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Sep 2012 14:50:37 +0200 -Subject: [PATCH 330/437] printk: Make rt aware +Subject: [PATCH 330/450] printk: Make rt aware Drop the lock before calling the console driver and do not disable interrupts while printing to a serial console. @@ -74,5 +74,5 @@ index 9c946617baae..febac6df82d2 100644 if (do_cond_resched) cond_resched(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0331-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch b/kernel/patches-4.14.x-rt/0331-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch index 8bb78062c..cdb5ae5bd 100644 --- a/kernel/patches-4.14.x-rt/0331-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch +++ b/kernel/patches-4.14.x-rt/0331-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch @@ -1,7 +1,7 @@ From eb5db28c8bde4025a99c5ae984a59e27bee2c978 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 19 May 2016 17:45:27 +0200 -Subject: [PATCH 331/437] kernel/printk: Don't try to print from IRQ/NMI region +Subject: [PATCH 331/450] 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 febac6df82d2..9b0deab74376 100644 * console_unblank can no longer be called in interrupt context unless * oops_in_progress is set to 1.. -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0332-printk-Drop-the-logbuf_lock-more-often.patch b/kernel/patches-4.14.x-rt/0332-printk-Drop-the-logbuf_lock-more-often.patch index b6db05f9c..e7124e11d 100644 --- a/kernel/patches-4.14.x-rt/0332-printk-Drop-the-logbuf_lock-more-often.patch +++ b/kernel/patches-4.14.x-rt/0332-printk-Drop-the-logbuf_lock-more-often.patch @@ -1,7 +1,7 @@ From 72626dd71e5dbdbf829cd3383c77b9b825c75580 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Mar 2013 19:01:05 +0100 -Subject: [PATCH 332/437] printk: Drop the logbuf_lock more often +Subject: [PATCH 332/450] 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 9b0deab74376..8a7c4f79fca0 100644 kfree(text); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0333-powerpc-Use-generic-rwsem-on-RT.patch b/kernel/patches-4.14.x-rt/0333-powerpc-Use-generic-rwsem-on-RT.patch index 24babdf87..6ae53da75 100644 --- a/kernel/patches-4.14.x-rt/0333-powerpc-Use-generic-rwsem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0333-powerpc-Use-generic-rwsem-on-RT.patch @@ -1,7 +1,7 @@ From c4f30b023108b32cdde949289c5c88ff2c768ade Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 333/437] powerpc: Use generic rwsem on RT +Subject: [PATCH 333/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0334-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch b/kernel/patches-4.14.x-rt/0334-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch index 1cc88b819..80536387a 100644 --- a/kernel/patches-4.14.x-rt/0334-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch +++ b/kernel/patches-4.14.x-rt/0334-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch @@ -1,7 +1,7 @@ From 3ad770b2da9426e57ddd9c91e8c28b6c5705b043 Mon Sep 17 00:00:00 2001 From: Bogdan Purcareata Date: Fri, 24 Apr 2015 15:53:13 +0000 -Subject: [PATCH 334/437] powerpc/kvm: Disable in-kernel MPIC emulation for +Subject: [PATCH 334/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0335-powerpc-ps3-device-init.c-adapt-to-completions-using.patch b/kernel/patches-4.14.x-rt/0335-powerpc-ps3-device-init.c-adapt-to-completions-using.patch index 7fd7a9ca5..8d898c5fe 100644 --- a/kernel/patches-4.14.x-rt/0335-powerpc-ps3-device-init.c-adapt-to-completions-using.patch +++ b/kernel/patches-4.14.x-rt/0335-powerpc-ps3-device-init.c-adapt-to-completions-using.patch @@ -1,7 +1,7 @@ From 195da94d715c74d541c2decfba84b3f14b56c909 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 31 May 2015 14:44:42 -0400 -Subject: [PATCH 335/437] powerpc: ps3/device-init.c - adapt to completions +Subject: [PATCH 335/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0336-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch b/kernel/patches-4.14.x-rt/0336-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch index d9e0c1382..46eab4ce2 100644 --- a/kernel/patches-4.14.x-rt/0336-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0336-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch @@ -1,7 +1,7 @@ From 6587bc3d8e7b714bea195a2541f81cb77dccbe5a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 May 2010 18:29:35 +0200 -Subject: [PATCH 336/437] ARM: at91: tclib: Default to tclib timer for RT +Subject: [PATCH 336/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0337-arm-unwind-use-a-raw_spin_lock.patch b/kernel/patches-4.14.x-rt/0337-arm-unwind-use-a-raw_spin_lock.patch index f5fbc820f..b76a069ee 100644 --- a/kernel/patches-4.14.x-rt/0337-arm-unwind-use-a-raw_spin_lock.patch +++ b/kernel/patches-4.14.x-rt/0337-arm-unwind-use-a-raw_spin_lock.patch @@ -1,7 +1,7 @@ From 84c7064aa5cc108e31e9b32fbdb3c56d0d6c82b4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Sep 2013 14:31:54 +0200 -Subject: [PATCH 337/437] arm/unwind: use a raw_spin_lock +Subject: [PATCH 337/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0338-ARM-enable-irq-in-translation-section-permission-fau.patch b/kernel/patches-4.14.x-rt/0338-ARM-enable-irq-in-translation-section-permission-fau.patch index 38348a109..022ea66a7 100644 --- a/kernel/patches-4.14.x-rt/0338-ARM-enable-irq-in-translation-section-permission-fau.patch +++ b/kernel/patches-4.14.x-rt/0338-ARM-enable-irq-in-translation-section-permission-fau.patch @@ -1,7 +1,7 @@ From e595f5980764a8964b43d1b292a3b978bbf0d774 Mon Sep 17 00:00:00 2001 From: "Yadi.hu" Date: Wed, 10 Dec 2014 10:32:09 +0800 -Subject: [PATCH 338/437] ARM: enable irq in translation/section permission +Subject: [PATCH 338/450] 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 49b1b8048635..b261967ea028 100644 return 0; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0339-genirq-update-irq_set_irqchip_state-documentation.patch b/kernel/patches-4.14.x-rt/0339-genirq-update-irq_set_irqchip_state-documentation.patch index c2d1d03cf..84413d1a6 100644 --- a/kernel/patches-4.14.x-rt/0339-genirq-update-irq_set_irqchip_state-documentation.patch +++ b/kernel/patches-4.14.x-rt/0339-genirq-update-irq_set_irqchip_state-documentation.patch @@ -1,7 +1,7 @@ From 10496b07541c3e46e56e399f85ff66022b78b153 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:00 -0600 -Subject: [PATCH 339/437] genirq: update irq_set_irqchip_state documentation +Subject: [PATCH 339/450] 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 d4d993c27ac0..400eca839bcc 100644 */ int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0340-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch b/kernel/patches-4.14.x-rt/0340-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch index 2da7b165c..800700a67 100644 --- a/kernel/patches-4.14.x-rt/0340-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch +++ b/kernel/patches-4.14.x-rt/0340-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch @@ -1,7 +1,7 @@ From 1e13ef754a632ffc5908b83d70b67325ab4edee8 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:01 -0600 -Subject: [PATCH 340/437] KVM: arm/arm64: downgrade preempt_disable()d region +Subject: [PATCH 340/450] KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() kvm_arch_vcpu_ioctl_run() disables the use of preemption when updating @@ -54,5 +54,5 @@ index 045aa39b14c1..bdf11f40ce34 100644 ret = handle_exit(vcpu, run, ret); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0341-arm64-xen-Make-XEN-depend-on-RT.patch b/kernel/patches-4.14.x-rt/0341-arm64-xen-Make-XEN-depend-on-RT.patch index c3e8e1378..eec27bdee 100644 --- a/kernel/patches-4.14.x-rt/0341-arm64-xen-Make-XEN-depend-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0341-arm64-xen-Make-XEN-depend-on-RT.patch @@ -1,7 +1,7 @@ From 876d09f497787b832cb9abdd4e684220071ee0cc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 12 Oct 2015 11:18:40 +0200 -Subject: [PATCH 341/437] arm64/xen: Make XEN depend on !RT +Subject: [PATCH 341/450] arm64/xen: Make XEN depend on !RT It's not ready and probably never will be, unless xen folks have a look at it. @@ -25,5 +25,5 @@ index c30cd78b6918..724afce517fd 100644 select PARAVIRT help -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0342-kgdb-serial-Short-term-workaround.patch b/kernel/patches-4.14.x-rt/0342-kgdb-serial-Short-term-workaround.patch index 05f58eef3..01fd9ac60 100644 --- a/kernel/patches-4.14.x-rt/0342-kgdb-serial-Short-term-workaround.patch +++ b/kernel/patches-4.14.x-rt/0342-kgdb-serial-Short-term-workaround.patch @@ -1,7 +1,7 @@ From 72ac596912e69a9196b10e55a7893aa790795328 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Thu, 28 Jul 2011 12:42:23 -0500 -Subject: [PATCH 342/437] kgdb/serial: Short term workaround +Subject: [PATCH 342/450] 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 6a4b41484afe..197cb422f6e1 100644 return r; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0343-sysfs-Add-sys-kernel-realtime-entry.patch b/kernel/patches-4.14.x-rt/0343-sysfs-Add-sys-kernel-realtime-entry.patch index 04611a9f7..3c7e14d03 100644 --- a/kernel/patches-4.14.x-rt/0343-sysfs-Add-sys-kernel-realtime-entry.patch +++ b/kernel/patches-4.14.x-rt/0343-sysfs-Add-sys-kernel-realtime-entry.patch @@ -1,7 +1,7 @@ From 4b9a22a36e9791e67a615fe2e3ea774b42cf22ce Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Sat, 30 Jul 2011 21:55:53 -0500 -Subject: [PATCH 343/437] sysfs: Add /sys/kernel/realtime entry +Subject: [PATCH 343/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0344-powerpc-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0344-powerpc-Disable-highmem-on-RT.patch index 801a41cf9..240b22fef 100644 --- a/kernel/patches-4.14.x-rt/0344-powerpc-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0344-powerpc-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ From b2d03980ce2daa4376d1a1144253c347af40e0f4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:08:34 +0200 -Subject: [PATCH 344/437] powerpc: Disable highmem on RT +Subject: [PATCH 344/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0345-mips-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0345-mips-Disable-highmem-on-RT.patch index a5c785ff2..be03985e1 100644 --- a/kernel/patches-4.14.x-rt/0345-mips-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0345-mips-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ From cc90e01232b7383458e142b92a9b896ae6263d01 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:10:12 +0200 -Subject: [PATCH 345/437] mips: Disable highmem on RT +Subject: [PATCH 345/450] mips: Disable highmem on RT The current highmem handling on -RT is not compatible and needs fixups. @@ -24,5 +24,5 @@ index 23e3d3e0ee5b..1fdf8f563973 100644 config CPU_SUPPORTS_HIGHMEM bool -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0346-mm-rt-kmap_atomic-scheduling.patch b/kernel/patches-4.14.x-rt/0346-mm-rt-kmap_atomic-scheduling.patch index c01338acd..f88e44397 100644 --- a/kernel/patches-4.14.x-rt/0346-mm-rt-kmap_atomic-scheduling.patch +++ b/kernel/patches-4.14.x-rt/0346-mm-rt-kmap_atomic-scheduling.patch @@ -1,7 +1,7 @@ From c86332002f578e056c2d18c61cd4c288e1108f93 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 28 Jul 2011 10:43:51 +0200 -Subject: [PATCH 346/437] mm, rt: kmap_atomic scheduling +Subject: [PATCH 346/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0347-mm-rt-Fix-generic-kmap_atomic-for-RT.patch b/kernel/patches-4.14.x-rt/0347-mm-rt-Fix-generic-kmap_atomic-for-RT.patch index 7b8101259..e04c86b7a 100644 --- a/kernel/patches-4.14.x-rt/0347-mm-rt-Fix-generic-kmap_atomic-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0347-mm-rt-Fix-generic-kmap_atomic-for-RT.patch @@ -1,7 +1,7 @@ From 97029d8f7c055c56fb221d6efbfa6dcad02ac788 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 19 Sep 2015 10:15:00 +0200 -Subject: [PATCH 347/437] mm: rt: Fix generic kmap_atomic for RT +Subject: [PATCH 347/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0348-x86-highmem-Add-a-already-used-pte-check.patch b/kernel/patches-4.14.x-rt/0348-x86-highmem-Add-a-already-used-pte-check.patch index 223f47ce1..bacf64474 100644 --- a/kernel/patches-4.14.x-rt/0348-x86-highmem-Add-a-already-used-pte-check.patch +++ b/kernel/patches-4.14.x-rt/0348-x86-highmem-Add-a-already-used-pte-check.patch @@ -1,7 +1,7 @@ From 22b6bd239d4879b0df770a89cab7ee952b9c4526 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 17:09:55 +0100 -Subject: [PATCH 348/437] x86/highmem: Add a "already used pte" check +Subject: [PATCH 348/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0349-arm-highmem-Flush-tlb-on-unmap.patch b/kernel/patches-4.14.x-rt/0349-arm-highmem-Flush-tlb-on-unmap.patch index 9ff3eb422..bacf5126a 100644 --- a/kernel/patches-4.14.x-rt/0349-arm-highmem-Flush-tlb-on-unmap.patch +++ b/kernel/patches-4.14.x-rt/0349-arm-highmem-Flush-tlb-on-unmap.patch @@ -1,7 +1,7 @@ From 9ea265c764addc8bd1864075d10a19de2a54f470 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 21:37:27 +0100 -Subject: [PATCH 349/437] arm/highmem: Flush tlb on unmap +Subject: [PATCH 349/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0350-arm-Enable-highmem-for-rt.patch b/kernel/patches-4.14.x-rt/0350-arm-Enable-highmem-for-rt.patch index e3feb676e..72b70c097 100644 --- a/kernel/patches-4.14.x-rt/0350-arm-Enable-highmem-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0350-arm-Enable-highmem-for-rt.patch @@ -1,7 +1,7 @@ From 959854b30385fb9a7899f30bc3bb84e46ce4ce5c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 13 Feb 2013 11:03:11 +0100 -Subject: [PATCH 350/437] arm: Enable highmem for rt +Subject: [PATCH 350/450] arm: Enable highmem for rt fixup highmem for ARM. @@ -179,5 +179,5 @@ index 8f248e2137eb..5f0bd7a3e6a7 100644 #include -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0351-scsi-fcoe-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0351-scsi-fcoe-Make-RT-aware.patch index a24a58ffc..8b360948f 100644 --- a/kernel/patches-4.14.x-rt/0351-scsi-fcoe-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0351-scsi-fcoe-Make-RT-aware.patch @@ -1,7 +1,7 @@ From aaa790579b2116b6fce8e79d3be5a14c898109d1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 12 Nov 2011 14:00:48 +0100 -Subject: [PATCH 351/437] scsi/fcoe: Make RT aware. +Subject: [PATCH 351/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0352-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch b/kernel/patches-4.14.x-rt/0352-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch index 0fd232696..533151326 100644 --- a/kernel/patches-4.14.x-rt/0352-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch +++ b/kernel/patches-4.14.x-rt/0352-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch @@ -1,7 +1,7 @@ From e0c7598e6c5b61e2fb283d10d967c82b73c56d98 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sat, 14 Feb 2015 11:01:16 -0500 -Subject: [PATCH 352/437] sas-ata/isci: dont't disable interrupts in qc_issue +Subject: [PATCH 352/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0353-x86-crypto-Reduce-preempt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0353-x86-crypto-Reduce-preempt-disabled-regions.patch index 5dae6368c..691999d49 100644 --- a/kernel/patches-4.14.x-rt/0353-x86-crypto-Reduce-preempt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0353-x86-crypto-Reduce-preempt-disabled-regions.patch @@ -1,7 +1,7 @@ From 24f3c348c0fa264d8b9a6b9a6ad2907f8dbbd3f5 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 14 Nov 2011 18:19:27 +0100 -Subject: [PATCH 353/437] x86: crypto: Reduce preempt disabled regions +Subject: [PATCH 353/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0354-crypto-Reduce-preempt-disabled-regions-more-algos.patch b/kernel/patches-4.14.x-rt/0354-crypto-Reduce-preempt-disabled-regions-more-algos.patch index 01ea648d1..d7a93495a 100644 --- a/kernel/patches-4.14.x-rt/0354-crypto-Reduce-preempt-disabled-regions-more-algos.patch +++ b/kernel/patches-4.14.x-rt/0354-crypto-Reduce-preempt-disabled-regions-more-algos.patch @@ -1,7 +1,7 @@ From 42aa2b5a9ebac3a19effb1ad5c9cf5efa7d07ddc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Feb 2014 17:24:04 +0100 -Subject: [PATCH 354/437] crypto: Reduce preempt disabled regions, more algos +Subject: [PATCH 354/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0355-crypto-limit-more-FPU-enabled-sections.patch b/kernel/patches-4.14.x-rt/0355-crypto-limit-more-FPU-enabled-sections.patch index 8e1ffaef5..b3bb8ab48 100644 --- a/kernel/patches-4.14.x-rt/0355-crypto-limit-more-FPU-enabled-sections.patch +++ b/kernel/patches-4.14.x-rt/0355-crypto-limit-more-FPU-enabled-sections.patch @@ -1,7 +1,7 @@ From 6c60a376a30a4c4009517c4bc742afdab31b7b3e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 13:40:10 +0100 -Subject: [PATCH 355/437] crypto: limit more FPU-enabled sections +Subject: [PATCH 355/450] 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 2ea85b32421a..6914dc569d1e 100644 * Save the FPU state (mark it for reload if necessary): * -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0356-arm-disable-NEON-in-kernel-mode.patch b/kernel/patches-4.14.x-rt/0356-arm-disable-NEON-in-kernel-mode.patch index 4affcfb75..e308ba895 100644 --- a/kernel/patches-4.14.x-rt/0356-arm-disable-NEON-in-kernel-mode.patch +++ b/kernel/patches-4.14.x-rt/0356-arm-disable-NEON-in-kernel-mode.patch @@ -1,7 +1,7 @@ From 1b3f3e28e0d3d164410f5da5009aeb8aa6f4379a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 1 Dec 2017 10:42:03 +0100 -Subject: [PATCH 356/437] arm*: disable NEON in kernel mode +Subject: [PATCH 356/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0357-dm-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0357-dm-Make-rt-aware.patch index 29e4b93af..50a886e85 100644 --- a/kernel/patches-4.14.x-rt/0357-dm-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0357-dm-Make-rt-aware.patch @@ -1,7 +1,7 @@ From 23563bf9128445fc6ad675d46f669ea4dc2d943a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 23:06:09 +0100 -Subject: [PATCH 357/437] dm: Make rt aware +Subject: [PATCH 357/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0358-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch b/kernel/patches-4.14.x-rt/0358-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch index ff5868831..b26e79206 100644 --- a/kernel/patches-4.14.x-rt/0358-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch +++ b/kernel/patches-4.14.x-rt/0358-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch @@ -1,7 +1,7 @@ From ee23cef60bf3b4086ea1f2ea2d0dcc26dabed41b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 13 Feb 2013 09:26:05 -0500 -Subject: [PATCH 358/437] acpi/rt: Convert acpi_gbl_hardware lock back to a +Subject: [PATCH 358/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0359-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/kernel/patches-4.14.x-rt/0359-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch index dda07411f..cde4b50f6 100644 --- a/kernel/patches-4.14.x-rt/0359-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0359-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch @@ -1,7 +1,7 @@ From 492db0fbf838a1d0864e1e8753f0a00a842dad94 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 14 Dec 2011 01:03:49 +0100 -Subject: [PATCH 359/437] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT +Subject: [PATCH 359/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0360-random-Make-it-work-on-rt.patch b/kernel/patches-4.14.x-rt/0360-random-Make-it-work-on-rt.patch index ef891ddf3..4d55851e3 100644 --- a/kernel/patches-4.14.x-rt/0360-random-Make-it-work-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0360-random-Make-it-work-on-rt.patch @@ -1,7 +1,7 @@ From 846a0171bb7bedde591b065bf8bf3482c071801e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Aug 2012 20:38:50 +0200 -Subject: [PATCH 360/437] random: Make it work on rt +Subject: [PATCH 360/450] 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 400eca839bcc..01b282ddb83b 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0361-random-avoid-preempt_disable-ed-section.patch b/kernel/patches-4.14.x-rt/0361-random-avoid-preempt_disable-ed-section.patch index 9ffbe7ee7..b3ded2d40 100644 --- a/kernel/patches-4.14.x-rt/0361-random-avoid-preempt_disable-ed-section.patch +++ b/kernel/patches-4.14.x-rt/0361-random-avoid-preempt_disable-ed-section.patch @@ -1,7 +1,7 @@ From 9926c096cded9f549edd991ee41f3f2d26c71691 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 12 May 2017 15:46:17 +0200 -Subject: [PATCH 361/437] random: avoid preempt_disable()ed section +Subject: [PATCH 361/450] 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 29a46c372df3..9fb3c929765c 100644 } EXPORT_SYMBOL(get_random_u32); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0362-char-random-don-t-print-that-the-init-is-done.patch b/kernel/patches-4.14.x-rt/0362-char-random-don-t-print-that-the-init-is-done.patch index f21c9e120..9a5d70abb 100644 --- a/kernel/patches-4.14.x-rt/0362-char-random-don-t-print-that-the-init-is-done.patch +++ b/kernel/patches-4.14.x-rt/0362-char-random-don-t-print-that-the-init-is-done.patch @@ -1,7 +1,7 @@ From d7d0f062f6df80c62645ed9029993b3a170a21a2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 30 May 2017 16:39:01 +0200 -Subject: [PATCH 362/437] char/random: don't print that the init is done +Subject: [PATCH 362/450] 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 9fb3c929765c..c72a7f0b4494 100644 } } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0363-cpu-hotplug-Implement-CPU-pinning.patch b/kernel/patches-4.14.x-rt/0363-cpu-hotplug-Implement-CPU-pinning.patch index f62f36eef..1feb155f3 100644 --- a/kernel/patches-4.14.x-rt/0363-cpu-hotplug-Implement-CPU-pinning.patch +++ b/kernel/patches-4.14.x-rt/0363-cpu-hotplug-Implement-CPU-pinning.patch @@ -1,7 +1,7 @@ From 1e90ab9e5476d88116ff2b47999ca5437cdd5f24 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Jul 2017 17:31:20 +0200 -Subject: [PATCH 363/437] cpu/hotplug: Implement CPU pinning +Subject: [PATCH 363/450] cpu/hotplug: Implement CPU pinning Signed-off-by: Thomas Gleixner --- @@ -114,5 +114,5 @@ index 92a1e437e777..bc97ca16de81 100644 irq_unlock_sparse(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0364-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/kernel/patches-4.14.x-rt/0364-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch index e97e450bc..4aafd93fe 100644 --- a/kernel/patches-4.14.x-rt/0364-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch +++ b/kernel/patches-4.14.x-rt/0364-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch @@ -1,7 +1,7 @@ From f94abf1239c11e181f09b117bc25e76247778145 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 18:31:00 +0200 -Subject: [PATCH 364/437] hotplug: duct-tape RT-rwlock usage for non-RT +Subject: [PATCH 364/450] 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 bc97ca16de81..7f73ec1d95e6 100644 irq_unlock_sparse(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0365-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch b/kernel/patches-4.14.x-rt/0365-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch index e613d7f3c..37443ec9f 100644 --- a/kernel/patches-4.14.x-rt/0365-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch +++ b/kernel/patches-4.14.x-rt/0365-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch @@ -1,7 +1,7 @@ From 361de8c2f7523f488650c799c72f97bf6db9d9c7 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 27 Apr 2012 12:48:46 +0200 -Subject: [PATCH 365/437] scsi: qla2xxx: Use local_irq_save_nort() in +Subject: [PATCH 365/450] scsi: qla2xxx: Use local_irq_save_nort() in qla2x00_poll RT triggers the following: @@ -50,5 +50,5 @@ index 3f5a0f0f8b62..c75783143dc1 100644 static inline uint8_t * -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0366-net-Remove-preemption-disabling-in-netif_rx.patch b/kernel/patches-4.14.x-rt/0366-net-Remove-preemption-disabling-in-netif_rx.patch index ec671f547..6ba607e01 100644 --- a/kernel/patches-4.14.x-rt/0366-net-Remove-preemption-disabling-in-netif_rx.patch +++ b/kernel/patches-4.14.x-rt/0366-net-Remove-preemption-disabling-in-netif_rx.patch @@ -1,7 +1,7 @@ From cb63600a11ea7567c15f2143452d9cffe42b1b3a Mon Sep 17 00:00:00 2001 From: Priyanka Jain Date: Thu, 17 May 2012 09:35:11 +0530 -Subject: [PATCH 366/437] net: Remove preemption disabling in netif_rx() +Subject: [PATCH 366/450] 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 8f40b36c2ec3..3aa9256869b2 100644 return ret; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0367-net-Another-local_irq_disable-kmalloc-headache.patch b/kernel/patches-4.14.x-rt/0367-net-Another-local_irq_disable-kmalloc-headache.patch index 5aa8a35bc..487de0396 100644 --- a/kernel/patches-4.14.x-rt/0367-net-Another-local_irq_disable-kmalloc-headache.patch +++ b/kernel/patches-4.14.x-rt/0367-net-Another-local_irq_disable-kmalloc-headache.patch @@ -1,7 +1,7 @@ From 1582331d109290155c4ee90d393240f9f604de9a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 26 Sep 2012 16:21:08 +0200 -Subject: [PATCH 367/437] net: Another local_irq_disable/kmalloc headache +Subject: [PATCH 367/450] net: Another local_irq_disable/kmalloc headache Replace it by a local lock. Though that's pretty inefficient :( @@ -60,5 +60,5 @@ index 4067fa3fcbb2..1bb67588ca5a 100644 if (unlikely(!data)) return NULL; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0368-net-core-protect-users-of-napi_alloc_cache-against-r.patch b/kernel/patches-4.14.x-rt/0368-net-core-protect-users-of-napi_alloc_cache-against-r.patch index 23c8d3726..3bb4d3fd1 100644 --- a/kernel/patches-4.14.x-rt/0368-net-core-protect-users-of-napi_alloc_cache-against-r.patch +++ b/kernel/patches-4.14.x-rt/0368-net-core-protect-users-of-napi_alloc_cache-against-r.patch @@ -1,7 +1,7 @@ From 6cf8f87baddba1e9fc5d04d1ada5e2c89550e03a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 15 Jan 2016 16:33:34 +0100 -Subject: [PATCH 368/437] net/core: protect users of napi_alloc_cache against +Subject: [PATCH 368/450] 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 @@ -114,5 +114,5 @@ index 1bb67588ca5a..8ec36697002b 100644 void __kfree_skb_defer(struct sk_buff *skb) { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0369-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch b/kernel/patches-4.14.x-rt/0369-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch index 02041a994..85e7b08d8 100644 --- a/kernel/patches-4.14.x-rt/0369-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch +++ b/kernel/patches-4.14.x-rt/0369-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch @@ -1,7 +1,7 @@ From f1bade1c769369bc88fd39199fac306dbe7ce9af Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 11:18:08 +0100 -Subject: [PATCH 369/437] net: netfilter: Serialize xt_write_recseq sections on +Subject: [PATCH 369/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0370-net-Add-a-mutex-around-devnet_rename_seq.patch b/kernel/patches-4.14.x-rt/0370-net-Add-a-mutex-around-devnet_rename_seq.patch index 3e4793615..a6b8f3231 100644 --- a/kernel/patches-4.14.x-rt/0370-net-Add-a-mutex-around-devnet_rename_seq.patch +++ b/kernel/patches-4.14.x-rt/0370-net-Add-a-mutex-around-devnet_rename_seq.patch @@ -1,7 +1,7 @@ From f503f56d286c9e53fe956dbe3430b09967dc5970 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Mar 2013 18:06:20 +0100 -Subject: [PATCH 370/437] net: Add a mutex around devnet_rename_seq +Subject: [PATCH 370/450] 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 3aa9256869b2..d1309f51d066 100644 /** -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0371-crypto-Convert-crypto-notifier-chain-to-SRCU.patch b/kernel/patches-4.14.x-rt/0371-crypto-Convert-crypto-notifier-chain-to-SRCU.patch index aee346584..3c6ba07a3 100644 --- a/kernel/patches-4.14.x-rt/0371-crypto-Convert-crypto-notifier-chain-to-SRCU.patch +++ b/kernel/patches-4.14.x-rt/0371-crypto-Convert-crypto-notifier-chain-to-SRCU.patch @@ -1,7 +1,7 @@ From 0d82bb96b2e9ad36832519b81e06c0e1c7a2a750 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 5 Oct 2012 09:03:24 +0100 -Subject: [PATCH 371/437] crypto: Convert crypto notifier chain to SRCU +Subject: [PATCH 371/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0372-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch b/kernel/patches-4.14.x-rt/0372-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch index 6a8ca41ff..c470dd3b7 100644 --- a/kernel/patches-4.14.x-rt/0372-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch +++ b/kernel/patches-4.14.x-rt/0372-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch @@ -1,7 +1,7 @@ From f3e9a706ad5104e136748227b3957ecdb5a1fe95 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Mon, 16 Apr 2012 15:01:56 +0800 -Subject: [PATCH 372/437] lockdep: selftest: Only do hardirq context test for +Subject: [PATCH 372/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0373-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/kernel/patches-4.14.x-rt/0373-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch index c506abc2b..bab26647c 100644 --- a/kernel/patches-4.14.x-rt/0373-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch +++ b/kernel/patches-4.14.x-rt/0373-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch @@ -1,7 +1,7 @@ From ccbca38a3469e06ecbd3bda0725b2228afc68ab6 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Wed, 28 Jan 2015 13:08:45 -0600 -Subject: [PATCH 373/437] lockdep: selftest: fix warnings due to missing +Subject: [PATCH 373/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0374-srcu-use-cpu_online-instead-custom-check.patch b/kernel/patches-4.14.x-rt/0374-srcu-use-cpu_online-instead-custom-check.patch index 00ec52e3c..3ba858a92 100644 --- a/kernel/patches-4.14.x-rt/0374-srcu-use-cpu_online-instead-custom-check.patch +++ b/kernel/patches-4.14.x-rt/0374-srcu-use-cpu_online-instead-custom-check.patch @@ -1,7 +1,7 @@ From caaa4d10322908e9a347914745e83e2a55078869 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 14:43:41 +0200 -Subject: [PATCH 374/437] srcu: use cpu_online() instead custom check +Subject: [PATCH 374/450] 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 f37d06ec5ee1..9eb9cfc9c9c1 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0375-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0375-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch index 8ead8a5d0..a2e9117ed 100644 --- a/kernel/patches-4.14.x-rt/0375-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0375-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch @@ -1,7 +1,7 @@ From 43889bcadc61d257269a3e2a53b9e18735eed7cd Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 10 Oct 2017 13:52:30 -0700 -Subject: [PATCH 375/437] srcu: Prohibit call_srcu() use under raw spinlocks +Subject: [PATCH 375/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0376-srcu-replace-local_irqsave-with-a-locallock.patch b/kernel/patches-4.14.x-rt/0376-srcu-replace-local_irqsave-with-a-locallock.patch index da908b4f6..4af189925 100644 --- a/kernel/patches-4.14.x-rt/0376-srcu-replace-local_irqsave-with-a-locallock.patch +++ b/kernel/patches-4.14.x-rt/0376-srcu-replace-local_irqsave-with-a-locallock.patch @@ -1,7 +1,7 @@ From 9187b49972fb5e3dd39648dbe291367f4c6301ec Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 18:37:12 +0200 -Subject: [PATCH 376/437] srcu: replace local_irqsave() with a locallock +Subject: [PATCH 376/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0377-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch b/kernel/patches-4.14.x-rt/0377-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch index 96039ecd3..56b62dd9a 100644 --- a/kernel/patches-4.14.x-rt/0377-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0377-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch @@ -1,7 +1,7 @@ From 52e351d171ad9613e98b9225c454752608601c5b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 13:26:09 +0000 -Subject: [PATCH 377/437] rcu: Disable RCU_FAST_NO_HZ on RT +Subject: [PATCH 377/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0378-rcu-Eliminate-softirq-processing-from-rcutree.patch b/kernel/patches-4.14.x-rt/0378-rcu-Eliminate-softirq-processing-from-rcutree.patch index 8c1041f22..6d26c4d55 100644 --- a/kernel/patches-4.14.x-rt/0378-rcu-Eliminate-softirq-processing-from-rcutree.patch +++ b/kernel/patches-4.14.x-rt/0378-rcu-Eliminate-softirq-processing-from-rcutree.patch @@ -1,7 +1,7 @@ From e8988263ff2200f395d64cd7155fbd509a10c203 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Mon, 4 Nov 2013 13:21:10 -0800 -Subject: [PATCH 378/437] rcu: Eliminate softirq processing from rcutree +Subject: [PATCH 378/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0379-rcu-make-RCU_BOOST-default-on-RT.patch b/kernel/patches-4.14.x-rt/0379-rcu-make-RCU_BOOST-default-on-RT.patch index 72a756173..415451e13 100644 --- a/kernel/patches-4.14.x-rt/0379-rcu-make-RCU_BOOST-default-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0379-rcu-make-RCU_BOOST-default-on-RT.patch @@ -1,7 +1,7 @@ From 247b33cc05750e8c8b687fc9f89d22067cfc6498 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Mar 2014 20:19:05 +0100 -Subject: [PATCH 379/437] rcu: make RCU_BOOST default on RT +Subject: [PATCH 379/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0380-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch b/kernel/patches-4.14.x-rt/0380-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch index 168ecb990..557f61f8c 100644 --- a/kernel/patches-4.14.x-rt/0380-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0380-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch @@ -1,7 +1,7 @@ From 9ceb8105da087da29f94ffe4403cc2010158c4d5 Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Wed, 12 Oct 2016 11:21:14 -0500 -Subject: [PATCH 380/437] rcu: enable rcu_normal_after_boot by default for RT +Subject: [PATCH 380/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0381-sched-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0381-sched-Add-support-for-lazy-preemption.patch index 646f960b1..5c1f3b658 100644 --- a/kernel/patches-4.14.x-rt/0381-sched-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0381-sched-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ From e12239c4111671341a3541f2d5bf0c11ab461a95 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 26 Oct 2012 18:50:54 +0100 -Subject: [PATCH 381/437] sched: Add support for lazy preemption +Subject: [PATCH 381/450] 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 @@ -647,5 +647,5 @@ index dfbe55f3e6ac..74a4bfc2c6b7 100644 trace_seq_printf(s, "%x", entry->migrate_disable); else -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0382-ftrace-Fix-trace-header-alignment.patch b/kernel/patches-4.14.x-rt/0382-ftrace-Fix-trace-header-alignment.patch index bd11fc940..5db071e99 100644 --- a/kernel/patches-4.14.x-rt/0382-ftrace-Fix-trace-header-alignment.patch +++ b/kernel/patches-4.14.x-rt/0382-ftrace-Fix-trace-header-alignment.patch @@ -1,7 +1,7 @@ From 390a5ced0ef719df2a79efefb432898a454b628f Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:08:30 +0200 -Subject: [PATCH 382/437] ftrace: Fix trace header alignment +Subject: [PATCH 382/450] ftrace: Fix trace header alignment Line up helper arrows to the right column. @@ -47,5 +47,5 @@ index 18c88eb19b5e..4fc60e5ec4b9 100644 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0383-x86-Support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0383-x86-Support-for-lazy-preemption.patch index d3127b6b4..b116c0074 100644 --- a/kernel/patches-4.14.x-rt/0383-x86-Support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0383-x86-Support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ From fd1e22d07c1cfd9b044d2651d635faeea31409ee Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 11:03:47 +0100 -Subject: [PATCH 383/437] x86: Support for lazy preemption +Subject: [PATCH 383/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0384-arm-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0384-arm-Add-support-for-lazy-preemption.patch index b0bdce3a5..cda9f594f 100644 --- a/kernel/patches-4.14.x-rt/0384-arm-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0384-arm-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ From d43c1351f9ca08417f637274c72a3026ca6c8485 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 31 Oct 2012 12:04:11 +0100 -Subject: [PATCH 384/437] arm: Add support for lazy preemption +Subject: [PATCH 384/450] arm: Add support for lazy preemption Implement the arm pieces for lazy preempt. @@ -163,5 +163,5 @@ index cdfe52b15a0a..198cf8bf0b37 100644 } else { if (unlikely(!user_mode(regs))) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0385-powerpc-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0385-powerpc-Add-support-for-lazy-preemption.patch index f94a76b36..69c6dd640 100644 --- a/kernel/patches-4.14.x-rt/0385-powerpc-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0385-powerpc-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ From 70711d06940fcca6da7a80610b8c039da2c37d52 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 10:14:11 +0100 -Subject: [PATCH 385/437] powerpc: Add support for lazy preemption +Subject: [PATCH 385/450] powerpc: Add support for lazy preemption Implement the powerpc pieces for lazy preempt. @@ -183,5 +183,5 @@ index c194f4c8e66b..117c1f6cab66 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0386-arch-arm64-Add-lazy-preempt-support.patch b/kernel/patches-4.14.x-rt/0386-arch-arm64-Add-lazy-preempt-support.patch index 6e9b80f50..9aa60bf43 100644 --- a/kernel/patches-4.14.x-rt/0386-arch-arm64-Add-lazy-preempt-support.patch +++ b/kernel/patches-4.14.x-rt/0386-arch-arm64-Add-lazy-preempt-support.patch @@ -1,7 +1,7 @@ From 1b9d589106a2724d38ad507d597fcd1a408708b4 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 14 May 2015 17:52:17 +0200 -Subject: [PATCH 386/437] arch/arm64: Add lazy preempt support +Subject: [PATCH 386/450] 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, @@ -128,5 +128,5 @@ index 43442b3a463f..81bf9545a589 100644 } else { local_irq_enable(); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0387-leds-trigger-disable-CPU-trigger-on-RT.patch b/kernel/patches-4.14.x-rt/0387-leds-trigger-disable-CPU-trigger-on-RT.patch index 4bc53fbab..d589c3aba 100644 --- a/kernel/patches-4.14.x-rt/0387-leds-trigger-disable-CPU-trigger-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0387-leds-trigger-disable-CPU-trigger-on-RT.patch @@ -1,7 +1,7 @@ From 50cf6e2ce0055e575512a80c22b66446e72f64b4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Jan 2014 14:45:59 +0100 -Subject: [PATCH 387/437] leds: trigger: disable CPU trigger on -RT +Subject: [PATCH 387/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0388-mmci-Remove-bogus-local_irq_save.patch b/kernel/patches-4.14.x-rt/0388-mmci-Remove-bogus-local_irq_save.patch index 754dc0f04..deacf0784 100644 --- a/kernel/patches-4.14.x-rt/0388-mmci-Remove-bogus-local_irq_save.patch +++ b/kernel/patches-4.14.x-rt/0388-mmci-Remove-bogus-local_irq_save.patch @@ -1,7 +1,7 @@ From 00e0a0a9acb880d960e1b10a4fa3224d6a2f630a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:11:12 +0100 -Subject: [PATCH 388/437] mmci: Remove bogus local_irq_save() +Subject: [PATCH 388/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0389-cpufreq-drop-K8-s-driver-from-beeing-selected.patch b/kernel/patches-4.14.x-rt/0389-cpufreq-drop-K8-s-driver-from-beeing-selected.patch index 26cb1f248..0ce27e144 100644 --- a/kernel/patches-4.14.x-rt/0389-cpufreq-drop-K8-s-driver-from-beeing-selected.patch +++ b/kernel/patches-4.14.x-rt/0389-cpufreq-drop-K8-s-driver-from-beeing-selected.patch @@ -1,7 +1,7 @@ From a826d8b77351a76c294bebc69d0960a886a5649d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 9 Apr 2015 15:23:01 +0200 -Subject: [PATCH 389/437] cpufreq: drop K8's driver from beeing selected +Subject: [PATCH 389/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0390-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch b/kernel/patches-4.14.x-rt/0390-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch index 178d5a36c..e85e7112c 100644 --- a/kernel/patches-4.14.x-rt/0390-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch +++ b/kernel/patches-4.14.x-rt/0390-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch @@ -1,7 +1,7 @@ From 7b81b256010ffb7952153f83a93a0f65ff7d187c Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:11:54 +0200 -Subject: [PATCH 390/437] connector/cn_proc: Protect send_msg() with a local +Subject: [PATCH 390/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0391-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/kernel/patches-4.14.x-rt/0391-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch index 9c06d6fa5..90c450253 100644 --- a/kernel/patches-4.14.x-rt/0391-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch +++ b/kernel/patches-4.14.x-rt/0391-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch @@ -1,7 +1,7 @@ From 16ccbac971b79234c20b2a26399bc971088d0b69 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 31 Mar 2016 04:08:28 +0200 -Subject: [PATCH 391/437] drivers/block/zram: Replace bit spinlocks with +Subject: [PATCH 391/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0392-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch b/kernel/patches-4.14.x-rt/0392-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch index 00518abe5..711fce209 100644 --- a/kernel/patches-4.14.x-rt/0392-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch +++ b/kernel/patches-4.14.x-rt/0392-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch @@ -1,7 +1,7 @@ From 912de8033e7d10dcf3340bd41af5db636c239e72 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 20 Oct 2016 11:15:22 +0200 -Subject: [PATCH 392/437] drivers/zram: Don't disable preemption in +Subject: [PATCH 392/450] 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 bde8871f41ed..269a16e312f7 100644 /* Should NEVER happen. Return bio error if it does. */ -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0393-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch b/kernel/patches-4.14.x-rt/0393-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch index 04c432125..f4db705e7 100644 --- a/kernel/patches-4.14.x-rt/0393-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch +++ b/kernel/patches-4.14.x-rt/0393-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch @@ -1,7 +1,7 @@ From 72be58e6adba4825bfad0c9604eed85fcd8030ca Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 23 Aug 2017 11:57:29 +0200 -Subject: [PATCH 393/437] drivers/zram: fix zcomp_stream_get() +Subject: [PATCH 393/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0394-tpm_tis-fix-stall-after-iowrite-s.patch b/kernel/patches-4.14.x-rt/0394-tpm_tis-fix-stall-after-iowrite-s.patch index ab7969c0d..6d6afe66e 100644 --- a/kernel/patches-4.14.x-rt/0394-tpm_tis-fix-stall-after-iowrite-s.patch +++ b/kernel/patches-4.14.x-rt/0394-tpm_tis-fix-stall-after-iowrite-s.patch @@ -1,7 +1,7 @@ From 89f1902ff3e45ed84f483356f9c28ae5afa78d0c Mon Sep 17 00:00:00 2001 From: Haris Okanovic Date: Tue, 15 Aug 2017 15:13:08 -0500 -Subject: [PATCH 394/437] tpm_tis: fix stall after iowrite*()s +Subject: [PATCH 394/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0395-pci-switchtec-Don-t-use-completion-s-wait-queue.patch b/kernel/patches-4.14.x-rt/0395-pci-switchtec-Don-t-use-completion-s-wait-queue.patch index b08fb19ae..29558d312 100644 --- a/kernel/patches-4.14.x-rt/0395-pci-switchtec-Don-t-use-completion-s-wait-queue.patch +++ b/kernel/patches-4.14.x-rt/0395-pci-switchtec-Don-t-use-completion-s-wait-queue.patch @@ -1,7 +1,7 @@ From 275b4646cd942674533ee907cf94b2d37731d9f1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 10:24:23 +0200 -Subject: [PATCH 395/437] pci/switchtec: Don't use completion's wait queue +Subject: [PATCH 395/450] 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 620f5b995a12..7fd1548a2905 100644 stuser_put(stuser); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0396-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch b/kernel/patches-4.14.x-rt/0396-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch index bb1b7f252..84b6ce11a 100644 --- a/kernel/patches-4.14.x-rt/0396-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch +++ b/kernel/patches-4.14.x-rt/0396-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch @@ -1,7 +1,7 @@ From 70536d56ecd5eb835f376d928cf1c650c3b7c224 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 08:09:11 +0100 -Subject: [PATCH 396/437] drm,radeon,i915: Use preempt_disable/enable_rt() +Subject: [PATCH 396/450] drm,radeon,i915: Use preempt_disable/enable_rt() where recommended DRM folks identified the spots, so use them. @@ -56,5 +56,5 @@ index ddfe91efa61e..3157bcf6428f 100644 /* Decode into vertical and horizontal scanout position. */ *vpos = position & 0x1fff; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0397-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch b/kernel/patches-4.14.x-rt/0397-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch index 727d7cf01..fc1b092d6 100644 --- a/kernel/patches-4.14.x-rt/0397-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch +++ b/kernel/patches-4.14.x-rt/0397-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch @@ -1,7 +1,7 @@ From 64527d1b545fbf0b43017ec72478da9183dda8f9 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 09:01:42 +0100 -Subject: [PATCH 397/437] drm,i915: Use local_lock/unlock_irq() in +Subject: [PATCH 397/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0398-cgroups-use-simple-wait-in-css_release.patch b/kernel/patches-4.14.x-rt/0398-cgroups-use-simple-wait-in-css_release.patch index 80d4b893b..172516c5a 100644 --- a/kernel/patches-4.14.x-rt/0398-cgroups-use-simple-wait-in-css_release.patch +++ b/kernel/patches-4.14.x-rt/0398-cgroups-use-simple-wait-in-css_release.patch @@ -1,7 +1,7 @@ From d7802ae19e6c72f9ac79e4f520aafd24bb103d57 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Feb 2015 15:52:24 +0100 -Subject: [PATCH 398/437] cgroups: use simple wait in css_release() +Subject: [PATCH 398/450] 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 3fc11b8851ac..a04c3aded76b 100644 } core_initcall(cgroup_wq_init); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0399-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch b/kernel/patches-4.14.x-rt/0399-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch index f9fa03575..bdc064874 100644 --- a/kernel/patches-4.14.x-rt/0399-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch +++ b/kernel/patches-4.14.x-rt/0399-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch @@ -1,7 +1,7 @@ From 34595ece203d1febe0328f568e10ed4d6a5a70c5 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 21 Jun 2014 10:09:48 +0200 -Subject: [PATCH 399/437] memcontrol: Prevent scheduling while atomic in cgroup +Subject: [PATCH 399/450] memcontrol: Prevent scheduling while atomic in cgroup code mm, memcg: make refill_stock() use get_cpu_light() @@ -107,5 +107,5 @@ index 3cc297730103..8d08b70b1ccb 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0400-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch b/kernel/patches-4.14.x-rt/0400-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch index 2c8b58c32..25e877b83 100644 --- a/kernel/patches-4.14.x-rt/0400-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch +++ b/kernel/patches-4.14.x-rt/0400-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch @@ -1,7 +1,7 @@ From 01aa0701d977d76b4eac89743dc50139389ed301 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 22 Nov 2017 07:31:19 -0500 -Subject: [PATCH 400/437] Revert "memcontrol: Prevent scheduling while atomic +Subject: [PATCH 400/450] Revert "memcontrol: Prevent scheduling while atomic in cgroup code" The commit "memcontrol: Prevent scheduling while atomic in cgroup code" @@ -102,5 +102,5 @@ index 8d08b70b1ccb..3cc297730103 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0401-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch b/kernel/patches-4.14.x-rt/0401-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch index 021575ec8..c850db396 100644 --- a/kernel/patches-4.14.x-rt/0401-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch +++ b/kernel/patches-4.14.x-rt/0401-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch @@ -1,7 +1,7 @@ From c57cd4291d8026ef3c55b26b80471f4a62dd1742 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 8 Jan 2017 09:32:25 +0100 -Subject: [PATCH 401/437] cpuset: Convert callback_lock to raw_spinlock_t +Subject: [PATCH 401/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0402-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch b/kernel/patches-4.14.x-rt/0402-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch index d0e04e1e2..8b87bed0d 100644 --- a/kernel/patches-4.14.x-rt/0402-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch +++ b/kernel/patches-4.14.x-rt/0402-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch @@ -1,7 +1,7 @@ From adcfdb200a27ac5fe36e4b2acf769140cd46a0ef Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 26 Jun 2013 15:28:11 -0400 -Subject: [PATCH 402/437] rt,ntp: Move call to schedule_delayed_work() to +Subject: [PATCH 402/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0403-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch b/kernel/patches-4.14.x-rt/0403-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch index f15ba2e56..8e35cad7d 100644 --- a/kernel/patches-4.14.x-rt/0403-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch +++ b/kernel/patches-4.14.x-rt/0403-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch @@ -1,7 +1,7 @@ From 9b8e921f44850673998d430379102463ddb4e322 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 2 Mar 2018 11:37:57 +0100 -Subject: [PATCH 403/437] Revert "rt,ntp: Move call to schedule_delayed_work() +Subject: [PATCH 403/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0404-md-disable-bcache.patch b/kernel/patches-4.14.x-rt/0404-md-disable-bcache.patch index cc5d17104..b49567f25 100644 --- a/kernel/patches-4.14.x-rt/0404-md-disable-bcache.patch +++ b/kernel/patches-4.14.x-rt/0404-md-disable-bcache.patch @@ -1,7 +1,7 @@ From caddc553410834e9233c4949d6ef6df413bbfd78 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 11:48:57 +0200 -Subject: [PATCH 404/437] md: disable bcache +Subject: [PATCH 404/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0405-apparmor-use-a-locallock-instead-preempt_disable.patch b/kernel/patches-4.14.x-rt/0405-apparmor-use-a-locallock-instead-preempt_disable.patch index fbe4308e5..4121d4812 100644 --- a/kernel/patches-4.14.x-rt/0405-apparmor-use-a-locallock-instead-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0405-apparmor-use-a-locallock-instead-preempt_disable.patch @@ -1,7 +1,7 @@ From 820c946179cf515de1701e6a5493f452b45fbede Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 11 Oct 2017 17:43:49 +0200 -Subject: [PATCH 405/437] apparmor: use a locallock instead preempt_disable() +Subject: [PATCH 405/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0406-workqueue-Prevent-deadlock-stall-on-RT.patch b/kernel/patches-4.14.x-rt/0406-workqueue-Prevent-deadlock-stall-on-RT.patch index 203be4d9b..cb3cc1dc9 100644 --- a/kernel/patches-4.14.x-rt/0406-workqueue-Prevent-deadlock-stall-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0406-workqueue-Prevent-deadlock-stall-on-RT.patch @@ -1,7 +1,7 @@ From fab8d1ee5c6af549a87a97f4b19d714a10db0426 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 27 Jun 2014 16:24:52 +0200 -Subject: [PATCH 406/437] workqueue: Prevent deadlock/stall on RT +Subject: [PATCH 406/450] 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. @@ -203,5 +203,5 @@ index c0b2a2e65d75..76297cce5602 100644 wake_up_process(worker->task); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0407-Add-localversion-for-RT-release.patch b/kernel/patches-4.14.x-rt/0407-Add-localversion-for-RT-release.patch index edf92f5ae..97b842737 100644 --- a/kernel/patches-4.14.x-rt/0407-Add-localversion-for-RT-release.patch +++ b/kernel/patches-4.14.x-rt/0407-Add-localversion-for-RT-release.patch @@ -1,7 +1,7 @@ From 48efc524be9a3f19f515111ef17bd8d2b384c13c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 20:25:16 +0200 -Subject: [PATCH 407/437] Add localversion for -RT release +Subject: [PATCH 407/450] Add localversion for -RT release Signed-off-by: Thomas Gleixner --- @@ -17,5 +17,5 @@ index 000000000000..90290c642ed5 @@ -0,0 +1 @@ +-rt29 -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0408-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch b/kernel/patches-4.14.x-rt/0408-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch index e4a109c3c..bfa0bdc55 100644 --- a/kernel/patches-4.14.x-rt/0408-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch +++ b/kernel/patches-4.14.x-rt/0408-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch @@ -1,7 +1,7 @@ From 73ad7ee5b5504b356b95554b8eca6fd7b860f4c4 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:49 -0500 -Subject: [PATCH 408/437] tracing: Add field modifier parsing hist error for +Subject: [PATCH 408/450] tracing: Add field modifier parsing hist error for hist triggers [ commit dcf234577cd31fa16874e828b90659166ad6b80d ] @@ -48,5 +48,5 @@ index 37db86145c8b..b8fee11b5be9 100644 goto out; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0409-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch b/kernel/patches-4.14.x-rt/0409-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch index 4bd33071b..cb80f5156 100644 --- a/kernel/patches-4.14.x-rt/0409-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch +++ b/kernel/patches-4.14.x-rt/0409-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch @@ -1,7 +1,7 @@ From 021f7471b02c2cfdad311aea8ede35632c0ee645 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:48 -0500 -Subject: [PATCH 409/437] tracing: Add field parsing hist error for hist +Subject: [PATCH 409/450] tracing: Add field parsing hist error for hist triggers [ commit 5ec432d7bf9dd3b4a2b84f8974e3adb71f45fb1d ] @@ -49,5 +49,5 @@ index b8fee11b5be9..9dac8bae4f34 100644 goto out; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0410-tracing-Restore-proper-field-flag-printing-when-disp.patch b/kernel/patches-4.14.x-rt/0410-tracing-Restore-proper-field-flag-printing-when-disp.patch index 6b25afe7a..902813924 100644 --- a/kernel/patches-4.14.x-rt/0410-tracing-Restore-proper-field-flag-printing-when-disp.patch +++ b/kernel/patches-4.14.x-rt/0410-tracing-Restore-proper-field-flag-printing-when-disp.patch @@ -1,7 +1,7 @@ From fde475b48caa0305c67f9be0779b4a40bb395d80 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 26 Apr 2018 20:04:47 -0500 -Subject: [PATCH 410/437] tracing: Restore proper field flag printing when +Subject: [PATCH 410/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0411-tracing-Uninitialized-variable-in-create_tracing_map.patch b/kernel/patches-4.14.x-rt/0411-tracing-Uninitialized-variable-in-create_tracing_map.patch index f98b050e5..9ba593d6f 100644 --- a/kernel/patches-4.14.x-rt/0411-tracing-Uninitialized-variable-in-create_tracing_map.patch +++ b/kernel/patches-4.14.x-rt/0411-tracing-Uninitialized-variable-in-create_tracing_map.patch @@ -1,7 +1,7 @@ From 725257de5a2c7d7f5c56e8c7cd2e2bdebc89827a Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 28 Mar 2018 14:48:15 +0300 -Subject: [PATCH 411/437] tracing: Uninitialized variable in +Subject: [PATCH 411/450] 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.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0412-tracing-Fix-a-potential-NULL-dereference.patch b/kernel/patches-4.14.x-rt/0412-tracing-Fix-a-potential-NULL-dereference.patch index ca85ba691..b86b3cca4 100644 --- a/kernel/patches-4.14.x-rt/0412-tracing-Fix-a-potential-NULL-dereference.patch +++ b/kernel/patches-4.14.x-rt/0412-tracing-Fix-a-potential-NULL-dereference.patch @@ -1,7 +1,7 @@ From af8d7ff47947a46db5dae3490d96902af582e85c Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 23 Mar 2018 14:37:36 +0300 -Subject: [PATCH 412/437] tracing: Fix a potential NULL dereference +Subject: [PATCH 412/450] tracing: Fix a potential NULL dereference [ commit 5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 ] @@ -31,5 +31,5 @@ index b3808969ac92..24bc0769fdd6 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0413-sched-fair-Fix-CFS-bandwidth-control-lockdep-DEADLOC.patch b/kernel/patches-4.14.x-rt/0413-sched-fair-Fix-CFS-bandwidth-control-lockdep-DEADLOC.patch index 0cfbd968b..60a9fcc1f 100644 --- a/kernel/patches-4.14.x-rt/0413-sched-fair-Fix-CFS-bandwidth-control-lockdep-DEADLOC.patch +++ b/kernel/patches-4.14.x-rt/0413-sched-fair-Fix-CFS-bandwidth-control-lockdep-DEADLOC.patch @@ -1,7 +1,7 @@ From e03fc4f4b97262c8bddc2e79a6203f422adc41c3 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 4 May 2018 08:14:38 +0200 -Subject: [PATCH 413/437] sched/fair: Fix CFS bandwidth control lockdep +Subject: [PATCH 413/450] sched/fair: Fix CFS bandwidth control lockdep DEADLOCK report [ Upstream commit df7e8acc0c9a84979a448d215b8ef889efe4ac5a ] @@ -54,5 +54,5 @@ index 9cae149e78b6..d0c0c13b3bcb 100644 cfs_b->distribute_running = 0; } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0414-locallock-provide-get-put-_locked_ptr-variants.patch b/kernel/patches-4.14.x-rt/0414-locallock-provide-get-put-_locked_ptr-variants.patch index ba74f0d5e..97cd0c0cf 100644 --- a/kernel/patches-4.14.x-rt/0414-locallock-provide-get-put-_locked_ptr-variants.patch +++ b/kernel/patches-4.14.x-rt/0414-locallock-provide-get-put-_locked_ptr-variants.patch @@ -1,7 +1,7 @@ From 6e1dd27911fb7da4408d81137f91d0cef5d946a9 Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Mon, 7 May 2018 08:58:56 -0500 -Subject: [PATCH 414/437] locallock: provide {get,put}_locked_ptr() variants +Subject: [PATCH 414/450] locallock: provide {get,put}_locked_ptr() variants [ Upstream commit 3d45cf23db4f76cd356ebb0aa4cdaa7d92d1a64e ] @@ -47,5 +47,5 @@ index d658c2552601..921eab83cd34 100644 #define local_lock_cpu(lvar) get_cpu() #define local_unlock_cpu(lvar) put_cpu() -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0415-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch b/kernel/patches-4.14.x-rt/0415-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch index 0fb0f6889..81045af12 100644 --- a/kernel/patches-4.14.x-rt/0415-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch +++ b/kernel/patches-4.14.x-rt/0415-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch @@ -1,7 +1,7 @@ From 0eced237e47c220bbf17a7acad60f4f34328becb Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Mon, 7 May 2018 08:58:57 -0500 -Subject: [PATCH 415/437] squashfs: make use of local lock in multi_cpu +Subject: [PATCH 415/450] squashfs: make use of local lock in multi_cpu decompressor [ Upstream commit c160736542d7b3d67da32848d2f028b8e35730e5 ] @@ -70,5 +70,5 @@ index 23a9c28ad8ea..6a73c4fa88e7 100644 if (res < 0) ERROR("%s decompression failed, data probably corrupt\n", -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0416-PM-suspend-Prevent-might-sleep-splats-updated.patch b/kernel/patches-4.14.x-rt/0416-PM-suspend-Prevent-might-sleep-splats-updated.patch index c5dc3bd64..c10b496a7 100644 --- a/kernel/patches-4.14.x-rt/0416-PM-suspend-Prevent-might-sleep-splats-updated.patch +++ b/kernel/patches-4.14.x-rt/0416-PM-suspend-Prevent-might-sleep-splats-updated.patch @@ -1,7 +1,7 @@ From 2c9553a6b784c6d6c423df6d05f39fb46218f9b1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 29 May 2018 17:44:24 +0200 -Subject: [PATCH 416/437] PM / suspend: Prevent might sleep splats (updated) +Subject: [PATCH 416/450] PM / suspend: Prevent might sleep splats (updated) [ Upstream commit ec7ff06b919647a2fd7d2761a26f5a1d465e819c ] @@ -35,5 +35,5 @@ index 7f5a26c3a8ee..7a87a4488a5e 100644 smp_processor_id(), false); } else { -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0417-PM-wakeup-Make-events_lock-a-RAW_SPINLOCK.patch b/kernel/patches-4.14.x-rt/0417-PM-wakeup-Make-events_lock-a-RAW_SPINLOCK.patch index db82398eb..7f5d48a0c 100644 --- a/kernel/patches-4.14.x-rt/0417-PM-wakeup-Make-events_lock-a-RAW_SPINLOCK.patch +++ b/kernel/patches-4.14.x-rt/0417-PM-wakeup-Make-events_lock-a-RAW_SPINLOCK.patch @@ -1,7 +1,7 @@ From d2b5a1778932ef8e6d6d9fad741154c7ac96ef12 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 25 May 2018 09:57:42 +0200 -Subject: [PATCH 417/437] PM / wakeup: Make events_lock a RAW_SPINLOCK +Subject: [PATCH 417/450] PM / wakeup: Make events_lock a RAW_SPINLOCK [ Upstream commit 1debb85a1d7d5c7655b4574f5b0ddf5f7c84873e ] @@ -87,5 +87,5 @@ index cdd6f256da59..2269d379c92f 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0418-PM-s2idle-Make-s2idle_wait_head-swait-based.patch b/kernel/patches-4.14.x-rt/0418-PM-s2idle-Make-s2idle_wait_head-swait-based.patch index 26595ec76..a8ac3aee7 100644 --- a/kernel/patches-4.14.x-rt/0418-PM-s2idle-Make-s2idle_wait_head-swait-based.patch +++ b/kernel/patches-4.14.x-rt/0418-PM-s2idle-Make-s2idle_wait_head-swait-based.patch @@ -1,7 +1,7 @@ From 2803214c9456f6e0a7cf24b2177f744fbde0b2ec Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 25 May 2018 10:05:13 +0200 -Subject: [PATCH 418/437] PM / s2idle: Make s2idle_wait_head swait based +Subject: [PATCH 418/450] PM / s2idle: Make s2idle_wait_head swait based [ Upstream commit 93f141324d4860a1294e6899923c01ec5411d70b ] @@ -58,5 +58,5 @@ index 999236413460..b89605fe0e88 100644 raw_spin_unlock_irqrestore(&s2idle_lock, flags); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0419-seqlock-provide-the-same-ordering-semantics-as-mainl.patch b/kernel/patches-4.14.x-rt/0419-seqlock-provide-the-same-ordering-semantics-as-mainl.patch index 8f553737f..4ff46c01e 100644 --- a/kernel/patches-4.14.x-rt/0419-seqlock-provide-the-same-ordering-semantics-as-mainl.patch +++ b/kernel/patches-4.14.x-rt/0419-seqlock-provide-the-same-ordering-semantics-as-mainl.patch @@ -1,7 +1,7 @@ From afe78b8ee4460bb77ce376aa675bcb60ee95ace2 Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Thu, 26 Apr 2018 15:02:03 -0500 -Subject: [PATCH 419/437] seqlock: provide the same ordering semantics as +Subject: [PATCH 419/450] seqlock: provide the same ordering semantics as mainline [ Upstream commit afa4c06b89a3c0fb7784ff900ccd707bef519cb7 ] @@ -35,5 +35,5 @@ index a59751276b94..107079a2d7ed 100644 } #endif -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0420-Revert-x86-UV-raw_spinlock-conversion.patch b/kernel/patches-4.14.x-rt/0420-Revert-x86-UV-raw_spinlock-conversion.patch index f3297adf3..30aa997ae 100644 --- a/kernel/patches-4.14.x-rt/0420-Revert-x86-UV-raw_spinlock-conversion.patch +++ b/kernel/patches-4.14.x-rt/0420-Revert-x86-UV-raw_spinlock-conversion.patch @@ -1,7 +1,7 @@ From ac07ce3c3b6d12aae774e58bb8c449c772ecc185 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 18 Jun 2018 10:34:34 +0200 -Subject: [PATCH 420/437] Revert "x86: UV: raw_spinlock conversion" +Subject: [PATCH 420/450] Revert "x86: UV: raw_spinlock conversion" [ Upstream commit 2a9c45d8f89112458364285cbe2b0729561953f1 ] @@ -252,5 +252,5 @@ index badf377efc21..b082d71b08ee 100644 /* -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0421-Revert-timer-delay-waking-softirqs-from-the-jiffy-ti.patch b/kernel/patches-4.14.x-rt/0421-Revert-timer-delay-waking-softirqs-from-the-jiffy-ti.patch index 7bf1c3b9b..8e99accea 100644 --- a/kernel/patches-4.14.x-rt/0421-Revert-timer-delay-waking-softirqs-from-the-jiffy-ti.patch +++ b/kernel/patches-4.14.x-rt/0421-Revert-timer-delay-waking-softirqs-from-the-jiffy-ti.patch @@ -1,7 +1,7 @@ From d05efb043fdc95a8cf20c7b0642eeec1817f9c33 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Thu, 5 Jul 2018 12:43:18 +0200 -Subject: [PATCH 421/437] Revert "timer: delay waking softirqs from the jiffy +Subject: [PATCH 421/450] Revert "timer: delay waking softirqs from the jiffy tick" [ Upstream commit b5b16907c58280e015d5673dca4c6bd3fde0c348 ] @@ -40,5 +40,5 @@ index ea742b49bdb5..5fadd754ce20 100644 run_posix_cpu_timers(p); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0422-irqchip-gic-v3-its-Make-its_lock-a-raw_spin_lock_t.patch b/kernel/patches-4.14.x-rt/0422-irqchip-gic-v3-its-Make-its_lock-a-raw_spin_lock_t.patch index f3c9b016f..cdedb2dac 100644 --- a/kernel/patches-4.14.x-rt/0422-irqchip-gic-v3-its-Make-its_lock-a-raw_spin_lock_t.patch +++ b/kernel/patches-4.14.x-rt/0422-irqchip-gic-v3-its-Make-its_lock-a-raw_spin_lock_t.patch @@ -1,7 +1,7 @@ From 931ccf1b69d6dfecdea4048cec1a5f212511960c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Jul 2018 15:30:52 +0200 -Subject: [PATCH 422/437] irqchip/gic-v3-its: Make its_lock a raw_spin_lock_t +Subject: [PATCH 422/450] irqchip/gic-v3-its: Make its_lock a raw_spin_lock_t [ Upstream commit c7a3334c762a9b1dd2e39cb2ded00ce66e8a06d1 ] @@ -61,5 +61,5 @@ index 2ea39a83737f..e8217ebe8c1e 100644 return 0; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0423-sched-migrate_disable-fallback-to-preempt_disable-in.patch b/kernel/patches-4.14.x-rt/0423-sched-migrate_disable-fallback-to-preempt_disable-in.patch index 0d974ecf6..7b84b153d 100644 --- a/kernel/patches-4.14.x-rt/0423-sched-migrate_disable-fallback-to-preempt_disable-in.patch +++ b/kernel/patches-4.14.x-rt/0423-sched-migrate_disable-fallback-to-preempt_disable-in.patch @@ -1,7 +1,7 @@ From db458c25559ed124e7b2dd0feeb8161f925fd4c2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Jul 2018 14:44:51 +0200 -Subject: [PATCH 423/437] sched/migrate_disable: fallback to preempt_disable() +Subject: [PATCH 423/450] sched/migrate_disable: fallback to preempt_disable() instead barrier() [ Upstream commit 10e90c155bbc7cab420f47694404f8f9fe33c2b2 ] @@ -202,5 +202,5 @@ index 3108da1ee253..b5b43861c2b6 100644 #endif P(nr_cpus_allowed); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0424-irqchip-gic-v3-its-Move-ITS-pend_page-allocation-int.patch b/kernel/patches-4.14.x-rt/0424-irqchip-gic-v3-its-Move-ITS-pend_page-allocation-int.patch index b3b476bf3..3023ad562 100644 --- a/kernel/patches-4.14.x-rt/0424-irqchip-gic-v3-its-Move-ITS-pend_page-allocation-int.patch +++ b/kernel/patches-4.14.x-rt/0424-irqchip-gic-v3-its-Move-ITS-pend_page-allocation-int.patch @@ -1,7 +1,7 @@ From 1536114d052ea22427284cb92273283011d46bf6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Jul 2018 15:45:36 +0200 -Subject: [PATCH 424/437] irqchip/gic-v3-its: Move ITS' ->pend_page allocation +Subject: [PATCH 424/450] irqchip/gic-v3-its: Move ITS' ->pend_page allocation into an early CPU up hook [ Upstream commit e083f14dc2e98ced872bf077b4d1cccf95b7e4f8 ] @@ -133,5 +133,5 @@ index e8217ebe8c1e..60533a795124 100644 has_v4 |= its->is_v4; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0425-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch b/kernel/patches-4.14.x-rt/0425-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch index 8fe45fc7b..e2d73e834 100644 --- a/kernel/patches-4.14.x-rt/0425-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch +++ b/kernel/patches-4.14.x-rt/0425-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch @@ -1,7 +1,7 @@ From 0f211fcb3e547aaa7e2148b82f3a019aa9eb0ffd Mon Sep 17 00:00:00 2001 From: Marc Zyngier Date: Fri, 27 Jul 2018 13:38:54 +0100 -Subject: [PATCH 425/437] irqchip/gic-v3-its: Move pending table allocation to +Subject: [PATCH 425/450] irqchip/gic-v3-its: Move pending table allocation to init time [ Upstream commit 4a0819bb25d12d39c0390636122eefba232596c1 ] @@ -169,5 +169,5 @@ index bacb499c512c..688f2565294c 100644 struct page *prop_page; int id_bits; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0426-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch b/kernel/patches-4.14.x-rt/0426-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch index 0de5e1440..c648c6ab3 100644 --- a/kernel/patches-4.14.x-rt/0426-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch +++ b/kernel/patches-4.14.x-rt/0426-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch @@ -1,7 +1,7 @@ From c7627c7bde5f3a171a7838b80b8e146e9deb79ae Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 19 Jul 2018 21:50:23 +0200 -Subject: [PATCH 426/437] x86/ioapic: Don't let setaffinity unmask threaded EOI +Subject: [PATCH 426/450] x86/ioapic: Don't let setaffinity unmask threaded EOI interrupt too early [ Upstream commit ac14002317721910204b82b9d8611dadb1cec2bb ] @@ -112,5 +112,5 @@ index 5832a9d657f2..c9af5afebc4a 100644 static void ioapic_ir_ack_level(struct irq_data *irq_data) -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0427-efi-Allow-efi-runtime.patch b/kernel/patches-4.14.x-rt/0427-efi-Allow-efi-runtime.patch index f6b3c456f..bf47acb62 100644 --- a/kernel/patches-4.14.x-rt/0427-efi-Allow-efi-runtime.patch +++ b/kernel/patches-4.14.x-rt/0427-efi-Allow-efi-runtime.patch @@ -1,7 +1,7 @@ From 18fe30d8c5cba94eb27edfb01aa859bd05e8df12 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 15:06:10 +0200 -Subject: [PATCH 427/437] efi: Allow efi=runtime +Subject: [PATCH 427/450] efi: Allow efi=runtime [ Upstream commit 71bef7da4112ed2677d4f10a58202a5a4638fb90 ] @@ -29,5 +29,5 @@ index c3eefa126e3b..9bd749389f31 100644 } early_param("efi", parse_efi_cmdline); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0428-efi-Disable-runtime-services-on-RT.patch b/kernel/patches-4.14.x-rt/0428-efi-Disable-runtime-services-on-RT.patch index e4bdb3372..d192fc5bd 100644 --- a/kernel/patches-4.14.x-rt/0428-efi-Disable-runtime-services-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0428-efi-Disable-runtime-services-on-RT.patch @@ -1,7 +1,7 @@ From 74a94472ee3b10f3ee5a2bd59cf4a24d51f1e635 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 15:03:16 +0200 -Subject: [PATCH 428/437] efi: Disable runtime services on RT +Subject: [PATCH 428/450] efi: Disable runtime services on RT [ Upstream commit 55544e1d5eb0d7608e2b41452729649c8ea1607a ] @@ -43,5 +43,5 @@ index 9bd749389f31..47093745a53c 100644 { disable_runtime = true; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0429-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch b/kernel/patches-4.14.x-rt/0429-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch index 30ae6e2cd..9917f78dd 100644 --- a/kernel/patches-4.14.x-rt/0429-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch +++ b/kernel/patches-4.14.x-rt/0429-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch @@ -1,7 +1,7 @@ From 17d691e76e9bf821fa0f10311b91b42bb1b3857a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 18:52:00 +0200 -Subject: [PATCH 429/437] crypto: cryptd - add a lock instead +Subject: [PATCH 429/450] crypto: cryptd - add a lock instead preempt_disable/local_bh_disable [ Upstream commit 21aedb30d85979697f79a72a084e5d781e323663 ] @@ -83,5 +83,5 @@ index 248f6ba41688..54b7985c8caa 100644 if (!req) return; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0430-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch b/kernel/patches-4.14.x-rt/0430-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch index b5174085e..667d00f33 100644 --- a/kernel/patches-4.14.x-rt/0430-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch +++ b/kernel/patches-4.14.x-rt/0430-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch @@ -1,7 +1,7 @@ From 33b672b6b513a144f0ccb471e007a9a7e7544af0 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 11 Jul 2018 17:14:47 +0200 -Subject: [PATCH 430/437] crypto: scompress - serialize RT percpu scratch +Subject: [PATCH 430/450] crypto: scompress - serialize RT percpu scratch buffer access with a local lock [ Upstream commit 1a4eff3f8e743d149be26a414822710aef07fe14 ] @@ -81,5 +81,5 @@ index 2075e2c4e7df..c6b4e265c6bf 100644 } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0431-sched-core-Avoid-__schedule-being-called-twice-in-a-.patch b/kernel/patches-4.14.x-rt/0431-sched-core-Avoid-__schedule-being-called-twice-in-a-.patch index 98e438c96..793fe75d9 100644 --- a/kernel/patches-4.14.x-rt/0431-sched-core-Avoid-__schedule-being-called-twice-in-a-.patch +++ b/kernel/patches-4.14.x-rt/0431-sched-core-Avoid-__schedule-being-called-twice-in-a-.patch @@ -1,7 +1,7 @@ From 339ab2c54f152afd0404e49eaa811e16f0f8ba4a Mon Sep 17 00:00:00 2001 From: Daniel Bristot de Oliveira Date: Mon, 30 Jul 2018 15:00:00 +0200 -Subject: [PATCH 431/437] sched/core: Avoid __schedule() being called twice in +Subject: [PATCH 431/450] sched/core: Avoid __schedule() being called twice in a row [ Upstream commit 2bb94c48b2ffaabf8c15a51e5cc1b4c541988cab ] @@ -59,5 +59,5 @@ index 97b690d741f4..e1fc94836fe0 100644 if (tsk_is_pi_blocked(tsk)) return; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0432-Revert-arm64-xen-Make-XEN-depend-on-RT.patch b/kernel/patches-4.14.x-rt/0432-Revert-arm64-xen-Make-XEN-depend-on-RT.patch index 72c4cb828..347a636f0 100644 --- a/kernel/patches-4.14.x-rt/0432-Revert-arm64-xen-Make-XEN-depend-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0432-Revert-arm64-xen-Make-XEN-depend-on-RT.patch @@ -1,7 +1,7 @@ From b22fe53abbec4dc14892f13227d5fcac87fdbfa8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 2 Aug 2018 17:11:01 +0200 -Subject: [PATCH 432/437] Revert "arm64/xen: Make XEN depend on !RT" +Subject: [PATCH 432/450] Revert "arm64/xen: Make XEN depend on !RT" [ Upstream commit c0a308b58829bd4066bce841fe49e8277a0cb32b ] @@ -29,5 +29,5 @@ index f3c5213ea0ec..458d2033ffde 100644 select PARAVIRT help -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0433-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch b/kernel/patches-4.14.x-rt/0433-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch index f62844677..1722c22a7 100644 --- a/kernel/patches-4.14.x-rt/0433-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch +++ b/kernel/patches-4.14.x-rt/0433-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch @@ -1,7 +1,7 @@ From 4326f7d62d7ab0d3e95e49e9fc806866aba01d26 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 19 Aug 2018 08:28:35 +0200 -Subject: [PATCH 433/437] sched: Allow pinned user tasks to be awakened to the +Subject: [PATCH 433/450] sched: Allow pinned user tasks to be awakened to the CPU they pinned [ Upstream commit cd4d35ef89948221f7cd1751cee453943967364c ] @@ -36,5 +36,5 @@ index e1fc94836fe0..6ce950f24a7f 100644 return cpu_active(cpu); -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0434-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch b/kernel/patches-4.14.x-rt/0434-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch index 1b56ce583..b2fe4a625 100644 --- a/kernel/patches-4.14.x-rt/0434-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch +++ b/kernel/patches-4.14.x-rt/0434-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch @@ -1,7 +1,7 @@ From 8fd20e50ef3f7e79440646e5152d2070c2894059 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 29 Aug 2018 21:59:04 +0200 -Subject: [PATCH 434/437] Drivers: hv: vmbus: include header for get_irq_regs() +Subject: [PATCH 434/450] Drivers: hv: vmbus: include header for get_irq_regs() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -39,5 +39,5 @@ index 49569f8fe038..a3608cd52805 100644 #include #include -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0435-Revert-softirq-keep-the-softirq-pending-check-RT-onl.patch b/kernel/patches-4.14.x-rt/0435-Revert-softirq-keep-the-softirq-pending-check-RT-onl.patch index b071d149a..8ccdd238a 100644 --- a/kernel/patches-4.14.x-rt/0435-Revert-softirq-keep-the-softirq-pending-check-RT-onl.patch +++ b/kernel/patches-4.14.x-rt/0435-Revert-softirq-keep-the-softirq-pending-check-RT-onl.patch @@ -1,7 +1,7 @@ From 0b426ba3f0d9f10f0e68cc12ec761cbc18ad7e07 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Fri, 7 Sep 2018 15:49:16 -0400 -Subject: [PATCH 435/437] Revert "softirq: keep the 'softirq pending' check +Subject: [PATCH 435/450] Revert "softirq: keep the 'softirq pending' check RT-only" This reverts commit 5536f5491a2e098ba34995662dfc0e82d66d65c9. @@ -40,5 +40,5 @@ index e3f89bcef432..583c9ecf04e3 100644 tick_nohz_irq_exit(); } -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0436-printk-Do-not-disable-preemption-calling-console_unl.patch b/kernel/patches-4.14.x-rt/0436-printk-Do-not-disable-preemption-calling-console_unl.patch index 30462014c..39e073566 100644 --- a/kernel/patches-4.14.x-rt/0436-printk-Do-not-disable-preemption-calling-console_unl.patch +++ b/kernel/patches-4.14.x-rt/0436-printk-Do-not-disable-preemption-calling-console_unl.patch @@ -1,7 +1,7 @@ From cf8995800318059df3252b7c58fca53dc3e59062 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 18 Dec 2018 14:30:10 -0500 -Subject: [PATCH 436/437] printk: Do not disable preemption calling +Subject: [PATCH 436/450] printk: Do not disable preemption calling console_unlock() in PREEMPT_RT A stable backport placed open coded preempt_disable() around console_unlock() @@ -41,5 +41,5 @@ index 8a7c4f79fca0..029ae3caa80e 100644 return printed_len; -- -2.19.1 +2.19.2 diff --git a/kernel/patches-4.14.x-rt/0437-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch b/kernel/patches-4.14.x-rt/0437-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch new file mode 100644 index 000000000..bcb80b171 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0437-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch @@ -0,0 +1,39 @@ +From 7b506395063ec5de54a495dfd2e5e9a650bf7160 Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Mon, 10 Sep 2018 18:00:31 +0200 +Subject: [PATCH 437/450] work-simple: drop a shit statement in + SWORK_EVENT_PENDING + +[ Upstream commit 22f41ebe5579cc847a7bb6c71916be92c8926216 ] + +Dan Carpenter reported +| smatch warnings: +|kernel/sched/swork.c:63 swork_kthread() warn: test_bit() takes a bit number + +This is not a bug because we shift by zero (and use the same value in +both places). +Nevertheless I'm dropping that shift by zero to keep smatch quiet. + +Cc: Daniel Wagner +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/sched/swork.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kernel/sched/swork.c b/kernel/sched/swork.c +index 1950f40ca725..5559c22f664c 100644 +--- a/kernel/sched/swork.c ++++ b/kernel/sched/swork.c +@@ -12,7 +12,7 @@ + #include + #include + +-#define SWORK_EVENT_PENDING (1 << 0) ++#define SWORK_EVENT_PENDING 1 + + static DEFINE_MUTEX(worker_mutex); + static struct sworker *glob_worker; +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0438-kthread-convert-worker-lock-to-raw-spinlock.patch b/kernel/patches-4.14.x-rt/0438-kthread-convert-worker-lock-to-raw-spinlock.patch new file mode 100644 index 000000000..2a2647831 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0438-kthread-convert-worker-lock-to-raw-spinlock.patch @@ -0,0 +1,205 @@ +From 488d578d986a515351e86d77cad9b28c0f3c10c0 Mon Sep 17 00:00:00 2001 +From: Julia Cartwright +Date: Fri, 28 Sep 2018 21:03:51 +0000 +Subject: [PATCH 438/450] kthread: convert worker lock to raw spinlock + +[ Upstream commit 5c8919eed1cfcad5da452047bd4ab088837afc41 ] + +In order to enable the queuing of kthread work items from hardirq +context even when PREEMPT_RT_FULL is enabled, convert the worker +spin_lock to a raw_spin_lock. + +This is only acceptable to do because the work performed under the lock +is well-bounded and minimal. + +Cc: Sebastian Andrzej Siewior +Cc: Guenter Roeck +Reported-and-tested-by: Steffen Trumtrar +Reported-by: Tim Sander +Signed-off-by: Julia Cartwright +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + include/linux/kthread.h | 2 +- + kernel/kthread.c | 42 ++++++++++++++++++++--------------------- + 2 files changed, 22 insertions(+), 22 deletions(-) + +diff --git a/include/linux/kthread.h b/include/linux/kthread.h +index 4e26609c77d4..4e0449df82c3 100644 +--- a/include/linux/kthread.h ++++ b/include/linux/kthread.h +@@ -84,7 +84,7 @@ enum { + + struct kthread_worker { + unsigned int flags; +- spinlock_t lock; ++ raw_spinlock_t lock; + struct list_head work_list; + struct list_head delayed_work_list; + struct task_struct *task; +diff --git a/kernel/kthread.c b/kernel/kthread.c +index 4e6d85b63201..430fd79cd3fe 100644 +--- a/kernel/kthread.c ++++ b/kernel/kthread.c +@@ -579,7 +579,7 @@ void __kthread_init_worker(struct kthread_worker *worker, + struct lock_class_key *key) + { + memset(worker, 0, sizeof(struct kthread_worker)); +- spin_lock_init(&worker->lock); ++ raw_spin_lock_init(&worker->lock); + lockdep_set_class_and_name(&worker->lock, key, name); + INIT_LIST_HEAD(&worker->work_list); + INIT_LIST_HEAD(&worker->delayed_work_list); +@@ -621,21 +621,21 @@ int kthread_worker_fn(void *worker_ptr) + + if (kthread_should_stop()) { + __set_current_state(TASK_RUNNING); +- spin_lock_irq(&worker->lock); ++ raw_spin_lock_irq(&worker->lock); + worker->task = NULL; +- spin_unlock_irq(&worker->lock); ++ raw_spin_unlock_irq(&worker->lock); + return 0; + } + + work = NULL; +- spin_lock_irq(&worker->lock); ++ raw_spin_lock_irq(&worker->lock); + if (!list_empty(&worker->work_list)) { + work = list_first_entry(&worker->work_list, + struct kthread_work, node); + list_del_init(&work->node); + } + worker->current_work = work; +- spin_unlock_irq(&worker->lock); ++ raw_spin_unlock_irq(&worker->lock); + + if (work) { + __set_current_state(TASK_RUNNING); +@@ -792,12 +792,12 @@ bool kthread_queue_work(struct kthread_worker *worker, + bool ret = false; + unsigned long flags; + +- spin_lock_irqsave(&worker->lock, flags); ++ raw_spin_lock_irqsave(&worker->lock, flags); + if (!queuing_blocked(worker, work)) { + kthread_insert_work(worker, work, &worker->work_list); + ret = true; + } +- spin_unlock_irqrestore(&worker->lock, flags); ++ raw_spin_unlock_irqrestore(&worker->lock, flags); + return ret; + } + EXPORT_SYMBOL_GPL(kthread_queue_work); +@@ -824,7 +824,7 @@ void kthread_delayed_work_timer_fn(unsigned long __data) + if (WARN_ON_ONCE(!worker)) + return; + +- spin_lock(&worker->lock); ++ raw_spin_lock(&worker->lock); + /* Work must not be used with >1 worker, see kthread_queue_work(). */ + WARN_ON_ONCE(work->worker != worker); + +@@ -833,7 +833,7 @@ void kthread_delayed_work_timer_fn(unsigned long __data) + list_del_init(&work->node); + kthread_insert_work(worker, work, &worker->work_list); + +- spin_unlock(&worker->lock); ++ raw_spin_unlock(&worker->lock); + } + EXPORT_SYMBOL(kthread_delayed_work_timer_fn); + +@@ -890,14 +890,14 @@ bool kthread_queue_delayed_work(struct kthread_worker *worker, + unsigned long flags; + bool ret = false; + +- spin_lock_irqsave(&worker->lock, flags); ++ raw_spin_lock_irqsave(&worker->lock, flags); + + if (!queuing_blocked(worker, work)) { + __kthread_queue_delayed_work(worker, dwork, delay); + ret = true; + } + +- spin_unlock_irqrestore(&worker->lock, flags); ++ raw_spin_unlock_irqrestore(&worker->lock, flags); + return ret; + } + EXPORT_SYMBOL_GPL(kthread_queue_delayed_work); +@@ -933,7 +933,7 @@ void kthread_flush_work(struct kthread_work *work) + if (!worker) + return; + +- spin_lock_irq(&worker->lock); ++ raw_spin_lock_irq(&worker->lock); + /* Work must not be used with >1 worker, see kthread_queue_work(). */ + WARN_ON_ONCE(work->worker != worker); + +@@ -945,7 +945,7 @@ void kthread_flush_work(struct kthread_work *work) + else + noop = true; + +- spin_unlock_irq(&worker->lock); ++ raw_spin_unlock_irq(&worker->lock); + + if (!noop) + wait_for_completion(&fwork.done); +@@ -978,9 +978,9 @@ static bool __kthread_cancel_work(struct kthread_work *work, bool is_dwork, + * any queuing is blocked by setting the canceling counter. + */ + work->canceling++; +- spin_unlock_irqrestore(&worker->lock, *flags); ++ raw_spin_unlock_irqrestore(&worker->lock, *flags); + del_timer_sync(&dwork->timer); +- spin_lock_irqsave(&worker->lock, *flags); ++ raw_spin_lock_irqsave(&worker->lock, *flags); + work->canceling--; + } + +@@ -1027,7 +1027,7 @@ bool kthread_mod_delayed_work(struct kthread_worker *worker, + unsigned long flags; + int ret = false; + +- spin_lock_irqsave(&worker->lock, flags); ++ raw_spin_lock_irqsave(&worker->lock, flags); + + /* Do not bother with canceling when never queued. */ + if (!work->worker) +@@ -1044,7 +1044,7 @@ bool kthread_mod_delayed_work(struct kthread_worker *worker, + fast_queue: + __kthread_queue_delayed_work(worker, dwork, delay); + out: +- spin_unlock_irqrestore(&worker->lock, flags); ++ raw_spin_unlock_irqrestore(&worker->lock, flags); + return ret; + } + EXPORT_SYMBOL_GPL(kthread_mod_delayed_work); +@@ -1058,7 +1058,7 @@ static bool __kthread_cancel_work_sync(struct kthread_work *work, bool is_dwork) + if (!worker) + goto out; + +- spin_lock_irqsave(&worker->lock, flags); ++ raw_spin_lock_irqsave(&worker->lock, flags); + /* Work must not be used with >1 worker, see kthread_queue_work(). */ + WARN_ON_ONCE(work->worker != worker); + +@@ -1072,13 +1072,13 @@ static bool __kthread_cancel_work_sync(struct kthread_work *work, bool is_dwork) + * In the meantime, block any queuing by setting the canceling counter. + */ + work->canceling++; +- spin_unlock_irqrestore(&worker->lock, flags); ++ raw_spin_unlock_irqrestore(&worker->lock, flags); + kthread_flush_work(work); +- spin_lock_irqsave(&worker->lock, flags); ++ raw_spin_lock_irqsave(&worker->lock, flags); + work->canceling--; + + out_fast: +- spin_unlock_irqrestore(&worker->lock, flags); ++ raw_spin_unlock_irqrestore(&worker->lock, flags); + out: + return ret; + } +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0439-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch b/kernel/patches-4.14.x-rt/0439-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch new file mode 100644 index 000000000..ff606a23f --- /dev/null +++ b/kernel/patches-4.14.x-rt/0439-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch @@ -0,0 +1,100 @@ +From 21a121fecc257eaa0769f9d71a6239ff27c5d285 Mon Sep 17 00:00:00 2001 +From: Clark Williams +Date: Tue, 18 Sep 2018 10:29:31 -0500 +Subject: [PATCH 439/450] mm/kasan: make quarantine_lock a raw_spinlock_t + +[ Upstream commit 089cb35faad5da57fa90399b230b3aee4920bb02 ] + +The static lock quarantine_lock is used in quarantine.c to protect the +quarantine queue datastructures. It is taken inside quarantine queue +manipulation routines (quarantine_put(), quarantine_reduce() and +quarantine_remove_cache()), with IRQs disabled. +This is not a problem on a stock kernel but is problematic on an RT +kernel where spin locks are sleeping spinlocks, which can sleep and can +not be acquired with disabled interrupts. + +Convert the quarantine_lock to a raw spinlock_t. The usage of +quarantine_lock is confined to quarantine.c and the work performed while +the lock is held is limited. + +Signed-off-by: Clark Williams +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + mm/kasan/quarantine.c | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c +index 3a8ddf8baf7d..b209dbaefde8 100644 +--- a/mm/kasan/quarantine.c ++++ b/mm/kasan/quarantine.c +@@ -103,7 +103,7 @@ static int quarantine_head; + static int quarantine_tail; + /* Total size of all objects in global_quarantine across all batches. */ + static unsigned long quarantine_size; +-static DEFINE_SPINLOCK(quarantine_lock); ++static DEFINE_RAW_SPINLOCK(quarantine_lock); + DEFINE_STATIC_SRCU(remove_cache_srcu); + + /* Maximum size of the global queue. */ +@@ -190,7 +190,7 @@ void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache) + if (unlikely(q->bytes > QUARANTINE_PERCPU_SIZE)) { + qlist_move_all(q, &temp); + +- spin_lock(&quarantine_lock); ++ raw_spin_lock(&quarantine_lock); + WRITE_ONCE(quarantine_size, quarantine_size + temp.bytes); + qlist_move_all(&temp, &global_quarantine[quarantine_tail]); + if (global_quarantine[quarantine_tail].bytes >= +@@ -203,7 +203,7 @@ void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache) + if (new_tail != quarantine_head) + quarantine_tail = new_tail; + } +- spin_unlock(&quarantine_lock); ++ raw_spin_unlock(&quarantine_lock); + } + + local_irq_restore(flags); +@@ -230,7 +230,7 @@ void quarantine_reduce(void) + * expected case). + */ + srcu_idx = srcu_read_lock(&remove_cache_srcu); +- spin_lock_irqsave(&quarantine_lock, flags); ++ raw_spin_lock_irqsave(&quarantine_lock, flags); + + /* + * Update quarantine size in case of hotplug. Allocate a fraction of +@@ -254,7 +254,7 @@ void quarantine_reduce(void) + quarantine_head = 0; + } + +- spin_unlock_irqrestore(&quarantine_lock, flags); ++ raw_spin_unlock_irqrestore(&quarantine_lock, flags); + + qlist_free_all(&to_free, NULL); + srcu_read_unlock(&remove_cache_srcu, srcu_idx); +@@ -310,17 +310,17 @@ void quarantine_remove_cache(struct kmem_cache *cache) + */ + on_each_cpu(per_cpu_remove_cache, cache, 1); + +- spin_lock_irqsave(&quarantine_lock, flags); ++ raw_spin_lock_irqsave(&quarantine_lock, flags); + for (i = 0; i < QUARANTINE_BATCHES; i++) { + if (qlist_empty(&global_quarantine[i])) + continue; + qlist_move_cache(&global_quarantine[i], &to_free, cache); + /* Scanning whole quarantine can take a while. */ +- spin_unlock_irqrestore(&quarantine_lock, flags); ++ raw_spin_unlock_irqrestore(&quarantine_lock, flags); + cond_resched(); +- spin_lock_irqsave(&quarantine_lock, flags); ++ raw_spin_lock_irqsave(&quarantine_lock, flags); + } +- spin_unlock_irqrestore(&quarantine_lock, flags); ++ raw_spin_unlock_irqrestore(&quarantine_lock, flags); + + qlist_free_all(&to_free, cache); + +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0440-tty-serial-pl011-explicitly-initialize-the-flags-var.patch b/kernel/patches-4.14.x-rt/0440-tty-serial-pl011-explicitly-initialize-the-flags-var.patch new file mode 100644 index 000000000..e7ebf373a --- /dev/null +++ b/kernel/patches-4.14.x-rt/0440-tty-serial-pl011-explicitly-initialize-the-flags-var.patch @@ -0,0 +1,47 @@ +From 4bdd62f77e1bd7dbe4ee749e301cb9c3eafd62b1 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach +Date: Mon, 24 Sep 2018 10:29:01 +0200 +Subject: [PATCH 440/450] tty: serial: pl011: explicitly initialize the flags + variable +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +[ Upstream commit 3260983a587d528811a15fc00fa2a9e4473c4453 ] + +Silence the following gcc warning: + +drivers/tty/serial/amba-pl011.c: In function ‘pl011_console_write’: +./include/linux/spinlock.h:260:3: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized] + _raw_spin_unlock_irqrestore(lock, flags); \ + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +drivers/tty/serial/amba-pl011.c:2214:16: note: ‘flags’ was declared here + unsigned long flags; + ^~~~~ + +The code is correct. Thus, initializing flags to zero doesn't change the +behavior and resolves the warning. + +Signed-off-by: Kurt Kanzenbach +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + drivers/tty/serial/amba-pl011.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c +index 81d6b15fb80a..9379db8aec9a 100644 +--- a/drivers/tty/serial/amba-pl011.c ++++ b/drivers/tty/serial/amba-pl011.c +@@ -2231,7 +2231,7 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) + { + struct uart_amba_port *uap = amba_ports[co->index]; + unsigned int old_cr = 0, new_cr; +- unsigned long flags; ++ unsigned long flags = 0; + int locked = 1; + + clk_enable(uap->clk); +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0441-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch b/kernel/patches-4.14.x-rt/0441-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch new file mode 100644 index 000000000..5f824009d --- /dev/null +++ b/kernel/patches-4.14.x-rt/0441-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch @@ -0,0 +1,40 @@ +From cf1c4cbecd84912e31ed592111f1a77ed54cc22f Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Tue, 9 Oct 2018 17:34:50 +0200 +Subject: [PATCH 441/450] sched/migrate_disable: Add export_symbol_gpl for + __migrate_disabled + +[ Upstream commit c0f0dd3ced7abe307d8e89477dae2929e488ba6c ] + +Jonathan reported that lttng/modules can't use __migrate_disabled(). +This function is only used by sched/core itself and the tracing +infrastructure to report the migrate counter (lttng does probably the +same). Since the rework migrate_disable() it moved from sched.h to +preempt.h and is became an exported function instead of a "static +inline" due to the header recursion of preempt vs sched. + +Since the compiler inlines the function for sched/core usage, add a +EXPORT_SYMBOL_GPL to allow the module/LTTNG usage. + +Reported-by: Jonathan Rajott +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/sched/core.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel/sched/core.c b/kernel/sched/core.c +index 6ce950f24a7f..7c960cf07e7b 100644 +--- a/kernel/sched/core.c ++++ b/kernel/sched/core.c +@@ -1112,6 +1112,7 @@ int __migrate_disabled(struct task_struct *p) + { + return p->migrate_disable; + } ++EXPORT_SYMBOL_GPL(__migrate_disabled); + #endif + + static void __do_set_cpus_allowed_tail(struct task_struct *p, +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0442-pinctrl-bcm2835-Use-raw-spinlock-for-RT-compatibilit.patch b/kernel/patches-4.14.x-rt/0442-pinctrl-bcm2835-Use-raw-spinlock-for-RT-compatibilit.patch new file mode 100644 index 000000000..f7739a896 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0442-pinctrl-bcm2835-Use-raw-spinlock-for-RT-compatibilit.patch @@ -0,0 +1,104 @@ +From 12130747ad4501dd4e03a3a111f2586eaa91d2b5 Mon Sep 17 00:00:00 2001 +From: Lukas Wunner +Date: Sat, 27 Oct 2018 10:15:33 +0200 +Subject: [PATCH 442/450] pinctrl: bcm2835: Use raw spinlock for RT + compatibility + +[ Upstream commit 71dfaa749f2f7c1722ebf6716d3f797a04528cba ] + +The BCM2835 pinctrl driver acquires a spinlock in its ->irq_enable, +->irq_disable and ->irq_set_type callbacks. Spinlocks become sleeping +locks with CONFIG_PREEMPT_RT_FULL=y, therefore invocation of one of the +callbacks in atomic context may cause a hard lockup if at least two GPIO +pins in the same bank are used as interrupts. The issue doesn't occur +with just a single interrupt pin per bank because the lock is never +contended. I'm experiencing such lockups with GPIO 8 and 28 used as +level-triggered interrupts, i.e. with ->irq_disable being invoked on +reception of every IRQ. + +The critical section protected by the spinlock is very small (one bitop +and one RMW of an MMIO register), hence converting to a raw spinlock +seems a better trade-off than converting the driver to threaded IRQ +handling (which would increase latency to handle an interrupt). + +Cc: Mathias Duckeck +Signed-off-by: Lukas Wunner +Acked-by: Julia Cartwright +Signed-off-by: Linus Walleij +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + drivers/pinctrl/bcm/pinctrl-bcm2835.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c +index ff782445dfb7..e72bf2502eca 100644 +--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c ++++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c +@@ -92,7 +92,7 @@ struct bcm2835_pinctrl { + struct gpio_chip gpio_chip; + struct pinctrl_gpio_range gpio_range; + +- spinlock_t irq_lock[BCM2835_NUM_BANKS]; ++ raw_spinlock_t irq_lock[BCM2835_NUM_BANKS]; + }; + + /* pins are just named GPIO0..GPIO53 */ +@@ -471,10 +471,10 @@ static void bcm2835_gpio_irq_enable(struct irq_data *data) + unsigned bank = GPIO_REG_OFFSET(gpio); + unsigned long flags; + +- spin_lock_irqsave(&pc->irq_lock[bank], flags); ++ raw_spin_lock_irqsave(&pc->irq_lock[bank], flags); + set_bit(offset, &pc->enabled_irq_map[bank]); + bcm2835_gpio_irq_config(pc, gpio, true); +- spin_unlock_irqrestore(&pc->irq_lock[bank], flags); ++ raw_spin_unlock_irqrestore(&pc->irq_lock[bank], flags); + } + + static void bcm2835_gpio_irq_disable(struct irq_data *data) +@@ -486,12 +486,12 @@ static void bcm2835_gpio_irq_disable(struct irq_data *data) + unsigned bank = GPIO_REG_OFFSET(gpio); + unsigned long flags; + +- spin_lock_irqsave(&pc->irq_lock[bank], flags); ++ raw_spin_lock_irqsave(&pc->irq_lock[bank], flags); + bcm2835_gpio_irq_config(pc, gpio, false); + /* Clear events that were latched prior to clearing event sources */ + bcm2835_gpio_set_bit(pc, GPEDS0, gpio); + clear_bit(offset, &pc->enabled_irq_map[bank]); +- spin_unlock_irqrestore(&pc->irq_lock[bank], flags); ++ raw_spin_unlock_irqrestore(&pc->irq_lock[bank], flags); + } + + static int __bcm2835_gpio_irq_set_type_disabled(struct bcm2835_pinctrl *pc, +@@ -594,7 +594,7 @@ static int bcm2835_gpio_irq_set_type(struct irq_data *data, unsigned int type) + unsigned long flags; + int ret; + +- spin_lock_irqsave(&pc->irq_lock[bank], flags); ++ raw_spin_lock_irqsave(&pc->irq_lock[bank], flags); + + if (test_bit(offset, &pc->enabled_irq_map[bank])) + ret = __bcm2835_gpio_irq_set_type_enabled(pc, gpio, type); +@@ -606,7 +606,7 @@ static int bcm2835_gpio_irq_set_type(struct irq_data *data, unsigned int type) + else + irq_set_handler_locked(data, handle_level_irq); + +- spin_unlock_irqrestore(&pc->irq_lock[bank], flags); ++ raw_spin_unlock_irqrestore(&pc->irq_lock[bank], flags); + + return ret; + } +@@ -1021,7 +1021,7 @@ static int bcm2835_pinctrl_probe(struct platform_device *pdev) + for_each_set_bit(offset, &events, 32) + bcm2835_gpio_wr(pc, GPEDS0 + i * 4, BIT(offset)); + +- spin_lock_init(&pc->irq_lock[i]); ++ raw_spin_lock_init(&pc->irq_lock[i]); + } + + err = gpiochip_add_data(&pc->gpio_chip, pc); +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0443-rcu-make-RCU_BOOST-default-on-RT-without-EXPERT.patch b/kernel/patches-4.14.x-rt/0443-rcu-make-RCU_BOOST-default-on-RT-without-EXPERT.patch new file mode 100644 index 000000000..3f35feb38 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0443-rcu-make-RCU_BOOST-default-on-RT-without-EXPERT.patch @@ -0,0 +1,42 @@ +From eaad86f001b651d6933a3c57915c3f78a9bbb9ed Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Fri, 9 Nov 2018 15:02:49 +0100 +Subject: [PATCH 443/450] rcu: make RCU_BOOST default on RT without EXPERT + +[ Upstream commit 78cab7cb632b6a4c84e78e4f12bb9e83c09b8885 ] + +Paul E. McKenney suggested to allow enabling RCU_BOOST on RT without the +need to go through the EXPERT option first. + +Suggeted-by: Paul E. McKenney +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/rcu/Kconfig | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig +index 0be2c96fb640..a243a78ff38c 100644 +--- a/kernel/rcu/Kconfig ++++ b/kernel/rcu/Kconfig +@@ -36,7 +36,7 @@ config TINY_RCU + + config RCU_EXPERT + bool "Make expert-level adjustments to RCU configuration" +- default y if PREEMPT_RT_FULL ++ default n + help + This option needs to be enabled if you wish to make + expert-level adjustments to RCU configuration. By default, +@@ -190,7 +190,7 @@ config RCU_FAST_NO_HZ + + config RCU_BOOST + bool "Enable RCU priority boosting" +- depends on RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT ++ depends on (RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT) || PREEMPT_RT_FULL + default y if PREEMPT_RT_FULL + help + This option boosts the priority of preempted RCU readers that +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0444-x86-fpu-Disable-preemption-around-local_bh_disable.patch b/kernel/patches-4.14.x-rt/0444-x86-fpu-Disable-preemption-around-local_bh_disable.patch new file mode 100644 index 000000000..48d8fc704 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0444-x86-fpu-Disable-preemption-around-local_bh_disable.patch @@ -0,0 +1,40 @@ +From af6eb3df73f38f4c10653bae3ae8b627ea6f71fb Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Tue, 11 Dec 2018 15:10:33 +0100 +Subject: [PATCH 444/450] x86/fpu: Disable preemption around local_bh_disable() + +[ Upstream commit f70ac4a5ca5df1d84dae809453464eca16b54f51 ] + +__fpu__restore_sig() restores the content of the FPU state in the CPUs +and in order to avoid concurency it disbles BH. On !RT it also disables +preemption but on RT we can get preempted in BH. + +Add preempt_disable() while the FPU state is restored. + +Cc: stable-rt@vger.kernel.org +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + arch/x86/kernel/fpu/signal.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/arch/x86/kernel/fpu/signal.c b/arch/x86/kernel/fpu/signal.c +index d99a8ee9e185..5e0274a94133 100644 +--- a/arch/x86/kernel/fpu/signal.c ++++ b/arch/x86/kernel/fpu/signal.c +@@ -344,10 +344,12 @@ static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size) + sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); + } + ++ preempt_disable(); + local_bh_disable(); + fpu->initialized = 1; + fpu__restore(fpu); + local_bh_enable(); ++ preempt_enable(); + + return err; + } else { +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0445-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch b/kernel/patches-4.14.x-rt/0445-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch new file mode 100644 index 000000000..853283557 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0445-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch @@ -0,0 +1,53 @@ +From 3a0236430f31c068a0c17410f46fa85acd57b85a Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Thu, 6 Dec 2018 10:15:13 +0100 +Subject: [PATCH 445/450] hrtimer: move state change before hrtimer_cancel in + do_nanosleep() + +[ Upstream commit 8115ac730fd5aa27134f002cf710204b5dd7cd5e ] + +There is a small window between setting t->task to NULL and waking the +task up (which would set TASK_RUNNING). So the timer would fire, run and +set ->task to NULL while the other side/do_nanosleep() wouldn't enter +freezable_schedule(). After all we are peemptible here (in +do_nanosleep() and on the timer wake up path) and on KVM/virt the +virt-CPU might get preempted. +So do_nanosleep() wouldn't enter freezable_schedule() but cancel the +timer which is still running and wait for it via +hrtimer_wait_for_timer(). Then wait_event()/might_sleep() would complain +that it is invoked with state != TASK_RUNNING. +This isn't a problem since it would be reset to TASK_RUNNING later +anyway and we don't rely on the previous state. + +Move the state update to TASK_RUNNING before hrtimer_cancel() so there +are no complains from might_sleep() about wrong state. + +Cc: stable-rt@vger.kernel.org +Reviewed-by: Daniel Bristot de Oliveira +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/time/hrtimer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c +index b59e009087a9..c8d806126381 100644 +--- a/kernel/time/hrtimer.c ++++ b/kernel/time/hrtimer.c +@@ -1753,12 +1753,12 @@ static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mod + if (likely(t->task)) + freezable_schedule(); + ++ __set_current_state(TASK_RUNNING); + hrtimer_cancel(&t->timer); + mode = HRTIMER_MODE_ABS; + + } while (t->task && !signal_pending(current)); + +- __set_current_state(TASK_RUNNING); + + if (!t->task) + return 0; +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0446-drm-i915-disable-tracing-on-RT.patch b/kernel/patches-4.14.x-rt/0446-drm-i915-disable-tracing-on-RT.patch new file mode 100644 index 000000000..6c86b7a0c --- /dev/null +++ b/kernel/patches-4.14.x-rt/0446-drm-i915-disable-tracing-on-RT.patch @@ -0,0 +1,49 @@ +From 78503b8e92ec3b0c27a46fc5834e39e3cdf415b6 Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Thu, 6 Dec 2018 09:52:20 +0100 +Subject: [PATCH 446/450] drm/i915: disable tracing on -RT + +[ Upstream commit 05cebb309b156646e61b898e92acc8e46c47ba75 ] + +Luca Abeni reported this: +| BUG: scheduling while atomic: kworker/u8:2/15203/0x00000003 +| CPU: 1 PID: 15203 Comm: kworker/u8:2 Not tainted 4.19.1-rt3 #10 +| Call Trace: +| rt_spin_lock+0x3f/0x50 +| gen6_read32+0x45/0x1d0 [i915] +| g4x_get_vblank_counter+0x36/0x40 [i915] +| trace_event_raw_event_i915_pipe_update_start+0x7d/0xf0 [i915] + +The tracing events use trace_i915_pipe_update_start() among other events +use functions acquire spin locks. A few trace points use +intel_get_crtc_scanline(), others use ->get_vblank_counter() wich also +might acquire a sleeping lock. + +Based on this I don't see any other way than disable trace points on RT. + +Cc: stable-rt@vger.kernel.org +Reported-by: Luca Abeni +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + drivers/gpu/drm/i915/i915_trace.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h +index ef72da74b87f..adf0974415bc 100644 +--- a/drivers/gpu/drm/i915/i915_trace.h ++++ b/drivers/gpu/drm/i915/i915_trace.h +@@ -2,6 +2,10 @@ + #if !defined(_I915_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ) + #define _I915_TRACE_H_ + ++#ifdef CONFIG_PREEMPT_RT_BASE ++#define NOTRACE ++#endif ++ + #include + #include + #include +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0447-x86-mm-pat-disable-preemption-__split_large_page-aft.patch b/kernel/patches-4.14.x-rt/0447-x86-mm-pat-disable-preemption-__split_large_page-aft.patch new file mode 100644 index 000000000..7537f3cd4 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0447-x86-mm-pat-disable-preemption-__split_large_page-aft.patch @@ -0,0 +1,64 @@ +From 7a6b6bada1be92517ce32ff55a5cfe2fb2e0166a Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Tue, 11 Dec 2018 21:53:43 +0100 +Subject: [PATCH 447/450] x86/mm/pat: disable preemption __split_large_page() + after spin_lock() + +[ Upstream commit 45c6ff4811878e5c1c2ae31303cd95cdc6ae2ab4 ] + +Commit "x86/mm/pat: Disable preemption around __flush_tlb_all()" added a +warning if __flush_tlb_all() is invoked in preemptible context. On !RT +the warning does not trigger because a spin lock is acquired which +disables preemption. On RT the spin lock does not disable preemption and +so the warning is seen. + +Disable preemption to avoid the warning __flush_tlb_all(). + +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + arch/x86/mm/pageattr.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c +index 835620ab435f..57a04ef6fe47 100644 +--- a/arch/x86/mm/pageattr.c ++++ b/arch/x86/mm/pageattr.c +@@ -661,12 +661,18 @@ __split_large_page(struct cpa_data *cpa, pte_t *kpte, unsigned long address, + pgprot_t ref_prot; + + spin_lock(&pgd_lock); ++ /* ++ * Keep preemption disabled after __flush_tlb_all() which expects not be ++ * preempted during the flush of the local TLB. ++ */ ++ preempt_disable(); + /* + * Check for races, another CPU might have split this page + * up for us already: + */ + tmp = _lookup_address_cpa(cpa, address, &level); + if (tmp != kpte) { ++ preempt_enable(); + spin_unlock(&pgd_lock); + return 1; + } +@@ -696,6 +702,7 @@ __split_large_page(struct cpa_data *cpa, pte_t *kpte, unsigned long address, + break; + + default: ++ preempt_enable(); + spin_unlock(&pgd_lock); + return 1; + } +@@ -743,6 +750,7 @@ __split_large_page(struct cpa_data *cpa, pte_t *kpte, unsigned long address, + * going on. + */ + __flush_tlb_all(); ++ preempt_enable(); + spin_unlock(&pgd_lock); + + return 0; +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0448-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch b/kernel/patches-4.14.x-rt/0448-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch new file mode 100644 index 000000000..41cfb9704 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0448-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch @@ -0,0 +1,171 @@ +From 655ba99fb534bbff254a2d739dbeeab01d56465e Mon Sep 17 00:00:00 2001 +From: He Zhe +Date: Wed, 19 Dec 2018 16:30:57 +0100 +Subject: [PATCH 448/450] kmemleak: Turn kmemleak_lock to raw spinlock on RT +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +[ Upstream commit 41cf9e5bb14fbbf782e4191b792d3b898c130469 ] + +kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and +causes the follow BUG. + +BUG: scheduling while atomic: migration/15/132/0x00000002 +Preemption disabled at: +[] cpu_stopper_thread+0x71/0x100 +CPU: 15 PID: 132 Comm: migration/15 Not tainted 4.19.0-rt1-preempt-rt #1 +Call Trace: + schedule+0x3d/0xe0 + __rt_spin_lock+0x26/0x30 + __write_rt_lock+0x23/0x1a0 + rt_write_lock+0x2a/0x30 + find_and_remove_object+0x1e/0x80 + delete_object_full+0x10/0x20 + kmemleak_free+0x32/0x50 + kfree+0x104/0x1f0 + intel_pmu_cpu_dying+0x67/0x70 + x86_pmu_dying_cpu+0x1a/0x30 + cpuhp_invoke_callback+0x92/0x700 + take_cpu_down+0x70/0xa0 + multi_cpu_stop+0x62/0xc0 + cpu_stopper_thread+0x79/0x100 + smpboot_thread_fn+0x20f/0x2d0 + kthread+0x121/0x140 + +And on v4.18 stable tree the following call trace, caused by grabbing +kmemleak_lock again, is also observed. + +kernel BUG at kernel/locking/rtmutex.c:1048! +CPU: 5 PID: 689 Comm: mkfs.ext4 Not tainted 4.18.16-rt9-preempt-rt #1 +Call Trace: + rt_write_lock+0x2a/0x30 + create_object+0x17d/0x2b0 + kmemleak_alloc+0x34/0x50 + kmem_cache_alloc+0x146/0x220 + mempool_alloc_slab+0x15/0x20 + mempool_alloc+0x65/0x170 + sg_pool_alloc+0x21/0x60 + sg_alloc_table_chained+0x8b/0xb0 +… + blk_flush_plug_list+0x204/0x230 + schedule+0x87/0xe0 + rt_write_lock+0x2a/0x30 + create_object+0x17d/0x2b0 + kmemleak_alloc+0x34/0x50 + __kmalloc_node+0x1cd/0x340 + alloc_request_size+0x30/0x70 + mempool_alloc+0x65/0x170 + get_request+0x4e3/0x8d0 + blk_queue_bio+0x153/0x470 + generic_make_request+0x1dc/0x3f0 + submit_bio+0x49/0x140 +… + +kmemleak is an error detecting feature. We would not expect as good performance +as without it. As there is no raw rwlock defining helpers, we turn kmemleak_lock +to a raw spinlock. + +Signed-off-by: He Zhe +Cc: catalin.marinas@arm.com +Cc: bigeasy@linutronix.de +Cc: tglx@linutronix.de +Cc: rostedt@goodmis.org +Acked-by: Catalin Marinas +Link: https://lkml.kernel.org/r/1542877459-144382-1-git-send-email-zhe.he@windriver.com +Link: https://lkml.kernel.org/r/20181218150744.GB20197@arrakis.emea.arm.com +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + mm/kmemleak.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/mm/kmemleak.c b/mm/kmemleak.c +index d9e0be2a8189..98876d2f17b5 100644 +--- a/mm/kmemleak.c ++++ b/mm/kmemleak.c +@@ -26,7 +26,7 @@ + * + * The following locks and mutexes are used by kmemleak: + * +- * - kmemleak_lock (rwlock): protects the object_list modifications and ++ * - kmemleak_lock (raw spinlock): protects the object_list modifications and + * accesses to the object_tree_root. The object_list is the main list + * holding the metadata (struct kmemleak_object) for the allocated memory + * blocks. The object_tree_root is a red black tree used to look-up +@@ -198,7 +198,7 @@ static LIST_HEAD(gray_list); + /* search tree for object boundaries */ + static struct rb_root object_tree_root = RB_ROOT; + /* rw_lock protecting the access to object_list and object_tree_root */ +-static DEFINE_RWLOCK(kmemleak_lock); ++static DEFINE_RAW_SPINLOCK(kmemleak_lock); + + /* allocation caches for kmemleak internal data */ + static struct kmem_cache *object_cache; +@@ -492,9 +492,9 @@ static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias) + struct kmemleak_object *object; + + rcu_read_lock(); +- read_lock_irqsave(&kmemleak_lock, flags); ++ raw_spin_lock_irqsave(&kmemleak_lock, flags); + object = lookup_object(ptr, alias); +- read_unlock_irqrestore(&kmemleak_lock, flags); ++ raw_spin_unlock_irqrestore(&kmemleak_lock, flags); + + /* check whether the object is still available */ + if (object && !get_object(object)) +@@ -514,13 +514,13 @@ static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int ali + unsigned long flags; + struct kmemleak_object *object; + +- write_lock_irqsave(&kmemleak_lock, flags); ++ raw_spin_lock_irqsave(&kmemleak_lock, flags); + object = lookup_object(ptr, alias); + if (object) { + rb_erase(&object->rb_node, &object_tree_root); + list_del_rcu(&object->object_list); + } +- write_unlock_irqrestore(&kmemleak_lock, flags); ++ raw_spin_unlock_irqrestore(&kmemleak_lock, flags); + + return object; + } +@@ -594,7 +594,7 @@ static struct kmemleak_object *create_object(unsigned long ptr, size_t size, + /* kernel backtrace */ + object->trace_len = __save_stack_trace(object->trace); + +- write_lock_irqsave(&kmemleak_lock, flags); ++ raw_spin_lock_irqsave(&kmemleak_lock, flags); + + min_addr = min(min_addr, ptr); + max_addr = max(max_addr, ptr + size); +@@ -625,7 +625,7 @@ static struct kmemleak_object *create_object(unsigned long ptr, size_t size, + + list_add_tail_rcu(&object->object_list, &object_list); + out: +- write_unlock_irqrestore(&kmemleak_lock, flags); ++ raw_spin_unlock_irqrestore(&kmemleak_lock, flags); + return object; + } + +@@ -1301,7 +1301,7 @@ static void scan_block(void *_start, void *_end, + unsigned long *end = _end - (BYTES_PER_POINTER - 1); + unsigned long flags; + +- read_lock_irqsave(&kmemleak_lock, flags); ++ raw_spin_lock_irqsave(&kmemleak_lock, flags); + for (ptr = start; ptr < end; ptr++) { + struct kmemleak_object *object; + unsigned long pointer; +@@ -1358,7 +1358,7 @@ static void scan_block(void *_start, void *_end, + spin_unlock(&object->lock); + } + } +- read_unlock_irqrestore(&kmemleak_lock, flags); ++ raw_spin_unlock_irqrestore(&kmemleak_lock, flags); + } + + /* +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0449-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch b/kernel/patches-4.14.x-rt/0449-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch new file mode 100644 index 000000000..576c010fb --- /dev/null +++ b/kernel/patches-4.14.x-rt/0449-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch @@ -0,0 +1,35 @@ +From e3583ea0acbf741fbc7841eb93548c64d9e4f728 Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Wed, 19 Dec 2018 10:47:02 +0100 +Subject: [PATCH 449/450] drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with + NOTRACE + +[ Upstream commit 29f5e025fd8fc9798b5650dfde5beda7cc85868e ] + +The order of the header files is important. If this header file is +included after tracepoint.h was included then the NOTRACE here becomes a +nop. Currently this happens for two .c files which use the tracepoitns +behind DRM_I915_LOW_LEVEL_TRACEPOINTS. + +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + drivers/gpu/drm/i915/i915_trace.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h +index adf0974415bc..a8a349d6d0fa 100644 +--- a/drivers/gpu/drm/i915/i915_trace.h ++++ b/drivers/gpu/drm/i915/i915_trace.h +@@ -707,7 +707,7 @@ DEFINE_EVENT(i915_gem_request, i915_gem_request_add, + TP_ARGS(req) + ); + +-#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS) ++#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS) && !defined(NOTRACE) + DEFINE_EVENT(i915_gem_request, i915_gem_request_submit, + TP_PROTO(struct drm_i915_gem_request *req), + TP_ARGS(req) +-- +2.19.2 + diff --git a/kernel/patches-4.14.x-rt/0437-Linux-4.14.87-rt49-REBASE.patch b/kernel/patches-4.14.x-rt/0450-Linux-4.14.87-rt50-REBASE.patch similarity index 55% rename from kernel/patches-4.14.x-rt/0437-Linux-4.14.87-rt49-REBASE.patch rename to kernel/patches-4.14.x-rt/0450-Linux-4.14.87-rt50-REBASE.patch index e1ce9df5b..7560dd2bf 100644 --- a/kernel/patches-4.14.x-rt/0437-Linux-4.14.87-rt49-REBASE.patch +++ b/kernel/patches-4.14.x-rt/0450-Linux-4.14.87-rt50-REBASE.patch @@ -1,19 +1,19 @@ -From e4f32b92f9cfa15b928173de2437b1015a831874 Mon Sep 17 00:00:00 2001 +From 9ff100f0120bbcb8e5209ee9a3820a421372d257 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" -Date: Wed, 5 Sep 2018 08:08:53 -0400 -Subject: [PATCH 437/437] Linux 4.14.87-rt49 REBASE +Date: Fri, 4 Jan 2019 20:59:15 -0500 +Subject: [PATCH 450/450] Linux 4.14.87-rt50 REBASE --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt -index 90290c642ed5..4b7dca68a5b4 100644 +index 90290c642ed5..42c384668389 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt29 -+-rt49 ++-rt50 -- -2.19.1 +2.19.2