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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 2BB10C433E1 for ; Fri, 26 Mar 2021 10:56:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EB5C9619C9 for ; Fri, 26 Mar 2021 10:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbhCZK4N (ORCPT ); Fri, 26 Mar 2021 06:56:13 -0400 Received: from foss.arm.com ([217.140.110.172]:54724 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhCZKzt (ORCPT ); Fri, 26 Mar 2021 06:55:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0AB53143D; Fri, 26 Mar 2021 03:55:49 -0700 (PDT) Received: from bogus (unknown [10.57.54.194]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7AC2D3F7D7; Fri, 26 Mar 2021 03:55:47 -0700 (PDT) Date: Fri, 26 Mar 2021 10:55:45 +0000 From: Sudeep Holla To: Sumit Garg Cc: linux-arm-kernel , Devicetree List , Trilok Soni , arve@android.com, Andrew Walbran , David Hartley , Achin Gupta , Jens Wiklander , Arunachalam Ganapathy , Marc Bonnici Subject: Re: [PATCH v5 1/7] dt-bindings: Arm: Add Firmware Framework for Armv8-A (FF-A) binding Message-ID: <20210326105545.44rdcbrumg3q6i7y@bogus> References: <20210325143255.1532452-1-sudeep.holla@arm.com> <20210325143255.1532452-2-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Mar 26, 2021 at 10:35:23AM +0530, Sumit Garg wrote: > Hi Sudeep, > > Apologies for catching up late on this patch-set. > > On Thu, 25 Mar 2021 at 20:05, Sudeep Holla wrote: > > > > Since the FF-A v1.0 specification doesn't list the UUID of all the > > partitions in the discovery API, we need to specify the UUID of the > > partitions that need to be accessed by drivers within the kernel. > > > > Wouldn't we be able to implement auto-discovery of ffa partitions? I > think enumeration of ffa partitions on FFA bus should be quite similar > to enumeration of TAs on TEE bus (see [1]). Otherwise we need to put > these redundant DT entries for every ffa partition which IMHO would > bloat up device trees for every platform. > Any suggestions on how to ? Clearly spec doesn't have that provision, I had raised this point in the past. Jens has similar concern and he did ask the same[1]. As I replied to him in that thread[2]. I am open to suggestion on how to auto-discover, currently as I see spec doesn't support it. -- Regards, Sudeep [1] https://lore.kernel.org/linux-arm-kernel/20201216134659.GA4146223@jade/ [2] https://lore.kernel.org/linux-arm-kernel/20210113092236.pnabzaufzuzwprmw@bogus/