Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4665427yba; Mon, 20 May 2019 01:19:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxzmM1Q6LR/ENu+k6q8rQ7VQ4zci7PqdcJPjGP86dhlObXJ1N47shw4BTbAm4sOgmLfAiU X-Received: by 2002:a17:902:8a4:: with SMTP id 33mr46721501pll.19.1558340396876; Mon, 20 May 2019 01:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558340396; cv=none; d=google.com; s=arc-20160816; b=tplD3TnBeALbH08OdlFqkQrEdxFHIKrczfozMoXafuA0DgPqg4W9qa0+Sbmb3I7jSx ucT7O6lAPgQXgQXWfP/hTlUtHOuzHUgLNeakW0JLRiNLQOmtkZUIqz8NWRbN5oK9Q0xz 5ZQ60+dnwehxiD70JQfakQur3MIQX/xZcH2drtowUuAjQSeCsjk/GqKfQBBX2yFuD0eD C1MVtaBTIOnoPuzCvvxoMi/oTkaqAnyYYLSn2JaZvBDrK4l9zad3Il3TS0UCEuIc4BYe LtyYGtqWeRB6PIafsgK/krxWLX3QoINhpMREjY3T5Y4p+BXLlya6lOaiveWsmuxGBRn1 mVtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=N5i7/XDpfm3fWH4Ml9uuxM88EMAgEyCkLNLDzAUDSZ0=; b=anIiZpT2673g0qyxi3A+lS8XkcEKgY/lZFbbqRAtfZYrRYU7yELsb0/hJBYubkEIMF Mxc2UPyLio83hoq290HrwVaCOZWi9QSUUd+zKyOwlASMP2m2x8Wd78u5ARw+ITlr2CM3 da1lKCKjA9wkLDqDs7hMAK1X6Xs7W+LG2mlc4voJIUZ4idOX2nJ+hbiZqV1U7FXGPExt 21Q0cpY3/YHVcU6vVfsfFCwUyer2Ab04mfcW8SvvE1V15qppsMCWkfrqyHqcYJ/fzQyE c9Tfor7Lz4gF6ZdbQz0J7BBYkJtAecB2kb68FzADRyoxqWFJJrXV0Ph5DFSXKfPMa2KD QXWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=aN7TKzsw; 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 q12si17916471pgh.594.2019.05.20.01.19.40; Mon, 20 May 2019 01:19:56 -0700 (PDT) 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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=aN7TKzsw; 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 S1730879AbfETIFi (ORCPT + 99 others); Mon, 20 May 2019 04:05:38 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38249 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbfETIFg (ORCPT ); Mon, 20 May 2019 04:05:36 -0400 Received: by mail-wm1-f67.google.com with SMTP id t5so10603428wmh.3 for ; Mon, 20 May 2019 01:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N5i7/XDpfm3fWH4Ml9uuxM88EMAgEyCkLNLDzAUDSZ0=; b=aN7TKzswvueSwWlYr5KtwQEUDm4FwOzq19jE5z3pv8sUvOak2w8NcLvYczOR7mVdEC P2S3uIzCkjtQ2aotwBcpbuqNF8Cw3Da3lTLAWb0zExra8L3o2umg7W9woO6Xc55C0ZcB dQoN0Lb5efbJMs5Qne9S1n6yybhaXFZy5FvGFUeQ0PUlIm27zEYRMTTFWxf8hhSnqryF 9ceGvzS6/zQ0OevUJKDf/3nlg4O9TkUuEl4tQukvHwYnP5ncA78N8Ci4Z+1kJdbTYECf 8C5g//rspnOOH0eaE9czErhjwXHfKaf1FO3A6PMEj4quNFYDKeK9rEge9cGMmzlLLtBE +8tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N5i7/XDpfm3fWH4Ml9uuxM88EMAgEyCkLNLDzAUDSZ0=; b=Q3RYsQWciPlNoHMlclOGEpMk81jj5S3/Mzg+NSbCLrqTyXQROjV4NGIV5sBhcWRYsz aCuEynS+0IZu954WR4aV6FxatxpYl9/xubWYG5ZpXrlTffMdVxcC8Feq5ocW037R2RcB 7r7cJp4B/NOvKBwHnj+zlNt2TPUeBYPkVtoREWfy8FZkeVuE9/ME42cvypnCXrWVerGA +45OnKBZ3+bdQgQ/2c4Dqrd4QrS5GH6ELq4x+Zx9K1B/XcdM6pcQSKHxzB1AkZ3kmd6j /O6pdZk73MLlT6lZi+/RBfZhkgmVaku+IdAqkJ/mqwrlkXzvNMtnmbdZi4mB1wJgLEzg wiFQ== X-Gm-Message-State: APjAAAWyIcZRe/ZiF3Z38ShLgX8pylXJ1LFGZwPKGV/16HYKGBged/Rd 1ZCDGXMGcXE3onRbKFFHH8yCOYL0EyyLW2swqGstoA== X-Received: by 2002:a7b:ce10:: with SMTP id m16mr1909247wmc.10.1558339533772; Mon, 20 May 2019 01:05:33 -0700 (PDT) MIME-Version: 1.0 References: <20190515063004.3466-1-anup.patel@wdc.com> In-Reply-To: <20190515063004.3466-1-anup.patel@wdc.com> From: Anup Patel Date: Mon, 20 May 2019 13:35:22 +0530 Message-ID: Subject: Re: [PATCH] RISC-V: defconfig: Enable NO_HZ_IDLE and HIGH_RES_TIMERS To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Atish Patra , Christoph Hellwig , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 15, 2019 at 12:00 PM Anup Patel wrote: > > This patch enables NO_HZ_IDLE (idle dynamic ticks) and HIGH_RES_TIMERS > (hrtimers) in RV32 and RV64 defconfigs. > > Both of the above options are enabled by default for architectures > such as x86, ARM, and ARM64. > > The idle dynamic ticks helps use save power by stopping timer ticks > when the system is idle whereas hrtimers is a much improved timer > subsystem compared to the old "timer wheel" based system. > > This patch is tested on SiFive Unleashed board and QEMU Virt machine. > > Signed-off-by: Anup Patel > --- > arch/riscv/configs/defconfig | 2 ++ > arch/riscv/configs/rv32_defconfig | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 2fd3461e50ab..f254c352ec57 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -1,5 +1,7 @@ > CONFIG_SYSVIPC=y > CONFIG_POSIX_MQUEUE=y > +CONFIG_NO_HZ_IDLE=y > +CONFIG_HIGH_RES_TIMERS=y > CONFIG_IKCONFIG=y > CONFIG_IKCONFIG_PROC=y > CONFIG_CGROUPS=y > diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig > index 1a911ed8e772..d5449ef805a3 100644 > --- a/arch/riscv/configs/rv32_defconfig > +++ b/arch/riscv/configs/rv32_defconfig > @@ -1,5 +1,7 @@ > CONFIG_SYSVIPC=y > CONFIG_POSIX_MQUEUE=y > +CONFIG_NO_HZ_IDLE=y > +CONFIG_HIGH_RES_TIMERS=y > CONFIG_IKCONFIG=y > CONFIG_IKCONFIG_PROC=y > CONFIG_CGROUPS=y > -- > 2.17.1 > Hi All, Any comments on this one? @Palmer, It would be nice to have this in Linux-5.2 Regards, Anup