From patchwork Wed Sep 14 08:34:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 12975774 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 F00D5ECAAD3 for ; Wed, 14 Sep 2022 08:35:41 +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:MIME-Version:Message-ID:Subject:Cc:To: From:Date: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=Fvx6O4VljZe9NQh5NfFET7VbePfzUgXsqeczN+gq9so=; b=4kGDl3GunTatyX 3EPqfQGEhKVrgyfnzjoYD073mkL4tNrVqJDrFVo93XN6hncZB7tSYNnkHVA+02p8DcmD2nbBD722r vnCbjy1KKztC16JQL/7jqDVAnnpiLhYvhyMSFn/GHk7qmfBKKzXeZl4fhFyhUoZLNxacvPGsieV+s Y8zCc5BcbzAve1IzJxbxc0HN/xOEXyUVEWLnFObTNo1uSXLFNwtt0gWu6mZqX2IeJo8/SgFnzMXQe w7HgIZO7cNmQ7Dly0IqQi020cuq60MXrbrzMkIk/oeX5O8K39lCAPOaLNIeKOu2EcYIew78vanhIb Nr+pTSPMLVRgoya6YQPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYNqh-00DbVN-9N; Wed, 14 Sep 2022 08:34:23 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYNqd-00DbQj-Gu for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2022 08:34:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3W12ilxYRX5oqeaNvlx1LgPZaFSFChK3uMek02KRiv0=; b=JKyV8PyIjFhD6Rpl19WgL+j9tZ +6eY4dM41A9DXR6V2LJFC3Gb/iwWIrpRBbDuggdtCGBLThr26d5H2fS//EmGid5Iv70B0I+0ps2Mp Cg+ihRqFA0/BiYQatb0LgmYPNAkaDObcfkhI2WmMYy3yG7z+GnCoyjVdYXwRcZ9mbpBcin5kqUcKo eDe3NpXoOb74pfWrY0UI9PWWilOWDr/FrYpiiX8pIuQP3hb4DoZHTeRDlRZmDNSBoK0cZIGZwWxoo jRB4p+QgM0E+zINJaR6eTW4AAL2jWkq41M9c+e5xQRhXEyOWZECw26QUEKHf09uwYrVDWb3eljWhP j3MTvohQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34312) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oYNqP-000411-Vk; Wed, 14 Sep 2022 09:34:06 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oYNqN-0001Ui-Ja; Wed, 14 Sep 2022 09:34:03 +0100 Date: Wed, 14 Sep 2022 09:34:03 +0100 From: "Russell King (Oracle)" To: Jassi Brar Cc: Alyssa Rosenzweig , asahi@lists.linux.dev, Hector Martin , linux-arm-kernel@lists.infradead.org, Sven Peter Subject: [PATCH 0/3] apple rtkit: add support for atomic operations Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220914_013419_882260_E4C377BE X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. 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, This series adds support to the Apple rtkit for atomic messaging, which will be necessary for SMC support on these platforms. SMC support requires a bit of rework after recent review comments, so I'm sending this separately in the hope that we can move forward with upstream kernels. drivers/mailbox/apple-mailbox.c | 63 +++++++++++++++++++++++++++++++++++++++-- drivers/soc/apple/rtkit.c | 6 ++++ include/linux/soc/apple/rtkit.h | 12 ++++++++ 3 files changed, 78 insertions(+), 3 deletions(-) Reviewed-by: Sven Peter