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,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 94353C433E7 for ; Fri, 9 Oct 2020 16:40:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 29B4D22280 for ; Fri, 9 Oct 2020 16:40:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="xIoqb5p5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29B4D22280 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.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:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TpxIskqH22Zyei4wxNSKiV2SLGceGT/aLxWmV+qaOvk=; b=xIoqb5p5miDZdGxt9DHN8uxT7 KGAumZsArpvnaZDDhxLGFH6mVvxpSedyG6LxeYj1wS+iD20f4JT1SbQg9TFvqLZc9yiDZ9+dKjHd3 wiecGkz/jVtO33Tv7fNflppdvGuSi2/rF66iQJiV9TLHFBWB5JnMQFNy3mwzqyAD01WTblXm3IS2J 1C3ZRh/avSzbfLGWfPDNhyEL6vcXSgx+JJcinIVdqkqmPBsWQGlr+ZOXRSIU3fA2YR5XWeNLGaIzf Uta1VdFIMxC7+o7SrP1F7RrlV9j9tBixT8ZpImfTrfcZ2ARYfl37dY45F6frjtlOlk4XAuDm7ty2A gt3uiEQWA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQvQ4-0003KM-SZ; Fri, 09 Oct 2020 16:39:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQvQ2-0003JN-DC for linux-arm-kernel@lists.infradead.org; Fri, 09 Oct 2020 16:38:59 +0000 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 8F0ABD6E; Fri, 9 Oct 2020 09:38:56 -0700 (PDT) Received: from bogus (unknown [10.57.53.233]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 397E33F66B; Fri, 9 Oct 2020 09:38:55 -0700 (PDT) Date: Fri, 9 Oct 2020 17:38:48 +0100 From: Sudeep Holla To: Jim Quinlan Subject: Re: [PATCH v3 2/2] mailbox: Add Broadcom STB mailbox driver Message-ID: <20201009163848.5tbl5bmvuoj2de2v@bogus> References: <20200919192235.43872-1-james.quinlan@broadcom.com> <20200919192235.43872-3-james.quinlan@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200919192235.43872-3-james.quinlan@broadcom.com> User-Agent: NeoMutt/20171215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201009_123858_937590_5873C88D X-CRM114-Status: GOOD ( 14.86 ) 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: Florian Fainelli , Jassi Brar , bcm-kernel-feedback-list@broadcom.com, open list , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Sep 19, 2020 at 03:22:30PM -0400, Jim Quinlan wrote: > only implements the agent-to-platform channel; In that case any reason why you can't reuse the existing smc transport for SCMI. It was added recently in case you haven't checked the latest kernel version(v5.8 or above). Check out for drivers/firmware/arm_scmi/smc.c IIUC rather vaguely Florian was cc-ed on those patches. > we may implement the platform-to-agent channel in the future. This is not yet support with that transport, it is hard to generalise as different vendors have their own solutions there. > An unusual aspect of this driver is how the completion of an SCMI message > is indicated. An SCMI message is initiated with an ARM SMC call, but the > return of this call does not indicate the execution or completion of the > message. Rather, the message's completion is signaled by an interrupt. > So are these not fast SMC/HVC calls then ? If so we may need some changes to that driver. I just rejected multiple message support as we had assumed fast smc/hvc. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel