Message ID | 20231206231733.4031901-1-sboyd@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4438113vqy; Wed, 6 Dec 2023 15:17:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG7JfU8qYEJ9KC08Gs0grv9Vulqn5AHXa8sQwVfBrEytJzRx+rkU+K4P0MTTGqvvTQwEKW X-Received: by 2002:a17:90a:6ba5:b0:286:6cc1:2cd4 with SMTP id w34-20020a17090a6ba500b002866cc12cd4mr1519124pjj.94.1701904662524; Wed, 06 Dec 2023 15:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701904662; cv=none; d=google.com; s=arc-20160816; b=miB7Ei1nMK6VCxSVfmbTPsr09r3zhpnZrbLnNJRqyqpZekpSfhE9+F+Z2fqmCYXTsX rWObFYbz19/2K6cSwdZDRVLz2/ObzhGZdmolSeul4izaI7WM26I0lK2oAruj4gheASeJ eXVqyzu2hnegH35Xlu81wPfasLiHRi3/Xc/oDLIAqf9bLDORpY5SF6Sam8DkFYj3XnXW 9HadQrAhTjaWE5eWsbtIa6tYuL1uQ0cXdcF+/+WOeVhLBVNTzFulhW7eKY85rzQG++Hb o3s2AO1+/zxb+iR1M0VqvLaCvgNrIQZOH6L/s4mBYaadXrdABYf0fOd4ate+v+jR8t5e fw3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Q+e16aUSx74LEHjkHPR//wc87O5gFyTVvxpICYmr1Uo=; fh=0e4zqTBMHEb9qRdSgykNzc5j7meTXk8wcalvFXfa1DE=; b=LBZisPtX738FYxizEVHQEQt/6HRLk6yAtFAhXLUFCw0km0y2jFkxqp4F0NlBlLXSwN HDIbHo2UGBG4WLRJveS5+IiIknk9KI2vvxAt+r/0Qy5zuAQStKM4MDxP8NMDNNA4XRYb RcjJVeou0lDDIzx2/ytZB8VUv9587XnHUPn5AQQ0dRKWJ1GcZ5Cbrf3B1YrzO/MfXpkj 0qc1bfAiZSQw/i8LaWgVXLiuVkEm4/sP8XkmjYpvXP63BOscRNz8pe+UMN16CG1R+waj KX8XAheCyTMSYTUh3FZHH8zydoekUOTwCaiz5GxFFYWeK4LrbmQaInSEMCduAJTdSsDI r1DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hlzifUXU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id gw1-20020a17090b0a4100b002871b0b4a11si559997pjb.61.2023.12.06.15.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 15:17:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hlzifUXU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6C2CB8026906; Wed, 6 Dec 2023 15:17:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbjLFXR3 (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Wed, 6 Dec 2023 18:17:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjLFXR2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Dec 2023 18:17:28 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3BAB9 for <linux-kernel@vger.kernel.org>; Wed, 6 Dec 2023 15:17:34 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30D4FC433C7; Wed, 6 Dec 2023 23:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701904654; bh=w5d5tl99JxM0Ktza2Q3G2taem4VmC9tnx4l5C6e0vNY=; h=From:To:Cc:Subject:Date:From; b=hlzifUXUQz7+mXK/y7VPeaiaj+qqDw62v4f6x/C+ZAKFr/Bl+4MDilIpxZC5Y9d1n Qege0dBlqg1Jv7UEkh7t6akSrG7OszjKfg6UK5jeP7lE6Rl5WeERP7oXTe7Ipzl8hp MaDh49J+SFrIIpwurx2jqAcsoD0CNHN92CPnD8w2AhYyNH1VsdEv0ntrPXIog5j+Gg M7A7COoCBL90KgW4ivVsAIp1jClYDiwyV9WvZmDOyrGm/zGmCZD4P66/0ca/hFkesn 5R7GFXFG+2Ugfa+TZaNgqdt8wlbK+rHjr8dDNUZTUStgYi8h8v9vA9Iuj86Ag4dDsW gvivJZQbQ5EfA== From: Stephen Boyd <sboyd@kernel.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH 0/8] SPMI patches for the merge window Date: Wed, 6 Dec 2023 15:17:23 -0800 Message-ID: <20231206231733.4031901-1-sboyd@kernel.org> X-Mailer: git-send-email 2.43.0.rc2.451.g8631bc7472-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 06 Dec 2023 15:17:39 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784576383365331949 X-GMAIL-MSGID: 1784576383365331949 |
Series |
SPMI patches for the merge window
|
|
Message
Stephen Boyd
Dec. 6, 2023, 11:17 p.m. UTC
Hi Greg, Here's a collection of SPMI patches that I picked up a bit ago but didn't send because we were too close to the merge window. The first patch should probably be applied now though, because we're hanging the PMIF interface on some mediatek boards when async probing. Otherwise the patches improve mediatek spmi controllers and introduce some devm wrappers for spmi controllers to simplify. Fei Shao (5): spmi: Introduce device-managed functions spmi: Use devm_spmi_controller_alloc() spmi: mtk-pmif: Reorder driver remove sequence spmi: hisi-spmi-controller: Use devm_spmi_controller_add() spmi: Return meaningful errors in spmi_controller_alloc() NĂcolas F. R. A. Prado (1): spmi: mtk-pmif: Serialize PMIF status check and command submission Sen Chu (1): spmi: mediatek: add device id check Yu-Che Cheng (1): spmi: mediatek: Fix UAF on device remove drivers/spmi/Makefile | 2 +- drivers/spmi/hisi-spmi-controller.c | 32 +++-------- drivers/spmi/spmi-devres.c | 64 +++++++++++++++++++++ drivers/spmi/spmi-mtk-pmif.c | 61 ++++++++++++-------- drivers/spmi/spmi-pmic-arb.c | 87 ++++++++++------------------- drivers/spmi/spmi.c | 6 +- include/linux/spmi.h | 3 + 7 files changed, 146 insertions(+), 109 deletions(-) create mode 100644 drivers/spmi/spmi-devres.c base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d