Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753501AbdLUMYS (ORCPT ); Thu, 21 Dec 2017 07:24:18 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:29659 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752400AbdLUMYO (ORCPT ); Thu, 21 Dec 2017 07:24:14 -0500 X-IronPort-AV: E=Sophos;i="5.45,435,1508770800"; d="scan'208";a="267125313" From: Yoshihiro Shimoda To: Ulf Hansson 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" Subject: RE: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs Thread-Topic: [PATCH v2 2/3] phy: core: Drop unused runtime PM APIs Thread-Index: AQHTeZwrYKRZEpp4TkO0mjsK5D3qCqNNmFeggAAJegCAABUYEA== Date: Thu, 21 Dec 2017 12:24:09 +0000 Message-ID: References: <1513778960-10073-1-git-send-email-ulf.hansson@linaro.org> <1513778960-10073-3-git-send-email-ulf.hansson@linaro.org> In-Reply-To: Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yoshihiro.shimoda.uh@renesas.com; x-originating-ip: [211.11.155.139] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;TY1PR06MB0989;20:ilw7oE0LRVfZId69o37U687muH9eFNvmOZtCSWwxhIFwICHEz/pe74urCASmSsFsxzXjgS6SDXxmHqTIEqgFMuMQwcAxD9YtDDPXctSmV89b1VUpYt4/j4pyShokwlvbiYMQFeIuuPAAcqJEyaOd1/PoBJ2g2RCvMxpT5hKMg2k= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bf7be5a5-1833-4472-be11-08d5486dbcfc x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(48565401081)(5600026)(4604075)(3008031)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153060);SRVR:TY1PR06MB0989; x-ms-traffictypediagnostic: TY1PR06MB0989: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231023)(93006095)(93001095)(6055026)(6041268)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:TY1PR06MB0989;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:TY1PR06MB0989; x-forefront-prvs: 0528942FD8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(366004)(346002)(376002)(39860400002)(396003)(24454002)(189003)(199004)(13464003)(77096006)(53936002)(6246003)(74316002)(5660300001)(575784001)(305945005)(86362001)(7736002)(2950100002)(25786009)(106356001)(105586002)(6916009)(14454004)(102836004)(3846002)(66066001)(478600001)(4326008)(33656002)(6116002)(76176011)(8676002)(3280700002)(2900100001)(54906003)(81156014)(316002)(2906002)(3660700001)(97736004)(229853002)(53546011)(99286004)(6436002)(8936002)(68736007)(81166006)(9686003)(6506007)(7696005)(55016002)(93886005);DIR:OUT;SFP:1102;SCL:1;SRVR:TY1PR06MB0989;H:TY1PR06MB0992.apcprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf7be5a5-1833-4472-be11-08d5486dbcfc X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2017 12:24:10.0077 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0989 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id vBLCONmY028512 Content-Length: 1571 Lines: 49 > 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 Best regards, Yoshihiro Shimoda