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.2 required=3.0 tests=BAYES_00, 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 B0398C433DB for ; Tue, 12 Jan 2021 18:05:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C97922DFA for ; Tue, 12 Jan 2021 18:05:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727622AbhALSFI (ORCPT ); Tue, 12 Jan 2021 13:05:08 -0500 Received: from foss.arm.com ([217.140.110.172]:50628 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727160AbhALSFI (ORCPT ); Tue, 12 Jan 2021 13:05:08 -0500 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 CC1B81042; Tue, 12 Jan 2021 10:04:22 -0800 (PST) Received: from bogus (unknown [10.57.35.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7180E3F66E; Tue, 12 Jan 2021 10:04:20 -0800 (PST) Date: Tue, 12 Jan 2021 18:04:14 +0000 From: Sudeep Holla To: Jens Wiklander Cc: Linux ARM , Devicetree List , Trilok Soni , arve@android.com, Andrew Walbran , Sudeep Holla , David Hartley , Achin Gupta , Arunachalam Ganapathy Subject: Re: [PATCH v3 6/7] firmware: arm_ffa: Setup in-kernel users of FFA partitions Message-ID: <20210112180414.ejcuhdf563hraqzx@bogus> References: <20201204121137.2966778-1-sudeep.holla@arm.com> <20201204121137.2966778-7-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org (sorry for late reply) On Fri, Dec 11, 2020 at 11:45:08AM +0100, Jens Wiklander wrote: > On Fri, Dec 4, 2020 at 1:11 PM Sudeep Holla wrote: [...] Agreed on all the comments, so have just removed those context. > We may need a way to indicate if we're to use the 32bit or 64bit > calling convention. OP-TEE depends on being able to use 32bit calls > here. I assume it would be OP-TEE indicating it would like to use 32-bit. I am thinking of API from the driver would be like: int (*32bit_mode_only_set)(struct ffa_device *dev); Let me know if that works for you. FF-A driver has no other way to evaluate that and I really don't like that in DT 😉 -- Regards, Sudeep