Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp970799lqj; Mon, 3 Jun 2024 06:39:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgZ7jZ/xWL8jk9IC4QrYQU2WIg6GA7pePvpmh1UeoAY9tS9GPQimieqG1RWymJeE+Vy8eWfICTbxU2w62LKBEgx9mPNV5Q9Ve1s7sHsA== X-Google-Smtp-Source: AGHT+IGYUbcTf6m4fSlyXpTbSP4csrrl7vSuvWNFrqPvvijC+d+SsYx9OsH9CnfH/RxCXuTw+vSF X-Received: by 2002:a05:6a00:2da4:b0:6ec:da6c:fc2d with SMTP id d2e1a72fcca58-7024789b2d0mr10314296b3a.23.1717421985937; Mon, 03 Jun 2024 06:39:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717421985; cv=pass; d=google.com; s=arc-20160816; b=LaBOOSuz6xmZZ4qQNM2a0YjcD+sWMsZe7v1mtvHnHOKVT6IuFdLW32mUXBu93YFf34 huefdXKIYhG31Q08ehpAU+vTyMcgafZxu/5yNFkSPtIQnPYEQE+cYpEz/oVEYV3awKCb YeEH1QTGIU3WuEEysgP3dfuqOnVT7FaW9SWOVwkDITbBmxy8ncVWEH1D6d+r3rkoax+A SsX6tbtnYkaEA6xt/oxW7FujqvNkGRNbQlHMMy+u/4fFiKzrpjv3d18QMiiHc70PdGYb xb7B4JZSUjpy1DCOqMiZXFdhP5VNP77xadGn2U3YP7raPF04pjjJD8okbVcHSLStmfTK eZug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=4YroT21gJnLZenzG3TScNYnn7yMAq8yFIJmSMtaH100=; fh=iSZ01qxT7qaUdyfnYDfFD1UxlCsRouLjSgIDO7g/xQE=; b=Jh3hOyeI0YHGrX9a1CVuPhWx/jhyntQP8Gsk52TposC+jBac11i1Qe/jcv1Qcobenr f0zmoJOF8BjqQIXCd30N8lyuiDZW+1YesmZN7jhIvdh6NmYfuPIAIb8/q5Jd339Ms/rk 3iHivhotmvHc7EUtnbMHYdW23OC4CPb7ML3SnnwWtHFa9HUNrMEewDZHYT/JnEiUiD7P fSBAOtzYEdmOsGF5XPv/rxl22eMp4QmAgsfpQ8PZJGAkaGRcbRrhO9gkPAKmHXXqVXNo WRlBYG2bgELVdqxOnGdkco8rLdFr2c5Pmryx/2hJzZobqwZh+wGGGKN+wrwasw9YJRey dWuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-199202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-7027c629a26si183353b3a.158.2024.06.03.06.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 06:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-199202-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199202-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 A2C9EB24F75 for ; Mon, 3 Jun 2024 13:19:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5909212D209; Mon, 3 Jun 2024 13:19:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DFF059B4A; Mon, 3 Jun 2024 13:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717420762; cv=none; b=RoLI54MSgfBWr6K2kqpD46+VRUFGlci2TAOnroG8iLgorVR8gV2QmVbEJDCZvF7a5LTdehB9O1ibGuVC6K0awYdA6HvoHzbIyGHPNDvBqOTwp+NmGWdQIoMcC0yrCNW1thbYrBtZ8oe+IbnBI6j7Dbn6wYi1ipH3Ik3pKXgmKJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717420762; c=relaxed/simple; bh=4YroT21gJnLZenzG3TScNYnn7yMAq8yFIJmSMtaH100=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nVLhe5C1RTKIMKx5e6mZgvNM6ZLzmFta6JU2OOsC4N6OQ0e/T3stk5PzR8/T7wevTw/2dbCFstRgn+RXpBN1cirX4KDQnxdoIOp8ZgQ0/acNIgQCtAIU2ZSGOAKnezlzUV/YrjcTSIENKqzm75ae9GSmTlBsUXKd5OAtNIW0oEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 444521063; Mon, 3 Jun 2024 06:19:44 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CA52A3F64C; Mon, 3 Jun 2024 06:19:18 -0700 (PDT) Date: Mon, 3 Jun 2024 14:19:16 +0100 From: Sudeep Holla To: "Peng Fan (OSS)" Cc: cristian.marussi@arm.com, ulf.hansson@linaro.org, Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Peng Fan Subject: Re: [PATCH] pmdomain: arm: scmi_pm_domain: set flag GENPD_FLAG_ACTIVE_WAKEUP Message-ID: References: <20240514131833.911703-1-peng.fan@oss.nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240514131833.911703-1-peng.fan@oss.nxp.com> On Tue, May 14, 2024 at 09:18:33PM +0800, 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. > I am fine with the change, wonder if it can be made conditional but I can't think of a sane way to do so. If Ulf thinks it is harmless to keep it unconditional on all the domains, then I am fine with that. I assume Ulf can pick this up directly, Acked-by: Sudeep Holla -- Regards, Sudeep