Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7041108imu; Mon, 3 Dec 2018 06:54:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/UmKBqWWOb4Ur7nJRyzAPu4FJ7rl8zfVfUeMyrrKx4wHeMj8JmOvIs6uOvvKoxfGoBBDK68 X-Received: by 2002:a62:7e93:: with SMTP id z141mr15847709pfc.239.1543848855409; Mon, 03 Dec 2018 06:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543848855; cv=none; d=google.com; s=arc-20160816; b=Ea0H6PF2BNhhQ64KpuBvuB6GdcHjL0z1M2ybyHgVCNDjeYQR1QlcUXr8VrzoMD91uu 6lpAtPatnpZ2cslWER8QsPX9PGnSkB8vkFP1XJ+ewN3g/LQdgHfCfZF/uccxQETP8X4l TNybStyQwzGOGJInc7aC6MJOStOGGwEsw4GBENS2VMayfR5QMj/jKiUZBzPSRgGec3ZD V+pHxGRJb58ILyuuN7xwi8iJM3YrwMY1MaC7Zj4Xi8FrB7pgk+VRuhuQ2qBb6YEWJC4g JKtZcaTTYCLK3e7wP0tuKRnP4T9LqtPHzU3F3ZCzgqMf1LC9rMrEX1sa/OYXXiUbo531 DBxg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gHkXpmuMJdjOAjc4qNljfTYLICAT4rbpxB36srapNC8=; b=dfv+I9iUUI7ywQdsFBYJUY9oJ2Xl478IuhgZujJMqMvPghyTuld8aqfA7Il9UL4x6N o0LfCZWJLXrL9B68li7fKgbyisbOBJe4gmjHLo3oAEYY49BDP5S5bBrWrlVFvc538z9b cIhBtFom2QUHV/U36pu2Vkdienda+S6SICW8CXBbejdKQ6hq1as3faJ39ijn//TUfWDW +jEqSO2Hg5YXrtg6xZpB2Pw+8QG7CLdX24rbF9rrktiCCPkE+GCVUHY0aT5RIWTQeHWw OWN/Mul2M1byZo67gC7/IatATuL8C2Vw7NwZiCDiBQpRRPLtBIXHeZZBT22aHFERpam+ 6eLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iyXAAA+B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d127si14126859pfg.255.2018.12.03.06.53.59; Mon, 03 Dec 2018 06:54:15 -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=@linaro.org header.s=google header.b=iyXAAA+B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbeLCOye (ORCPT + 99 others); Mon, 3 Dec 2018 09:54:34 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35485 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbeLCOye (ORCPT ); Mon, 3 Dec 2018 09:54:34 -0500 Received: by mail-wr1-f66.google.com with SMTP id 96so12513803wrb.2 for ; Mon, 03 Dec 2018 06:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gHkXpmuMJdjOAjc4qNljfTYLICAT4rbpxB36srapNC8=; b=iyXAAA+Byee5bNK1snzxlkbZ94zqB17eWM6OZCp09f0eUZdVe1PwczKyfIHUuhGWJI tUlIraO/Fj4vr84XwOPC3VJK1TX5+yhRdrf2nXRHXDGxDaG123+IqZFp2TXgbpFGsWWr KhOlQFUwqNXB3PjuV4F04ENN0nuS7/L2srwzI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gHkXpmuMJdjOAjc4qNljfTYLICAT4rbpxB36srapNC8=; b=sRFl9u54c4OS02S+oxXhcXYb3t04FzzNE1Fi/MzWe3k+nyhMGR0RIaPAbZ9agztwQG gmgdL9p7mMDTvoAUd0IhKQkXyFRDuKpSZzldLrWZi1V7xqVqxNWFfrLc3Zkv6PrpHdmw 60jMuNmyVbZTmyQfIYeP5DcVzyDGBR6AJCrKUdGeMO7BN+6+wyMmeFNI+7H+QZGwfZ8i DXKQU2npBykgTEWbd+GPDT+mE4lueGFWS7pToUaLTjYLSRXmcA9eO31x3UiZcGBguMtp CnfJjgZthvUf/KHlSGcpaVxzEpQYV1RYN4BTJxKdxDFVyfJsHRVPpFQLYIJChF/sbmAY 0ygA== X-Gm-Message-State: AA+aEWYddqkrjM+KQgYCGYFeGVPoKlwYoZ+Eg5jnYLVBDLm4FtXQS+3d Iafbqn98z8RD2mKpPggyh5ntQa0GZVs= X-Received: by 2002:adf:90e5:: with SMTP id i92mr13647338wri.210.1543848793596; Mon, 03 Dec 2018 06:53:13 -0800 (PST) Received: from [192.168.0.40] (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.googlemail.com with ESMTPSA id w8sm17442803wrv.7.2018.12.03.06.53.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 06:53:12 -0800 (PST) Subject: Re: [PATCH] clocksource: riscv_timer: Provide sched_clock To: Anup Patel Cc: Thomas Gleixner , Palmer Dabbelt , Albert Ou , Atish Patra , Christoph Hellwig , linux-riscv@lists.infradead.org, "linux-kernel@vger.kernel.org List" References: <20181203123524.11778-1-anup@brainfault.org> From: Daniel Lezcano Message-ID: <63f67f2b-9e17-78e6-beb5-65d32ff2f85c@linaro.org> Date: Mon, 3 Dec 2018 15:53:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/12/2018 15:50, Anup Patel wrote: > On Mon, Dec 3, 2018 at 6:29 PM Daniel Lezcano wrote: >> >> On 03/12/2018 13:35, Anup Patel wrote: >>> Currently, we don't have a sched_clock registered for RISC-V systems. >>> This means Linux time keeping will use jiffies (running at HZ) as the >>> default sched_clock. >>> >>> To avoid this, we explicity provide sched_clock using RISC-V rdtime >>> instruction (similar to riscv_timer clocksource). >>> >>> Signed-off-by: Anup Patel >> >> Hi Anup, >> >> the GENERIC_SCHED_CLOCK dependency in the Kconfig is missing. > > Sure, will do. > > I also have another patch to select GENERIC_SCHED_CLOCK > for CONFIG_RISCV. Should I squash that patch with this patch?? I prefer the riscv config option to be merged via the riscv tree. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog