From: Lokesh Vutla Subject: Re: [PATCH v4 0/5] soc: ti: k3: Allow for exclusive and shared device requests Date: Mon, 22 Jul 2019 10:41:46 +0530 Message-ID: <2a182a40-9590-d188-925a-84480c108168@ti.com> References: <20190722050757.29893-1-lokeshvutla@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190722050757.29893-1-lokeshvutla@ti.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring Cc: Device Tree Mailing List , Sekhar Nori , Linux ARM Mailing List List-Id: devicetree@vger.kernel.org On 22/07/19 10:37 AM, Lokesh Vutla wrote: > Sysfw provides an option for requesting exclusive access for a > device using the flags MSG_FLAG_DEVICE_EXCLUSIVE. If this flag is > not used, the device is meant to be shared across hosts. Once a device > is requested from a host with this flag set, any request to this > device from a different host will be nacked by sysfw. > > Current tisci firmware and pm drivers always requests for device with > exclusive permissions set. But this is not be true for certain devices > that are expcted to be shared across different host contexts. > So add support for getting the shared or exclusive permissions from DT > and request firmware accordingly. Tested Boot log: AM65x-base-board: https://pastebin.ubuntu.com/p/T5fSNrrFCV/ J721e-common-proc-board: https://pastebin.ubuntu.com/p/9fXzCR596n/ Thanks and regards, Lokesh