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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C847FC433F5 for ; Sat, 16 Oct 2021 19:16:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 99168604DB for ; Sat, 16 Oct 2021 19:16:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233763AbhJPTTD (ORCPT ); Sat, 16 Oct 2021 15:19:03 -0400 Received: from rosenzweig.io ([138.197.143.207]:47016 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbhJPTTC (ORCPT ); Sat, 16 Oct 2021 15:19:02 -0400 Received: by rosenzweig.io (Postfix, from userid 1000) id DA8B341012; Sat, 16 Oct 2021 19:16:53 +0000 (UTC) Date: Sat, 16 Oct 2021 19:16:53 +0000 From: Alyssa Rosenzweig To: Jassi Brar Cc: Sven Peter , Rob Herring , Mark Kettenis , Hector Martin , Mohamed Mediouni , Stan Skowronek , Devicetree List , linux-arm-kernel , Linux Kernel Mailing List Subject: Re: [PATCH v2 2/2] mailbox: apple: Add driver for Apple mailboxes Message-ID: References: <20210916154911.3168-1-sven@svenpeter.dev> <20210916154911.3168-3-sven@svenpeter.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org > > +struct apple_mbox_msg { > > + u64 msg0; > > + u32 msg1; > > +}; > > + > Aren't msg0/1 the Tx and Rx channels? If so you may want to separate > them out as such. But of course, I don't know the h/w details so I may > be wrong. AIUI -- It's a 96-bit message (msg0 is general purpose, msg1 is used for dispatch). This goes for both RX and TX.