Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2185206imu; Thu, 17 Jan 2019 09:44:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN7IxGLglHP8e6wbCHr+Gh6ZKSJPMdaWErYN1U8EBSCNOp0M+uTRYW14Sz86syqMPHlWSvUU X-Received: by 2002:a63:1904:: with SMTP id z4mr7544151pgl.135.1547747077374; Thu, 17 Jan 2019 09:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547747077; cv=none; d=google.com; s=arc-20160816; b=CzpJ8v9P+xjllZt7TNglGjDT4G6mbwi6yCn69ZyishbGEZiCC/cJ/Jur02m6RjesGc +b8S7ecZRj3a25j2SWqsGQlcw5yXNsVX9B+EY8u9k2U6QGYVKs5yUTkjYEWr2ieuqSeq 5WOpIAPX6+od/+4LO3yWvG5Btal3WAsci1tqa45AlzVehwkSMUkWrj58mxcsnEMLK8zd HtLzpMBgLGdiI/1yGR7TVwdMe28HZXX5/tV/YPsyf7v2VSN5WGItZTHNbyky/yVYIzVf QbBH7u0teIin5vx7mwnhqLsjjYotwlD6toHMSss0Im/TLO1ngbnQqHh6QSc0O4IteHeA jz5w== 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=g+0s0UFDxyuc2bXEoXz5hpTKIk6Cd5FmS7nP9fV0m9g=; b=RKuBR4mxZvCrbpfKsSkGFPyBXPQHTDfD0D5CCF3JsrwTlz84MUN8j6dw12kAWhT+Hq pUs7gPGR+8IUGpNR+98ePxx5DbugpQeNHIRYzEwGjlnJGTSxtcBOt7D0YZ2vhbXjj6yP GlcZzUE+75O1ZMYZjFMuoxjHYBXk2hxgRWnt+FUVi/ghYx1sqFsFkzywaKHMScRbeOSE 1cq8ktWkQytQLscNAxZBPwxlx72ukjOsvcsdIaG65U+Da7n1Db2ddPbwjUQsBNxIXymt YxfkCvyzdScbe+7DYSkIe/DRynqemV7TdmC50gb3pEsJiPwjnvG7KEVTRctsK6fWY+GA gQuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Mm1mrd2Y; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si2211228ply.214.2019.01.17.09.44.21; Thu, 17 Jan 2019 09:44:37 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Mm1mrd2Y; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728301AbfAQR2H (ORCPT + 99 others); Thu, 17 Jan 2019 12:28:07 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35458 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727226AbfAQR2H (ORCPT ); Thu, 17 Jan 2019 12:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g+0s0UFDxyuc2bXEoXz5hpTKIk6Cd5FmS7nP9fV0m9g=; b=Mm1mrd2YlTmSSPw3s85aohY0F 6Dvlo1JDstjI/pm5FKjgtLe61uF8SOPIW0pxxxqdJbwXLmfk2nqe3nfJuM14Ornjks90HhEeUSc+K x2jO73GAUSbAOf4+R1cZbb1EBnTvzNPA6lOQdc84KvHQkNtsxk5zlUpTXloaN20Y96Guc=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gkBSQ-0001Ke-V0; Thu, 17 Jan 2019 17:27:59 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 502AA1126FE3; Thu, 17 Jan 2019 17:27:58 +0000 (GMT) Date: Thu, 17 Jan 2019 17:27:58 +0000 From: Mark Brown To: Benjamin Gaignard Cc: robh@kernel.org, arnd@arndb.de, linux-kernel@vger.kernel.org, loic.pallardy@st.com, benjamin.gaignard@linaro.org Subject: Re: [RFC 2/7] domainsctrl: Introduce domains controller framework Message-ID: <20190117172758.GD7003@sirena.org.uk> References: <20190114144202.27315-1-benjamin.gaignard@st.com> <20190114144202.27315-3-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W5WqUoFLvi1M7tJE" Content-Disposition: inline In-Reply-To: <20190114144202.27315-3-benjamin.gaignard@st.com> X-Cookie: sillema sillema nika su 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 --W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 14, 2019 at 03:41:57PM +0100, Benjamin Gaignard wrote: > Configurations could be applied with functions like > domainsctrl_set_config_by_index() or domainsctrl_set_config_by_name(). Do you have any clients in the works for this? It seems fairly likely that everything is fine in terms of setting the mode but it'd be good to confirm that's the case. The main thing I can think of that might be a problem here is how you'd handle a case where we were talking to another processor that owns the permissions, we'd probably want more ways to query state there but I'm thinking there'd likely be some other higher level way to talk to the other processor there so perhaps it's moot. Otherwise this all looks pretty clean and simple, there's some handling for probe deferral in there which is the only slightly complex thing I noticed. --W5WqUoFLvi1M7tJE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxAux0ACgkQJNaLcl1U h9Cjsgf+MC6ahPfTbEWy737MbALEikQaTp1QtfUFekmwX0bVdZK0VlR0EW3KqTQY v6T/UlYbHdkM1VjKZeLPhjst6+YJ+y0rtSfqrBQuPJiuhWv9/PbMIfcvS7I1ERow AyNBLirU80Gg1pBDwgkZm3WKG35MYos+H+445Us5W8AAXgVoHxVY9hpQ5L/R2KOG OCaYkbavoicXGEkQIlkv2zVS6GVVBeiJ3omjXNoT+8V9moQpM+DgYqaTaoSv5IH1 CwT/Tl5YwtyS2NgxoC/rS9Bw7104bl67//dfdaXDTcI1rDCnSgN5SbRXAOVAWzPA D37p9LF9w2LstHkhEd6R2VqDybjz+g== =n9+8 -----END PGP SIGNATURE----- --W5WqUoFLvi1M7tJE--