Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2627874rbb; Wed, 28 Feb 2024 07:43:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXKLCSrkrMJV2sPzrUIkIlX/hdzAAPuXL650/jah4SUwASoL89ChIkOLstSGiWTYL+6YQ2QoM3jupbwY79MOD//iGEHWU0ohPM9xJyXtg== X-Google-Smtp-Source: AGHT+IFuw/GzRS90iXXjQYCrpi9sgrLd1xDXKE273AozeGMZqt9VlsAdxAdzrUMv2Rl8yYqZ+412 X-Received: by 2002:a05:6102:2450:b0:472:69ec:97da with SMTP id g16-20020a056102245000b0047269ec97damr2460916vss.27.1709134986272; Wed, 28 Feb 2024 07:43:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709134986; cv=pass; d=google.com; s=arc-20160816; b=apmd49iKZEuJ72eg6LJIj/gxggXHRGpcGNwiIAPPfsKKwwkU0jQiULdZYttgZKRahb TfcZruPqntouuHdJgjLRwJ0dg1LWSRLruApzs2+pntXOgUSfkJDlNy2bBIhVRm9uim+a LrcnbUN9c7CZ/Z0eQz4KsSKoIh20i2CzYSueqVmTrEw/n2vNlHvpkKfO+stnPYBDfsyS l4nMVkwEB/fXoSR47dT/pfhLA6ie5SacLk+J/elIU4azbo/Dth1UeHpJp/B7aMHOT5qd +tN0TsONa8/nplHM2g0Sf8KP24PphpLkWqnx+2GuYjw9YYnhM2VWydWTaE0SsJWXhUev 9MNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=BUg2H32plNGlq0vHABZiW3cHIK6mnZ+TaVaS2PgJthI=; fh=CbXXX02PfayV2n8mVpKo1WDKJc+nNjkIJHE2xpTuD+I=; b=qVzRus/oWFVxDaJ1xW4Dr6UWIghYT/TV5mmJqSnocROKWHinLjTM5p43slwFvJXdk7 JZ6HFVsmumROENmLczcJgW70LGVGou+GduwHOiJY/IBoaFtPZbun7WZ1aXWEZJifb/wm 3e+dNzVfXBNbxtp7LJWRA0YSspMks3sPs3Svm7jIpSUUb3TneYNdQedFLpQO1Uo23kki Y+AvswO6BLnEqfB+0so8XBbAXHC+5jDPfwNluyEMd8C0gT5RUMIrJEffTVaI2b9IFXM1 YlnBWSMYKNc1Nxlww49Nd3PC9RVBQMzwC/enMleHlJTBMPlLQXcVGwybAH5LRH2AcYge iKAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X44IyKpN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-85286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m4-20020ac84444000000b0042e6b165a37si9611072qtn.577.2024.02.28.07.43.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 07:43:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X44IyKpN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-85286-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0AE2E1C21FDC for ; Wed, 28 Feb 2024 15:43:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADE3515E5AE; Wed, 28 Feb 2024 15:41:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X44IyKpN" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CDA515DBC1 for ; Wed, 28 Feb 2024 15:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709134899; cv=none; b=N+WF3b0ZfrPl5ZJMwJVf5XT9+AcW247FTaBEuo9zGJjS9zULQp95Uc5d6vz8LCVhXEkvc3bdEynvirZSyEm+uIQi4OFVMnx3AAIt0Ht14MrDKb0biQRQ4uNQYWE+mAibMO0eqjmbrmYFhvWFTxQC6LkEwxE8gTUpGqSFlG3PmGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709134899; c=relaxed/simple; bh=Y3CqL3ZtH8qv+iuGi9/RE7DcS3/Oa1WDQHkXAOzWuWM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jDVt031R/rq1sIgDvQzvKf+UWXE0/NAqPXJ//nuFiq8se6JTyRTJIaNeviAwDjyylxlUjnJm8r88eMQGImqFnPGc/y8K326QxGj2yADQQaELMU82c61RVZtlMERJYgze0NMAd0xYQO/2S0HIYTcNLnXAZ4SmTiOxBRiRcgfr/Iw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=X44IyKpN; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so7278688a12.0 for ; Wed, 28 Feb 2024 07:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709134896; x=1709739696; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BUg2H32plNGlq0vHABZiW3cHIK6mnZ+TaVaS2PgJthI=; b=X44IyKpN0Jq1Oy/R7g+eEGcAj+NhfzZPl7T4kDdMZUrmnZ9B1rJb32z4g0XrLsZmZr ApupvEm0tYxPfqjAhjmJehr5lI/u3whZWNwdUSWJP55BuGxA6VHyUONIjphNeBAPOBmO GcAeOlR8yaXlLq2s5dQ6oZ7PjYR8oUyObDFl8jcwCeMDr0Nt2nO2aYTbq9c+OY8SNfAh NdqDs8XQMMOSUOYd30gT3hJuatcB6oYaErgizeeD7NX31dzXFWh0Gg/D5XQRzW2W9Qpb wBuTwJOJwrbkkDK0bBJV6DulGhoqPLIlwWkgwkK9GFbGkP0JItjRhVz8zfF6U5PHPaJU 7rew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709134896; x=1709739696; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BUg2H32plNGlq0vHABZiW3cHIK6mnZ+TaVaS2PgJthI=; b=SW7LsNVqrjRc5ZbwhYYuhMB7cQUyD9RQMFxPAkmCMYxrF6DXjSh7zCgvE43EJmWUsj TXsegmXbvCiCIo0MhnuF1ZNXSPQzhEzuJEult5KvDkZb60DvCTqk2f/u0uBzPCjoYo8E cwqdCHm7Cx2c9xhYtdDwOElbNXWGe2eyT9sNV3EuGB6EPwcQ0vY6LYC5lVvNugXuDxKR 5f1IgrBC0JGetkTDVmyI84bHeBnHAM88fhYV22gFtDtBlxifXeMKkVwSyj594e08UEa+ I3w2N0Zhlb3D8vIH15xSMwgiH+Y1GdtlifiBLUI9UwIF73RBSdFfNxwSmnqE7XPZcKdL 8bMA== X-Forwarded-Encrypted: i=1; AJvYcCXUaU1pg9jiEUsu8njbuYP87nWD6LYw/LdZMoE3ABSbD4jAVKKJQbg0em3nrkVyQAOMCB8wd8o9e83+Ke8Tu2aleQk2V8LtD7CJS/f8 X-Gm-Message-State: AOJu0YzBGaKFzDZlCzYYf1P8F7NCIDCT//E5OLLLI0/uJG4PH1UQmC6B cS7KuEbkjQw+2kfntXJ8WOLEEGHM98P0gcjLhQBHDhqLRl4eeuSuMRkGg6NTsyqd9fwvzcngcsZ q7iFMo6rRltdEIXtpQUgoBPzfSB8/grCmm7NWpw== X-Received: by 2002:a05:6402:556:b0:565:cbba:b79a with SMTP id i22-20020a056402055600b00565cbbab79amr7175525edx.13.1709134895902; Wed, 28 Feb 2024 07:41:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com> <20240217-init_level-v1-2-bde9e11f8317@quicinc.com> In-Reply-To: <20240217-init_level-v1-2-bde9e11f8317@quicinc.com> From: Ulf Hansson Date: Wed, 28 Feb 2024 16:40:59 +0100 Message-ID: Subject: Re: [PATCH 2/2] cpuidle: psci: Update init level to core_initcall() To: Maulik Shah Cc: Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Daniel Lezcano , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_lsrao@quicinc.com Content-Type: text/plain; charset="UTF-8" On Sat, 17 Feb 2024 at 14:57, Maulik Shah wrote: > > Clients like regulators, interconnects and clocks depend on rpmh-rsc to > vote on resources and rpmh-rsc depends on psci power-domains to complete > probe. All of them are in core_initcall(). > > Change psci domain init level to core_initcall() to avoid probe defer from > all of the above. > > Signed-off-by: Maulik Shah Reviewed-by: Ulf Hansson Kind regards Uffe > --- > drivers/cpuidle/cpuidle-psci-domain.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c > index b88af1262f1a..3e5b1150f75b 100644 > --- a/drivers/cpuidle/cpuidle-psci-domain.c > +++ b/drivers/cpuidle/cpuidle-psci-domain.c > @@ -200,4 +200,4 @@ static int __init psci_idle_init_domains(void) > { > return platform_driver_register(&psci_cpuidle_domain_driver); > } > -subsys_initcall(psci_idle_init_domains); > +core_initcall(psci_idle_init_domains); > > -- > 2.22.0 >