Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3440757ybi; Mon, 10 Jun 2019 10:18:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwotNX4kt5tYIzHGAXijeH6gQjWRgd/MHjERRk+07UckpLdeA43qUPndU4uA/3jF0/dLnXk X-Received: by 2002:a17:902:2869:: with SMTP id e96mr68906723plb.203.1560187082785; Mon, 10 Jun 2019 10:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560187082; cv=none; d=google.com; s=arc-20160816; b=JBc3mxz9+3F7hy+xKNyPc+G40WaUBfOQQF/sj454GJUC4+umhis6qYPmPwb+DKcqOg DaXd81OmFNXMK/9fwBHkoCk39XWJpQxEaXP6uX7Cu8jV7IEt8kpUdkQGSed2wZzvyJX5 D792VMsL949ghlwc2dIoFa0QsZLz6JDXonEwqnMjE5nitjCVTPQEl/cJeTLEkrildP2Y FCcQ/cB+kgmHKBs+oC13stKfYWOx48X+npC4ser82mBIWopOZvyAa6QmoNFj5xtIiya3 5dkDgYYgAqe1a9Z6EKUPZ8UosZ8MpZ/9gTIgw9AQzO4SA3VYKaKlDcCDZ7SIm7PR3eV+ ffEw== 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=2VLhfxokwZ3XnHyCL5vqBq7iinSg0nEpaqV/wnBU6Cs=; b=UmBMDEIlamUEN9gZ9BEMSiZYJH/+Q86qL/1SxULdsC/uh6fI2Bq5XOBgMuU/HakhBn lhLze+U5QDNfB/ssmjl4H5kWd+A0XlShQ6FyDfCp+dB0V61HKq47y5PW9QK9vTjFq8G+ w1oAUvolKW+AtBQ/eIr6ODYEoLgMFMOooNUfzRITF9iJ7kaOCJLbulBc/PJLZoXhSsh/ 7fD6GkCgdiTzmftrZRDcwZlmd8X1Z4S/z0YlO97IW7cMWRUlK2NkFxdyV/dk7iqg3px7 1TLCfjynoehHtbEE4gVSeCR6e6CPrhyykh4AIRChZygvMHPxURGCRMQq9Om3FvIvbaSN NCeQ== 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 q17si9793971pll.285.2019.06.10.10.17.47; Mon, 10 Jun 2019 10:18:02 -0700 (PDT) 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 S1728508AbfFJRQ0 (ORCPT + 99 others); Mon, 10 Jun 2019 13:16:26 -0400 Received: from foss.arm.com ([217.140.110.172]:46590 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728431AbfFJRQ0 (ORCPT ); Mon, 10 Jun 2019 13:16:26 -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 5CF56337; Mon, 10 Jun 2019 10:16:25 -0700 (PDT) Received: from redmoon (unknown [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AB4803F246; Mon, 10 Jun 2019 10:16:22 -0700 (PDT) Date: Mon, 10 Jun 2019 18:16:08 +0100 From: Lorenzo Pieralisi To: Ulf Hansson Cc: Sudeep Holla , Bjorn Andersson , "Rafael J. Wysocki" , Mark Rutland , Linux ARM , "Rafael J . Wysocki" , Daniel Lezcano , "Raju P . L . S . S . S . N" , Amit Kucheria , Stephen Boyd , Niklas Cassel , Tony Lindgren , Kevin Hilman , Lina Iyer , Viresh Kumar , Vincent Guittot , Geert Uytterhoeven , Souvik Chakravarty , Linux PM , linux-arm-msm , Linux Kernel Mailing List Subject: Re: [PATCH 00/18] ARM/ARM64: Support hierarchical CPU arrangement for PSCI Message-ID: <20190610171557.GA4560@redmoon> References: <20190513192300.653-1-ulf.hansson@linaro.org> <20190607154210.GJ15577@e107155-lin> <20190607193407.GB24059@builder> <20190610103225.GA26602@e107155-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Jun 10, 2019 at 05:54:39PM +0200, Ulf Hansson wrote: [...] > My summary from the earlier ones, is that because the PSCI spec > includes support for OSI, we should also support it in the kernel (and > ATF). In a discussion offlist, Lorenzo agreed that it's okay to add, > without an apple to apple comparison. Maybe Lorenzo can fill in and > state this publicly, to save us all some time? The comparison should have been made before even requesting PSCI OSI mode changes to the specifications, so we have a chip on our shoulders anyway. We will enable PSCI OSI but that's not where the problem lies, enabling PSCI OSI from a firmware perspective should take 10 lines of code, not: drivers/firmware/psci/Makefile | 2 +- drivers/firmware/psci/psci.c | 219 ++++++++-- drivers/firmware/psci/psci.h | 29 ++ drivers/firmware/psci/psci_pm_domain.c | 403 ++++++++++++++++++ I have some concerns about these changes that I will state in the relevant patches. > My final point in regards to the OSI mode support, it's a minor part > of the series. I don't see how that should hurt from a maintenance > point of view, or perhaps I am wrong? In any case, I offer my help > with review/maintenance in any form as you may see need/fit. I will go through the series but most of this code should move to core PM code, it has nothing to do with PSCI. BTW, apologies for the delay, I was away. Thanks, Lorenzo