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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D451C433F5 for ; Thu, 19 May 2022 18:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244052AbiESShk (ORCPT ); Thu, 19 May 2022 14:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232411AbiESShe (ORCPT ); Thu, 19 May 2022 14:37:34 -0400 Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E825FF137A; Thu, 19 May 2022 11:37:32 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-2ff155c239bso66078717b3.2; Thu, 19 May 2022 11:37:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yS1kEN+GXXpbhqkK6UqZTr2vL0SVZ2tag5VCxMz5nz0=; b=jmrIfPusZI5fyymMsLl4c3Iq9DmivzrHUNu/I44fgo+jvKx/OWw3eeWc0T1+qJsud1 ShqudmELo0J8Efaj06AEY2YokyN8vyIu1lLFknZH6czkZ9h2lDe5iqVC3x1qGkLZEjWl 8LaLrAJPYybJDRuxMDUPB4Wi+UMXh69osi4KnRTVvm+2u5qNxWpi6rr0/L54URYq1ulE 3I0HptHzxn5KPXnl9QNM11SEPZUu/ttooBkDP5YbeQZU7Ff06xbvlZvRHJSJwVE6jPvu eiQ1vorRNWbUK7BDgVSEl4TeFQVWORBh0OEwJU2I55cBia+kzK1Zo5UStCMGqPIPwbOV XGQQ== X-Gm-Message-State: AOAM531JVbuxTJOpuV0lOPcC/tOXQRl1PoGfFlk4AkhcgCWUMj40ka9k Y0HKv1xqEe71id7IrgTOy6LyvoOfAjOs3o1cvAs= X-Google-Smtp-Source: ABdhPJxWx4suARB6p5108TodMZoK6QfRDz1CDtEyftKwKTyQe+rLtQu08lC+lkjXIM1zM+NGYEffev9rMGnJpUozft8= X-Received: by 2002:a81:91d4:0:b0:2fe:e300:3581 with SMTP id i203-20020a8191d4000000b002fee3003581mr6273739ywg.7.1652985452189; Thu, 19 May 2022 11:37:32 -0700 (PDT) MIME-Version: 1.0 References: <20220511145704.698189-1-ulf.hansson@linaro.org> In-Reply-To: <20220511145704.698189-1-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Thu, 19 May 2022 20:37:21 +0200 Message-ID: Subject: Re: [PATCH 00/14] PM: domains: Various improvements for genpd To: Ulf Hansson Cc: "Rafael J . Wysocki" , Linux PM , "Rafael J . Wysocki" , Geert Uytterhoeven , Maulik Shah , Gabriel Fernandez , Alexandre Torgue , Dmitry Osipenko , Kevin Hilman , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 11, 2022 at 4:57 PM Ulf Hansson wrote: > > The main goal with this series is to improve the way genpd deals with its > governor(s). Especially it turns allocation of governor related data to be > dynamically allocated. It also improves the execution path for runtime- > suspend/resume of devices (attached to a genpd of course) and the similar is > also done for genpd's power-on/off path. > > Note that, patch 1->3 have already been sent before in a separate series [1], > but for simplicity I have included them here again. > > Tests/reviews are as usual highly appreciated! > > Kind regards > Ulf Hansson > > [1] > https://www.spinics.net/lists/kernel/msg4335838.html > > Ulf Hansson (14): > PM: domains: Add GENPD_FLAG_RPM_ALWAYS_ON for the always-on governor > PM: domains: Drop redundant code for genpd always-on governor > PM: domains: Don't check PM_QOS_FLAG_NO_POWER_OFF in genpd > PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd > PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain() > PM: domains: Allocate gpd_timing_data dynamically based on governor > PM: domains: Move the next_wakeup variable into the struct > gpd_timing_data > PM: domains: Measure suspend/resume latencies in genpd based on > governor > PM: domains: Fixup QoS latency measurements for IRQ safe devices in > genpd > PM: domains: Fix initialization of genpd's next_wakeup > PM: domains: Clean up some code in pm_genpd_init() and genpd_remove() > PM: domains: Allocate governor data dynamically based on a genpd > governor > PM: domains: Measure power-on/off latencies in genpd based on a > governor > PM: domains: Trust domain-idle-states from DT to be correct by genpd > > drivers/base/power/domain.c | 201 +++++++++++++++++---------- > drivers/base/power/domain_governor.c | 65 +++++---- > include/linux/pm_domain.h | 18 ++- > 3 files changed, 173 insertions(+), 111 deletions(-) > > -- All of the changes made by this series make sense to me, so I've queued it for 5.19. 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98710C433EF for ; Thu, 19 May 2022 18:39:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc: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=TzBcE/y9ceopfCSu5jk4/W70Oe64jaO9Y+rzMD1Ggqk=; b=V9DIXWBEDPyOqr VKguv1+Pp2Q8YAfJEo9iXQHCiK269UdasL8l+XBXQ/YsC4bxUR1j6B3ohwgK4zxGBUaqHQa2xILBp bG1mFNyR2J0iw/vJ0YNhq6HXwRaJ6kegIzxrNlOS0cQZVfgRyKlCkqyb5DOQNaYt7vG+JZGutIP9X uk13dS/xIqK8PnxriD1ZL5PaOUbqf9YN/6Sjry+ZsDNOUWXhFdxDZhWjdJ4GPv/YLhPQGObZqpU1F 7qrS+ohvb6DfaF/brO3hFMJj5T4R3wX2BBMngW55Dr95myCONsG7yLoBPwZrbAOhN+YBSAExS+h4f O3PVFPNgxxXrxAmTJDxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrl1n-008vB3-QF; Thu, 19 May 2022 18:37:39 +0000 Received: from mail-yw1-f170.google.com ([209.85.128.170]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrl1j-008v7t-U2 for linux-arm-kernel@lists.infradead.org; Thu, 19 May 2022 18:37:37 +0000 Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-2ff39b44b06so65400507b3.13 for ; Thu, 19 May 2022 11:37:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yS1kEN+GXXpbhqkK6UqZTr2vL0SVZ2tag5VCxMz5nz0=; b=ZOL5pbDiwYddbuKB64lJWU8J2agU2xffcsj78Gd8yxKoMQ1ojukXMK1jSE22qiRrYf 29pAJykOYW7683PfexlaQeOB+x55O0geUUMq/HUqafHGgsjbLOjxJ5kvL5FXvfDghp4C xmplzBLAstBU7qHdgycV7RAEdssZgeNaHW25tCT7FRaGQI1p76/8zflQF2s18VE+FyXr RnynWTJfXFNfE9LPpWmlUOT8XmdqjOQZmfXwwhG4VTXrgriNJkzJJFoQyfnfm52Gaphz iw3cYZMPWXVggiRknTsy0djH6qqkJM+7psaryScr51gp6eBPGlqydNM6dk3ARTAwYmYp Gl2w== X-Gm-Message-State: AOAM533mkT5UWu7FeNeEtR/VwA9n6z94ITwP9aQmvKMG1N8ZW/X9Bmuu kM0HwHFbG5wIScyZWxvEWS/Qy4mE8ZeAV5Q7YhQ= X-Google-Smtp-Source: ABdhPJxWx4suARB6p5108TodMZoK6QfRDz1CDtEyftKwKTyQe+rLtQu08lC+lkjXIM1zM+NGYEffev9rMGnJpUozft8= X-Received: by 2002:a81:91d4:0:b0:2fe:e300:3581 with SMTP id i203-20020a8191d4000000b002fee3003581mr6273739ywg.7.1652985452189; Thu, 19 May 2022 11:37:32 -0700 (PDT) MIME-Version: 1.0 References: <20220511145704.698189-1-ulf.hansson@linaro.org> In-Reply-To: <20220511145704.698189-1-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Thu, 19 May 2022 20:37:21 +0200 Message-ID: Subject: Re: [PATCH 00/14] PM: domains: Various improvements for genpd To: Ulf Hansson Cc: "Rafael J . Wysocki" , Linux PM , "Rafael J . Wysocki" , Geert Uytterhoeven , Maulik Shah , Gabriel Fernandez , Alexandre Torgue , Dmitry Osipenko , Kevin Hilman , Linux ARM , Linux Kernel Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220519_113736_003521_9CA4F777 X-CRM114-Status: GOOD ( 20.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Wed, May 11, 2022 at 4:57 PM Ulf Hansson wrote: > > The main goal with this series is to improve the way genpd deals with its > governor(s). Especially it turns allocation of governor related data to be > dynamically allocated. It also improves the execution path for runtime- > suspend/resume of devices (attached to a genpd of course) and the similar is > also done for genpd's power-on/off path. > > Note that, patch 1->3 have already been sent before in a separate series [1], > but for simplicity I have included them here again. > > Tests/reviews are as usual highly appreciated! > > Kind regards > Ulf Hansson > > [1] > https://www.spinics.net/lists/kernel/msg4335838.html > > Ulf Hansson (14): > PM: domains: Add GENPD_FLAG_RPM_ALWAYS_ON for the always-on governor > PM: domains: Drop redundant code for genpd always-on governor > PM: domains: Don't check PM_QOS_FLAG_NO_POWER_OFF in genpd > PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd > PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain() > PM: domains: Allocate gpd_timing_data dynamically based on governor > PM: domains: Move the next_wakeup variable into the struct > gpd_timing_data > PM: domains: Measure suspend/resume latencies in genpd based on > governor > PM: domains: Fixup QoS latency measurements for IRQ safe devices in > genpd > PM: domains: Fix initialization of genpd's next_wakeup > PM: domains: Clean up some code in pm_genpd_init() and genpd_remove() > PM: domains: Allocate governor data dynamically based on a genpd > governor > PM: domains: Measure power-on/off latencies in genpd based on a > governor > PM: domains: Trust domain-idle-states from DT to be correct by genpd > > drivers/base/power/domain.c | 201 +++++++++++++++++---------- > drivers/base/power/domain_governor.c | 65 +++++---- > include/linux/pm_domain.h | 18 ++- > 3 files changed, 173 insertions(+), 111 deletions(-) > > -- All of the changes made by this series make sense to me, so I've queued it for 5.19. Thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel