From patchwork Thu Nov 23 10:26:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 13466062 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AE7C3C5AD4C for ; Thu, 23 Nov 2023 10:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:From:Cc:To:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4Xd+BkttkZFxShDZ1ljOHAr2D21ngpLjSTWNU+h++Jc=; b=si5X3VqP28WdS2 xJLWN0+gF6GPJ1Ee3uV4qaxHVu5NMnDCNcoXc05enhH8fnErHX6kekKrW6Qug8Xp0qCz5BpwSsqJS VB4Lonax0fAoySwqJYAeiJEUXnFWUSwpMfbh5O2/ArtXmdebyMq/Gi/kSSaUM6cxOSLyPfQBNHZIp kUeqbZWUDWIxEudyomWzNP2BoLnBgkLGl0FXPZbrfceLeVMcy2FGJTSZ3aGXlnBVGWHwdV+DDNR2v n4iZ9XfxN/2anskB5IaX7bvQWPM7S1AxGoVKfZyVxLLQ5W5PgckytQ5nUlw02EWLH671hBtwrND9z KfwIfT2WiF9hr4REMsuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r66uW-004NcP-00; Thu, 23 Nov 2023 10:26:16 +0000 Received: from marcansoft.com ([212.63.210.85] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r66uS-004Nby-27 for linux-arm-kernel@lists.infradead.org; Thu, 23 Nov 2023 10:26:14 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231123_022612_862437_5E5A95E0 X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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