Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7147354rwb; Wed, 23 Nov 2022 02:53:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf54Z4q5cE1gHr6aiyPcPXMuww66pJMlu+vql0J7LWZRZRR/ILP3J8w22t2ogkkfdxZN7LYG X-Received: by 2002:a17:907:6d12:b0:7b2:bb8c:5398 with SMTP id sa18-20020a1709076d1200b007b2bb8c5398mr13061875ejc.573.1669200802260; Wed, 23 Nov 2022 02:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669200802; cv=none; d=google.com; s=arc-20160816; b=TjH9XG+vdGIKfoWOITzJZxUu/p0XtA9XY0bA/d+roJAoSBk7v+Xe3MSITl0yqt/Z6o lCXQpkLR0f9aKUW6PB7iyJDcPb/egVBkfF+OqMc7HydNei4LhNtaGLvsFd3uL11Arf16 tYvO1lMS3jO4K30w65EsR+99p2msZB548atBvP9br4K4sCehMLZDYWC17kRG3QBUupN4 TYMVXeHxcm6bqzpoGOpho/TMtb0oFLM3uHuZyOxMFOKNSyTko2Guo6GP2zTsWzFwWGjj gXGQT+4VudqwEdf/EFpErYwrR9l5ZkW3pNF2Gu3p+wK4OzB+9PBAu/0zN8Vsokzh3/up ZSPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GCISTd/wiA4kHbuptFnbng6WEFNwBFJ055/zxBt+wMk=; b=PMOvdfOZsw4I9fHBZNs4CgquMXEKscMOuWI486s1UmP+RZ/SGAP6oQexwrUqAGsBG2 FjkDRlhPWAt+tfxucH/gPXj6ddUe+o7rbSs/5oWpVE5Cs47bMMmbWRJxYJRXaREaV2Wb MrpMeYF5hMttZSxEHwv6+/imYKEnIeHAnKOyIfKWQOBW33qWmq7Sjc7c4P7AP9AsvTaT Y1RsPk3vlTQy+5wDnExnx6QCiZ272Mcb/hj/V1AQa2v4awjiltEpJ6dwaUUUGPDFSfwq B7foGyZiNu0N2e0LYm7NyPdI63RGdUopnngl6UkYNzOQ02UaR1RuXIyr2Qxkgag/B/SB AdyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk40-20020a1709077fa800b007ac2daa0b49si16332554ejc.367.2022.11.23.02.53.01; Wed, 23 Nov 2022 02:53:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237652AbiKWKgm (ORCPT + 88 others); Wed, 23 Nov 2022 05:36:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237095AbiKWKfM (ORCPT ); Wed, 23 Nov 2022 05:35:12 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 762B1EE3B; Wed, 23 Nov 2022 02:20:13 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9AEBE1FB; Wed, 23 Nov 2022 02:20:19 -0800 (PST) Received: from bogus (unknown [10.57.6.137]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 35CBB3F587; Wed, 23 Nov 2022 02:20:10 -0800 (PST) Date: Wed, 23 Nov 2022 10:20:07 +0000 From: Sudeep Holla To: Samuel Holland Cc: Palmer Dabbelt , conor.dooley@microchip.com, apatel@ventanamicro.com, anup@brainfault.org, Sudeep Holla , Conor Dooley , rafael@kernel.org, daniel.lezcano@linaro.org, Paul Walmsley , aou@eecs.berkeley.edu, linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux@rivosinc.com Subject: Re: [PATCH] cpuidle: riscv-sbi: Stop using non-retentive suspend Message-ID: <20221123102007.2hrncka2nnpxp75h@bogus> References: <57114829-c205-dece-abdb-1100947286d4@sholland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <57114829-c205-dece-abdb-1100947286d4@sholland.org> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 22, 2022 at 11:11:23PM -0600, Samuel Holland wrote: [...] > While the comment in include/linux/clockchips.h and the name of the flag > imply that C3STOP is Intel-specific, it really isn't. The flag is used > on ARM, MIPS, and PowerPC as well. > +1. I agree the name is confusing but it used to just indicate that the timer is not always on and could stop in deeper CPU idle states. It probably was introduced to be used on x86 for C3 state but it is used for other purposes as well. May be one should have or even can now rename it to something more appropriate, but I am sure it might trigger some bikeshedding discussions ????. -- Regards, Sudeep