From patchwork Sat Feb 4 10:08: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: 52757 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1288773wrn; Sat, 4 Feb 2023 02:12:35 -0800 (PST) X-Google-Smtp-Source: AK7set/R8FS4KtJHIOK5l+zk/pNeSNpC4pzeu5cUWauIJipoyLKW36ztVKEvuazrX6xrWzEcC65C X-Received: by 2002:a17:907:3a17:b0:87f:2d81:1d28 with SMTP id fb23-20020a1709073a1700b0087f2d811d28mr10717255ejc.66.1675505555224; Sat, 04 Feb 2023 02:12:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675505555; cv=none; d=google.com; s=arc-20160816; b=Zy0admus/SuD4EQv3v3EaoLeyF0qiAUOxOcrsAqY3ou0hfrRSYu9E4vMXquibDEGoe SshvibxHEH+kIL+AF9gkYYTRg7eqVOxtkMrcPdnQK4Jr8coYF9K3WLr7sGd2OI8lR1in EksTU6P9zhd8HyAdwgJ5Q2rkqobNfUNuQ36MLFkFcl/YqF0VJtVHnQ8CeNLaCUbTpskS 97wIFOmOMyl0ThlkdjOpmjoKfCY3stYfMImVZMZB5VRNsVGkBl/jl76J/799aTn3vdVq gRLrD4bWg0E1E5rEn5EOj3GXmrTf7Is7ArZ8qk+vAvZTPjKW4tTpTQbdor/lUs3snI5w fXCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:content-language:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=h2UehMYq3cg6ovMF/DR20hS8D1dWxmVSMsI0kkpr8SM=; b=KgBPlMh48+9/Bhi7mjO62iYhrQoPv6O1BzPx5H6+745acl0yVP7E+eC830cslpj0Go hpbrFk7dOF928j/oPMLVvZv5zdAs8aGSBLBdh1wAkR93t4x9PHk9yd3F2atp43v2osTR o0mfjysV27MqPP4LmYXGno5TdNkoRva+a9oG9DT7EDK+jMchH9/+a2nGJ2G4Cx+DKqHi llat3MdrTGD/YB8/FcQUslvSL542ppsCPof0952iy+FhWnmOfm4/BercUV6KGr1rMn0y SC1d2ctR3ogo/Fp9WfnKGfFxZMtPgM3FgEqrYwEf2ePjtNC0ZmxQ/hpolyYbSBZVs4aw 9JiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=gvUVr5gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz10-20020a0564021d4a00b004a09059b2c0si6649166edb.255.2023.02.04.02.12.11; Sat, 04 Feb 2023 02:12:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=gvUVr5gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbjBDKIS (ORCPT + 99 others); Sat, 4 Feb 2023 05:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbjBDKIQ (ORCPT ); Sat, 4 Feb 2023 05:08:16 -0500 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1AD320D25 for ; Sat, 4 Feb 2023 02:08:13 -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) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id F25524265F; Sat, 4 Feb 2023 10:08:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1675505291; bh=7/PAeC2Vz0jDqQAqtgjSWco24LeUmkyjQdKv1LGxieM=; h=Date:From:Subject:To:Cc; b=gvUVr5ggkxbv0NMr0OGHgkpxFvhDdOywF1QRKSjg7ZP+QkmRS+C3eLMoJRfulhnaR NySTMpZxRSVBxUzkdPhZKmF0Kzn0cPMqPgP8oBqEHqapgrMK3TdA/UNzqQNbEvi6ae gPovATBOnSkcJqMPNo55rET/Qz5rTLIl6Op5WhwQpoItL5Rl/yKV+fvYjdZsdlwhuA HeuJ0GMg0B/d+yeLhWdglVqJCreHruhkwgNmyG8xq+cgvd3OxrBpRob8ct8kbH5Loz 1lNhRmvsmxjigXGCEYeasBBa16KxLr0MMXWiMT7lt0Xoo4Lsr+t5juTk8yDIPlc2Az i6+EL/H43Um1w== Message-ID: <4790bdc4-b6e2-228b-771f-023363f65fb3@marcan.st> Date: Sat, 4 Feb 2023 19:08:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 From: Hector Martin Subject: [GIT PULL] Apple SoC RTKit/PMGR updates for 6.3 To: SoC Team Content-Language: en-US Cc: Asahi Linux , LKML , Linux ARM X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756894913303255349?= X-GMAIL-MSGID: =?utf-8?q?1756894913303255349?= Hi SoC folks, Please merge these driver changes for 6.3. This batch comes with mostly RTKit changes adding APIs and features needed for upcoming drivers, plus a PMGR change that also unblocks some upcoming changes. -Hector The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2: Linux 6.2-rc1 (2022-12-25 13:41:39 -0800) are available in the Git repository at: https://github.com/AsahiLinux/linux.git tags/asahi-soc-rtkit-pmgr-6.3 for you to fetch changes up to 22991d8d57251509b8ee5c0b3dac04506fe5ed7a: soc: apple: rtkit: Add register dump decoding to crashlog (2023-01-31 20:44:47 +0900) ---------------------------------------------------------------- Apple SoC RTKit/PMGR updates for 6.3. This time around we have a PMGR change to allow IRQ-safe usage, RTKit crash register dump decoding, and a bunch of RTKit API changes used by upcoming drivers. ---------------------------------------------------------------- Asahi Lina (3): soc: apple: rtkit: Add a private pointer to apple_rtkit_shmem soc: apple: rtkit: Export non-devm init/free functions soc: apple: rtkit: Add register dump decoding to crashlog Hector Martin (2): soc: apple: rtkit: Add apple_rtkit_idle() function soc: apple: apple-pmgr-pwrstate: Switch to IRQ-safe mode drivers/soc/apple/apple-pmgr-pwrstate.c | 11 ++-- drivers/soc/apple/rtkit-crashlog.c | 93 +++++++++++++++++++++++++++++++++ drivers/soc/apple/rtkit.c | 36 +++++++++++-- include/linux/soc/apple/rtkit.h | 26 +++++++++ 4 files changed, 157 insertions(+), 9 deletions(-)