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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06112C433EF for ; Thu, 7 Apr 2022 12:58:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E5AA283DDF; Thu, 7 Apr 2022 14:58:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="RFXDSoaU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 92ADB83DE3; Thu, 7 Apr 2022 14:58:18 +0200 (CEST) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 55A4483DD2 for ; Thu, 7 Apr 2022 14:58:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82d.google.com with SMTP id t19so7978352qtc.4 for ; Thu, 07 Apr 2022 05:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9VbVuRjFxjP07eayLUAhObdSGvL4Jy9ir+5hHykJMPI=; b=RFXDSoaUfvJPTshlI3OYcA4dW3bFf9qhUS4txnARtAe/YrJ9PInvT5myxJ9NqVIXS6 50MvxmLZjotbsASX2089B8LdSiTqeI3n6PdjOjQVCWNXFDrydhmTc/5QXdIdmxJP1zH3 pJByaAlNzmRsiZW1fi+JTSb8LXkiz9wK3UneM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9VbVuRjFxjP07eayLUAhObdSGvL4Jy9ir+5hHykJMPI=; b=YIfkP06bZwymHKKflYFQz1LNBX+RwEDBieH/YP/shxjO/FBbm0MObzHHYhDFXwQWLX hUKUz0zxMHQ4In0wXZ+VGKoPQOPp+dkZZw/bVaTDeHwNubLn8s5uG+Q+gLtZNpiakbvu eainzvEzM1QgFlI7a7WTgqPhzaZd+0RZ2FCSd66M4ZOtPIBZbvlADPFz41InKpxLREUg GEjmDO5BOWHd1S407zHQWIv0gt/RNjteCbts7wmGhbKIcTyyHuNV2pnaFe5Cn5qW0NFI iM7Q3GbETxZMsDsFYpQ3OYyQwJ+r/kTM1ICU4ZVFgLDoTSoVg7G1wP+b4eN2L/H2HPdu Mxdw== X-Gm-Message-State: AOAM533ISDjvqrkIyqastboucw5jcjZF7ivHiQxwOTQg4M2Akr6J2UEl rWEAtbZOt5aJ3uXB0a2gTjYQeA== X-Google-Smtp-Source: ABdhPJwL3dTBZfHZopNSNZMc/64tS96GKuLHWJ0uMbT/Jn4tX9IuATM435WUnCjt6GFITTI+RxgKmQ== X-Received: by 2002:ac8:5bcd:0:b0:2e1:c6c4:ca00 with SMTP id b13-20020ac85bcd000000b002e1c6c4ca00mr11782578qtb.528.1649336294074; Thu, 07 Apr 2022 05:58:14 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id 22-20020ac85756000000b002e1cabad999sm16259066qtx.89.2022.04.07.05.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 05:58:13 -0700 (PDT) Date: Thu, 7 Apr 2022 08:58:11 -0400 From: Tom Rini To: Abdellatif El Khlifi Cc: u-boot@lists.denx.de, nd@arm.com, vishnu.banavath@arm.com, xueliang.zhong@arm.com Subject: Re: [PATCH 0/6] introduce Arm FF-A support Message-ID: <20220407125811.GO14282@bill-the-cat> References: <20220329151659.16894-1-abdellatif.elkhlifi@arm.com> <20220406194711.GN14282@bill-the-cat> <20220407125424.GA32742@e121910.cambridge.arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kVcb4xucqmsYUpQy" Content-Disposition: inline In-Reply-To: <20220407125424.GA32742@e121910.cambridge.arm.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --kVcb4xucqmsYUpQy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 07, 2022 at 01:54:24PM +0100, Abdellatif El Khlifi wrote: > On Wed, Apr 06, 2022 at 03:47:11PM -0400, Tom Rini wrote: > > On Tue, Mar 29, 2022 at 04:16:53PM +0100, abdellatif.elkhlifi@arm.com w= rote: > > > From: Abdellatif El Khlifi > > >=20 > > > This patchset adds support for Arm FF-A (Arm Firmware Framework for A= rmv8-A v1.0). > > >=20 > > > FF-A support is generic by design and can be used by any Arm platform. > > >=20 > > > The features added are as follows: > > > =20 > > > 1/ FF-A device driver > > > 2/ armffa command > > > 3/ FF-A Sandbox driver > > > 4/ FF-A Sandbox test cases > > > 5/ FF-A MM communication > > >=20 > > >=20 > > > The suggested design sees FF-A as a data bus allowing data exchange w= ith the firmware > > > running under TrustZone HW (such as Optee). The same approach was fol= lowed in the > > > FF-A driver in Linux kernel (https://git.kernel.org/pub/scm/linux/ker= nel/git/torvalds/linux.git/tree/drivers/firmware/arm_ffa/bus.c?h=3Dv5.15#n2= 11)) > > >=20 > > > u-boot boards using FF-A can provide a device tree node in a -= u-boot.dtsi file. > > > Since the node can not be hosted in Linux device tree, we suggest usi= ng u-boot device tree. > >=20 > > Why can't the node be in the upstream tree? It should be, so that it > > can be shared between all users. Especially since there's in-Linux > > users? > >=20 > > --=20 > > Tom >=20 > Linux already has an FF-A bus driver and doesn't use a device tree node f= or FF-A. >=20 > The Linux driver registers FF-A as a bus: >=20 > int arm_ffa_bus_init(void) > { > return bus_register(&ffa_bus_type); > } >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/d= rivers/firmware/arm_ffa/bus.c?h=3Dv5.15#n211 >=20 > So, there is no user for the node in Linux. That's why we suggest hosting= the node in the u-boot device tree (a u-boot.dtsi file) OK, but you can still push it upstream as it's not required to have an in tree user. --=20 Tom --kVcb4xucqmsYUpQy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJO39wACgkQFHw5/5Y0 tywKSgv/b9kLePGlGCmV9d6yP43WlzgjoKaIndBgWhg61Fh6M6HTaBKxoz5v3T66 Pew0XpE46aRChykP6YTrwkUDnZ8yGpRYbrWFd7qFFEB7nzvzzvQ7MmClbLTraJME PlZ2ZZvnd4XIA34LaGF1CCjks3KhybllW+DjYvD8twMish8njRFjnqf9eUkQu1UA E1Zi1ZQfXemwVmDO5eMwAEcypAE20Em/mPT8Xu+LfBocsSxOptlyCvkD7hfLmhgn Ixt7XJEnPJqvhQKK/ztfH4eLvQwsrqpiIpzeGa3Q28Y2Ru562RrQXxp0J8JN3BDd NstjaxS0rP/pOSAPHjg+UtQq+rG314uKuFuqXE13dMXfqMlMjUkcvCyCIFB0sl12 /KBryU6LhbEeaklOH6wNNYMWC9FGE2Q0Y0c4N9xkeG8Bq4SrFFLUWjUmVSmVRLFC 9ZxoQLqntBEaQjc0w9+4mVWzJz+mMMLyBdVAZ7vgZ9O9Eo8VegTP6FIExxjD68oU hFHYbLsi =MXON -----END PGP SIGNATURE----- --kVcb4xucqmsYUpQy--