From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC701C43381 for ; Wed, 13 Mar 2019 11:33:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A99782147C for ; Wed, 13 Mar 2019 11:33:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ES1/kre/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="1aj6ttme"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YEJ6UE5M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A99782147C Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+THcrfyyT8iFv5wTNL2LmY9byuFy2mdXTnf+Gop3n/A=; b=ES1/kre/ZUFjIc PLJOMsUzKYiqNWhFayUwEzbSMl3k5S3ibRHkMeP7awbSoIl8DzM+pIeFTL1AWnrh+b4K32APSf1i1 QGUM+exlpeOgWJ6ScyfHlo99UMtAgHm3jli2AYsMXBeQWFROZFRbJxpYIRYRGPw8EazIwxGxNk3Mi /n966PgR3sjyPYHOY2WvY/79WwvWTvfS3Ruo8Mo1COcLXFJYLZ72qHmn/pekbOUCuGnxGYQtSETs9 cuCxy/gWcsib86M+ZPZBzexS+dhSUBpJqfLyKZH448no/emQov3oUB2VFdMXR4etIoTT9VvCT4dsm zucvjxqQPK88ntjF9SXQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h428K-0002ux-CU; Wed, 13 Mar 2019 11:33:16 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h426g-0008SO-HH for linux-arm-kernel@bombadil.infradead.org; Wed, 13 Mar 2019 11:31:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; 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=jmyTL+1Tj3b0xboMRApCvUZPz26Q7GNhP4RDfqaUyNs=; b=1aj6ttmeeCdtl9ihxkBUWmoxB r4r37m2UxAiJ9qMeHWKy0M6YfmTwt2/cjk3g0Tm3Bjp0N89yhlCmx8uD2PykeMqTDZbN4blimI+qG 4kVQ6wniJ3kWJMqlB1lw1Zsc01lGs6GN+moKX6VmumxHm9TRctt7MXqeSgXbFBkxcRqwbhToepfiG t1WvRCNuzvtw/nd14tNh/tFVoV6Tyi0445/7Wde+3g5LHUcfa7fclfSSbwR8rujR6Y+1+ucb1X5OX bWa4UMEBexccNaw+iKLPR494bVRG/XzxJxs2QyV+ClN3e5heCPhXFYrIcFY7rNklOXnkFz3rJ0khF oRuI2EQbg==; Received: from lelv0142.ext.ti.com ([198.47.23.249]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3qTB-0007n0-E2 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 23:06:05 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2CN3sfJ053835; Tue, 12 Mar 2019 18:03:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1552431834; bh=jmyTL+1Tj3b0xboMRApCvUZPz26Q7GNhP4RDfqaUyNs=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=YEJ6UE5M8NrF5+HCi0vczjgzkUBq1gbNDIUt0bxlZWyAiVDRSLyiNe6jTXwGxQpQO tbY9g1uOFzaXM44ZBETuzaLuUMBVR7cHSrM/PklDZSr0R88Zy2Nq2wc1K8RG7wk976 MR2EI+5wo62tSViyUQeA+UybjrRzqNV5dsv9LfJE= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2CN3sZR122649 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Mar 2019 18:03:54 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 12 Mar 2019 18:03:54 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 12 Mar 2019 18:03:54 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2CN3sUc012231; Tue, 12 Mar 2019 18:03:54 -0500 Date: Tue, 12 Mar 2019 18:03:17 -0500 From: Nishanth Menon To: Rob Herring Subject: Re: [PATCH v2 2/5] dt-bindings: ti_sci_pm_domains: Add support for exclusive access Message-ID: <20190312230317.bzq3hxonqil7xpyj@kahuna> References: <20190223093232.29003-1-lokeshvutla@ti.com> <20190223093232.29003-3-lokeshvutla@ti.com> <20190312154301.GA21389@bogus> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190312154301.GA21389@bogus> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_190601_673485_7AF031C1 X-CRM114-Status: GOOD ( 14.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Device Tree Mailing List , Lokesh Vutla , Sekhar Nori , Tero Kristo , Santosh Shilimkar , Linux ARM Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10:43-20190312, Rob Herring wrote: > On Sat, Feb 23, 2019 at 03:02:29PM +0530, Lokesh Vutla wrote: > > TISCI protocol supports for enabling the device with exclusive > > permissions. Certain remoteproc devices or some shared devices > > across VM doesn't wants to request devices with this flag set. > > The wording here is weird. You want to add exclusive support, but you > are talking about devices which don't want exclusive support. > > > So add support for getting this information from DT by increasing > > the power-domain cells to 2. > > Seems like this would be racy. Whomever wants exclusive access would > have to be the first to request a device. Seems like whether devices are > able to be shared or not would be known because generally h/w has to be > designed for that. Rob, I wonder if it is better to represent this as exclusive power domain or shared power domain - because that is what the firmware in effect makes OS think the hardware is? Two power domain nodes in dts, instead of introducing property as part of cells? Device may belong to a shared domain or an exclusive domain depending on the SoC variations. -- Regards, Nishanth Menon _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel