Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1175921ybg; Thu, 4 Jun 2020 03:05:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6gWTv2lzKJ+aTEfgJMZV7hYmuUG/YHqt4oYi5vwwmxW8ahsBh7trBPC0crgAIzx5cvGgT X-Received: by 2002:a05:6402:1d10:: with SMTP id dg16mr3434744edb.309.1591265137145; Thu, 04 Jun 2020 03:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591265137; cv=none; d=google.com; s=arc-20160816; b=JLDVbcAkI9oZRL6brqCq9j/AoJiKjK0NvsdmQDZaVOXiMeJXNdVZVE+ntVBjoPIEL+ dVaV/jnbxbStpD4dioejVknWeXvmhIoD4IrK8aAZ2F5EeYig6MbvxBkjZc3xDJmU8m8w N0GCY7z6hAq5e16qzheco50JB+yh8Pn/TIAK5fqXrM7YLnOkaqaubt++oCalXj+IrjZ6 uUyS2j51i14PRzlujxDx076oI780zIjU0gh1S2QyOTlGbvc0RKawJx+3w8Y099mDNfxX danK4N0O1RrF9dZ6Wa6iiD5iz43Kbw4CZ1XOqhrts/KL8lapt6skfYc5neV0AY9j5hh4 x7Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:date:in-reply-to:message-id :subject:cc:to:from:user-agent:references; bh=JuNwqdDEA6Xm54ZrtLKNTHvYlbE284FID6WFXtbt8N0=; b=fqBo/4OeyCbBaH+xI1NwrZvweIK+ToOfBfDy+1aQQso0YdjuQoQ7iEXKNtPugmBGkf 5pBt8jK9fOV4QCyqqQAjnjcb/kuRQYC6ScC8EO8Do14v3x7u2DU/CKr95K+ln6Pf0MPa wpJu0O6WESsM6QOYsvmLf7yoiW5t+o9Pb43sy/jGQPkYzTNUX1akjkJDusyy3B6Pg3LP z3duuBLZUM2e/21DTYVwsyVlmKA0tWHai84FWvqFU1zOzO36Vl0YB0szNxcs3/dcGzph 4vOVWMSWH1mi3CxnY4SlY0HG4tXHkcVGPHVrYtUQsyWPvpo6SKFNsT+ew/3dDruA5XzO LoNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k23si1404695ejk.35.2020.06.04.03.05.14; Thu, 04 Jun 2020 03:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727108AbgFDJ0i (ORCPT + 99 others); Thu, 4 Jun 2020 05:26:38 -0400 Received: from foss.arm.com ([217.140.110.172]:42376 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbgFDJ0i (ORCPT ); Thu, 4 Jun 2020 05:26:38 -0400 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 241E955D; Thu, 4 Jun 2020 02:26:38 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 612973F6CF; Thu, 4 Jun 2020 02:26:37 -0700 (PDT) References: <20200603173150.GB1551@shell.armlinux.org.uk> <20200603184500.GC1551@shell.armlinux.org.uk> <20200603195853.GD1551@shell.armlinux.org.uk> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Thara Gopinath Cc: Russell King - ARM Linux admin , Vincent Guittot , linux-kernel Subject: Re: v5.7: new core kernel option missing help text Message-ID: In-reply-to: Date: Thu, 04 Jun 2020 10:26:27 +0100 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/06/20 01:48, Thara Gopinath wrote: > Hi Russel/Valentin > > The feature itself like Valentin explained below allows scheduler to be > aware of cpu capacity reduced due to thermal throttling. > arch_set_thermal_pressure feeds the capped capacity to the scheduler and > hence the feature makes sense only if arch_set_thermal_pressure is > implemented. Having said that arch_set_thermal_pressure is implemented > in arch_topology driver for arm and arm64 platforms. But the feature > itself is not bound to arm/arm64 platforms. So it would make it wrong to > add a "depends on (ARM || ARM64) option." > > I agree with Vincent that allowing user to choose this option is > probably not the best. IMO, this should be enabled by default in arm64 > defconfig considering both GENERIC_ARCH_TOPOLOGY and CPU_FREQ_THERMAL > are enabled by default. Right, I had skimmed over that but it probably does make more sense not to bother users with it. > So if it is acceptable three things to be done are: > 1. Add the help text. > 2. Don't allow SCHED_THERMAL_PRESSURE configurable by user > 3. Enable it by default in arm64 defconfig ... and arm as well, I suppose?