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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 46655C3567B for ; Mon, 24 Feb 2020 07:03:20 +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 171E320675 for ; Mon, 24 Feb 2020 07:03:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="B3gAJfGI"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vIVK9h0A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 171E320675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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: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=WBGYO/rgLbZt7ibAKN1DVovcy/YMuneeWlyXRarv04Q=; b=B3gAJfGIlKIPWN 0CjT6LfsRz7LTNVgbfyeABt7wk7K78I8xGH3fQw5F8rQLUEB5aVQQy8MKi5Ki9cSIOWloyDc29ou9 83IfbegPf61DeDS/JGUOM1CBUgNK61YGrWSXomNls3hbqby/qutly/K12ORm9tKWQW/qKH7sYAEvn BCUFUZd6EiUh0n+/Rm/zmWveHskqWVfGiLTSJ2uAPtcHc4ZJ9525wKRf/bXh0g9YCld3T1OPy5nx8 l1JE8DPdHV6PSoAe7cC+mHYggcLrldRAucTZjevPnthMMbRGobOin3FAtst29/QoVHHsvu4ZNZEi1 YbvMwkvusTu5UXkUTLHQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j67lv-0000ma-Kd; Mon, 24 Feb 2020 07:03:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j67ls-0000lz-OT for linux-arm-kernel@lists.infradead.org; Mon, 24 Feb 2020 07:03:17 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F10F820675; Mon, 24 Feb 2020 07:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582527796; bh=mnE2FfKS0R6lKiiP1VHoJT4DloK/ZQrvXjCpTnE6nKk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vIVK9h0A7q7zFUK8uhhdpSsehDJGk/kzhCV1Tc+mP/enKwRdutpTzP2OIr/cJl8sn Fpk1MAjNlB9dUmHEmCjcfxWsH869Xkggqdlb5OBCoxlVpz0xa8UeXm4W3QQzK5C3iM OxOZmK/E0orzd0a1WHwvxhAQOZWsoM8lCb3lgmLI= Date: Mon, 24 Feb 2020 15:03:10 +0800 From: Shawn Guo To: Leonard Crestez Subject: Re: [PATCH] firmware: imx: scu: Ensure sequential TX Message-ID: <20200224070309.GQ27688@dragon> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200223_230316_818923_CAC00490 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. 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: Dong Aisheng , Peng Fan , Richard Zhu , Jassi Brar , Oleksij Rempel , linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , Daniel Baluta , linux-arm-kernel@lists.infradead.org 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 Thu, Feb 20, 2020 at 06:10:01PM +0200, Leonard Crestez wrote: > SCU requires that all messages words are written sequentially but linux MU > driver implements multiple independent channels for each register so ordering > between different channels must be ensured by SCU API interface. > > Wait for tx_done before every send to ensure that no queueing happens at the > mailbox channel level. > > Fixes: edbee095fafb ("firmware: imx: add SCU firmware driver support") > Signed-off-by: Leonard Crestez > Cc: Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel