Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2613464pxb; Sun, 17 Oct 2021 20:31:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm9+qmZmHxtCrNY1M0WwFXNPvBIj+TlFiNcsMXbYRCrfcRJe6cAEKQKElX+iHZZtc+BmAL X-Received: by 2002:a17:90b:1b42:: with SMTP id nv2mr30494348pjb.91.1634527894144; Sun, 17 Oct 2021 20:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527894; cv=none; d=google.com; s=arc-20160816; b=BE0i6KUsEeFrQOcYSFD0EjT24q1SNw2jXxCn/bYXWpjordxOsOW+LceWB5/nOlj9IS 9ppxOnwqr6jvFrHhpQk8UtR59RWNioMkb0kkLmlk8yjF5HAH6VPvqZCrsj5ZrzcRIMad BBNtLNSOWGLJ/tB84wo3vcyDTmpZkygDpaMgluPv6tlVZQKtNUSNOMpiZzeuXkypDCrz jdSOYLAZOzwDo6nXcL+jLcpgBwX649/CH4YiopQaSvs94k0OIIB65VnJiAh+ierQTwkw UPOGY3CylbDKW2PZeLU3kkyREVUfwtqYQyxqtSpv8nRvMyyAzpUXh/hlgF2HO0nObkyN 0rTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=MsSJnDLehR0MBA3XNlTvyuJrdFmPtM7Fb8Vo/fka3Rs=; b=W04DBjFGmS7wMrudSggUdk7e613A7408jjVKJLPK65mgqfiONVjbE9FUyw5KfQB4Kt vme+kvwDpGP7In1vbRt5SgOn4jif3Q5B3px5Dsy1L35HJAi6Mz5SGPayRolK3ZD1uYR7 WLcgS4NYfVFsHRfc7k0Vq2jVPV21mDQ/YfdPoA/feo8w0gIzG4NNbN4cHTo6dPj89MKM YiRlNFH3PLtvYpfqHjdlHFlRC4hD3951weT1YjNAZfNoG2fBwJk9vglOobymP7umKJ8h c+vv5dmtSjaPb4Somea+61mwLagX6vtUzTj9olObmunfKkVQFfAZc2BmJPinNK4GQwvL jvlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=BhYx5Ek4; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="gowAv4g/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=svenpeter.dev Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id np6si21452556pjb.111.2021.10.17.20.31.20; Sun, 17 Oct 2021 20:31:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=BhYx5Ek4; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="gowAv4g/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=svenpeter.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243914AbhJPJXq (ORCPT + 98 others); Sat, 16 Oct 2021 05:23:46 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:52991 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235334AbhJPJXp (ORCPT ); Sat, 16 Oct 2021 05:23:45 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 943335C00E0; Sat, 16 Oct 2021 05:21:37 -0400 (EDT) Received: from imap47 ([10.202.2.97]) by compute1.internal (MEProxy); Sat, 16 Oct 2021 05:21:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm2; bh=MsSJnDLehR0MBA3XNlTvyuJrdFmP tM7Fb8Vo/fka3Rs=; b=BhYx5Ek4z9ROYyKoY+j1uWg/pSMWRr+BIKwUVyTc7qT8 AdlHq1Fr544ZuEp65rXnRkJgMb7cq1xpk3AtuB5xYMAZ8z9e5DhHiDdidnUh/9q+ K+0PbcXu56yLP6/OD9iYMmyZo4+RsVyy4O6UwKAUFxuxBKEUqIOSlxvCRvx1JksA WMN3AS7KzImWmU79mKGK318Y6leVYDrZ9TOyc/uGMYzK4a+dfpotOIogsI1zP41A po/JemxoT0a7VL7zFQXBsHqmB0wZIcBxhXdcPxWkzZjzHgskZyW7QfmN8Wf6/g9o je4ujs1xQ5+LxOosGzygclA4uT8NbFYJ3nizm4FOAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=MsSJnD LehR0MBA3XNlTvyuJrdFmPtM7Fb8Vo/fka3Rs=; b=gowAv4g/fZ/gMzr+sDMXk9 E8esGKbFatvUjQh1M8CiEMXHyU2OeIw+YWH8rDFvfedqxH5r6V40PK56O5C3OvJH XZo8HISTt+MUcQxuJrWQIDuoTfytEPPjLusdna712ZmwKuGcAH6/rzHrcgo5oaCL MYzfOuVvmFpWH4a1iAhgwywZaaNAnamX4Mp/CTmSeogoyrpqEjTQe1YrcNRvk+JT 8zY2IU4oSpMp2hCZOinyHpDVmLk+3qmVgDNSUEmBy4EOU3/T+4NyScwx5wYH+Jdd TASRUnEahegg9rJ2pHlok1Rrt12HbdobHloroNUVsKERW1dWeoRtdwXB45QoxO5A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduiedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfuvhgv nhcurfgvthgvrhdfuceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpeevvdegveduvdevvdfgleefgeeivdegheeiuedtleevvdeiveevleejfeev tdelheenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshhvvghnsehsvhgvnhhpvghtvghrrdgu vghv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id BDD1C2740061; Sat, 16 Oct 2021 05:21:36 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1345-g8441cd7852-fm-20211006.001-g8441cd78 Mime-Version: 1.0 Message-Id: <94e07975-f63e-4568-986f-71a278777e9d@www.fastmail.com> In-Reply-To: <20210916154911.3168-1-sven@svenpeter.dev> References: <20210916154911.3168-1-sven@svenpeter.dev> Date: Sat, 16 Oct 2021 11:21:16 +0200 From: "Sven Peter" To: "Jassi Brar" Cc: "Rob Herring" , "Mark Kettenis" , "Hector Martin" , "Alyssa Rosenzweig" , "Mohamed Mediouni" , "Stan Skowronek" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] Apple Mailbox Controller support Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021, at 17:49, Sven Peter wrote: > Hi, > > This is the second version of my series which adds support for the mailbox > controllers found on the Apple M1. > > v1: https://lore.kernel.org/lkml/20210907145501.69161-1-sven@svenpeter.dev/ > > Thanks to Jassi, Mark and Alyssa for the initial review. I've addressed > your comments with the following changes: > > - switched to txdone_irq instead of introducing a new mode > - switched to a threaded interrupt handler for receiving messages > - added co-processor examples to the device tree binding > - reformatted the register defines and clarified multiple comments > > Best, > > Sven > > Sven Peter (2): > dt-bindings: mailbox: Add Apple mailbox bindings > mailbox: apple: Add driver for Apple mailboxes > > .../bindings/mailbox/apple,mailbox.yaml | 84 ++++ > MAINTAINERS | 3 + > drivers/mailbox/Kconfig | 12 + > drivers/mailbox/Makefile | 2 + > drivers/mailbox/apple-mailbox.c | 431 ++++++++++++++++++ > include/linux/apple-mailbox.h | 18 + > 6 files changed, 550 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml > create mode 100644 drivers/mailbox/apple-mailbox.c > create mode 100644 include/linux/apple-mailbox.h > > -- > 2.25.1 Hi Jassi, Have you had a chance to look at this series yet? Thanks, Sven