Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1902709lqa; Tue, 30 Apr 2024 02:44:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVolP+HJLnozroDyd7O9pbv2byTeTf2BsxAvMtfhXOJcIxKB5ynrhcxjIoQDpXvpS4geNRPanoCxK1JCL/fcfPL9J5vuQrmWQazalDIZA== X-Google-Smtp-Source: AGHT+IFm8d7NQgf3P2BdNpAPJ3fDShw+OOmn3m8oAWxTokGL4Ao4d//VmspFEpXYuNG6NjoZuews X-Received: by 2002:a05:6870:cb97:b0:239:7008:b751 with SMTP id ov23-20020a056870cb9700b002397008b751mr12619075oab.34.1714470275152; Tue, 30 Apr 2024 02:44:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714470275; cv=pass; d=google.com; s=arc-20160816; b=gYHQcI2+CuGVJyBwr1RSM1f/xE69b0IryYqSADhOUgGu7SwgJ12fpy/K9BZ2CkLrIg HpI0etC1O9sap28WZgga18QNnKd1QOfEKLsDTNnOd3evv9AFBFE7J8FnJVyNg1aZrcMz Ig9CkX3yWjlUdr5uo3txIjVh29QFtz7u9wLerCTAg/aaCO0h/Fs13traRRPPy+795UXA tYmU7k4v0lX6JQ4+PU/9mk+k7QiLpfU/x2XqslITwiTVSOLNCvoZ+ZXYyEnSe0OCRWbY G1FMe3j+Y7b79Rju54boGre2AO3K7AO+27vB4a0Sa2c9cqpDFZuvudQv2d7drw2ZuoQf GP1g== 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:dkim-signature:dkim-signature:date; bh=bOowKsb3vb6yvE+cHvGM8w7R27xqlmhDeNm22h9uWUE=; fh=6136l9pc8QWeOCYltW+nuZd3EfE1egsNpcVlV3cnj04=; b=krbLsqRaPAVHETLHf3Z5a56MV0+z1KJI2X1ps+zJPd6VZxZ/9xovO7gQtIVakRxG2L Iz/3HBzUB1JPUAADJ2YWD5dvg1hezg7f4g0UPg4mlrZkmKBnkG8ko/gdEibdXQbtwUjz ss3aUX1W0wyP1k1mrhArYhwRAmXW9NH61dj879rlFUEaNUnDV8+YeLyd6FaUGSDQ6I95 3rNt70m7Bzj2F561xMZOy1DPQOm4CLW21hKdqzMkcjx91iBSe40UTT97awKMQGHZMecd JVBgWBrboL048uUNiod6fnSZ5Qc2tbllaYNVxuKacwzs41RMGgYBunJxTUmODQkCoTcF A4CQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hxQbr2tY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-163718-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fj9-20020a056a003a0900b006e6b34c3209si21799881pfb.350.2024.04.30.02.44.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163718-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=@linutronix.de header.s=2020 header.b=hxQbr2tY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-163718-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 891D22839DE for ; Tue, 30 Apr 2024 09:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 524EA1292E1; Tue, 30 Apr 2024 09:44:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hxQbr2tY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5DsTfBnc" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 2B2D9FC02; Tue, 30 Apr 2024 09:44:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470262; cv=none; b=aBwNRPZlSN6YxrqVDc+y43BUx9DqkvG5N5517MlngR2UYgkXxK4SI0jmA9IhwKS7r3sZBmMDQun8S5Bvhs2KUAtJmJuLg6Fv2dNQ8UpqXAP3vD6/Wz4AkhVUxfQCmy/pfv/YS/1Oq6qilTxt3aa3pdBGzjHESs2X68VgkqKeyxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714470262; c=relaxed/simple; bh=aIsQXx2cN/50Udekd5YIExQDXbNkiZsE9WboBbCOMQk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TW6upqxv/4G83X7LN83q2ZNHIIaNcpfx6cQT/7SLRmWWeprGzCtrPaDZGZtsvwCTcir1eDf6Bn5nqvFDYhacOvZQqjOry1knoUVE/8Rsl5/sHWEW21rX6IDxbYYA+YQbue2gyTExpOZxgASThqkJBCtq4ZX7xEkqk1yU1JZFyXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hxQbr2tY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5DsTfBnc; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 30 Apr 2024 11:44:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1714470253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bOowKsb3vb6yvE+cHvGM8w7R27xqlmhDeNm22h9uWUE=; b=hxQbr2tYYR6Ee1lJAT7He76rz7uXN6fITztCydq5R0y+2aXyzx8y+6Vo8XqV6nS88lNBRf O8dHd4EW32yeLXJN8c7IKdifsAlO/z0QgYuVXt10ewaEHZegcW665jqMZzWSDTOEsV6fnJ D2v2sjGmwSHsyH+eMnHr9ER3CAys89T2NuTcRDKFHdgCWlieih6ADW0382t8MACk0ufyas PELieLLS62LEZEJy8FVU96XIkb1Jr0GMDe5hw0BihhHKlh8k15qs0GHB/rJ+BUTg3SkykZ deJDPLJbOmfwjOUasL+gCCspLGCL0L92T2ePcmO29MlTjMtEryv846jW3oGUaw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1714470253; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bOowKsb3vb6yvE+cHvGM8w7R27xqlmhDeNm22h9uWUE=; b=5DsTfBnc0PChyayOH2+kxEBXSDG2J4T+waLj2XZspU23YotrwFbDfRM+u0cPo8IfqEAVz0 5oX+BJ6diAdjfrAw== From: Sebastian Andrzej Siewior To: Ulf Hansson Cc: "Rafael J . Wysocki" , Sudeep Holla , linux-pm@vger.kernel.org, Lorenzo Pieralisi , Nikunj Kela , Prasad Sodagudi , Maulik Shah , Daniel Lezcano , Krzysztof Kozlowski , linux-rt-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] pmdomain/cpuidle-psci: Support s2idle/s2ram on PREEMPT_RT Message-ID: <20240430094411.HyS2Gecw@linutronix.de> References: <20240429140531.210576-1-ulf.hansson@linaro.org> 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=utf-8 Content-Disposition: inline In-Reply-To: <20240429140531.210576-1-ulf.hansson@linaro.org> On 2024-04-29 16:05:25 [+0200], Ulf Hansson wrote: > The hierarchical PM domain topology and the corresponding domain-idle-states > are currently disabled on a PREEMPT_RT based configuration. The main reason is > because spinlocks are turned into sleepable locks on PREEMPT_RT, which means > genpd and runtime PM can't be use in the atomic idle-path when > selecting/entering an idle-state. > > For s2idle/s2ram this is an unnecessary limitation that this series intends to > address. Note that, the support for cpuhotplug is left to future improvements. > More information about this are available in the commit messages. > > I have tested this on a Dragonboard 410c. Have you tested this with PREEMPT_RT enabled and if so, which kernel? > Kind regards > Ulf Hansson Sebastian