Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2323495pxb; Sat, 28 Aug 2021 11:02:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1lagLAS4kwCUcQWUnzDbzUcPdscHvHdXIqkz6ppwAWnBcPaNvUqB47mbVdBgerLrMBfKB X-Received: by 2002:a92:c56b:: with SMTP id b11mr10134643ilj.225.1630173761387; Sat, 28 Aug 2021 11:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630173761; cv=none; d=google.com; s=arc-20160816; b=oySmzA6plmSYkeuXP9VEDCi8KVsFAjzrYVT8a+hyfZefCgOx6dXm9xgKqxHeej469F 9lwr34XVVsQoYhnt6aeFzbi/r00xRgWM//fkEJwPP6f87OGYUWAW41xfRda6MX+UT4bC AVNwliGbIL7GD+J2s+QY4MdP73kUxJXkse3Uio0YrygdJmzqvWVKwPM3JSxUWdKnxJWX Q0jX0/z+gumUHSxrMMqzCJgERJPUdwKOYbWLRgHiVklNgBTRhdeY1bgS+zsn4AljbVPp 1G9y2rPBsLGckmHDm4BsE/s4kLVZEqIhbuL3wjy3O/b2KYVhJnEqcU8pS5pSpDPamRqo s/yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qoRrda6U6GxHzpOEaIJ6gVUXCj3XTmN8tjTe4PtJ0hc=; b=PHluSGHy498rCsWB1nIUhLLo+aEPP7GuBkItHUJcU58he/lmqTIHVkWHqrfmunuTAZ C24OpOMiwPI3Q6P6QBcrqhUqQPbqWbPvS3fQibCZtKzNv3LQIAEZAI/xW8LkkZyM5MGZ 4iotZpWerftuJQ9dS6rPpu8cSYlHUsMwAjU+uDW8ppX6BKZwadIj3oWQeL8CxaV3PNKN I8H5ZADCD1km81Qh3ttRvVXSvTihr4QEWdrqk0yO2Ycl1u9ax2wjCrJRe+7Msi81a4yw 0REY/2tk5AaNHxGcw0cnke7ZNbCVb2xHOqsU2Euh4pmitydPgW8s9NCr6rYPwhandE1p TQ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mmMbPiCU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si9383314jak.4.2021.08.28.11.02.29; Sat, 28 Aug 2021 11:02:41 -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; dkim=pass header.i=@chromium.org header.s=google header.b=mmMbPiCU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229912AbhH1R6s (ORCPT + 99 others); Sat, 28 Aug 2021 13:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbhH1R6q (ORCPT ); Sat, 28 Aug 2021 13:58:46 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 162E7C0613D9 for ; Sat, 28 Aug 2021 10:57:56 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id w19-20020a17090aaf9300b00191e6d10a19so7232630pjq.1 for ; Sat, 28 Aug 2021 10:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qoRrda6U6GxHzpOEaIJ6gVUXCj3XTmN8tjTe4PtJ0hc=; b=mmMbPiCU3U+syXMjU8vmu6LDmEoQU8JvLN7kPzP2kUB2pj1DoBzCimW/GwtZyrYsiu ddQHHN+WPFjOXjVBZdvWcwpfDfER+4xVOWV93BdAAmPCASjc1I1FSB6KLfHvnofn1nHK i1/OgItiwbOqlNZtnkp2Ww50woEvHsYEsO+V8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qoRrda6U6GxHzpOEaIJ6gVUXCj3XTmN8tjTe4PtJ0hc=; b=ZnG+Yv5hhuTJm6U2l1ov5Kl21h8als6ezk/rO99vENOTTNTaeYMzkE02/CabvsJ2Or cgb/mUHtfvFPBMCml5ImR2G3fnGk0mf/+ObBYYUXxoRnE5uMYp9FYLvli6lPcgqTYrCm tYtIKWrVVEWeuUBSHfLCiYQxEVVFHn9se7jxrdZyBPJ1tsgV7biZ3wncvq90LXritD6w TAwDtVBgDxbqCjriU1XuxLqAxlDZMwl3+0UKgASN4EfruyijA4yNBZp5uiE+5ns+qEQV zVkjbD7CfwitkXbrhXcPm1fg7h6Qwc+cYk1yA237D7gLAOoXCI8aPHiteegbEZCMOTeH Rqxw== X-Gm-Message-State: AOAM530PZjsCdCWHvdQ7bKWlYs51SVRZtweWGVhOdhugNE37IM191ytT vn0aTNFRyp+qnFRngf53NGVcIQ== X-Received: by 2002:a17:902:fe81:b0:133:851e:5923 with SMTP id x1-20020a170902fe8100b00133851e5923mr14151597plm.25.1630173475568; Sat, 28 Aug 2021 10:57:55 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t15sm11199595pgi.80.2021.08.28.10.57.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Aug 2021 10:57:54 -0700 (PDT) From: Kees Cook To: Tony Lindgren Cc: Kees Cook , 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: [PATCH] clocksource/drivers/timer-ti-dm: Select TIMER_OF Date: Sat, 28 Aug 2021 10:57:47 -0700 Message-Id: <20210828175747.3777891-1-keescook@chromium.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1368; h=from:subject; bh=9jx5uQPQqpp6TrFslvjEgR6EW3HiZEM9ERGP13bv27o=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBhKnka8IMpGL75t9SdPtlw5cO32b0cj/Ljslc5NM+C Mk3bmEKJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCYSp5GgAKCRCJcvTf3G3AJsbaD/ 9aHBUpWn4I1adVnh/gDEinuFwYEId8xHXMAzcKmAtGYn9aDrtjoho0QB65x/XE3thwjJv4rCtM6cfP im14GI7xHW/uIfagrW0Jiv9Rg9b1t0Gu2w6x6HrzymAHfrplvvcm8A8TDdFOWBrECEbKKEyFHvKxvI 7LEnxaaIY5RGxG17eFQXW2wdFuGppuHhZqenCfX8JRIZ2XzGKOJ6VnV7i5qWldvBe7jSPUbiYAK+xm Mi+AN3Xqkc1Guj/KGGMJ6nAyZKHRQ0l8SVTJeShnoPnWuor8X6haOExTFTH6tPl+0pbOisdtXiOumw axOUWWOeU7ga0QFJ+vacWTKXFmc+fMAS6355YTYFM3q2Rnv1eLDTZoetNwjxvitQtVfoeoY6+DQUtg uRMxDbULb22uh2rWpm5GkRABAdPiNXfbSUjTFRKAOjYFFxA85CC3XlHI9eW4Sa0Xr1hbffFm50Fb7j L+XEGRWoVoO/UONT74eVGC1HLJXDqGUs71GTXbWDRG77Sg2CN/+GNTI+JlJjznLvbWPT8njCD7Qr5n 0ZXDIlKtM2NF2xfDOWksUL6GgQc1sGloiVyDtxVgiyJIpNsHC4AG9hJUSQ0zi0PzoIr3LAz/3ylz6e ktGmQcMYLEmlX14y5Vn4v+WxMigNBrSEQU8vbERGmENn9RVkg4tg3OAs9NHA== X-Developer-Key: i=keescook@chromium.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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