Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5069295imb; Thu, 7 Mar 2019 07:07:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzQujwmHsdrbuY3vwUezjUMLavARIBOp111jDpPxhm5JWCcWtPHZQ6Xtl3Xd8R+irxQpNvs X-Received: by 2002:a65:4284:: with SMTP id j4mr11908313pgp.334.1551971237831; Thu, 07 Mar 2019 07:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971237; cv=none; d=google.com; s=arc-20160816; b=IddXYpnxHKtecirApfSQdCkmmxJzTOITsEzVJTJBqOYPoGk6yUG4HIoSW7RjoRpg7p eEKXLlXrFaL+RmLXKLWfVwKutAjp7lEAvaPbKIX4y3esIgxDqqxwBJ7So2/+wL2cJzEV TGAa9oTj0mDNdHwAwUQzNP9ZYHxbEmLzut+ac6y1F7e6tEjacKYkU+0ZjZor491zXQ7K JLKzsk0BgtOF/HiGcB3oE0DsacqSj27G34tThLrP/YTC2lU9ZvnkrWhgjZLiVbaeUnj7 wpwMtLIrg8xPbLZeH3NeA9CCEE7gRIVw6s22JuZ9DbES1iTJSERo2WMwI+J+KgjLHvwT xvGg== 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=S8JBev9hLVSJ2iooESuEQ73kVZl00jpqX/1G619ac/g=; b=m/Uddzi4CXX5z7i1fyxNGK91Eksrsldg2/M9hHXGCyTUwkCs1PM7a3FEARJTV3uAK5 gVfdlL+5AbtUBIGpuJfB9A8nNTave5NmVQktq776qlPAQo8yBhpOA2QlMc/bsVUPsSv7 /fvxbkG8dTbk/pNPjaRa6Oy3cps3wyDW53a1ePDfUlhlamKHJQxHJXsSrAa4ICG5uiEM RKabgdSTAW+DiMsrw5HeYQ5tia6npTNLpJWQG7CCwtrcvoHIqFeu7/SLhUD6Z7Ytup4z hsDx54RhaIlt+hu58edwpSbso8GjMzLcW6gCY1aAHTwU9XtDVMaXBXN940WxN24xlwO7 8s5w== 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 d4si4463285pla.112.2019.03.07.07.07.01; Thu, 07 Mar 2019 07:07:17 -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 S1726311AbfCGPEP (ORCPT + 99 others); Thu, 7 Mar 2019 10:04:15 -0500 Received: from foss.arm.com ([217.140.101.70]:46674 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726159AbfCGPEO (ORCPT ); Thu, 7 Mar 2019 10:04:14 -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 8C26FEBD; Thu, 7 Mar 2019 07:04:14 -0800 (PST) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9C6783F71D; Thu, 7 Mar 2019 07:04:12 -0800 (PST) Date: Thu, 7 Mar 2019 15:04:07 +0000 From: Sudeep Holla To: Quentin Perret Cc: Juri Lelli , Lingutla Chandrasekhar , 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: <20190307150151.GA5778@e107155-lin> 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> <20190307095750.GD29753@localhost.localdomain> <20190307121400.cmgymfbphguvlaoo@queper01-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190307121400.cmgymfbphguvlaoo@queper01-lin> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 07, 2019 at 12:14:03PM +0000, Quentin Perret wrote: > On Thursday 07 Mar 2019 at 10:57:50 (+0100), Juri Lelli wrote: > > 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. > > Right, now is probably the time to give it a go before folks start > depending on it. And if I am wrong (and that happens more often than I'd > like unfortunately :-)) and there are users of that thing, then the > revert should be trivial. > +1 on all the points above ;)(I may also be getting things wrong here but I am not convinced that we can resolve the issue for all the ARM vendor possible combinations we may have to address) We should come up with some *magical* cpumask that we can use if we want to retain this write capability. And only way I see we can do that is using DT which in turn eliminates the need to have write capability for this sysfs. So I am going to ack the $subject patch for now. -- Regards, Sudeep