Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp774705rwe; Wed, 31 Aug 2022 10:43:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ZCtoL2SX4Nhu4Z9wY0VWVjOHfJw7iuJ4yr8S7J51e4jzE3r/77SlnTPtAe8Nd2GXi4bql X-Received: by 2002:a63:1e12:0:b0:42b:bb36:f898 with SMTP id e18-20020a631e12000000b0042bbb36f898mr16381515pge.469.1661967835597; Wed, 31 Aug 2022 10:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661967835; cv=none; d=google.com; s=arc-20160816; b=ZIOR7ShULiMSElnPE7nM89nI/X1JQNEYvszPtikx30nkB1XTsCkwSvhYX7E2/YmoQO HOkht6p6vrNuASSzle0N28DitALhXaNOZpd7df+uINyk0LZxKmp4kuSPRxN6VrQlc3tv v5HsW/QBLlUllYObLDT4UwiV4s29rtECprrxun8MpAy3LcqLKZN8sUJRkcrRLcuNhyBV ATGNtf+XKWUL5hnm3nr7BU2hcI8PxrNMQcbPXSjTvUWDOTwI0D2BGw3F/eLJER+8t1Tj d08wbocLuAgBUgIKtC2hGnDEkpMINw05dBdpqLEmPPQxLasshqoGa4j40SdsESs61jAM 2UWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=RJ7VhB1xWdOKpJlI6zErU4nh4Gfvu0WG6RV+fAas7vo=; b=IuwzY3c54q7hrDkynLK9J/sE9M4N0gKTxROcp7QqjiTzcS+Z2pT3qowozGYyrT8nHl BGq1Cdqgj4n7upw80u+KnXbtX+xeD7mM8rEsCWJDa8WjqCPr+hit4LusmH2+7XfMwAIr PztE8j2j1NlMZJZzS/fkrby7GNkB6OiB5kjWMW9akaKxONaF1AiRcCXSWIYewa/zfkzo TWiOeRkWBhPlBbwPFyNIOT/W8BpU6NtjdsS5HuuBhvBxzLORdNQePHd0fmaHM9yCWKp9 9NPzxfzkDtCCg4uF+V1Fr8mRoHRDC9JufTZ3KgvssQH5xewyyaDcEahLOjrb258Cng9n Pzog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BJG6N2/f"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on13-20020a17090b1d0d00b001f4d705dbdcsi2434398pjb.80.2022.08.31.10.43.41; Wed, 31 Aug 2022 10:43:55 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="BJG6N2/f"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbiHaRls (ORCPT + 99 others); Wed, 31 Aug 2022 13:41:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbiHaRlP (ORCPT ); Wed, 31 Aug 2022 13:41:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB6A96E2F6; Wed, 31 Aug 2022 10:40:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 40C47B8221C; Wed, 31 Aug 2022 17:40:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00AA1C433C1; Wed, 31 Aug 2022 17:40:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661967636; bh=CSi9zdOEieKO9KvzPJVKxibckZ1pRIiwIsaU8dUChCk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=BJG6N2/fl9OQc01eZUq+PTFfm4NvorGPhfDQkJjl/iwBXzBytZ0jeReDVtzd7+DI3 dqaM9UX113v3DxXaRvIOedA17YFwdwcuQ5jZLUtLBJYgwChR1sCAy+fb5EwCnPXEeI uObBiXGut83IXESJUHs7asVQ1Ld9trGBTvI2KVbPQd9kbAWa1VyQ0EJjayYA5zwP2Y xnPYLCbjCch58myuTts4evyix5+/oLOr+s7F9mox1IE35FjazzMSjLKMxJmngorwBg CUiLkJgNyNzBwEHaUj8/tpBZFlVddWpvfULxzLrkhpxvBR+iJ59ig0jEBwlGDnLxNF 9kSIQ2/uesARA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1655004286-11493-7-git-send-email-quic_fenglinw@quicinc.com> References: <1655004286-11493-1-git-send-email-quic_fenglinw@quicinc.com> <1655004286-11493-7-git-send-email-quic_fenglinw@quicinc.com> Subject: Re: [RESEND PATCH v6 06/10] spmi: pmic-arb: correct duplicate APID to PPID mapping logic From: Stephen Boyd Cc: quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_fenglinw@quicinc.com, tglx@linutronix.de, maz@kernel.org To: David Collins , Fenglin Wu , Greg Kroah-Hartman , Kiran Gunda , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 31 Aug 2022 10:40:34 -0700 User-Agent: alot/0.10 Message-Id: <20220831174036.00AA1C433C1@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Quoting Fenglin Wu (2022-06-11 20:24:42) > From: David Collins >=20 > Correct the way that duplicate PPID mappings are handled for PMIC > arbiter v5. The final APID mapped to a given PPID should be the > one which has write owner =3D APPS EE, if it exists, or if not > that, then the first APID mapped to the PPID, if it exists. >=20 > Fixes: 40f318f0ed67 ("spmi: pmic-arb: add support for HW version 5") > Signed-off-by: David Collins > Signed-off-by: Fenglin Wu > --- Applied to spmi-next