From patchwork Mon Mar 13 08:49:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 6511 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1085311wrd; Mon, 13 Mar 2023 02:38:54 -0700 (PDT) X-Google-Smtp-Source: AK7set/edXEymy4t1P1T+WNu8JogcyBlhsxjCUlYnkWypxHWygdNY6upKUv0nGUT+sLGz4w8zEW8 X-Received: by 2002:a05:6a20:492f:b0:bc:bdb1:165a with SMTP id ft47-20020a056a20492f00b000bcbdb1165amr34415325pzb.39.1678700333881; Mon, 13 Mar 2023 02:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678700333; cv=none; d=google.com; s=arc-20160816; b=g26vbB98Py7iPIFgV2zggHi4EFoQs/O+blHwYNm2N1YviiI7SxvFIm0n8rpdbgMpkl WGF9uKyPU7k4vg/KI63kZuZqmEvJfy0Oq/k/YpuH396WEQqtoxpYknrGElogU0gD6VXm ssRiz60VD0sdi7cEeUJlsTLgtlqit7ut/X/THWaIuaT9BXHFr6LKuIjhq8O1hR3WRc9X lCvSUMn2EqFrGttHftcecD7szi+dNEWbIsLFpkhrgCEEZcCVgoAsYAOhew5Ldw7mZqQS Xg1uWQY4lnwU4rqlhfAv1relk9+zFNV59XmBiXtgLpOqAVUakl09dLsM0aqctvV0fTxP L3iw== 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=aTDymb9ep1tv4CLUuX39TmUf9u9ufioym1bEeAf7TqM=; b=TIdKa6n5DK2wzvRC5fKVcefLTyZmSYtIRiqGv96tvaPc3MDnz7bWjGOlxMZr9vd/G5 T+QMi9S9WsajYVk586FYB27p0QTYK4LhsfDPsWBa6QSIyzu6dqeAd1dLyj4XmhPWmWo/ d/te7rC3FcRFO4icEqEm3B2Gf9dgd4nR2AU90KLNzVgvThzZga8EmhWu2Med5m0Cz1BY OwDMS14hTHfa8jcyPVGnwD0J4lcPp/EUmJgO0+TB3uYFMYrhX2Skx+VOyZRwp+B66O2U MK5xterK3MIFU86GA3L0b/GybLjm4cpR8rx2BovBKX+zdc5Ox/dFvNNAfuY4bkrcpdiQ 0cmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bmZlBiGf; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020aa78e4e000000b00619b451da30si5861091pfr.209.2023.03.13.02.38.39; Mon, 13 Mar 2023 02:38:53 -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=bmZlBiGf; 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 S230336AbjCMIy0 (ORCPT + 99 others); Mon, 13 Mar 2023 04:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbjCMIxr (ORCPT ); Mon, 13 Mar 2023 04:53:47 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BBB37562; Mon, 13 Mar 2023 01:51:09 -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 sin.source.kernel.org (Postfix) with ESMTPS id F3709CE0EC7; Mon, 13 Mar 2023 08:50:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 321FDC433D2; Mon, 13 Mar 2023 08:50:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678697456; bh=bxFy0g/YowhzcjpYqA4BX93LeqiKqvaOaDFo5v2nHiI=; h=From:To:Cc:Subject:Date:From; b=bmZlBiGfZQsvWp0xdybp7kstjy/o39a/uhiBPMNL306rvxbvxcH78L1ImqN13yCg3 PpQPBoQxVq55fHN9irQB4UWUEjJDqV7AEzq3I5/YPVEYYJch/j37xwR0LNU+9w0/lr 6+uWLVUvXOEDfz8NNOe7GVV/ez0eli+qY2he7yPq/fmz1aDZUQNN/8I9tk6XR/eyfq OnNkhUjytB87GQSz+yZV35ORB5QtdvS8GypyQcZBgI1IoKt4jcHrd6TDL6UmozRWPo hp6B6Gm7WU4ssb9wuoAVh6j1j1+B44Sw+fBiU4AQJC4qkk1s6TO0NaRyg+D3poy2lr 1Wq67efW5Z42w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pbduN-0006Hs-Re; Mon, 13 Mar 2023 09:51:56 +0100 From: Johan Hovold To: Georgi Djakov Cc: Bjorn Andersson , Andy Gross , Konrad Dybcio , Dmitry Baryshkov , Yassine Oudjana , Christophe JAILLET , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] interconnect: qcom: rpm: fix msm8996 interconnect registration Date: Mon, 13 Mar 2023 09:49:51 +0100 Message-Id: <20230313084953.24088-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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 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?1760244563285313269?= X-GMAIL-MSGID: =?utf-8?q?1760244881101748343?= Christophe noticed that a recent patch adding a missing clock disable to one of the Qualcomm rpm driver error paths was broken. This would lead to the provider not being registered on msm8996 which is the only platform using this code path. Turns out, however, that the power domain attach during probe is bogus and would always succeed as any power domain would already have been attached by the platform bus code. Georgi, the offending commit is currently in your icc-next (and local icc-fixes) branch. Perhaps you can fold in the fixup unless you prefer applying it on top. The bogus PM domain lookup is redundant and confusing but should otherwise be benign so the removal could be applied to either branch. Johan Johan Hovold (2): interconnect: qcom: rpm: fix msm8996 interconnect registration interconnect: qcom: rpm: drop bogus pm domain attach drivers/interconnect/qcom/icc-rpm.c | 5 ----- drivers/interconnect/qcom/icc-rpm.h | 1 - drivers/interconnect/qcom/msm8996.c | 1 - 3 files changed, 7 deletions(-)