Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4837225imb; Thu, 7 Mar 2019 01:32:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwSGWpVlPG3wmZzbv+b1D4F09ReZ2zc0VB1mTpKw6yc84Olo5riILWZVJ72udrr4DUuU01g X-Received: by 2002:a65:628f:: with SMTP id f15mr10629141pgv.410.1551951141073; Thu, 07 Mar 2019 01:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551951141; cv=none; d=google.com; s=arc-20160816; b=kRRnKdwwY/enkWWR0855Nr+mWhhcLgtu9f1THnJOwygzv6pqQBmAgzw8FfDimV1F3w 4VGwLIRDG5ErdBgZKqfWihU9IxI2jSYiuSmNNaTIxxMqttgnmO1n81CrI2NkgECkgTO7 5/B3B3rlHFZODmgynZvCo5r8k3NpNfUe8M0/aFAufvOgpfsHr1mXbsI4WSSVX64cjFgU GnaGUr8gQlxLkHdT5n9a8XWcZasQtChx+Mw35e3cLKevsx2gUNt/gPot6uFME3NKQOTk e2zCAo49aEl7PjWXaF/hAlzLzn0pz7xd/AoHaQs95UbypiWdbE63uZhJadSvPRqi4WIu YG4Q== 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; bh=2R88xa0sjwlT5hCIxgLzMgPGcODGYz5bd/nVvbKCYvk=; b=NZwlGDjtYfdV8+TmombrktIIcOBdAK28c5yKTsRlv6uY+3Vb14H4ZOSJUdsb8ULCzV 1MehllAda5lxoKt2s7tvXwhUfMwLWyGZzHJlMh3GyKnMPXUlr+KjE1r/y/pXxe0sSn1T EoX8xaC8E38CR17Z66/E8c7pVctxCiMAt7jHQJ+BKXrmZ2J61AmOUF/WKYJn1anibvjP jpwO8AiKrRy3cOW++pLXhVAWVOQnnNcUokrp1vdb1hNvAsAG5Kiyic+iYMpzglxEuXBg TYJSSqFtmQOJy9v6CpBM+NXbLma/b4yfOyps0L39N5J/squ/bHdwmHPENL3UfBS8uxdF aAnw== ARC-Authentication-Results: i=1; mx.google.com; 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 u2si3668176pls.34.2019.03.07.01.32.05; Thu, 07 Mar 2019 01:32:21 -0800 (PST) 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; 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 S1726298AbfCGJb0 (ORCPT + 99 others); Thu, 7 Mar 2019 04:31:26 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42846 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbfCGJb0 (ORCPT ); Thu, 7 Mar 2019 04:31:26 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2B33BEBD; Thu, 7 Mar 2019 01:31:26 -0800 (PST) Received: from queper01-lin (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 394E93F706; Thu, 7 Mar 2019 01:31:24 -0800 (PST) Date: Thu, 7 Mar 2019 09:31:19 +0000 From: Quentin Perret To: Juri Lelli Cc: Lingutla Chandrasekhar , sudeep.holla@arm.com, dietmar.eggemann@arm.com, gregkh@linuxfoundation.org, will.deacon@arm.com, catalin.marinas@arm.com, morten.rasmussen@arm.com, linux-arm-kernel@lists.infradead.org, jeremy.linton@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arch_topology: Make cpu_capacity sysfs node as ready-only Message-ID: <20190307093116.slvugyeos46kl3et@queper01-lin> References: <20190306152254.GB19434@e105550-lin.cambridge.arm.com> <1551886073-16217-1-git-send-email-clingutla@codeaurora.org> <20190307072856.GC29753@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190307072856.GC29753@localhost.localdomain> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Juri, On Thursday 07 Mar 2019 at 08:28:56 (+0100), Juri Lelli wrote: > There are cases in which this needs to be RW, as recently discussed > https://lore.kernel.org/lkml/20181123135807.GA14964@e107155-lin/ Yeah there's that problem when you can't fix your DT ... But I guess this is a problem for _all_ values in the DT, not just capacities right ? But these other values, I'd expected they just can't be fixed from userspace most of the time, you just have to live with sub-optimal values. So I don't find it unreasonable to do that for capacities too. > IMHO, if the core_sibling assumption doesn't work in all cases, one > should be looking into fixing it, rather than making this RO. It's just that this thing keeps causing more harm than it helps IMO. It's quite severely broken ATM, and it prevents us from assuming 'stable' capacity values in places were we'd like to do so (e.g. EAS). And I'm not aware of a single platform where this is used. So, I'm personally all for removing the write capability if we can. Thanks, Quentin