Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp497182rwr; Wed, 26 Apr 2023 02:13:40 -0700 (PDT) X-Google-Smtp-Source: AKy350a4wzI3m9e/i7Mkf7VsSSnuJ9BB4Z4F85LrItVB6HRtPgHZVvueXbteCslCGmye0exuWKjD X-Received: by 2002:a17:902:8307:b0:1a6:d763:3736 with SMTP id bd7-20020a170902830700b001a6d7633736mr19540427plb.58.1682500419882; Wed, 26 Apr 2023 02:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682500419; cv=none; d=google.com; s=arc-20160816; b=TXY1DcW8JGjdIKduX8ieZQK5UeE49nB3vO8f0NeqDhXcXtL2l8qNqoDUC3z+EBjH8r AizFpQhTb1LLklN7MbEvCoBbZZP1cCPs78j7IYN1HyXnr2JM9PxVdgV6Mpa39rckhRQt 6EL8qwzx4CFW5ip/IFKRSM5pYSTCXTHjAXTvNHGSjJFUMcXLqqX7uF4K3qO6ve5lUd45 1fFAGMcHZAdO7+uExX6sqwon7XVOWfRbK0kLmdBG+1juVbcoQWO73SoAD0y1WhLXqne9 u4qeM3MtJsh9ekORVRhzcG4fv/SV55Ek3jdqkHuqhBsY2Ai7bkglMhNoe/95+BSv21d3 uRoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=eM36TJpgcoXwBaDtDewnQoNdWERy6CUBCU4RH+0AfPM=; b=X5Caye1Y7ANkWdoQAg9sCLZkC3UJBGjJB7yARcDQAZj4gST+iK/AaLYLUnCP5xq0gu juosFEeauMgLv9xdox29h2QE3Nf7jfxPpRt7j0wkxlH9RF+UJTk6MlPjXDRZe456UKMg p0VDf/5JyiPsDJv74KIMnY/yx9SEQ8CcuBuMN6edl3aEFNRM7xyFlM24ajX/VWsjjqiN 8wsBRnvB6wizJ5rxR2hXTVgMHFKv0OONSwTBGdCkJDjaD+BjrGBZfP4bTO6ndGthSIHo UdQXbZwD5Xfq2uTJHRClofPNAMbk9MBBz9mbP0gKmy8oWkrY1fSArIWKDL6av9OQIu8o MOmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eT5HzHEz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a170902cf0500b0019e6e61c1bcsi16222100plg.9.2023.04.26.02.13.28; Wed, 26 Apr 2023 02:13:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eT5HzHEz; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239791AbjDZJMz (ORCPT + 99 others); Wed, 26 Apr 2023 05:12:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240027AbjDZJMf (ORCPT ); Wed, 26 Apr 2023 05:12:35 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8701F420A; Wed, 26 Apr 2023 02:12:33 -0700 (PDT) Date: Wed, 26 Apr 2023 09:12:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1682500351; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eM36TJpgcoXwBaDtDewnQoNdWERy6CUBCU4RH+0AfPM=; b=eT5HzHEzHfzcJhNZlNh+qVC7I7keTnmhqpUUK0TN/A2Z5XchjO91vSVF5VsfcT3FWk4D8k P+Z1UzWVR60MXRFMeW2DKIRNNUMhxEjKct3AOubKXeXySUfmechCtWZt9iH9YN2r4T2vjS 6bFoOdBMdsgP5i6gHyFuutTQo/3kRyTYtpucDs5C+Eeczj2H7486a+/m/a1DHoIv5UO2UI 9QUuvYYb1RymOQm4qMlP2/7m6Xst03tpY8itlwjlmmKAu/ralL30E1HBYf7ClRYAa097wR FNXkvJ8ik+svGyvKwfXMOlqtT5f3rCEZAllJV/vdMEVyVSUhq+d4BO35hsQrpg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1682500351; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eM36TJpgcoXwBaDtDewnQoNdWERy6CUBCU4RH+0AfPM=; b=q1QMDmNp33+ZRQcXfO41EToHZFzSUGCykqhq+FaQpR8Wb+71JlT8FdPCmnELZ3NYB8buO3 KANZa7TmyrWG1uAw== From: "tip-bot2 for Tony Lindgren" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/timer-ti-dm: Fix finding alwon timer Cc: Rob Herring , Tony Lindgren , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230412064142.12726-1-tony@atomide.com> References: <20230412064142.12726-1-tony@atomide.com> MIME-Version: 1.0 Message-ID: <168250035092.404.8314422191902400268.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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: 8d7aac5153f21108365137b76e395dcf9bb3a800 Gitweb: https://git.kernel.org/tip/8d7aac5153f21108365137b76e395dcf9bb3a800 Author: Tony Lindgren AuthorDate: Wed, 12 Apr 2023 09:41:41 +03:00 Committer: Daniel Lezcano CommitterDate: Mon, 24 Apr 2023 16:56:14 +02:00 clocksource/drivers/timer-ti-dm: Fix finding alwon timer Clean-up commit b6999fa1c847 ("clocksource/drivers/timer-ti-dm: Use of_address_to_resource()") caused a regression where pa is never set making all related SoCs fail to boot. Let's fix this by setting pa if found. Fixes: b6999fa1c847 ("clocksource/drivers/timer-ti-dm: Use of_address_to_resource()") Cc: Rob Herring Signed-off-by: Tony Lindgren Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230412064142.12726-1-tony@atomide.com --- drivers/clocksource/timer-ti-dm-systimer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-dm-systimer.c b/drivers/clocksource/timer-ti-dm-systimer.c index 3b98a3c..4fa68f6 100644 --- a/drivers/clocksource/timer-ti-dm-systimer.c +++ b/drivers/clocksource/timer-ti-dm-systimer.c @@ -261,8 +261,10 @@ static void __init dmtimer_systimer_assign_alwon(void) if (of_address_to_resource(np, 0, &res)) continue; + pa = res.start; + /* Quirky omap3 boards must use dmtimer12 */ - if (quirk_unreliable_oscillator && res.start == 0x48318000) + if (quirk_unreliable_oscillator && pa == 0x48318000) continue; of_node_put(np);