Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1158253ybg; Thu, 4 Jun 2020 02:31:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxic8IPG00bupA+RhQaRQ1q/AxTf+vnVyEUNgKPDPLe0+CyEzkz8MNzIK4hHJN0J2YMfa8D X-Received: by 2002:a17:906:af4d:: with SMTP id ly13mr2945429ejb.250.1591263108370; Thu, 04 Jun 2020 02:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591263108; cv=none; d=google.com; s=arc-20160816; b=CwlXz39xwIcBZ4fJPVW5KCDyPYf1CBHQQaB7oIiauPAfmw32YHJpX+YjISMaitJut5 tixaiaCF3zIYNyVGDmZugHoGyFlLziAJuVKK8hMPwLrTEVix4Fms8jfpbOhxMveMa1fj Kk+/DDQbuIpgM/kON6Ic3NN3C5ONtmJsf142SCUlJRhEgfFDt1oAPX0rFMcC9pHubRDZ Uv8BAIojiiEgMz4KHahWgyMEdE3wkgSFErKawZywDZUYEDs07BowKB8Sr2qi8jkcVWr3 DKkkVe2mAc0hmYbiNFOIL3Nc2wcaj2cHq1GRXxxnhjx/XSS0hBSfq/iSd1LGSV3DjWcr K8Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MgS8gWKu2xwJBHtlkgJWo+Yic1cWWOAH5Yb9qu9+1lI=; b=sLsY9ylF4q8MLM2obmskYISE7VDMa/DhjucRutaOJmTjfTmt7RDVijOumChLioWh3j zW2FDytX+I1Fy6O7KuHmA56q+ikHV5PZU8vshq4RjniqRshVV7lZ8Z1/rKQ572wy4WX6 VNosfdcD1ujDQIv28tj0ajTVwxZpcdOnBblalsAEJ9RCJb7oUXAGaaGuiKR1jnEZUn+W VKbwMkBHp6QKwTDcEf7R2PT/WCjzagJnH+n2LMY7CQQNLg/hl36rQfRM7yaLyNpaQsI0 ncUcpLciBkvyfIGdJYeXrHqa7IDxss2IoeiPvl72kfpVhmZCsL2JPh+MLND5hpz+0FKN 1inA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=V2MTMQ2V; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj21si1351995ejb.324.2020.06.04.02.31.25; Thu, 04 Jun 2020 02:31:48 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=V2MTMQ2V; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgFDJ3K (ORCPT + 99 others); Thu, 4 Jun 2020 05:29:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbgFDJ3K (ORCPT ); Thu, 4 Jun 2020 05:29:10 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEBECC03E96D for ; Thu, 4 Jun 2020 02:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MgS8gWKu2xwJBHtlkgJWo+Yic1cWWOAH5Yb9qu9+1lI=; b=V2MTMQ2VnfpsIJFZXaMmTXG+W Num6U3FMJRpS82uvdHSlmZnqH7j2kPOAxMVpwZ+N2wn30N/ycOGfBlg5sB059EGPMdM/8USIlhL0/ nocIWUdpFW1DIWL8zvVD8jDNSRVWa9Iv86QwF9/6lGHTb5Wgun0soBZt2KOBnSP6X+nLcmiHJynTV FOCCIlgClzsllwX59z5AEsDYNUTbcwjUhjNVFZK/G+ollIoECjsIdRw8ryqEubKElVqFiiHScuoOT n7eOIdEHUygUHqrTiG2+5fDlOpgg+PoVVfysHBfYXZjW27sWYQDaREptZ9xVOu39g+bc6NVV7i2VB qEBRgonFw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:41156) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgmBK-0007jY-D5; Thu, 04 Jun 2020 10:29:02 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jgmBJ-0006KD-6z; Thu, 04 Jun 2020 10:29:01 +0100 Date: Thu, 4 Jun 2020 10:29:01 +0100 From: Russell King - ARM Linux admin To: Valentin Schneider Cc: Thara Gopinath , Vincent Guittot , linux-kernel Subject: Re: v5.7: new core kernel option missing help text Message-ID: <20200604092901.GE1551@shell.armlinux.org.uk> References: <20200603173150.GB1551@shell.armlinux.org.uk> <20200603184500.GC1551@shell.armlinux.org.uk> <20200603195853.GD1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up