Received: by 10.192.165.148 with SMTP id m20csp1572298imm; Thu, 3 May 2018 01:31:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpqwfWFf5mWNv80KySso61ZxOW0MKSNMZ/v7E2lMtCXIHgOqD3O4rL9CPCQ7X7mZ/n+yRGM X-Received: by 10.98.8.69 with SMTP id c66mr10348968pfd.189.1525336314724; Thu, 03 May 2018 01:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525336314; cv=none; d=google.com; s=arc-20160816; b=BMJKMWGSv6nBiHrSn6soOJxQnTNdH4jRUGWyGv70r1W13jfRRn/D9KWzXBI3slUqyo W1t1KFC+G8jE/fm4gTR4BMaO4PKfMAAvd+V6S1nRWMABMWpRboKkqN3XuCBk/J7Xs2AE n7uk5kQREahmpYQFJxf6mFCq5T0e1D2U908gMVTt7V6MQZ4QMZXaoFRB+vUsRMbKtBxy 3IwvGXzr5Mk8Zj2VPqSOhOyXNgsLAq9BBruA28VIFM9u2VPwKzWTlrKSzxijmsUJzTiH JYd7UxdfjUKck1C2yLcplVijvDDa3WtE22rqm1p9viTiWwZBWqJtDelYhSl5C35+sGmJ 3cqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=v9wPHdN84nYucIcZWZbQDeGtGOcEf2edg/qY0G55IZk=; b=PMxh6WI8FpVMYGJrtWxG17lTxjHVN907Rkpj70IolWHeApElY8PNv6u3NDEXaOTPRU Qdw3wb0TSS32Bk95nk6RVD8pYKflNhz2/gU7XrphcE62q2xVqvvy/iJ6fV97/Zk2LQK3 Q0bha86N/WxV6XOdYR0vPoY5QOWksn0BtuChFK8LUtAPVaTxWwTsUZ0keRf03d53YlnT qTtw4po20qfBF6Q8XJf5QPOii9KaZ6hWweEYseG2HHO2OYTIoxTJ5zI7+0VDJgjz/fdi RI4ypqGaPKB/lUWXF0hO1nDq+rPVHJQKMB+eLW4lgLXVUvh/eJokezEvk6zZGDjraPgO rbCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=N7qru6DH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1-v6si11063017pgf.458.2018.05.03.01.31.40; Thu, 03 May 2018 01:31:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=N7qru6DH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbeECIbN (ORCPT + 99 others); Thu, 3 May 2018 04:31:13 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43985 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbeECIbH (ORCPT ); Thu, 3 May 2018 04:31:07 -0400 Received: by mail-oi0-f66.google.com with SMTP id p62-v6so15346618oie.10; Thu, 03 May 2018 01:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=v9wPHdN84nYucIcZWZbQDeGtGOcEf2edg/qY0G55IZk=; b=N7qru6DHyVWi7XHkhmFxS1dQJN3wMu8nsTJ3auIgGBTlqxF0GN3yp5kZtLSNuODqMe CCI7zlPkvOHbqquuoxvpfzfVRuOli9tQJV4y7ce7gDabHLFKRGYoiSJegWdIiFupizEd cUr0kgk2LRd11Ntc79V8o5FfUWPRL6FMb4TEpsXLgSdGrC7xXYeHAB9KvtgJrRb7nQ9P ozoF+lDZz8kGne06X+H5bqCQ3NbpbsYHfQT7Wk70HK3ezZ98utv7RGIS391Lwe0Ae9GJ kAl8+siJ7/oDBVL1Xvt8uPJcxIw6tNNPcO5q8DTKfC3Fg4tonyX0nrL5Uhgeb3WMfsPc aVkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=v9wPHdN84nYucIcZWZbQDeGtGOcEf2edg/qY0G55IZk=; b=JR0BE145/PSOG8uT3Lz2Yp4cwFLfiK3wPkhz09h2YIOa0LlnHp23Uqkrir5Yoxbkb8 +XPt+FIupZZWQEE9dBfaPTeH/J4zJ6rXumIJe1gEF8UwdunMskSaFF4iCUOgSuF6SPGH h3TZHG8MrKhVoaZ4jsyq46qiwr9s9rYBUQQoDFxEE14WMfKkQSeclU3ndsNOvTiBP98+ oERlTd8zWInL7B+RAVmgngbRl9tvcU1emMO3Q5v1NoQr4x4/tbZ/sIMqM/hWkl3rdGK4 MsyWgVeGiBam7oDdM4osUmKv8VEDXRj64pOI0n5OQVu1LQt16hMxgpkw7gpIK18derIv gSeA== X-Gm-Message-State: ALQs6tAkN7E+PGe6AB3DhDDKooddIgpydHKCjbU61jj3lgpW657lm1ob qpArnndRiIkjmUAAVawzM0eS4mEavWhaVCLrblQ= X-Received: by 2002:aca:e1c1:: with SMTP id y184-v6mr13319608oig.120.1525336266980; Thu, 03 May 2018 01:31:06 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:1468:0:0:0:0:0 with HTTP; Thu, 3 May 2018 01:31:06 -0700 (PDT) In-Reply-To: References: <1524732790-2234-1-git-send-email-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Thu, 3 May 2018 10:31:06 +0200 X-Google-Sender-Auth: 0EdrzPKR-DxuhPC7Orz44vC5qeU Message-ID: Subject: Re: [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach() To: Ulf Hansson Cc: "Rafael J . Wysocki" , Greg Kroah-Hartman , Linux PM , Kevin Hilman , Geert Uytterhoeven , Viresh Kumar , Vincent Guittot , Mark Brown , Vinod Koul , Sanyog Kale , Pierre-Louis Bossart , Wolfram Sang , Russell King , Linux Kernel Mailing List , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 2, 2018 at 2:31 PM, Ulf Hansson wrote: > On 26 April 2018 at 10:52, Ulf Hansson 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. :-)