From patchwork Mon Mar 4 20:01:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159589 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4155781jad; Mon, 4 Mar 2019 12:02:16 -0800 (PST) X-Google-Smtp-Source: AHgI3IaCBh73AoD5PttItU1fWWqjA3X4Ir4WhG35fw/IJ+9bGWxTMAYT7Y9by0ZsE/MF3axdGIUO X-Received: by 2002:a62:be02:: with SMTP id l2mr21802593pff.55.1551729736059; Mon, 04 Mar 2019 12:02:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551729736; cv=none; d=google.com; s=arc-20160816; b=L3exZtvsqWFWJZFNGnlh5M6pACn7DsaOOZibVGrRvGukDC+29XY4Oy0wplzTvk6Z7r nZ518EMj+ygb/zUyzuni9rW//erR6xMp0Mi8aJnxWUD1hzzWfLLIrUlsvnJsBbPL8oKV wKKtXIaXQJceafcYqcsipACXrkHHyt9kpTrq0DXy/VvfzK/W7EuNS31wZa39w7ujJqJB WoHjikc0U53WWQlUVQryevf6qxNnb2Jw3eEpSp8ruFuO3slr5HCaDAUELxYudnDL+CJf ceRXSApJ0/uZGu6ZJvF7ZJ9afLJ+gObt3p7i+n0ljg3EBNFbWJEFeLwZehduXBs8ccNZ OPWg== 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:mime-version :message-id:date:subject:cc:to:from; bh=7VM56CTuMlEGkEwkEW6P6Gr555SF4k+nksOWmmEqPXM=; b=uvNwXYUOfW80hzvDvbt96XkthbThNfocRQaLHzOU/FNheaTNvGBPcAQ3F6L5Pxz540 adUyfGC/QGA37ZnKQMSdN8bxJHJo9f1fQnBfaRjSF9vlTK+38dp3KLk8DWCWnfEIadyj s8OOUlbQbVNgSxr8c21neHe1yDuzewmXk9Mi3tY1hGibnt0loR/0p+IlAD9/6scZZMtg gM91umw21nJrteym8MKfQJW4bJD+QH5RxnV7As90AZLOeJqe2LQAOli6BI/FWYIpFdkB /fxgh7QSwA61fya7X45N9JOW+tTs1WBkk1G5bSXtzXObSH0MfTKgY6Y6isLw30jVlQMH an0w== 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 g28si5923360pgm.455.2019.03.04.12.02.15; Mon, 04 Mar 2019 12:02:16 -0800 (PST) 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 S1726435AbfCDUCO (ORCPT + 31 others); Mon, 4 Mar 2019 15:02:14 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:60275 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfCDUCN (ORCPT ); Mon, 4 Mar 2019 15:02:13 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MF2YC-1glYlH1e2a-00FThj; Mon, 04 Mar 2019 21:02:03 +0100 From: Arnd Bergmann To: Thomas Gleixner Cc: "Paul E . McKenney" , Frederic Weisbecker , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] time: Make VIRT_CPU_ACCOUNTING_GEN depend on GENERIC_CLOCKEVENTS Date: Mon, 4 Mar 2019 21:01:31 +0100 Message-Id: <20190304200202.1163250-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:xI5gu2vKPSIkupmJqeoL+mXwuuLhBf8CCrVugJjyKd+0+WK68gG Zn68TELUR5j5tPPZ+qLXp+Vb1ThgNxC/gaBljFI8fvExPvdJSnmVVq528sxrLIkbReJZMO5 BFjxKSys2s41HgImqCJALV4wBr3MsWWddkGccjmy3tpUoNmSP1YzgpnEKzLh/Ltpv4HXaZi 6L+sBLn++oWfq3kpQ9uhA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:mYz9IZLzva4=:pG6EnBfv6mey8i8HkPpYfB 8PeD2/jYBdNOjl3kJoo1sKiG5uZMETm9g23bhuvNIXenPsmlnAK55s6e9jhMSkPxciziZl1Uj EpTuYe3DeaEn2bTRHIth7xpl24C9EWf/ZZgJoRsNb4rhkMVmRHNyPjSEHklguaJEhS30lmPKD AbBlTBp3kJyH64Nhc3TKVXT/LQQE+RXD6/69DV47QPYdbk2XBvUHXLUIqyYwLdwyNlW1suSUh c+cBu8VbSeG+C8f9QX18LIAXW/cWk9ajH4zYZYe7WsHrlg67Rb6TDdJKAtjmfmLVkcFK4SxWN 0j3q9H6OmnzcJLQS5Uu8VSB7cRtLPoH72H86tnindxIX5BvvULcpDYaJ6R+i3ift7YS27MFMA 1WIuaGoNogwxWgYqqE+6QrniMcIzT1ypvPw2FqK8AZLhpYtZfkEwzRl5vlVMksf73yXfrKqIp EjKvOFc2EevkscvlSQlK6nW0/9nlLp/IVU5ovetJuwlaoqiRORC2pSHp8L1oo5pIj52w70RLp KDT+SMTgwDnwzoonP4YCPaTT++REqOLD3KdX8r63V1QqNxG4CkvLgLrIfrkbnm/O/kh8QbAxf Pr/MA6DMzyFUNqWqcNtocS77UUZ12JVA+y5qt5yhndgjZXjJJOl+Bf/c3bas2pUigBrgIRPgZ q80GnPpfaRq85njszKKDLDHqkBIaoyrCrtuUfotNKsmfQrW1a5opDV43m+q53z3gfa/wnIm47 fIW2OcZQlBceHpIXj1guTbQvvldXHR85FLQ+Xg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Moving the CONTEXT_TRACKING Kconfig option into kernel/time/Kconfig added an implicit dependency on the surrounding GENERIC_CLOCKEVENTS option, but this is not always enabled when we are able to select VIRT_CPU_ACCOUNTING_GEN: WARNING: unmet direct dependencies detected for CONTEXT_TRACKING Depends on [n]: GENERIC_CLOCKEVENTS [=n] Selected by [y]: - VIRT_CPU_ACCOUNTING_GEN [=y] && && HAVE_CONTEXT_TRACKING [=y] && HAVE_VIRT_CPU_ACCOUNTING_GEN [=y] Platforms without GENERIC_CLOCKEVENTS are rare enough that we can probably just ignore that corner case and make it a dependency for VIRT_CPU_ACCOUNTING_GEN to simplify the configuration. Fixes: a4cffdad7314 ("time: Move CONTEXT_TRACKING to kernel/time/Kconfig") Signed-off-by: Arnd Bergmann --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/init/Kconfig b/init/Kconfig index e0a6a35b8428..13442ca7d1ba 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -398,6 +398,7 @@ config VIRT_CPU_ACCOUNTING_GEN bool "Full dynticks CPU time accounting" depends on HAVE_CONTEXT_TRACKING depends on HAVE_VIRT_CPU_ACCOUNTING_GEN + depends on GENERIC_CLOCKEVENTS select VIRT_CPU_ACCOUNTING select CONTEXT_TRACKING help