From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 5619030F95C for ; Thu, 26 Feb 2026 17:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772127785; cv=none; b=XoaIPvWSdoK4qHUlIkW+pXxYGUK1cRMwO3rv1reWQg4kDhWq0vxwof4T82ueRJgAqVfh7km61TGWxb5MnX0lVyBnjbS+iv7lUElD++S+/XGUtjKuQ5VMUaJ6gWZLbCiY2FiHcP0ysLPKnWPoXno9D+VO2FnP6pFYriBxwP/4RXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772127785; c=relaxed/simple; bh=TYhqrrbcg22Dn9bgzoDvcu6N8lq5PSptPyxhon7j960=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=sSEbmpC5/y7FcaOjpzylXU1IoRnlwGrr91+SWJKgPrS7cvDjXTGvOFyocCgACg3ExiFBn7znW68KiY6CbHgMoNuTjCXKKCoSpIUogXPgIsyCWGoVTvZeQ3DiKGlqO0ynfGb1WM8OnrYCLVlrUL3exdCIHD0Wu3PfBmRfG4ZOOQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=TKMlnirF; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="TKMlnirF" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-82735a41985so693914b3a.2 for ; Thu, 26 Feb 2026 09:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1772127783; x=1772732583; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=T/IHXXTn0vtbnJv9war7IL8u63QkAq3MWJ9m7L/min4=; b=TKMlnirFJpzc6H/kbNevaV7l7TKRLrpRYfoHMQGyS/B8GlS7ILrWxh+94YxZU/BZHY 62S4GAeI2n63VLDG0GiF8utteubT1SNU0Yw2p73bCLjyEKBzoVF59CVGYlBw5rEdJEl7 h+WEOMPraoHLbbEFFgxc46NtY0B8RebLhHsggvGA7jVok7hxr2AcNPeSx/RorVQ5onRg 0HidySpP7b/ihYU5sqH36J7ngdzhW1LNzFWnQW8gjtJ2WibsVgnhrtsdSgf3iwU50QLr wdW8BJVQxh1Mqy0CM2TFE8n4Enl3ZslvAF8BwUWQqXIxIgCnWIqnPPt2G68R62Loq1ed bx2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772127783; x=1772732583; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T/IHXXTn0vtbnJv9war7IL8u63QkAq3MWJ9m7L/min4=; b=nKf9m0M8Cj7MOckapao+l3I/ybAfAVWsN98LsBJpBqUhQ90ndZ9SGyl+2bN/P9QaXN unGHbYbTCWNbb3gxRq4uZ5nzoIzs5MePKG0Ooyc1Rnu5yG9ZV9JM2TJlh0sQTxnUW84f GZV/QGHVhqZRPWe2zasra/pelVBY8S15inniizYAQCHJZYwQzv/+50KTx9Xa8KGkLy4I J5dbCzgawr/ckht6dgdLRv+8/YpVCNZHRVodwET/mK+CrFDLuMv2jEXhtX9zlmyjmy+q KxZkPx1ONlWO3qjhDmp90MNvz9wfRIhxCRXHD6rmEHX0tug0BQlOtGz//kYLiv2gIxnU NBVQ== X-Forwarded-Encrypted: i=1; AJvYcCVfRmNf05zSy2pl+P1GJEd4F3PhtNxMUdSX42XSFuBfJSKQ+r32+papXAXgER/43quVgaLKg5buy08pIPc=@vger.kernel.org X-Gm-Message-State: AOJu0YzesEfaVLidBwSLPCyNb1dZC5haUtXPdTybyj716eEcax9ze3Ow O8XmaVPBwvBXuPAGn03NKk/qliWlO2HhwjsW7LrJNgZqvItzQskscggTNzuQSHga1CjxicBuOa4 XkbfaJyU= X-Gm-Gg: ATEYQzyNfZXhDONyDWAtwzClt7SSTk2wQ1+92ezA8QtoorD6MtKBfEEX4MbAlm8U3b9 fIAy0sZHhqyvt9fWnYTh07j+819M1hxgT4ME+F2kQBrP+1k4EvEMucfTu2zlGM3ALm7uFodC5yx nNeyt6wKKZQkLlWbWanXCRl33BjoRaxS9jTrWTUm8Vf/K5ks4KGaqv/JfgBmNqg8hOmEIHHCQhQ WYhjODVB+724PV+FK/8Llyp6w/ts1RJ5iAZlxg9Dn9d4ajNqPGP0vFBRYOvGx0neaSY3Rml9eE/ 9+7o/jABZruc+IQ7YC5O1JSw15HzPoStl/vuaHHd+Vs1Z+SrPhigrup/hcClwC2kqH6p6l0cG1B 2i1mQM7KWEZthG7VRJ9QO9T6AbxL2yG0kEOJe12BFouoHVFJqVS1LNRknfKJwJNuEDkAX8/BER9 xkx15UryQp9buRT20d/d34 X-Received: by 2002:a05:6a20:c709:b0:33f:4e3d:afed with SMTP id adf61e73a8af0-395c3b04066mr68709637.33.1772127782712; Thu, 26 Feb 2026 09:43:02 -0800 (PST) Received: from localhost ([71.212.200.220]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c70fa82cf71sm2494686a12.26.2026.02.26.09.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 09:43:01 -0800 (PST) From: Kevin Hilman To: Kendall Willis , "Rafael J. Wysocki" , Ulf Hansson , linux-pm@vger.kernel.org Cc: Dhruva Gole , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] pmdommain: add support system-wide resume latency constraints In-Reply-To: <057547c9-773e-4ba2-a754-aede29d07daa@ti.com> References: <20260205-topic-lpm-pmdomain-device-constraints-v2-0-61f7be7d35ac@baylibre.com> <20260205-topic-lpm-pmdomain-device-constraints-v2-3-61f7be7d35ac@baylibre.com> <057547c9-773e-4ba2-a754-aede29d07daa@ti.com> Date: Thu, 26 Feb 2026 09:43:01 -0800 Message-ID: <7h342nqu3e.fsf@baylibre.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 Kendall Willis writes: > Hi Kevin, > On 2/5/26 18:29, Kevin Hilman (TI) wrote: >> In addition to checking for CPU latency constraints when checking if >> OK to power down a domain, also check for QoS latency constraints in >> all devices of a domain and use that in determining the final latency >> constraint to use for the domain. >> >> Since cpu_system_power_down_ok() is used for system-wide suspend, the >> per-device constratints are only relevant if the LATENCY_SYS QoS flag >> is set. >> >> Signed-off-by: Kevin Hilman (TI) >> --- > > Were you planning to also check the CPU devices QoS latency constraints > in the cpu_system_power_down_ok function? At present, this patch does > not add that functionality so if the PM_QOS_FLAG_LATENCY_SYS is present > for a CPU device, the QoS latency is not taken into account. I did not add that functionality because the CPUs are managed by the new system-wide /dev/cpu_wakeup_latency, which is already checked. Kevin