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=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 9A832C3A589 for ; Tue, 20 Aug 2019 12:49:13 +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 6C11222CF7 for ; Tue, 20 Aug 2019 12:49:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YldVIiWb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="aKfS9GQw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C11222CF7 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:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x7BsK7os5ky39/gNrw1VjXM9SA4hVbj0vPKVvxN2ovw=; b=YldVIiWb68ap6y VsKSpHb2OCH30raO+YIJQzQNi+sOuOgNuYFqxha2OVwl2hIQu4mejf4+LpK/qLpw8QKrcIts3AXj0 hMvsLGv/m0QD4Qr0ghkcysCD67gpPGjKEWCEtX0T/3OrsR+yF6fE4pyyicqtKtobU3xCx03x5h5CJ kLb6fy5Icr/06BRQylvvwoY+ivCDVay7gh/NvVmb4sYBLe3S90r52G/fU4AwO/bAzYA7I3Gu6NKJC jmwiNvrX78KPZA0T9Dt5MOhBpkV1YbQDfqpyOX7FEqUybkBL1OWxCWS5jItdD5oSjpVAz6+Dzt26Q daOyKFYHxXthbYy5G1tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i03ZY-0004m3-Pm; Tue, 20 Aug 2019 12:49:12 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i03ZW-0004lB-4k for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2019 12:49:11 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7KCmrE9122637; Tue, 20 Aug 2019 07:48:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1566305333; bh=E33Q32/sJ/D45VMCfWvp175yRMTgabkhgTtXK+udqvY=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=aKfS9GQwuu5TqUg1HhsbeIlHvAL1qJto5tGe31gGT1pl3FH6nYIoGIckBnM6K+a6m y0/1aPcMz5ZTfyyRDBrrCXZGJcNfrVYLlVhYNDRpImSMF/7Rf/JgHyFupMSGKLDNwH /zqKev+lt6/HGr7XKrWk2cjTyt22ragShHukilio= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7KCmr6h023994 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Aug 2019 07:48:53 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 20 Aug 2019 07:48:53 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 20 Aug 2019 07:48:53 -0500 Received: from [172.24.190.117] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7KCmoLj032104; Tue, 20 Aug 2019 07:48:51 -0500 Subject: Re: [PATCH v5 0/3] soc: ti: k3: Allow for exclusive and shared device requests To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring References: <20190729122453.32252-1-lokeshvutla@ti.com> From: Lokesh Vutla Message-ID: <05218f41-9601-9a6c-8ac1-3bf1482e1c3d@ti.com> Date: Tue, 20 Aug 2019 18:18:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190729122453.32252-1-lokeshvutla@ti.com> Content-Language: en-US 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-20190820_054910_289598_787DD3C3 X-CRM114-Status: GOOD ( 19.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Device Tree Mailing List , Sekhar Nori , 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 29/07/19 5:54 PM, 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. Gentle Ping on this series. Thanks and regards, Lokesh > > Changes since v4: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=148371 > - Split the driver and arch changes into a separate series. > - Added Reviewed-by from Nishanth M > - Rebased on top of v5.3-rc2 > > Lokesh Vutla (3): > firmware: ti_sci: Allow for device shared and exclusive requests > dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared > access > soc: ti: ti_sci_pm_domains: Add support for exclusive and shared > access > > .../bindings/soc/ti/sci-pm-domain.txt | 11 ++++- > MAINTAINERS | 1 + > drivers/firmware/ti_sci.c | 45 ++++++++++++++++++- > drivers/soc/ti/ti_sci_pm_domains.c | 23 +++++++++- > include/dt-bindings/soc/ti,sci_pm_domain.h | 9 ++++ > include/linux/soc/ti/ti_sci_protocol.h | 3 ++ > 6 files changed, 86 insertions(+), 6 deletions(-) > create mode 100644 include/dt-bindings/soc/ti,sci_pm_domain.h > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel