From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C3BDC388F7 for ; Tue, 10 Nov 2020 19:45:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E619F20829 for ; Tue, 10 Nov 2020 19:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbgKJTpD (ORCPT ); Tue, 10 Nov 2020 14:45:03 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:32845 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbgKJTpD (ORCPT ); Tue, 10 Nov 2020 14:45:03 -0500 Received: by mail-oi1-f193.google.com with SMTP id k26so15800650oiw.0 for ; Tue, 10 Nov 2020 11:45:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UWfi/DqKsjZXrTt91ATdAsWK0cE9b0QipXQIBHlzIJI=; b=SqQO8RYoa04jylNYgMlxipde+1hlILxvp4QvwiHtp0HFvW2btmd/3c8M5VPkwGRuNI YS8vEA3VeXtmItRhE0XRkna1AU1nH68SAykDrBfsxFy2T8ujWXqii4ecgHZ0KTt4RaDi wM5RTRnl/n0UmSGN/xAPneGeagx20sUupKLSLUXCfAow/4hpEfKPTjJrWMMOpaZNbJvD PWbyEi086AZsoLNTYggI9ldfQCYJ4PHPNyp4yquUwegD9cXrmTH8ZyMoc7YlgFOizZgM Jc3bhVdd2ySmFJD0xAIigU44Pg+7xMhq1YCO0BgBvl3DH13FKtc8ovPcrRnXrGJ0I1db oM5A== X-Gm-Message-State: AOAM530FAgQRGpQ5RJ8LKcJo+SXf/osp7AWMCo4UlKoSjEQOI+4nRS0x iUEMNrgGMyw0jggWCw13nVxQdQrwW65p/Gw0mfLDnUHx X-Google-Smtp-Source: ABdhPJwwNtcm28nJkm+SwfvnKWltL4rPRzszRkwI0iTGCNEvwxE3zSlTPa601AF+Rpfi6w7Okp9WtMSrooXzcIMAb8E= X-Received: by 2002:aca:1c0b:: with SMTP id c11mr471054oic.71.1605037502321; Tue, 10 Nov 2020 11:45:02 -0800 (PST) MIME-Version: 1.0 References: <20201103150627.233438-1-ulf.hansson@linaro.org> In-Reply-To: <20201103150627.233438-1-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Tue, 10 Nov 2020 20:44:51 +0100 Message-ID: Subject: Re: [PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI To: Ulf Hansson Cc: "Rafael J . Wysocki" , Sudeep Holla , Lorenzo Pieralisi , Linux PM , Daniel Lezcano , Lina Iyer , Lukasz Luba , Vincent Guittot , Stephen Boyd , Bjorn Andersson , Alexandre Torgue , Linux ARM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Tue, Nov 3, 2020 at 4:07 PM Ulf Hansson wrote: > > Changes in v2: > - See changelog for each patch. > > When using PSCI OSI together with the PM domain topology, the domain idle > states becomes selected via calls to pm_runtime_put_sync_suspend(). This works > fine for the regular idle path, but not for system wide suspend-to-idle. > > This problem is because runtime PM gets disabled by the PM core, during system > wide suspend. In this small series, these issues are being fixed. > > Kind regards > Ulf Hansson > > Ulf Hansson (3): > PM: domains: Rename pm_genpd_syscore_poweroff|poweron() > PM: domains: Enable dev_pm_genpd_suspend|resume() for suspend-to-idle > cpuidle: psci: Enable suspend-to-idle for PSCI OSI mode > > drivers/base/power/domain.c | 51 ++++++++++++++++++--------- > drivers/clocksource/sh_cmt.c | 8 ++--- > drivers/clocksource/sh_mtu2.c | 4 +-- > drivers/clocksource/sh_tmu.c | 8 ++--- > drivers/cpuidle/cpuidle-psci-domain.c | 2 ++ > drivers/cpuidle/cpuidle-psci.c | 34 +++++++++++++++--- > include/linux/pm_domain.h | 8 ++--- > 7 files changed, 81 insertions(+), 34 deletions(-) > > -- Applied as 5.11 material, thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCDC2C388F7 for ; Tue, 10 Nov 2020 19:45:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2657420825 for ; Tue, 10 Nov 2020 19:45:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1BbhH+KJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2657420825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hmNCsCiirtN2wRxCxn9v7XDKPQ3jv9xavAOWlpZb6oY=; b=1BbhH+KJAS9OYAkhk8G6gctzh D0gJ6GwMOY3BUpwMNzXplIZMOWFC2rVw3JZ9J0StytSQX58HjPaub5lT5t/h0Jk1oeBUtNEk273Kw DBpy2PqzG6tro9vEY3/CnjuYney76oIXutE14iUHijoNELL0KT1x9e7bYwGIBLJSR+3YQHtol/6kB 0wx+tOWmisn0NuHmzaGmBx1qIp1QbFmO0Pc0Qthwsygp9Rxxo2fSsJGmymq1MoNayzQxC6YLbKobA VG+kMe3mhB4nayZNHoKYQMNIf85aNZ6kp8NIw3mehENjej5zAnWj+Stse7L3a3ysgM/8sUtY6crNw m2xzb3JCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcZZi-00035N-Fo; Tue, 10 Nov 2020 19:45:06 +0000 Received: from mail-oi1-f194.google.com ([209.85.167.194]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcZZf-00034d-0u for linux-arm-kernel@lists.infradead.org; Tue, 10 Nov 2020 19:45:03 +0000 Received: by mail-oi1-f194.google.com with SMTP id w145so15762802oie.9 for ; Tue, 10 Nov 2020 11:45:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UWfi/DqKsjZXrTt91ATdAsWK0cE9b0QipXQIBHlzIJI=; b=IKRfxpCAyZ+LJj11VOkyC/88pIsZ87VQZAKdkep2bmr7UCxcT9HI0o43Wt/6jnnZm2 zhzKzv0XQ6rVb2oWe6JIBLsa3iTWuVn9PrVtM3SQ0JBvsYqbR0qdCy3MxSTUu25Iky6L J3e8yNvG+tdob1vf6vLzUkBn6gdDNyjst5y8B0+8AnEnJrS6Pgzefo0egMX0PGD35ev8 G271NZO6ca8XnQCf/AW92qbFLdSd1HEgl5U38EdOfnYC07k1nRoW0zmU4evxjYbzfmzJ olSn/N6FToZ5fhtPV3pYdG4WB4JUSzZWfr6sX8PJZbf5bWJZf0afrGrjx6ukyXE8s1B0 giNQ== X-Gm-Message-State: AOAM530Iig8M1pqqgNVbISU9PDA+7SoygT+neMjauR3xdp3Y/7Afzd+0 v13JP6Gm/hejBg3kFvjBLjG2OfxGc2DaKOoKkuY= X-Google-Smtp-Source: ABdhPJwwNtcm28nJkm+SwfvnKWltL4rPRzszRkwI0iTGCNEvwxE3zSlTPa601AF+Rpfi6w7Okp9WtMSrooXzcIMAb8E= X-Received: by 2002:aca:1c0b:: with SMTP id c11mr471054oic.71.1605037502321; Tue, 10 Nov 2020 11:45:02 -0800 (PST) MIME-Version: 1.0 References: <20201103150627.233438-1-ulf.hansson@linaro.org> In-Reply-To: <20201103150627.233438-1-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Tue, 10 Nov 2020 20:44:51 +0100 Message-ID: Subject: Re: [PATCH v2 0/3] cpuidle: psci: Enable s2idle when using PSCI OSI To: Ulf Hansson X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201110_144503_099052_9C1A2105 X-CRM114-Status: GOOD ( 14.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Vincent Guittot , Alexandre Torgue , Linux PM , Stephen Boyd , Daniel Lezcano , "Rafael J . Wysocki" , Lina Iyer , Bjorn Andersson , Linux ARM , Sudeep Holla , Lukasz Luba Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 3, 2020 at 4:07 PM Ulf Hansson wrote: > > Changes in v2: > - See changelog for each patch. > > When using PSCI OSI together with the PM domain topology, the domain idle > states becomes selected via calls to pm_runtime_put_sync_suspend(). This works > fine for the regular idle path, but not for system wide suspend-to-idle. > > This problem is because runtime PM gets disabled by the PM core, during system > wide suspend. In this small series, these issues are being fixed. > > Kind regards > Ulf Hansson > > Ulf Hansson (3): > PM: domains: Rename pm_genpd_syscore_poweroff|poweron() > PM: domains: Enable dev_pm_genpd_suspend|resume() for suspend-to-idle > cpuidle: psci: Enable suspend-to-idle for PSCI OSI mode > > drivers/base/power/domain.c | 51 ++++++++++++++++++--------- > drivers/clocksource/sh_cmt.c | 8 ++--- > drivers/clocksource/sh_mtu2.c | 4 +-- > drivers/clocksource/sh_tmu.c | 8 ++--- > drivers/cpuidle/cpuidle-psci-domain.c | 2 ++ > drivers/cpuidle/cpuidle-psci.c | 34 +++++++++++++++--- > include/linux/pm_domain.h | 8 ++--- > 7 files changed, 81 insertions(+), 34 deletions(-) > > -- Applied as 5.11 material, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel