Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp394040pxx; Thu, 29 Oct 2020 05:20:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkA5YNrKTubjAICO0oLZIn2btQLw0ZAeMxf0twKwl/EcV2XRK+iWZO1NHEwSvuS3mzLJqo X-Received: by 2002:a05:6402:17ac:: with SMTP id j12mr3580594edy.31.1603974005474; Thu, 29 Oct 2020 05:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603974005; cv=none; d=google.com; s=arc-20160816; b=ZpQTHpm4JG5bPT2xPYmCEyIixqiGk+MsEaiy+O0cSjGIJZvdIbPNRL2sM6KteHPHwD zxdX1KRSie/0lUzicQuMyGOdMi/zGibJlKhuObu/Yt6z4BqVBzTw7SepcWZZDzCwPK3J iUF6cOBAPp1znplbmQwegisL9PY1B4/5fstntmMWZoLevdOPXHrUGg3AJTP2ciXODRYB 3A0zZ0iL2CR0gt2gPaW7K5a4legRswtfirSxj+TiHgpRrrlxjrp+UA0IcwgyBM6wuTyk Lx/2COD022/ujWJ3Zwh87QsstA52+Av2LiJMinhLHJBEDnfiRugTD5u2yTSqSTs4MJRW wQHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=lBQbdt3G8djhwIN9UPXeH4gpATnVNpO2+MO95WSSawU=; b=UBFtlb6AAoQMADlfnGKdhQn+YaxzFdr+LG+Y0owY7JzODl6CLVorPF7UoNq1FXa/Tg Gn12X17gjGV7g1IYVdMmgRcw0tDqNB465WybIaF70KtoU4ywavuXH2aijqpZLV7HlOrC wCUpiseSDCsM1H99EWJaY+C3VvZHHzjEoFPBRAIQEKLotAPEzz9g9u6Cqb7nekl6Kszr 0gV9a0cEloQuSwJKdo2ZcTWn/WiZ5zjNX6LTjYErCt7n9x7PfhcRCUpbHf+nsTwT4n5k QhYs4EHEXSgYuUQA2eUi6d8W6gz1jK9YbT1O4/Tmp4ItS84oQTus4IOS+Y/NUtN5ELoi UFFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si1797191edx.204.2020.10.29.05.19.41; Thu, 29 Oct 2020 05:20:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727227AbgJ2MRf (ORCPT + 99 others); Thu, 29 Oct 2020 08:17:35 -0400 Received: from mga12.intel.com ([192.55.52.136]:11695 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727190AbgJ2MRb (ORCPT ); Thu, 29 Oct 2020 08:17:31 -0400 IronPort-SDR: GVQ3tXaGjA+VxqpTuhEOLycl8BKi9M5xf6QyIYvCnD6ub28WyFc4lGsUZa8869W+PY9TFe31G1 Ifs6/UHb/faQ== X-IronPort-AV: E=McAfee;i="6000,8403,9788"; a="147702864" X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="147702864" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 05:17:30 -0700 IronPort-SDR: StQNfa+/3huANQDpnLzvsdHElkvpBUjLebSMi51+ZEqG+vFYiyz59WdgJORzWMw5xQbJ76/kGM dkCsdeO2/RXg== X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="469114948" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 05:17:28 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kY6sw-001Ebg-Uv; Thu, 29 Oct 2020 14:18:30 +0200 Date: Thu, 29 Oct 2020 14:18:30 +0200 From: Andy Shevchenko To: Heikki Krogerus Cc: "Rafael J. Wysocki" , Felipe Balbi , Sakari Ailus , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCHv2 0/3] PM operations for software nodes Message-ID: <20201029121830.GL4077@smile.fi.intel.com> References: <20201029105941.63410-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029105941.63410-1-heikki.krogerus@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 01:59:38PM +0300, Heikki Krogerus wrote: > Hi, > > This is the second version of this series. Rafael pointed out in v1 > that I was not handling bus PM ops correctly. He also requested that I > put a comment to the code explaining things a little. > > The original v1 series: > https://lore.kernel.org/linux-acpi/20200825135951.53340-1-heikki.krogerus@linux.intel.com/ I have tested this on Intel Edison and found no regressions. Feel free to add my Tested-by: Andy Shevchenko > Heikki Krogerus (3): > software node: Power management operations for software nodes > software node: Introduce device_add_software_node() > usb: dwc3: pci: Register a software node for the dwc3 platform device > > drivers/base/power/common.c | 8 +- > drivers/base/swnode.c | 738 +++++++++++++++++++++++++++++++++++- > drivers/usb/dwc3/dwc3-pci.c | 175 +++++---- > include/linux/property.h | 13 + > 4 files changed, 835 insertions(+), 99 deletions(-) > > -- > 2.28.0 > -- With Best Regards, Andy Shevchenko