Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3679628ybi; Tue, 18 Jun 2019 04:58:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwry206fzjaCRVIDoflsu/4c7wbdgL+Tz/1iH+0JAlxUwMmMiObJLsrJ/cgI5zv/a4LF3AJ X-Received: by 2002:a17:902:e211:: with SMTP id ce17mr31838785plb.193.1560859115069; Tue, 18 Jun 2019 04:58:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560859115; cv=none; d=google.com; s=arc-20160816; b=svZgwRzlufQyc1DAYCVQqhZrtK4uRi88F4UtTxLvlDPj3krt1OEjIYH1APSYxh9h9h rTBLaxmPu6/yRwBffs4CcBqXXwNT3KJ7zDWrYs+fcg+ntjFsMKJAUzr+uBB8fQek2y73 CAHl4u+NHTVZBMHht35ruudU38OW5sTI57uz/oI15S4SE1BmY0ivuclewmHQbWwabUyp 7BbAbHTCW9xRgd/tkmuq1b3RRFJAuantkSh94ug6KxLiykx/TwTV5XgREWq6AGoF/+ie apgJtzTSaSAF5gErbJVoTtsc/XmoUz4vZNCoFCH+XrOeuRwgc3u6YBSTrh4VybVTqxen EvNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=piRTAebFx2FsROFm2zYcU51EDgaGKwKW/nF1spIt1sI=; b=eg9UKh9apTHWTpnSQC88C2M/5JmIEpDhISIQ55XkIfUkdYpUkO5HYIxZrwb3d0qgTG 3gP5kpseYSkbPdmO59n3/TaA2Wtc6bGd5UglNtmtqkGTUewJFbWE561rPr6cz3dLHMja F4BN9oYIdtxTuctEqML3Yh4KusSt+OMXUGEculK99AkbWe3umDmaOtzm/xdh58YFc0Ho X96/NuA9euKSYNf5+uAQ5KABRfgkwDkStmZjv8d52GN/ea3xB6b+CEbSdyNmhiiY1WDW 5ffcld+Y4FqUttVx8Brx6T+GPXKQVgsNwDT90XVadlkC73yG1bEOzcGneN4eQfbvb04M aaFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mo7//ZZm"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z26si14478191pfj.247.2019.06.18.04.58.19; Tue, 18 Jun 2019 04:58:35 -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; dkim=pass header.i=@linaro.org header.s=google header.b="mo7//ZZm"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728981AbfFRL4u (ORCPT + 99 others); Tue, 18 Jun 2019 07:56:50 -0400 Received: from mail-ua1-f66.google.com ([209.85.222.66]:42066 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfFRL4u (ORCPT ); Tue, 18 Jun 2019 07:56:50 -0400 Received: by mail-ua1-f66.google.com with SMTP id a97so5572742uaa.9 for ; Tue, 18 Jun 2019 04:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=piRTAebFx2FsROFm2zYcU51EDgaGKwKW/nF1spIt1sI=; b=mo7//ZZm5CR0ywBO0NeDMxPL71X9bJ2kFFt6G1IOlFmJ9ImsK53ikh7RHrkrW1cWy9 16iNhl4WpSQJUkAAbTw5KSaMvEgibjhRAeDdK923fBEpZYNAE20PQW/MvuGIVYjvr3Ly PGlsFZh24pJnk4p97S+BlQxGQ5YXakodnK0IFr1Bs6JN3UMFSZC7746dzX1JbDjIEtFl 5D7+lIshQcZUkRwA2eOa9jcmCy7QsLu2FCDfbDU8EzbL7pWXZADfQcDYZH0I6ds16AwR BbQa3geAipWWpwweByap68mRGunqBK9j3PxpS3+GHbGeM8wXH2f7fbKEAVQS0ldqg9eV IXAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=piRTAebFx2FsROFm2zYcU51EDgaGKwKW/nF1spIt1sI=; b=sdr5z37Rpq2872CjbRXa9kKEojBpIqmmrtSW/Ni8LRgQBjp5XIGcwmTXarWLv12AGr +bX3DEzygHHK/yvRQaVRNEMaCQwzw73jESW5tqyGWgvQ0aA2sBVJ6qdgeQitZ2zeQwli Y8PRnrXrIUb0WR9s/LD2kG/0XcFHulNu8QMR1gTMxbhfC4QVTjdYuLXKUtkxm8H/XSED kWyTysbWnSq8JP/pygftgdLsMgiFVg2GpMXsjd0dHLINj2scD1NuynXG95oKGGsdyLS7 /yaV3xNLg0ZIh596FFvuc/D3n8PcE/rXtCw+97GIE9G3IWlMe/Lv2Q0JNTVZK1uoDY9r mUeQ== X-Gm-Message-State: APjAAAWDKlZQkf8/Q64ktm7nVmlQ3JVrh2E2IRRqEBAgb9GGMR5kzVor XhIx1E0Uv1skNsIFd8T0aMrQsUS3IpPAHrTC3m2zbw== X-Received: by 2002:a67:3254:: with SMTP id y81mr24197966vsy.34.1560859009184; Tue, 18 Jun 2019 04:56:49 -0700 (PDT) MIME-Version: 1.0 References: <20190513192300.653-1-ulf.hansson@linaro.org> <20190607154210.GJ15577@e107155-lin> <20190607193407.GB24059@builder> <20190610103225.GA26602@e107155-lin> <20190610171557.GA4560@redmoon> In-Reply-To: From: Ulf Hansson Date: Tue, 18 Jun 2019 13:56:13 +0200 Message-ID: Subject: Re: [PATCH 00/18] ARM/ARM64: Support hierarchical CPU arrangement for PSCI To: Lorenzo Pieralisi 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Jun 2019 at 20:57, Ulf Hansson wrote: > > On Mon, 10 Jun 2019 at 19:16, Lorenzo Pieralisi > wrote: > > > > 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: > > Thanks for confirming! > > > > > 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. > > Most of the above changes isn't for solely for OSI, but to support a > hierarchical topology described in the PSCI DT layout. This is for > example needed when other resources shares the same power rail as the > CPU cluster. > > In other words, the series is orthogonal to whether OSI or PC mode is > used for PSCI, just to make that clear. BTW, this is what you > requested me to change into, a while ago. > > > > > > 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. > > I am looking forward to your review - and for sure, I am open to suggestions! > > > > > BTW, apologies for the delay, I was away. Lorenzo, a gentle ping. Kind regards Uffe