Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp475834ybb; Sat, 28 Mar 2020 03:32:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu7/aju6NqtRREQswajLKlgMzgNjOiB9QPRXwel15L9uhDQIO4OFK02mjljqyie4L9cXP3R X-Received: by 2002:a9d:943:: with SMTP id 61mr2259768otp.3.1585391539111; Sat, 28 Mar 2020 03:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585391539; cv=none; d=google.com; s=arc-20160816; b=qwu9Bi0VWN9Jl8+HK/ZECrBhG5nbzhuiHRWu3X+M1F52cJHfnj4tLU/VWZUOqtTR6r ZiB8Ul+4NerD0RWdz1CAY8AKuxA8bDhugZuqQ83iUH3aB3OWFpVrbOxk5PeJGziJm9AW um1yxy1HN9awW7REwfKBg4w7mazV2fXwUuh3XCOL9d33wIkQc1SFGiFbvsYx9Wm50yQS WZFKhORjuW/PzhYMShSVn8vvrxxWjNgI3/jTKaRnq3skizf6K/4HUHH28/4qgrQZhVcG zn9ZeBaC/SdnPH5sdy3+hIqlEtws0ZMj0riAgTK8GU1KZ2y3DpwitNJ0ODdtXuhDcEZt Rncw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=b95YiIX3e5LamwrsBcLPkHgqsjklWzujDFvkNtmD49E=; b=NjcumEnx0eCET0WyQncnAf9x1aaTxHaaUsj6Mic0sGghIpvxzPw3CBebbQC9SFIG0s GKMn4fctijxZZZtiuNB7IxXu8iiBEVtPBQbcZ7STUMThPdhxkSqMrkZVvhz1ODicrLfA 5O65XAeHKMsH3MgHDGCPG63HT8h943BAe2ACVonuIUW0+Tnhbt14oxpA5xHQXq8yHLvT RUq7fcfquDV6u/RYhJ+5UoQWDlokLkJGsfbXtpQADBbLB2ZxzBXDRk4ZN5aOaDLy6al6 M6MXXlefhtVMNu95ACK6MqvgRKlQcwWHGTKG2UWZdewxCxWWr4xqEA9K9kIgdgNid+Jo tCrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n21si4047635otf.130.2020.03.28.03.32.05; Sat, 28 Mar 2020 03:32:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbgC1KbF (ORCPT + 99 others); Sat, 28 Mar 2020 06:31:05 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:55466 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbgC1KbF (ORCPT ); Sat, 28 Mar 2020 06:31:05 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jI8jz-0003Ko-DT; Sat, 28 Mar 2020 11:30:59 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id D665E1C03A9; Sat, 28 Mar 2020 11:30:58 +0100 (CET) Date: Sat, 28 Mar 2020 10:30:58 -0000 From: "tip-bot2 for Thomas Gleixner" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] Revert "clocksource/drivers/timer-probe: Avoid creating dead devices" Cc: Ionela Voinescu , Jon Hunter , Thomas Gleixner , Saravana Kannan , Daniel Lezcano , x86 , LKML In-Reply-To: <20200324175955.GA16972@arm.com> References: <20200324175955.GA16972@arm.com> MIME-Version: 1.0 Message-ID: <158539145844.28353.14324600021087747539.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 AuthorDate: Sat, 28 Mar 2020 11:20:36 +01:00 Committer: Thomas Gleixner 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 Reported-by: Jon Hunter Requested-by: Rob Herring Signed-off-by: Thomas Gleixner Cc: Saravana Kannan Cc: Daniel Lezcano 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);