[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <158539145844.28353.14324600021087747539.tip-bot2@tip-bot2>
Date: Sat, 28 Mar 2020 10:30:58 -0000
From: "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ionela Voinescu <ionela.voinescu@....com>,
Jon Hunter <jonathanh@...dia.com>,
Thomas Gleixner <tglx@...utronix.de>,
Saravana Kannan <saravanak@...gle.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: timers/core] Revert "clocksource/drivers/timer-probe: Avoid
creating dead devices"
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 4479730e9263befbb9ce9563a09563db2acb8f7c
Gitweb: https://git.kernel.org/tip/4479730e9263befbb9ce9563a09563db2acb8f7c
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Sat, 28 Mar 2020 11:20:36 +01:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Sat, 28 Mar 2020 11:25:44 +01:00
Revert "clocksource/drivers/timer-probe: Avoid creating dead devices"
This reverts commit 4f41fe386a94639cd9a1831298d4f85db5662f1e.
The change breaks systems on which the DT node of a device is used by
multiple drivers. The proposed workaround to clear OF_POPULATED is just a
band aid and this needs to be cleaned up at the root of the problem.
Revert this for now.
Reported-by: Ionela Voinescu <ionela.voinescu@....com>
Reported-by: Jon Hunter <jonathanh@...dia.com>
Requested-by: Rob Herring <robh+dt@...nel.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Saravana Kannan <saravanak@...gle.com>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Link: https://lore.kernel.org/r/20200324175955.GA16972@arm.com
---
drivers/clocksource/timer-probe.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/clocksource/timer-probe.c b/drivers/clocksource/timer-probe.c
index a10f28d..ee9574d 100644
--- a/drivers/clocksource/timer-probe.c
+++ b/drivers/clocksource/timer-probe.c
@@ -27,10 +27,8 @@ void __init timer_probe(void)
init_func_ret = match->data;
- of_node_set_flag(np, OF_POPULATED);
ret = init_func_ret(np);
if (ret) {
- of_node_clear_flag(np, OF_POPULATED);
if (ret != -EPROBE_DEFER)
pr_err("Failed to initialize '%pOF': %d\n", np,
ret);
Powered by blists - more mailing lists