Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp860260imu; Fri, 7 Dec 2018 10:01:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/WFVIh3rnjtGlQRMUEEPSEE3R77bUIgFdS5mcgq6tx2PlLQRQHwy+OS7yNjA/zw2h9sz9G9 X-Received: by 2002:a17:902:2:: with SMTP id 2mr3131498pla.228.1544205683222; Fri, 07 Dec 2018 10:01:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544205683; cv=none; d=google.com; s=arc-20160816; b=WuteQmoLK+JE9XEyBm/NQuPkhJFPiJKDe04rj8S+rbCWqlE7ZrwA83YjzYPYs4tb1X z2d+tqIab0z0OzQObkzfl+F4YduAg3I/XApOu+F6/mRd7WJBFydpWNYHquCcIA0c7a5D aFPhSu85jqeG97IwB1JYRqyGA2U41yFT8PRRZyyOl2pAmLsXP0WKJdm+Gx7O1an4wRNi r/JaJQcdEO5weyfFSW2NYKSMZaYIHeXkDJ9AEW4mkP1lzI19VSUyy+zNwYdZb+ewcTXG OtGiR7/SVkugkHgxobhTNeBuGNMg4G2Rk5ANufvW+X2yMVINvKgRGcziLx7ezh3N7Umg +V7Q== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=i0Q9sHwMUr1ekdKWXnqO7o2xE02Jg3yQin/DuOT/sO0=; b=QS71zhCXlbZ9GZyvMByZabwOgFfLpnzkKxh5b7oC47DM5ExAg+Fll7hxaC85v9AHGj Njtp1PaYP5NwIepAlUxQEYQidn0vrbysnkvsc/tcEJC0pOsXjxBENQgswfp8CzfaKv2v O+iYzOP2Q+lXnoJ3oBTqPFPKxD2sbwV7buUU2sWxOHwUwvm+LqRkoqTAUB+ckeMKPAZc LklH+oGZU25l48MEM2/HPA/jCdxnFVeAzPpLJmU2Qxsw0FV+34sL7ypxOy2BukZ4rxTp WPvAHtnsMJvtc53Lr4ftWttm0CVQ/guVQo4+mEXajuXVJ/dp0iEiGFS6DkOyIQdkSBU1 mvGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="OK7/DQPU"; 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 m11si3390439plt.26.2018.12.07.10.01.08; Fri, 07 Dec 2018 10:01:23 -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; dkim=pass header.i=@sifive.com header.s=google header.b="OK7/DQPU"; 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 S1726168AbeLGR65 (ORCPT + 99 others); Fri, 7 Dec 2018 12:58:57 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:35295 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbeLGR65 (ORCPT ); Fri, 7 Dec 2018 12:58:57 -0500 Received: by mail-pf1-f194.google.com with SMTP id z9so2296008pfi.2 for ; Fri, 07 Dec 2018 09:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=i0Q9sHwMUr1ekdKWXnqO7o2xE02Jg3yQin/DuOT/sO0=; b=OK7/DQPUD/pVtDKYclK0FyeGWFC1aYMhNDPfQJfdXdLkt8jm2piokX5AC3IlMTVxzL IICcnOnP3OjFK76Mx/Ze0sBqXfolnlgACpKRrz+FJJUaf14fFekODHgFl8hH+TFxE+AC rlySbFnYUP6mqJhrumlXJOUnoJlr8ibryYHVYuybMqvQZ6e4HVwzevMQFA7lW8nGswYz bKHvRHhhyAnsD1c6P5vefSWTMW71hXt6XdHMc5lXdQP8PVTWzsDbEOg+QLviN2Wc9LiK yfLci+n14Z3LK/6/YX+j54/fN2tk2lnKBHMP1Su4tCvkQPIbtbw1xV8HR9eIQTxorTCj 2cKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=i0Q9sHwMUr1ekdKWXnqO7o2xE02Jg3yQin/DuOT/sO0=; b=mQF6XWpzd/gN7y6MEj7GVAayN/Hn/yx/4pEK/GvE3d6oyTeY2IrzBEB/YyotZCB86p x4Mlublrnr7B9hzWu2JgYxlViwTNMS82ziAYv5PLgW3PGlbyTIBxVtHErAQ9u35dyRuk Xv6JolHMU7iuvHbLIjfG9CTDV5J3FRhE6veACiVMbLKNFUH3yeomjugqCWDvIx0M1/gs AhNMYG33AEDDh9aWz6Qxa1UD8XyoXCpETDeV583tyPKUuwHeoUqJ4UOkHUIPRKI2/AIm rY7LM0t2gJApeBdfgdzlCc+i2HOZmEKjjNS0rvqWA9Ds/8ltBWHR/7YcT6HNrGRah5R7 lDBg== X-Gm-Message-State: AA+aEWbqKz1TkumMiRIKjnGedwnTWclZ8LbiY5ylpQHFsXW7vfMJaFjF M5EzhvZRTMN7mGfA0jbcPUUtYw== X-Received: by 2002:a62:5444:: with SMTP id i65mr3278084pfb.193.1544205536460; Fri, 07 Dec 2018 09:58:56 -0800 (PST) Received: from localhost ([216.3.10.7]) by smtp.gmail.com with ESMTPSA id p2sm4796263pfb.28.2018.12.07.09.58.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 09:58:55 -0800 (PST) Date: Fri, 07 Dec 2018 09:58:55 -0800 (PST) X-Google-Original-Date: Fri, 07 Dec 2018 09:58:16 PST (-0800) Subject: Re: [PATCH v2 1/2] RISC-V: Select GENERIC_SCHED_CLOCK for clocksource drivers In-Reply-To: <20181204102952.21297-2-anup@brainfault.org> CC: daniel.lezcano@linaro.org, tglx@linutronix.de, aou@eecs.berkeley.edu, atish.patra@wdc.com, Christoph Hellwig , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, anup@brainfault.org From: Palmer Dabbelt To: anup@brainfault.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 04 Dec 2018 02:29:51 PST (-0800), anup@brainfault.org wrote: > The riscv_timer driver can provide sched_clock using "rdtime" > instruction but to achieve this we require generic sched_clock > framework hence this patch selects GENERIC_SCHED_CLOCK for RISCV. > > Signed-off-by: Anup Patel > --- > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 55da93f4e818..09a0f2582cad 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -24,6 +24,7 @@ config RISCV > select GENERIC_CPU_DEVICES > select GENERIC_IRQ_SHOW > select GENERIC_PCI_IOMAP > + select GENERIC_SCHED_CLOCK > select GENERIC_STRNCPY_FROM_USER > select GENERIC_STRNLEN_USER > select GENERIC_SMP_IDLE_THREAD Reviewed-by: Palmer Dabbelt