]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.8 patch fixes to make some scripts happy
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2020 09:00:50 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2020 09:00:50 +0000 (11:00 +0200)
queue-5.8/clocksource-drivers-timer-ti-dm-do-reset-before-enable.patch [moved from queue-5.8/clocksource-drivers-timer-ti-dm-do-reset-before-enab.patch with 80% similarity]
queue-5.8/series

similarity index 80%
rename from queue-5.8/clocksource-drivers-timer-ti-dm-do-reset-before-enab.patch
rename to queue-5.8/clocksource-drivers-timer-ti-dm-do-reset-before-enable.patch
index a376e0febe830149c684437f2966cdb803c3dc69..b517f0e1064e19b42a0074cd4d9b68bc86900ae4 100644 (file)
@@ -1,11 +1,11 @@
-From f2ae990e49d53c8e70651adab9bb1a6360a8db8d Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
+From 164805157f3c6834670afbaff563353c773131f1 Mon Sep 17 00:00:00 2001
+From: Tony Lindgren <tony@atomide.com>
 Date: Mon, 17 Aug 2020 12:24:28 +0300
 Subject: clocksource/drivers/timer-ti-dm: Do reset before enable
 
 From: Tony Lindgren <tony@atomide.com>
 
-[ Upstream commit 164805157f3c6834670afbaff563353c773131f1 ]
+commit 164805157f3c6834670afbaff563353c773131f1 upstream.
 
 Commit 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix suspend and
 resume for am3 and am4") exposed a new issue for type2 dual mode timers
@@ -24,20 +24,20 @@ dmtimer_systimer_setup(). Let's also move dmtimer_systimer_enable() and
 dmtimer_systimer_disable() to do this without adding forward declarations.
 
 Fixes: 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix suspend and resume for am3 and am4")
-Reported-by: H. Nikolaus Schaller" <hns@goldelico.com>
+Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
 Signed-off-by: Tony Lindgren <tony@atomide.com>
 Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
 Link: https://lore.kernel.org/r/20200817092428.6176-1-tony@atomide.com
 Signed-off-by: Sasha Levin <sashal@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
 ---
- drivers/clocksource/timer-ti-dm-systimer.c | 44 +++++++++++-----------
+ drivers/clocksource/timer-ti-dm-systimer.c |   44 +++++++++++++++--------------
  1 file changed, 23 insertions(+), 21 deletions(-)
 
-diff --git a/drivers/clocksource/timer-ti-dm-systimer.c b/drivers/clocksource/timer-ti-dm-systimer.c
-index f6fd1c1cc527f..33b3e8aa2cc50 100644
 --- a/drivers/clocksource/timer-ti-dm-systimer.c
 +++ b/drivers/clocksource/timer-ti-dm-systimer.c
-@@ -69,12 +69,33 @@ static bool dmtimer_systimer_revision1(struct dmtimer_systimer *t)
+@@ -69,12 +69,33 @@ static bool dmtimer_systimer_revision1(s
        return !(tidr >> 16);
  }
  
@@ -71,7 +71,7 @@ index f6fd1c1cc527f..33b3e8aa2cc50 100644
        writel_relaxed(BIT(1) | BIT(2), t->base + t->ifctrl);
        ret = readl_poll_timeout_atomic(syss, l, l & BIT(0), 100,
                                        DMTIMER_RESET_WAIT);
-@@ -88,6 +109,7 @@ static int __init dmtimer_systimer_type2_reset(struct dmtimer_systimer *t)
+@@ -88,6 +109,7 @@ static int __init dmtimer_systimer_type2
        void __iomem *sysc = t->base + t->sysc;
        u32 l;
  
@@ -79,7 +79,7 @@ index f6fd1c1cc527f..33b3e8aa2cc50 100644
        l = readl_relaxed(sysc);
        l |= BIT(0);
        writel_relaxed(l, sysc);
-@@ -336,26 +358,6 @@ static int __init dmtimer_systimer_init_clock(struct dmtimer_systimer *t,
+@@ -336,26 +358,6 @@ static int __init dmtimer_systimer_init_
        return 0;
  }
  
@@ -106,7 +106,7 @@ index f6fd1c1cc527f..33b3e8aa2cc50 100644
  static int __init dmtimer_systimer_setup(struct device_node *np,
                                         struct dmtimer_systimer *t)
  {
-@@ -409,8 +411,8 @@ static int __init dmtimer_systimer_setup(struct device_node *np,
+@@ -409,8 +411,8 @@ static int __init dmtimer_systimer_setup
        t->wakeup = regbase + _OMAP_TIMER_WAKEUP_EN_OFFSET;
        t->ifctrl = regbase + _OMAP_TIMER_IF_CTRL_OFFSET;
  
@@ -116,6 +116,3 @@ index f6fd1c1cc527f..33b3e8aa2cc50 100644
        pr_debug("dmtimer rev %08x sysc %08x\n", readl_relaxed(t->base),
                 readl_relaxed(t->base + t->sysc));
  
--- 
-2.25.1
-
index 6d541b67536250f852158c3c3f6f93121e020e39..fb5dc468efb745c5ef947601a2da98c082e0a4f0 100644 (file)
@@ -21,7 +21,6 @@ riscv-fix-kendryte-k210-device-tree.patch
 ieee802154-fix-one-possible-memleak-in-ca8210_dev_co.patch
 ieee802154-adf7242-check-status-of-adf7242_read_reg.patch
 clocksource-drivers-h8300_timer8-fix-wrong-return-va.patch
-clocksource-drivers-timer-ti-dm-do-reset-before-enab.patch
 mwifiex-increase-aes-key-storage-size-to-256-bits.patch
 batman-adv-bla-fix-type-misuse-for-backbone_gw-hash-.patch
 libbpf-fix-build-failure-from-uninitialized-variable.patch
@@ -97,3 +96,4 @@ s390-zcrypt-fix-zcrypt_perdev_reqcnt-ioctl.patch
 io_uring-ensure-open-openat2-name-is-cleaned-on-cancelation.patch
 kvm-arm64-assume-write-fault-on-s1ptw-permission-fault-on-instruction-fetch.patch
 dm-fix-bio-splitting-and-its-bio-completion-order-for-regular-io.patch
+clocksource-drivers-timer-ti-dm-do-reset-before-enable.patch