Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752222AbdLUOX4 (ORCPT ); Thu, 21 Dec 2017 09:23:56 -0500 Received: from mail-io0-f177.google.com ([209.85.223.177]:44907 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbdLUOXx (ORCPT ); Thu, 21 Dec 2017 09:23:53 -0500 X-Google-Smtp-Source: ACJfBov4y06hXLCXRM5Yfxqoh6X7QodgvRBYk7tLMTU6Rp+NgzIZqP1vLgEDTxh+4KzYdK67tTBOSF1cR+YyDUWLnBI= MIME-Version: 1.0 In-Reply-To: References: <1513778960-10073-1-git-send-email-ulf.hansson@linaro.org> <1513778960-10073-3-git-send-email-ulf.hansson@linaro.org> From: Ulf Hansson Date: Thu, 21 Dec 2017 15:23:52 +0100 Message-ID: Subject: Re: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs To: Yoshihiro Shimoda Cc: Kishon Vijay Abraham I , "linux-kernel@vger.kernel.org" , "Rafael J . Wysocki" , "linux-pm@vger.kernel.org" , Geert Uytterhoeven , "linux-renesas-soc@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1752 Lines: 54 On 21 December 2017 at 13:24, Yoshihiro Shimoda wrote: > >> From: Ulf Hansson, Sent: Thursday, December 21, 2017 7:58 PM >> >> On 21 December 2017 at 11:33, Yoshihiro Shimoda >> wrote: >> > Hi Ulf-san, >> > >> >> -----Original Message----- >> >> From: Ulf Hansson, Sent: Wednesday, December 20, 2017 11:09 PM >> > >> >> diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h >> >> index b4298a1..050b620 100644 >> >> --- a/include/linux/phy/phy.h >> >> +++ b/include/linux/phy/phy.h >> >> @@ -17,7 +17,6 @@ >> >> #include >> >> #include >> >> #include >> >> -#include >> > >> > After I applied this patch, some ata and gpu drivers causes build error [1]. >> > So, we should fix the drivers at first... >> >> Huh, right, those drivers shouldn't be relying on the phy.h to include >> pm_runtime.h. >> >> The easiest way at this point is to just put back "#include >> " in phy.h, then we can deal with these problems >> separately. I do that in a re-spin soon. > > I got it. > >> BTW, I would be great if you could test this on the Renesas SoC to >> make sure it still fixes the problems (at least half of them I mean). > > Sure. I put back the "#include " in the phy.h and tested > the patches on my environment (r8a7795-salvator-x.dts with v4.15-rc4). And then, > the issue [1] disappeared. > [1]: > printed "Enabling runtime PM for inactive device (ee0a0200.usb-phy) with active children" > in resume timing. > > So, > > Tested-by: Yoshihiro Shimoda Great, thanks! I add your tag in the next re-vision! Kind regards Uffe