Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1313147rdb; Wed, 6 Dec 2023 15:17:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGboLlcsPLqDs/HE4AuiDJswcmQJ0O/vQsaupcbQGTAU4cDRaGc2n74fdNJDzhP6CqcCkA4 X-Received: by 2002:a05:6a20:42a6:b0:18b:8b4:2dde with SMTP id o38-20020a056a2042a600b0018b08b42ddemr1917716pzj.61.1701904668104; Wed, 06 Dec 2023 15:17:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701904668; cv=none; d=google.com; s=arc-20160816; b=RRwDto3oFJgkz4hNUyndrckXr7+Jtrp2HT6soCrvXStIlm+Wrs3lpdNYzQfbfdU7Fr 44VtIyG8dWTIsCXSJfnrPzCfC5V8An+FZRg4GeAD4K/gMBbwhp9gWdp/3X79TEg/Wce9 aUsO31R4Gk5CobkW96c6c1I1Obfuq085fNwhvri15mKobRYxyNLXhWQhg4q0vbb2tlH/ 4IBej5EzlzslgwBqIddqOKYcXiasxn9BZ2F/kpTsxDl1CEh2CSUFd9j5vk6QqpZc1wRY wX4E6Sd2rnpBxeBw6H8yRPkVK5l4w5/im8CYlNGDO4Mb7hjJZBX1wfkSqQbahEdw2JIk xP5A== 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 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p24-20020a63fe18000000b005c676c2d80bsi46666pgh.389.2023.12.06.15.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 15:17:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; 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 2620:137:e000::3:2 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 136AD8026906; Wed, 6 Dec 2023 15:17:45 -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 + 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 ); 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 ; 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 To: Greg Kroah-Hartman 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: 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:45 -0800 (PST) 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 -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git