Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4852535imb; Thu, 7 Mar 2019 01:59:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxVHzXJaHR+7h/TCy7tJ82tG/0tR0gce9PxF9COJgULnalLAa5CQtiFjEhwfiJa09l6VPre X-Received: by 2002:a62:569b:: with SMTP id h27mr11719952pfj.163.1551952786110; Thu, 07 Mar 2019 01:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551952786; cv=none; d=google.com; s=arc-20160816; b=Ze2X+VIcP24n6vi2d4bzz58uLtI7vzWD/4quZ+JDjMAi6auT7NNefd/A1qR6qDNY4i P/Ocmu9vY3b2c0kZke7ocroYGKn56EP1RFgj2ZcmHl0ggEVf/PgQp5qY0QOiQt73X/e7 +2zEXpUYuEGISvG1sZSJ2Cnz6YGoDFT8tw0nwWfTs98tPLjHHvTVqXRfNy4EJlPjrJj0 58CDH/9pY30PbXmDx7DWzeLFAOgE5SWObE7LtGfDJI0d7wWwYvj39McxEGv97ePYqf3A losoUewEOQD4O5qL2bWMarhy7CnoXZBnzD9sBKQwsGPfWd5LG6eTWzwCaQNEZbMR+P+s r/bQ== 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=6O/hrXgCUFEfRoCkgUP54ao5UiSOZEgH6FVXCv4fBBM=; b=epiFr5IE77faJIQVnAQcfoKGjPNwm0WmPXwW4sYvRnFfwRpz3iWRw7AWodab47V7dA xHGCaitYTYLjh2Z8X3+332mUGNcIbdcP8hUnKOUly6I8wX+Y7h/8oFcAIuR3Yi0b2eNV koo2eSrf1g1nXpcwhvFGyqFIc10FMH0ZpIjrVLn2eU1BjEzARhJJR6kN9Uovm6DupCXq tMmbfB9S4ggizQL/8yoyasZA2bfLi1MotV5f4zdp7eVe4kkcrL/AItZiPMpr+jLpYv3u laP46ZYn3KEBPfk8cPl/o1fr5dfm7kM8Cl1X42CcbbMTc8wYeuk1TFUytTUmCRWSxTKm Hgvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nTcXLLpv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.59.30; Thu, 07 Mar 2019 01:59:46 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nTcXLLpv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbfCGJ54 (ORCPT + 99 others); Thu, 7 Mar 2019 04:57:56 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53508 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfCGJ54 (ORCPT ); Thu, 7 Mar 2019 04:57:56 -0500 Received: by mail-wm1-f66.google.com with SMTP id e74so8621497wmg.3 for ; Thu, 07 Mar 2019 01:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=6O/hrXgCUFEfRoCkgUP54ao5UiSOZEgH6FVXCv4fBBM=; b=nTcXLLpvwm1wdn/AvhEFtxM+Y9Bc59jD9upIQgl1RJv2+IY3swrcaQJyrbRR/eTpV2 F0rfhFp8wgnDmT09ER/joq5rU7whPlV/Kzi2rgIlIWuOUPQ8QUs5ILls6e0Sd5/dXCHD IMuAqnmnCstbutVnZIPbLInUWuL3FLMUSsaLf00s7npFzxWPPhoMQePvQmZfLlUFYRuT u21uwg4UqR+PjYSme18Uj37CepsmmdcrPH/h5g3WTvqWhkMkZUtnJdcD3Y8MKhQRn9Rv oDbMzMoc6PiKvQb/VD7r8vXE0rXDVfKR3KRRPzOGBrA11wzLFb040CZW2Nk9AMF6az8D cDLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6O/hrXgCUFEfRoCkgUP54ao5UiSOZEgH6FVXCv4fBBM=; b=e+iIi7nyCh9NPSyoqM0f1ImRjM9RxekbmYFHo7piteACiHe8jLS2BjZI/HcE5fVkFi Z9CT4pSzv5Qw3Fh/cleTMypvN2mM0X/H/vgQjWo71g6EoNQPx1wu3UaJfZryYBg9hbtL cx3k7tFZlVewe1wgYYMYos9IKJSWlZVY8HCrOPQ2MJl3B2dPv1kAOlIXNWDupFW7DRzw adA44pLFl7Sfu4+tfOdK0hl9tgYU+aGnlGv19l2hqTfvJVGcI6Iae3PMTvVRG9DRF7BU OZbjVhf0JbWokGAeN7wdicWMvy493KTLiuY9I9VfzwhJyD0On4PweTZwSKATpt8gg/HQ HonA== X-Gm-Message-State: APjAAAVAm7/uYKIpROae6kZp4ER19NumsfkSssPXdw7xTnNhE5NSurOn 7FA1Q4dRnQKjstGy0iwzk1U= X-Received: by 2002:a1c:ed0b:: with SMTP id l11mr5368712wmh.38.1551952673869; Thu, 07 Mar 2019 01:57:53 -0800 (PST) Received: from localhost.localdomain ([151.15.252.68]) by smtp.gmail.com with ESMTPSA id d24sm11183179wrb.47.2019.03.07.01.57.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 01:57:53 -0800 (PST) Date: Thu, 7 Mar 2019 10:57:50 +0100 From: Juri Lelli To: Quentin Perret 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: <20190307095750.GD29753@localhost.localdomain> References: <20190306152254.GB19434@e105550-lin.cambridge.arm.com> <1551886073-16217-1-git-send-email-clingutla@codeaurora.org> <20190307072856.GC29753@localhost.localdomain> <20190307093116.slvugyeos46kl3et@queper01-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190307093116.slvugyeos46kl3et@queper01-lin> 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 Hi, On 07/03/19 09:31, Quentin Perret wrote: > 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. If people think it's best to simply make this RO, I won't be against it. Just pointed out a conversation we recently had. Guess we could also make it RW again (properly) in the future if somebody complains. Best, - Juri