Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp233391rdh; Thu, 23 Nov 2023 02:26:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOviQrywlSrK5aVB5RAoCZ3gJ7e7UBAI/Wu1Ei7lcuXXLaJMyxJ8J/iCvlb2YOoa9COYmu X-Received: by 2002:a17:902:dad1:b0:1cf:56e1:ba98 with SMTP id q17-20020a170902dad100b001cf56e1ba98mr5136947plx.18.1700735188845; Thu, 23 Nov 2023 02:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700735188; cv=none; d=google.com; s=arc-20160816; b=BCf/S/Q5L13KT1VIODtqk2eHD3XrTovH0MeA+qwe664fkTrrcE9pefleJuAdhad5V+ WB3To23KvB3JSK3wgkF8Zxjt9ROSKOLbS3+21H2vX0V5WHR5oNR1GFZdSDlqXF3LRHK+ 9bMrmlTZrErXzTbDIiZ1UTkkTz64lNkxVZeEggHCZ9g7C0bcXBqd5b2hbu9id1slWYWH 573DFFsAqagqK4GZreIyxn5yLjQRtkTGbDIOojmHzibNr6NZVa0hc9W45s6cLwofnUZn tcsXOu9B7feOK7BPdjKDjKiylpvPWBBjWuw2PZE6hYlX3draP+NU34rmEjinLIlFRNZs 6yyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=0UNDBWDKhxtxs6wewwVVH0mVP/SELBvNFa9/NVUMQ68=; fh=Ngj1cxaDd2myJxDjXefWCYDYiq7R3nZSdanaz+D/Jxc=; b=BSzJzyFOrQhENtBhKqQqoCT1lG7lttSYB2+7mFM63wHDxfBOzcHKujQt9UwcZJI5CW jjs+WoWsVrIL1rtcOJufkz39Y7FpUl5QfPl3i/lzHJO1TcYArIN3E1rDEDh6qsaGasgo rR9B8Ls6jhI864l7VTpMNdPOVptvw0Rguqj/sT6GRJskFlChh3YNTcoIwzRmFMk6pHU5 N9YGAWnQ/2AyjOi+xQ4h2NrKOflfmsXt6/eYQX9wsEr/euTMQQqXcGfUK7PE5mBCt5w1 1blskizq+oGpOVSLkcNbk0XfBCB1IG//+h1T5y4Cur2tIgy/L/9IepNimkyaeKxav90/ 9+XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=XxkZfjLN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id n12-20020a170903110c00b001b9c992945fsi837115plh.555.2023.11.23.02.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=XxkZfjLN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0E7A48073281; Thu, 23 Nov 2023 02:26:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344448AbjKWK0I (ORCPT + 99 others); Thu, 23 Nov 2023 05:26:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjKWK0G (ORCPT ); Thu, 23 Nov 2023 05:26:06 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2875D101 for ; Thu, 23 Nov 2023 02:26:12 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id 77D794195A; Thu, 23 Nov 2023 10:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1700735170; bh=AQUS7y0k1D4MxuZLfUGrxD0KkPeCCI69rVkyOJ2dp5w=; h=Date:To:Cc:From:Subject; b=XxkZfjLN/KFIvWV/cnzEOI8m85rzPVQOovz/fF44BuflyZK6BuHYiHxlfddFyTjO4 B2V1TesljHfkniG0zJXmhOC7a4YLM0QE9iThvzZ9PSh8RoCbRYTUM7w1xrB5sZ8tFU smgFa2bmXc5BcLdcSVUL97vkZXFaWzvOqyC7s7Mqlo9aHhNRT+WM7NJoTimAyAFMbi sRKqgjFuAWM1Nk6gb4CdaH8IVktyJCzWRY2AWXKRTRCCQotXFjCM+Ct9681zCB2rgP +cAVr6v+IVrmhMMaXZ8fQ2myhf8ewN2jCOqS17Qcj8TsELs1OVI1iShWXn5yI0Y8ZK jMv4lrxjWD8ow== Message-ID: <6e64472e-c55d-4499-9a61-da59cfd28021@marcan.st> Date: Thu, 23 Nov 2023 19:26:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: soc@kernel.org Cc: Asahi Linux , LKML , linux-arm-kernel@lists.infradead.org From: Hector Martin Subject: [GIT PULL] Apple SoC mailbox updates for 6.8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:26:26 -0800 (PST) Hi SoC folks, Please merge these Apple mailbox changes for 6.8. This moves the mailbox driver out of the mailbox framework and into SoC. This was long discussed months back and has been cooking in linux-next for a while, so it's time to get it merged. Rebased on v6.7-rc1 with only some trivial Kbuild/Makefile conflicts. - Hector The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: https://github.com/AsahiLinux/linux.git tags/asahi-soc-mailbox-6.8 for you to fetch changes up to 4dae8c047a70307d83d912afbda2e2c94de155b6: soc: apple: mailbox: Add explicit include of platform_device.h (2023-11-23 19:10:47 +0900) ---------------------------------------------------------------- Apple SoC mailbox updates for 6.8 This moves the mailbox driver out of the mailbox subsystem and into SoC, next to its only consumer (RTKit). It has been cooking in linux-next for a long while, so it's time to pull it in. ---------------------------------------------------------------- Hector Martin (5): soc: apple: rtkit: Get rid of apple_rtkit_send_message_wait soc: apple: mailbox: Add ASC/M3 mailbox driver soc: apple: rtkit: Port to the internal mailbox driver mailbox: apple: Delete driver soc: apple: mailbox: Rename config symbol to APPLE_MAILBOX Rob Herring (1): soc: apple: mailbox: Add explicit include of platform_device.h MAINTAINERS | 2 - drivers/mailbox/Kconfig | 12 - drivers/mailbox/Makefile | 2 - drivers/mailbox/apple-mailbox.c | 441 ------------------------------------- drivers/soc/apple/Kconfig | 15 +- drivers/soc/apple/Makefile | 4 + drivers/soc/apple/mailbox.c | 437 ++++++++++++++++++++++++++++++++++++ drivers/soc/apple/mailbox.h | 48 ++++ drivers/soc/apple/rtkit-internal.h | 8 +- drivers/soc/apple/rtkit.c | 133 +++-------- include/linux/apple-mailbox.h | 19 -- include/linux/soc/apple/rtkit.h | 18 -- 12 files changed, 533 insertions(+), 606 deletions(-) delete mode 100644 drivers/mailbox/apple-mailbox.c create mode 100644 drivers/soc/apple/mailbox.c create mode 100644 drivers/soc/apple/mailbox.h delete mode 100644 include/linux/apple-mailbox.h