From patchwork Sat Feb 17 13:57:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maulik Shah X-Patchwork-Id: 202628 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp332204dyc; Sat, 17 Feb 2024 05:58:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwkHJOgPm660183O0H/iz3vwQ/xFH92yGN0d1Z4JeC168RAFTobm47iVsFRQtiKPPbV9cUjJWH34IxIFuOb0aa9z07IQ== X-Google-Smtp-Source: AGHT+IFjPd5ewX2A5vqDZKT99l+3m0ED1v+X5tomBSRRzDAT544HY2H1gJV9SU7778Gm/vYiM3Kz X-Received: by 2002:a17:906:fa19:b0:a3d:82a3:e16d with SMTP id lo25-20020a170906fa1900b00a3d82a3e16dmr5380653ejb.10.1708178281354; Sat, 17 Feb 2024 05:58:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708178281; cv=pass; d=google.com; s=arc-20160816; b=o8N5JfaJfQgKazV9GvhhfxqFg8exqheS6odIYlg0LXJUL3Gg0nHqCp2f7x8sgC8OAK BIreuH9nxFZDsaWFh9Q9IAH+hKr7eN6p6BWLEcMka7oOTl1iPl4TTu3W38RKTTcvkbnO Is6RH6KVQXGqA5WmEIfGS/rQI+6TgQ+oiHkX9Pt+QnUZ6YpK6cUdmqohBYi9n/rm7Esh qDqrMHvQ1AQWLTcJ/BChvGNbKIYAtKkxK/qa0tV66l3Ri1Li2VfntMSy5jIZ3sA+VSIN VLT20LBgtalECJIK+E647jCkv+M63o1NGODsUvHr65hPfZJhM6GryN3ebtLzx89+HTxZ p2yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=mwzABwdWNWrkewwBO37WiJFPjz8OwxhXknYoD7FSgk4=; fh=LwNmiZJQYXvdwKbhdbA//L9MNqAeXCLwXToUssFOYeY=; b=0muCsFn87cKJSVdxnBO3qAgs21JiZawNEFlG8M75INY95eQcsMyvBzabfweo7Jfx5O UfhUDDwQxWN6U8Ts4S3x8wZEIw0tDa30hg+eYDcO3sWXnZ0Iy6XLgsG0Nmi2WfMpgoXO +QZY3r942srcGqsglRCelOrz26V7/pweSPTnVZyndpaVxBiHRXrU6VwTXjyB5OQtqLQV exEhVxNI1cQDvMiOGeD7WutjJmdNgTskcWA79pQ2Op/ouX6h+7Qqk9UsM+kfiA5z4RdC 8RDQWiXuOyNctFwqN6Pa/qbiB44NdqiMTk/bhT2vKm5M95ynRc3wTlS4g9m0pS2JCsA3 lP4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aisT4pG6; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-69884-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69884-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k8-20020a170906054800b00a3d8795bbaasi879290eja.158.2024.02.17.05.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 05:58:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69884-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aisT4pG6; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-69884-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69884-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id DAF791F220CD for ; Sat, 17 Feb 2024 13:58:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9270E7B3FA; Sat, 17 Feb 2024 13:57:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="aisT4pG6" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63F5E7AE44; Sat, 17 Feb 2024 13:57:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178250; cv=none; b=aDMAEM6kIeCwHgjxrgVPVP6GNm4s4v9GxWzryireJl19gnAnYLuSuPpYz6kbwzHaHWGjIZ/DiTtYaYkr9WB7SHJwesux08v6GwKmOdWvzKZJZQPRNxhbVL2Bcz1n5ba6L9yUYvmz/5gW1gSVD91JQWesJxpFA9FRHZzd3HwoM5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178250; c=relaxed/simple; bh=wftFHk4jzES9vDs2ANiZtphQYDYENKzFBUmfNJ9pR/c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=SYCUvimf92ZEYCeY62tbfzfoD2EYQF7RXnWAMY+RaN2xi/57dP3ZIQWboZEO3TJbD95W0Ddw2ldeXtYQK5HLa3dtRcdGpoJ/w/voUAIdQ1k/TOGecxzVczrLn25oz0iM/rbP0UBFzhogD2yv5iDPGHQQFtt2IbBaX73h5BTI9yw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=aisT4pG6; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41HDbBoc004255; Sat, 17 Feb 2024 13:57:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=mwzABwdWNWrkewwBO37WiJFPjz8OwxhXknYoD7FSgk4 =; b=aisT4pG6J1bI8Rfm8vUKbuZ0ZFmYt93GC5p3i6e9Bv8RWhhIiUYmm8TnM/w oKQRgLNOOuqP30zYw7cKZQKA2+KOYajElq6WXJqCE4G2ifP+ADBWPk8gwi6qIOtQ OLg7ev+5sRDwV1lOwPRUMhBUO5Qm4wZQ7JA14+5ppeKxDjXbD6uJ4DOq9/Fej33y LyA4wf0OwdMrxzZhcOOxnxChCGtXevQ+c3mdPuBPDhA0B1xuw842boBis7plGK/K MlT+ozultcT/bXXztEgDwilq+bAYA0gGbISJOMfI9eTxjmfHvDh7kPOKIOJCi1qJ /nbOtrVksoAo4qr+7aMmczPHwkg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wav1ar4e2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 13:57:17 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41HDvGgS026943 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 13:57:16 GMT Received: from hu-mkshah-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 17 Feb 2024 05:57:13 -0800 From: Maulik Shah Date: Sat, 17 Feb 2024 19:27:07 +0530 Subject: [PATCH 1/2] soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240217-init_level-v1-1-bde9e11f8317@quicinc.com> References: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com> In-Reply-To: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Ulf Hansson , "Rafael J. Wysocki" , Daniel Lezcano CC: , , , , , Maulik Shah X-Mailer: b4 0.12.5-dev-2aabd X-Developer-Signature: v=1; a=ed25519-sha256; t=1708178229; l=1457; i=quic_mkshah@quicinc.com; s=20240109; h=from:subject:message-id; bh=wftFHk4jzES9vDs2ANiZtphQYDYENKzFBUmfNJ9pR/c=; b=H6gcB0VQ3OIGQtfx4U/KwYbyMeci9KevvJ/GCFxh95BvZ4Qo1hlK36f3btRnaohmomxLLZVlP 2UwvK8HDLtzB8VASaJW1zfuU7QS0yLFJfxgMOZ8hXHwWLa7xuT+aGZD X-Developer-Key: i=quic_mkshah@quicinc.com; a=ed25519; pk=bd9h5FIIliUddIk8p3BlQWBlzKEQ/YW5V+fe759hTWQ= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 2X7MUvLR_4MB3vVm877mBC0mP43YJjHZ X-Proofpoint-GUID: 2X7MUvLR_4MB3vVm877mBC0mP43YJjHZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-17_10,2024-02-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 mlxlogscore=999 mlxscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 clxscore=1015 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402170113 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791154749192142277 X-GMAIL-MSGID: 1791154749192142277 cmd-db and rpmh-rsc are used by clients like regulators, interconnects and clocks for resource voting. These clients are in core_initcall() while cmd-db and rpmh-rsc are in arch_initcall(). Update init level for these drivers also to core_initcall() to avoid unnecessary probe defer during boot up. Signed-off-by: Maulik Shah Reviewed-by: Ulf Hansson --- drivers/soc/qcom/cmd-db.c | 2 +- drivers/soc/qcom/rpmh-rsc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/cmd-db.c b/drivers/soc/qcom/cmd-db.c index a5fd68411bed..c344107bc36c 100644 --- a/drivers/soc/qcom/cmd-db.c +++ b/drivers/soc/qcom/cmd-db.c @@ -362,7 +362,7 @@ static int __init cmd_db_device_init(void) { return platform_driver_register(&cmd_db_dev_driver); } -arch_initcall(cmd_db_device_init); +core_initcall(cmd_db_device_init); MODULE_DESCRIPTION("Qualcomm Technologies, Inc. Command DB Driver"); MODULE_LICENSE("GPL v2"); diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c index a021dc71807b..c4c7aad957e6 100644 --- a/drivers/soc/qcom/rpmh-rsc.c +++ b/drivers/soc/qcom/rpmh-rsc.c @@ -1154,7 +1154,7 @@ static int __init rpmh_driver_init(void) { return platform_driver_register(&rpmh_driver); } -arch_initcall(rpmh_driver_init); +core_initcall(rpmh_driver_init); MODULE_DESCRIPTION("Qualcomm Technologies, Inc. RPMh Driver"); MODULE_LICENSE("GPL v2"); From patchwork Sat Feb 17 13:57:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maulik Shah X-Patchwork-Id: 202629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp332404dyc; Sat, 17 Feb 2024 05:58:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWGLO+opjJ5lz9DhPxEDzRptsxYh3pzHyl18xRNJhbJZGRdhUVom2Sc/h6+IqWpX72ICrX1tO3uxRiQt5DETC3POqNGyg== X-Google-Smtp-Source: AGHT+IHo1Re1XXEsj/D6jrWZCY3xvjeFWHV3kJXEX+nqprU0937sloXqFHQxe2Zxz9JJQ878WfRx X-Received: by 2002:a05:6870:e252:b0:21e:7fba:195a with SMTP id d18-20020a056870e25200b0021e7fba195amr2983830oac.28.1708178307791; Sat, 17 Feb 2024 05:58:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708178307; cv=pass; d=google.com; s=arc-20160816; b=TfzeHKgVdKl9w0mtNhnKad+3jUWV0XwWiGX9KgtWfFv6mLZ//fg1R3wm9fKSHDXFgX fJ04fBa5Ixkv4+24J+3M2FuPLtM7lB/nxu6b42Q3nGEhEd+kMIv9cMO92+0e2Z82UYwd P7WYvaKVrWsgT0FGRA3KRQ0k2/W331Led4AdcTZf2Lz7lDrM8X7QZqp0emuzymxzJ4Ko oGyc5YWwsxDaRo2mQjWoOAM0p/qcuHcEvAA3xkX8tj7WUG4Gk6tGeIyC9q8c/+vTYG1c +HfabAXdJZfSkIooqrk+OHDMWcJOVDRicqm0moiXqwj/NE2AdsBNWxHDI/kPX5f83Odc V0BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=2YrdYcZv+dIJ5bWHgiBTkNoQ6lNI0HsM73CCnoKmjvg=; fh=LwNmiZJQYXvdwKbhdbA//L9MNqAeXCLwXToUssFOYeY=; b=kUaea8Ot+3ScgtDmSmi1YTiN0yikR+XArTDTNLEqFTTv/FgHvu7mWqCca0Q4ohKWwC NSlsV+iXMknJiz3ZXlmjkq/fuNZnO7LXux+oTlEKhDnpYkkaTnCaCvtOWonccZSDeTbl GRY4ls37smmXwuY/pWreB37qU24ADmUURzNdmBGudfAbQKDa3uYunepX9ZYPtzzhSYXe H+Cba1wyutnyRaXKlVoE7hJgvXMtH8CyAdbgl0RFi88R7BMnCT0M6wPcWUNdqW1+Pu83 VKCHVryoftksN9nwwh5PWLk04cQdZAG56kfy/A05cVw7n4SnAg7yGqOm0TPaSvmt45Gx nVUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="g/evDHYN"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-69885-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69885-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id dq4-20020a056a020f8400b005dc071d13c7si1508303pgb.273.2024.02.17.05.58.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 05:58:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69885-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="g/evDHYN"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-69885-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69885-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8B7C9B21A26 for ; Sat, 17 Feb 2024 13:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 812347C0AE; Sat, 17 Feb 2024 13:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="g/evDHYN" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71AC17B3E4; Sat, 17 Feb 2024 13:57:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178253; cv=none; b=B612d+m+KncNCVeHqULa8fD+gko5guD5/ruOtd8jADMy3leRj9v3j61lJQXPGUEXV9XY+0QUtjnhcwMOjQrpHUOavH37P+stUOx4hqh/RGYxxYIegs7+uWMvxp5IH9yHFgLx55VGKW6OKltxYCyir8KsihyLP8j07HZlpC0YdjA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178253; c=relaxed/simple; bh=7qmGheqPGtrRm9XkxLHVtbZRPp+g36a8JHthsGpdo4c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=NBrZzzLRZQjbetTchNOF1q+5yjB/dxu5zHDR8nCcKFKo7E8WjqLM2kdtJ9jgnhx161yqRF8fdsS4I9ePh9hrDITUKLHHDJBPNXmdBcr1SKMoZCrdlk3/h2+GP9f/GEzxwg6YOCyhgz9zeDdiIrj2UAMXIk6BDHlgdPLQiMtfgTA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=g/evDHYN; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41HDqDLo022802; Sat, 17 Feb 2024 13:57:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=2YrdYcZv+dIJ5bWHgiBTkNoQ6lNI0HsM73CCnoKmjvg =; b=g/evDHYNb6yHCUm/lN4VMj8QzrYxq/Jn28MkrIJd18rOMAz77d1l6nnUqt7 VGBbAtFS0m9K4PyzyG6FZZkWhcpU+CR3HvujSYdnuvJJcKjojL3Gorch7jO/A0Ak CVgXgjimf6IigjTiOHpiB/T1IGJ/2KUj3c2TgYxdcPuvyRa04E/JzjUqqWku2A2V h3gNCv/TMKng+LmCNKtbQtR5oDQPd1HAMfASpnofvU++Vf6xgsKG3io7l3wHfZ/K DVCxHbt8bf1l8XGeKSAbwlNbNhwZ3PbVQ2MwKf/jC3vRmb3MH3MqTIAu2lc90iYz lgqBEeM8PBUWpWXT4T2wTurklCA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wakrwgmw4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 13:57:20 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41HDvKn9019429 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Feb 2024 13:57:20 GMT Received: from hu-mkshah-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 17 Feb 2024 05:57:16 -0800 From: Maulik Shah Date: Sat, 17 Feb 2024 19:27:08 +0530 Subject: [PATCH 2/2] cpuidle: psci: Update init level to core_initcall() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20240217-init_level-v1-2-bde9e11f8317@quicinc.com> References: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com> In-Reply-To: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Ulf Hansson , "Rafael J. Wysocki" , Daniel Lezcano CC: , , , , , Maulik Shah X-Mailer: b4 0.12.5-dev-2aabd X-Developer-Signature: v=1; a=ed25519-sha256; t=1708178229; l=909; i=quic_mkshah@quicinc.com; s=20240109; h=from:subject:message-id; bh=7qmGheqPGtrRm9XkxLHVtbZRPp+g36a8JHthsGpdo4c=; b=2dWdy/rhbxVvmO2bUDvggyr4vmus8Oy+A0CB5dkNCdWcohQUF1T/HxmLCmOv91VrbRvZU7Ww4 +UG7RNYg6WDD7tO4gPi9KfP4NzaSJvNFAVr27hR7v8TlnNCEATykn4A X-Developer-Key: i=quic_mkshah@quicinc.com; a=ed25519; pk=bd9h5FIIliUddIk8p3BlQWBlzKEQ/YW5V+fe759hTWQ= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: CIXOiEz7zKmPGgSzRwt8Jz2QURxnGL86 X-Proofpoint-ORIG-GUID: CIXOiEz7zKmPGgSzRwt8Jz2QURxnGL86 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-17_10,2024-02-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402170113 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791154777471167080 X-GMAIL-MSGID: 1791154777471167080 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 --- 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);