Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp348466pxb; Thu, 30 Sep 2021 07:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLy6Be0UGA7B+4ab5cxXLt42Sg1rEDCFCtwiGnRf5CQpVjZLw5+ZL0LSlsqdS2Rw+/zZMo X-Received: by 2002:a17:902:6e0f:b0:13c:9d43:7d7a with SMTP id u15-20020a1709026e0f00b0013c9d437d7amr4414057plk.62.1633011788933; Thu, 30 Sep 2021 07:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633011788; cv=none; d=google.com; s=arc-20160816; b=hgLDzkySP1LEawHZO5Lthkf4fTVbHDYs3ADlz1umGZJ0Jgd15bzIX2OOgrbAEGdm86 qdUd1EpAgu8AiqnPoGjeE6uy5+6Gi1FFBdafFJawrVFPvLB4AYGwvROy/n995qxrJ9si kF4wIWMwuOybMdMnwFKRcIfBZo/QcCqdswOnldtjrn/NRoE5ZSumJkGeEh+oFEWCQLIQ VtphKeXJU9zm+iql0nFPAjobJGpvyyoPkXEnxFoxYLIo0EhRib5/HmWex02VXrWAYhjn bnUi61btH2/DFXWhE9hmoGVl7t+myqc85fdX32LPMyAfxQBYz+qb+9iwhu2Z9dl/bv0h jHqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YlfXHw+vdvJ1Nm0lUNtXJYFAovrTMhuBCHu/UN6Texs=; b=Kv/wCHVHZS5Kp6ROyM9WD7nnHH5bWWOSeN6yH+2lKAG3M3XhdjucXTkGcYJ4zUNvPR zGQsFnrsSrHmzJL7uc9v4wV1+SM9m/5pDEwY8EdmAXxRnmtJkDUd37BXGoWLyv//wQXK 6jBMuAaPDJACSUfWVUKd7dxLnxshC59BtC/HPnZZ6iXRSykoU8QkcgWG7TAc8XJQ/dw/ rFNCxduMo0reRDNDipA6EHOUAXSnc0HANy8iNDetJdarW5szITw0vdPyj4MUWjvfX0hH f2XkQ2+FWS4EER1+exs+YtBjlHIOpvOmzEcZYWWKbTRyJBYnXLdAFpetzv4dJfmBSovp /iXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si3581034pgr.397.2021.09.30.07.22.54; Thu, 30 Sep 2021 07:23:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348811AbhI3Iv3 (ORCPT + 99 others); Thu, 30 Sep 2021 04:51:29 -0400 Received: from muru.com ([72.249.23.125]:39120 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348818AbhI3Iv3 (ORCPT ); Thu, 30 Sep 2021 04:51:29 -0400 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id ED3A38050; Thu, 30 Sep 2021 08:50:15 +0000 (UTC) Date: Thu, 30 Sep 2021 11:49:45 +0300 From: Tony Lindgren To: Kees Cook Cc: kernel test robot , Daniel Lezcano , Keerthy , Sebastian Reichel , Ladislav Michl , Grygorii Strashko , linux-omap@vger.kernel.org, Thomas Gleixner , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: Select TIMER_OF Message-ID: References: <20210828175747.3777891-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210828175747.3777891-1-keescook@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Kees Cook [210828 17:58]: > When building OMAP_DM_TIMER without TIMER_OF, there are orphan sections > due to the use of TIMER_OF_DELCARE() without CONFIG_TIMER_OF. Select > CONFIG_TIMER_OF when enaling OMAP_DM_TIMER: > > arm-linux-gnueabi-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-ti-dm-systimer.o' being placed in section `__timer_of_table' > > Reported-by: kernel test robot > Link: https://lore.kernel.org/lkml/202108282255.tkdt4ani-lkp@intel.com/ > Cc: Tony Lindgren > Cc: Daniel Lezcano > Cc: Keerthy > Cc: Sebastian Reichel > Cc: Ladislav Michl > Cc: Grygorii Strashko > Cc: linux-omap@vger.kernel.org > Fixes: 52762fbd1c47 ("clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support") > Signed-off-by: Kees Cook Sorry for the delay, I just noticed I never replied earlier: Acked-by: Tony Lindgren > --- > drivers/clocksource/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index 0f5e3983951a..08f8cb944a2a 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -24,6 +24,7 @@ config I8253_LOCK > > config OMAP_DM_TIMER > bool > + select TIMER_OF > > config CLKBLD_I8253 > def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK > -- > 2.30.2 >