Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp184685lqr; Wed, 5 Jun 2024 02:59:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8lkerZWkNIv4W8VgVNAEIIe7jgUgFOlYz4P/ZpM6bjwhMga5+VZugRez7FESpwVVNeYMhdgcbuchfzrK94jkcD4BkrgdDJ1quU7CvYQ== X-Google-Smtp-Source: AGHT+IHRIyCRhAC7ObC/pRd9TfvuPryebevgBtpCoUxvYhvypRYmh6bGcPGVoexialSI9vGupXRA X-Received: by 2002:a17:902:d4c7:b0:1f6:3b03:6fa1 with SMTP id d9443c01a7336-1f6a5a9b049mr22708005ad.56.1717581556540; Wed, 05 Jun 2024 02:59:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717581556; cv=pass; d=google.com; s=arc-20160816; b=uaZWbYAC8vjgh58TPGP/Srio6lxhwaB+tg/j/UO9vMyudGHiFCZnUY2jANOJ46El8f r92bCqueWyEGS47PJ1lUw+YY8OxYk6ZAppULvRCSRA/sYu3ZLT2/7yOWZFoqcsQXMe+Z we/POAQH1sRHbVlRAt9IxIr2z7lSJt9anxqqpiND5Jnej92CS+8dZ6BVlTOSm2CLBmb3 ZNBHY7HkFoz6gYmvevjmdA14JbQ7htymWPr4EkXgG1L+l9ny6eHiaYgmUgkq/zp/9frT IkQGYtOEvZ3+wKahoSflJvIG6I+Gn+K2MjwIBsaAGXXeP0l8tMT8Yef0et2wxr0GA/OL bLvA== 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=BaOO1MZ5brJXt2IuBE79MJkWfpJ44KhCLFOE62rdqkI=; fh=MDKbZf3dhFjx4YnwHwr+DRlH9xtKlL2NA9BeQamnUfs=; b=Tfb5Q0ejfMSrbqTqzUI74tomDD0kQuZ9+ug9/Ec8PPwvtTx5AsCTKEIkKRlOnYnxUy Jsm2kWqd/t+Dc8KKnIiA084Y1F1a4UaWUq9v3xF64Jjua4l8Jjk6SAaWKmq7K7rwpvZG igpaGD+qwroVsQBc18k8JRICbQkRBOQUWK8reeIxR+rsgGCwQweSJ8nOHV8S6QQv8rDf plTAYoRuYRgN8+TnMcvOwfh98jJgwZ8f4peX3bHqv3GphT2i2R4A4IWyv96yx/C2hfnJ Ua4yksNV097wB5axEH9FfV+t8odUMd8VzzOJ+msFjr0l0Yoex7GOTUA2PME12ZfhAeru mCWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uHEzxeB+; 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-202159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6a8b08a40si8262225ad.343.2024.06.05.02.59.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 02:59:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uHEzxeB+; 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-202159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202159-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 31EDD283560 for ; Wed, 5 Jun 2024 09:59:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF6AE191483; Wed, 5 Jun 2024 09:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uHEzxeB+" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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 A5DE819147E for ; Wed, 5 Jun 2024 09:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717581496; cv=none; b=AMZEB44gBYUHiv3mSkxuYa4fReF/InAlkkWntAQeyK23UKYcMQodyV7cvpFEOJdmwJr4px60Vd1d9LtWhHIA58LqjDOIbihrdi9fjBf5a5HmjpUfejIZHQ4kQGS90sO7kaXV2Ldl3/21tE+iBQeBy2TLIFu+einWqSQYTgQ0I4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717581496; c=relaxed/simple; bh=hDA71fRwtUYEBuYxCMd/F/n8HA3nU7ezWt1QeUFZ3Ec=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=SL+hwST6bTveenO4LGEvCGdQ+i3bxKZmy/B0nuC3fc7ii9gxm+alMynE2qTqNcammVh9ddkdolSVG6K6CK0T6Wftgd7bINQ8qu4LJaAl7AD27h51b77RkZDNHzF7fpNoARu/NrJng+sueRaNuf6Id8jaLNBOXAVDHfL+1apkuGs= 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=uHEzxeB+; arc=none smtp.client-ip=209.85.219.182 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-yb1-f182.google.com with SMTP id 3f1490d57ef6-dfa59c35e44so2126788276.3 for ; Wed, 05 Jun 2024 02:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717581493; x=1718186293; 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=BaOO1MZ5brJXt2IuBE79MJkWfpJ44KhCLFOE62rdqkI=; b=uHEzxeB+YaaHMrf7crpk9SxBfCJ6MsmoFqEY49wnjbe+Tpp2Pv+fzIQt2mlKF5WJWg 0SZgm35+vzZmJmRVkfHu1CDUqUzgLnyOtApr6ebAxGwZUEJGBdaVemla3Ew6+hnORTwu waUb80yGK0pSx4ijx2CI6cCmDoZsa2+0HHUHi/QPIrqgG/sLBlbvD76qX3myZagPl5qs Mz/Nii+XmPERh6lsBkjRm/chGpLz887W1XpdTjVdAx05EpE6uvy3oSC9WxAF++kX2LC1 PB5WDH27zG+9d+O5u3rIzu/j187yJqtjJpt1AwKpyMf8SfzuLxbzxFojPUp+b/y82FJH Lrdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717581493; x=1718186293; 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=BaOO1MZ5brJXt2IuBE79MJkWfpJ44KhCLFOE62rdqkI=; b=i98wC9yK3NiO+90DTGWNhbbcxLH4HIFgB3e5lR0vTV66I60hdyMgI6zoxdYP5+LnU0 UX05v5i+BlNLgtSFEr5svu4xmm9D8DDGxJUZFhsWIsbZLWRua1fpeKkaiJXKQBzGPsYz LofstnUNQM/m0kUlydUX44vs+7an7AwmS/XWZBjUkZnl4U7FDfuGBjR2pTwsDUbOtm4s GxjxtcoDA5unvcL/llUDVsXvcotxHHPZ9uFadJdd+Z9Swc/6zj1EnppspLwUQSbRxLZd mkkdrIRmVk+kbHyX8/P6dPN8Jj1WHyfT7xTkBw3zqTC9znXWD1QB70hkPTJSSn39ZSe8 psWg== X-Forwarded-Encrypted: i=1; AJvYcCVSGOkcI7gYLfnc4pmX1/mvggycYNug4h0B+YOLkB6Q0E1UnKsqVWcYWCy67v+74FLmJg03Av1xGF+/MzhLu5otrBC1wBIEFL48F06A X-Gm-Message-State: AOJu0Yz9FizE1ioWh4TNA9yiS5nSzyXLfJCBGnGj1Q6x4QTuSILay3/1 pi0t5Yct7vv7ksUvMLyAluaykrlH9ypI9xrtngElOPvgU5FjUMfdUXR7t8Ycb6X3MrJZaN60edD UyVsllW1EUsti7+cvh6l28i5aHAb9vBDvxEnI4w== X-Received: by 2002:a25:c544:0:b0:df7:955f:9b99 with SMTP id 3f1490d57ef6-dfacaced9aamr1925384276.47.1717581493556; Wed, 05 Jun 2024 02:58:13 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240514131833.911703-1-peng.fan@oss.nxp.com> In-Reply-To: <20240514131833.911703-1-peng.fan@oss.nxp.com> From: Ulf Hansson Date: Wed, 5 Jun 2024 11:57:37 +0200 Message-ID: Subject: Re: [PATCH] pmdomain: arm: scmi_pm_domain: set flag GENPD_FLAG_ACTIVE_WAKEUP To: "Peng Fan (OSS)" Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Peng Fan Content-Type: text/plain; charset="UTF-8" On Tue, 14 May 2024 at 15:10, Peng Fan (OSS) wrote: > > From: Peng Fan > > Set flag GENPD_FLAG_ACTIVE_WAKEUP to scmi genpd, then when a device > is set as wakeup source using device_set_wakeup_enable, the power > domain could be kept on to make sure the device could wakeup the system. > > Signed-off-by: Peng Fan Applied for next, thanks! Kind regards Uffe > --- > drivers/pmdomain/arm/scmi_pm_domain.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pmdomain/arm/scmi_pm_domain.c b/drivers/pmdomain/arm/scmi_pm_domain.c > index 0e05a79de82d..a7784a8bb5db 100644 > --- a/drivers/pmdomain/arm/scmi_pm_domain.c > +++ b/drivers/pmdomain/arm/scmi_pm_domain.c > @@ -102,6 +102,7 @@ static int scmi_pm_domain_probe(struct scmi_device *sdev) > scmi_pd->genpd.name = scmi_pd->name; > scmi_pd->genpd.power_off = scmi_pd_power_off; > scmi_pd->genpd.power_on = scmi_pd_power_on; > + scmi_pd->genpd.flags = GENPD_FLAG_ACTIVE_WAKEUP; > > pm_genpd_init(&scmi_pd->genpd, NULL, > state == SCMI_POWER_STATE_GENERIC_OFF); > -- > 2.37.1 >