All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	Kevin Hilman <khilman@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	Mark Brown <broonie@kernel.org>,
	Vinod Koul <vinod.koul@intel.com>,
	Sanyog Kale <sanyog.r.kale@intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	Wolfram Sang <wsa@the-dreams.de>,
	Russell King <linux@armlinux.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach()
Date: Thu, 3 May 2018 10:31:06 +0200	[thread overview]
Message-ID: <CAJZ5v0gze0Purjaq0U3gqcCBfjW3pHBUMY8LdaYuY9ZfP2xTVQ@mail.gmail.com> (raw)
In-Reply-To: <CAPDyKFrUmNyMQ9Aqgwg-Ncf08fYgAqaY_MckvxqsrUq7mr-LQg@mail.gmail.com>

On Wed, May 2, 2018 at 2:31 PM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
> On 26 April 2018 at 10:52, Ulf Hansson <ulf.hansson@linaro.org> wrote:
>> While I was on working adding support for multiple PM domains to genpd, I
>> stumbled over several problems in the error path related to
>> dev_pm_domain_attach(). Hence, I decided to fix these problems first, which is
>> what this series intends to address.
>>
>> There first patch is material for stable, as it fixes a real bug in genpd,
>> while the rest may be considered as improvement of the error paths when devices
>> fails to be attached to their PM domains.
>>
>> I am seeking acks from subsystem maintainers and suggest with funnel the hole
>> series through Rafael's linux-pm tree, unless there are objections to that of
>> course.
>>
>> Ulf Hansson (11):
>>   PM / Domains: Fix error path during attach in genpd
>>   PM / Domains: Drop comment in genpd about legacy Samsung DT binding
>>   PM / Domains: Drop redundant code in genpd while attaching devices
>>   PM / Domains: Check for existing PM domain in dev_pm_domain_attach()
>>   PM / Domains: Allow a better error handling of dev_pm_domain_attach()
>>   amba: Respect all error codes from dev_pm_domain_attach()
>>   driver core: Respect all error codes from dev_pm_domain_attach()
>>   i2c: Respect all error codes from dev_pm_domain_attach()
>>   mmc: sdio: Respect all error codes from dev_pm_domain_attach()
>>   soundwire: Respect all error codes from dev_pm_domain_attach()
>>   spi: Respect all error codes from dev_pm_domain_attach()
>>
>>  drivers/acpi/device_pm.c     |  9 +++------
>>  drivers/amba/bus.c           |  4 ++--
>>  drivers/base/platform.c      | 17 ++++++++---------
>>  drivers/base/power/common.c  | 10 +++++++---
>>  drivers/base/power/domain.c  | 45 +++++++++++++++-----------------------------
>>  drivers/i2c/i2c-core-base.c  |  2 +-
>>  drivers/mmc/core/sdio_bus.c  |  2 +-
>>  drivers/soundwire/bus_type.c | 15 +++++++--------
>>  drivers/spi/spi.c            | 11 ++++++-----
>>  include/linux/acpi.h         |  2 +-
>>  include/linux/pm_domain.h    |  2 +-
>>  11 files changed, 52 insertions(+), 67 deletions(-)
>
> Rafael,
>
> I understand if you are busy so this is not a ping. :-)
>
> However, perhaps I can simplify by sending you a PR with these!?

Yes, please.

I'm going to have a look at the patches anyway, but I'm not expecting
to see anything objectionable in them honestly. :-)

WARNING: multiple messages have this Message-ID (diff)
From: rafael@kernel.org (Rafael J. Wysocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach()
Date: Thu, 3 May 2018 10:31:06 +0200	[thread overview]
Message-ID: <CAJZ5v0gze0Purjaq0U3gqcCBfjW3pHBUMY8LdaYuY9ZfP2xTVQ@mail.gmail.com> (raw)
In-Reply-To: <CAPDyKFrUmNyMQ9Aqgwg-Ncf08fYgAqaY_MckvxqsrUq7mr-LQg@mail.gmail.com>

On Wed, May 2, 2018 at 2:31 PM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
> On 26 April 2018 at 10:52, Ulf Hansson <ulf.hansson@linaro.org> wrote:
>> While I was on working adding support for multiple PM domains to genpd, I
>> stumbled over several problems in the error path related to
>> dev_pm_domain_attach(). Hence, I decided to fix these problems first, which is
>> what this series intends to address.
>>
>> There first patch is material for stable, as it fixes a real bug in genpd,
>> while the rest may be considered as improvement of the error paths when devices
>> fails to be attached to their PM domains.
>>
>> I am seeking acks from subsystem maintainers and suggest with funnel the hole
>> series through Rafael's linux-pm tree, unless there are objections to that of
>> course.
>>
>> Ulf Hansson (11):
>>   PM / Domains: Fix error path during attach in genpd
>>   PM / Domains: Drop comment in genpd about legacy Samsung DT binding
>>   PM / Domains: Drop redundant code in genpd while attaching devices
>>   PM / Domains: Check for existing PM domain in dev_pm_domain_attach()
>>   PM / Domains: Allow a better error handling of dev_pm_domain_attach()
>>   amba: Respect all error codes from dev_pm_domain_attach()
>>   driver core: Respect all error codes from dev_pm_domain_attach()
>>   i2c: Respect all error codes from dev_pm_domain_attach()
>>   mmc: sdio: Respect all error codes from dev_pm_domain_attach()
>>   soundwire: Respect all error codes from dev_pm_domain_attach()
>>   spi: Respect all error codes from dev_pm_domain_attach()
>>
>>  drivers/acpi/device_pm.c     |  9 +++------
>>  drivers/amba/bus.c           |  4 ++--
>>  drivers/base/platform.c      | 17 ++++++++---------
>>  drivers/base/power/common.c  | 10 +++++++---
>>  drivers/base/power/domain.c  | 45 +++++++++++++++-----------------------------
>>  drivers/i2c/i2c-core-base.c  |  2 +-
>>  drivers/mmc/core/sdio_bus.c  |  2 +-
>>  drivers/soundwire/bus_type.c | 15 +++++++--------
>>  drivers/spi/spi.c            | 11 ++++++-----
>>  include/linux/acpi.h         |  2 +-
>>  include/linux/pm_domain.h    |  2 +-
>>  11 files changed, 52 insertions(+), 67 deletions(-)
>
> Rafael,
>
> I understand if you are busy so this is not a ping. :-)
>
> However, perhaps I can simplify by sending you a PR with these!?

Yes, please.

I'm going to have a look at the patches anyway, but I'm not expecting
to see anything objectionable in them honestly. :-)

  reply	other threads:[~2018-05-03  8:31 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26  8:52 [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach() Ulf Hansson
2018-04-26  8:52 ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 01/11] PM / Domains: Fix error path during attach in genpd Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 02/11] PM / Domains: Drop comment in genpd about legacy Samsung DT binding Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 03/11] PM / Domains: Drop redundant code in genpd while attaching devices Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 04/11] PM / Domains: Check for existing PM domain in dev_pm_domain_attach() Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 05/11] PM / Domains: Allow a better error handling of dev_pm_domain_attach() Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 06/11] amba: Respect all error codes from dev_pm_domain_attach() Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 07/11] driver core: " Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-29 13:35   ` Greg Kroah-Hartman
2018-04-29 13:35     ` Greg Kroah-Hartman
2018-05-14 15:19   ` Tony Lindgren
2018-05-14 15:19     ` Tony Lindgren
2018-05-14 18:57     ` Ulf Hansson
2018-05-14 18:57       ` Ulf Hansson
2018-05-15  0:54       ` Tony Lindgren
2018-05-15  0:54         ` Tony Lindgren
2018-04-26  8:53 ` [PATCH 08/11] i2c: " Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  9:03   ` Wolfram Sang
2018-04-26  9:03     ` Wolfram Sang
2018-04-26  8:53 ` [PATCH 09/11] mmc: sdio: " Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  8:53 ` [PATCH 10/11] soundwire: " Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26  9:26   ` Vinod Koul
2018-04-26  9:26     ` Vinod Koul
2018-04-26  8:53 ` [PATCH 11/11] spi: " Ulf Hansson
2018-04-26  8:53   ` Ulf Hansson
2018-04-26 11:39   ` Mark Brown
2018-04-26 11:39     ` Mark Brown
2018-05-02 12:31 ` [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach() Ulf Hansson
2018-05-02 12:31   ` Ulf Hansson
2018-05-03  8:31   ` Rafael J. Wysocki [this message]
2018-05-03  8:31     ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJZ5v0gze0Purjaq0U3gqcCBfjW3pHBUMY8LdaYuY9ZfP2xTVQ@mail.gmail.com \
    --to=rafael@kernel.org \
    --cc=broonie@kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=gregkh@linuxfoundation.org \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=rjw@rjwysocki.net \
    --cc=sanyog.r.kale@intel.com \
    --cc=ulf.hansson@linaro.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vinod.koul@intel.com \
    --cc=viresh.kumar@linaro.org \
    --cc=wsa@the-dreams.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.