Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1205285ybg; Thu, 4 Jun 2020 03:58:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPK76t0fL5cEetPpQQKpeU8YeyKKjZWLiwdkJ7GfrTia6f6BHd5ghGBywZ0aWBI51d/blK X-Received: by 2002:a17:906:28da:: with SMTP id p26mr3167799ejd.551.1591268296894; Thu, 04 Jun 2020 03:58:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591268296; cv=none; d=google.com; s=arc-20160816; b=mCMDN+z1QCDFdcPWd5dpmtW33SK6Y/IloHPH8Hai7XhI7eUZ+sYvGA3P1OOEsHOa9y 5uMBkAZQScCEjKIrrRif4asJng08obLcqeG56tAGeaQUkM8Y1dyRrVRbX3ndzOXzjHPI mhfTtWlzsknzkkDogn5lZe9HVC1Sh2UE0ANLZQHZWHbpwDnPqqN+KxZ3B01xdRVE+vxi O022qY/07MuOuB98sGFESM0yIGn6HwOb35NcsOF3+JzrofjmJZPZoaEW57aODJjmn8SZ FGb/yoOYNqocCZK6lglWuoG4UUJ5LL3W/PELNzRy1hP+OloOVhvKa37TnnmPZowa3m36 s3Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=JcIsuKO+Nn1Epe0wSqk41gLjCicE70Anl169UciGAJc=; b=PXMi/V2S7tURzyJ+JmOeYVT2xFjTRaLkI7hoIKTqnZE8dtaQGvupfEWF0dp5wXKEGg q3SyzDItMDFyFS0O+l0QR6U3Gkqq3b1Gg9dvKDIEJLgY3UIIVUuM6XHhXC0wBXMywmQo zBsHS49++wLEpyJ6uE9qi3jducYpxhdPolHHMpZYK/xJb6I7wwuFZrfidhW0XeCu7n2I 92+XzXy2rt44FRcJ3711flx2XU5mNM/9x7lCbbRV91q/oltlfKAwOZgORGJJQBDXBjMe CTpBt001o/ZV5BaPmoO8QDg4WsxPEYBzIVqLmr4i5pbVkcV+pEQLbBm3pYSFDEjNB2Lz oD5w== 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 i12si1575406edq.423.2020.06.04.03.57.54; Thu, 04 Jun 2020 03:58:16 -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 S1726228AbgFDK4L (ORCPT + 99 others); Thu, 4 Jun 2020 06:56:11 -0400 Received: from foss.arm.com ([217.140.110.172]:43154 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbgFDK4L (ORCPT ); Thu, 4 Jun 2020 06:56:11 -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 333BE55D; Thu, 4 Jun 2020 03:56:10 -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 6E1AE3F6CF; Thu, 4 Jun 2020 03:56:09 -0700 (PDT) References: <20200603173150.GB1551@shell.armlinux.org.uk> <20200603184500.GC1551@shell.armlinux.org.uk> <20200603195853.GD1551@shell.armlinux.org.uk> <20200604092901.GE1551@shell.armlinux.org.uk> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Russell King - ARM Linux admin Cc: Thara Gopinath , Vincent Guittot , linux-kernel Subject: Re: v5.7: new core kernel option missing help text In-reply-to: <20200604092901.GE1551@shell.armlinux.org.uk> Date: Thu, 04 Jun 2020 11:56:06 +0100 Message-ID: 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 10:29, Russell King - ARM Linux admin wrote: > On Thu, Jun 04, 2020 at 10:26:27AM +0100, Valentin Schneider wrote: >> >> 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? > > If it's not a user visible option, then there's no point it being in > defconfig. Right, s/defconfig/arch kconfig/ or somesuch.