From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 2/2] device core: Add flag to autoremove device link on supplier unbind Date: Wed, 11 Jul 2018 11:46:33 +0200 Message-ID: <1982222.Z9Wz93BAKD@aspire.rjw.lan> References: <20180627125056.12851-1-vivek.gautam@codeaurora.org> <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Vivek Gautam Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Linux Kernel Mailing List , Jonathan Corbet , Robin Murphy , "open list:DOCUMENTATION" , Linux ARM , Linux PM , linux-arm-msm , Ulf Hansson , Marek Szyprowski List-Id: linux-arm-msm@vger.kernel.org On Thursday, July 5, 2018 6:28:16 AM CEST Vivek Gautam wrote: > > On 7/5/2018 4:49 AM, Rafael J. Wysocki wrote: > > On Wed, Jul 4, 2018 at 8:09 PM, Vivek Gautam > > wrote: > >> > >> On 7/4/2018 4:14 PM, Rafael J. Wysocki wrote: > >>> On Wednesday, July 4, 2018 9:16:20 AM CEST Vivek Gautam wrote: > >>>> Adding Ulf and Marek. > >>>> > >>>> On 6/27/2018 6:20 PM, Vivek Gautam wrote: > >>>>> Add a flag to autoremove the device links on supplier driver > >>>>> unbind. This obviates the need to explicitly delete the link > >>>>> in the remove path. > >>>>> We remove these links only when the supplier's link to its > >>>>> consumers has gone to DL_STATE_SUPPLIER_UNBIND state. > >>>>> > >>>>> Signed-off-by: Vivek Gautam > >>>>> Suggested-by: Lukas Wunner > >>>>> Cc: Jonathan Corbet > >>>>> Cc: Greg Kroah-Hartman > >>>>> Cc: Robin Murphy > >>>>> Cc: linux-doc@vger.kernel.org > >>>>> Cc: linux-arm-kernel@lists.infradead.org > >>>>> Cc: linux-pm@vger.kernel.org > >>>>> Cc: linux-arm-msm@vger.kernel.org > >>>>> --- > >>>> Hi Rafael, et al. > >>>> > >>>> Gentle ping. > >>>> Do you have comments on this series. I would really like to conclude > >>>> these > >>>> device link additions sooner, and get things moving on the long awaited > >>>> arm-smmu clock/runtime support series. > >>>> > >>>> Thanks again for reviewing these patches. > >>> They are fine by me. > >>> > >>> I can queue them up for 4.19 if no one has objections (Greg in > >>> particular). > >> > >> Hi Rafael, > >> > >> I will resubmit these 2 patches as part of the arm-smmu series, as one > >> of the patch in the series depends on addition of > >> DL_FLAG_AUTOREMOVE_SUPPLIER. > >> So these 2 patches and arm-smmu series should go together. > >> Can you please consider givnig your Ack? > > I would prefer to apply them myself to be honest and put them on an > > public git branch for you to pull from. > > Sure. Fine with me. I will base the smmu patches on your branch. The patches have been applied and are available for pulling in the pm-core branch of the linux-pm.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-core Thanks, Rafael From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 21FA67D072 for ; Wed, 11 Jul 2018 09:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726488AbeGKJvf (ORCPT ); Wed, 11 Jul 2018 05:51:35 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:46364 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeGKJvf (ORCPT ); Wed, 11 Jul 2018 05:51:35 -0400 Received: from 79.184.255.246.ipv4.supernova.orange.pl (79.184.255.246) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id e070bb6c99e58c30; Wed, 11 Jul 2018 11:48:04 +0200 From: "Rafael J. Wysocki" To: Vivek Gautam Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Linux Kernel Mailing List , Jonathan Corbet , Robin Murphy , "open list:DOCUMENTATION" , Linux ARM , Linux PM , linux-arm-msm , Ulf Hansson , Marek Szyprowski Subject: Re: [PATCH 2/2] device core: Add flag to autoremove device link on supplier unbind Date: Wed, 11 Jul 2018 11:46:33 +0200 Message-ID: <1982222.Z9Wz93BAKD@aspire.rjw.lan> In-Reply-To: <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> References: <20180627125056.12851-1-vivek.gautam@codeaurora.org> <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thursday, July 5, 2018 6:28:16 AM CEST Vivek Gautam wrote: > > On 7/5/2018 4:49 AM, Rafael J. Wysocki wrote: > > On Wed, Jul 4, 2018 at 8:09 PM, Vivek Gautam > > wrote: > >> > >> On 7/4/2018 4:14 PM, Rafael J. Wysocki wrote: > >>> On Wednesday, July 4, 2018 9:16:20 AM CEST Vivek Gautam wrote: > >>>> Adding Ulf and Marek. > >>>> > >>>> On 6/27/2018 6:20 PM, Vivek Gautam wrote: > >>>>> Add a flag to autoremove the device links on supplier driver > >>>>> unbind. This obviates the need to explicitly delete the link > >>>>> in the remove path. > >>>>> We remove these links only when the supplier's link to its > >>>>> consumers has gone to DL_STATE_SUPPLIER_UNBIND state. > >>>>> > >>>>> Signed-off-by: Vivek Gautam > >>>>> Suggested-by: Lukas Wunner > >>>>> Cc: Jonathan Corbet > >>>>> Cc: Greg Kroah-Hartman > >>>>> Cc: Robin Murphy > >>>>> Cc: linux-doc@vger.kernel.org > >>>>> Cc: linux-arm-kernel@lists.infradead.org > >>>>> Cc: linux-pm@vger.kernel.org > >>>>> Cc: linux-arm-msm@vger.kernel.org > >>>>> --- > >>>> Hi Rafael, et al. > >>>> > >>>> Gentle ping. > >>>> Do you have comments on this series. I would really like to conclude > >>>> these > >>>> device link additions sooner, and get things moving on the long awaited > >>>> arm-smmu clock/runtime support series. > >>>> > >>>> Thanks again for reviewing these patches. > >>> They are fine by me. > >>> > >>> I can queue them up for 4.19 if no one has objections (Greg in > >>> particular). > >> > >> Hi Rafael, > >> > >> I will resubmit these 2 patches as part of the arm-smmu series, as one > >> of the patch in the series depends on addition of > >> DL_FLAG_AUTOREMOVE_SUPPLIER. > >> So these 2 patches and arm-smmu series should go together. > >> Can you please consider givnig your Ack? > > I would prefer to apply them myself to be honest and put them on an > > public git branch for you to pull from. > > Sure. Fine with me. I will base the smmu patches on your branch. The patches have been applied and are available for pulling in the pm-core branch of the linux-pm.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-core Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: rjw@rjwysocki.net (Rafael J. Wysocki) Date: Wed, 11 Jul 2018 11:46:33 +0200 Subject: [PATCH 2/2] device core: Add flag to autoremove device link on supplier unbind In-Reply-To: <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> References: <20180627125056.12851-1-vivek.gautam@codeaurora.org> <1c0f5cb8-4805-4200-406f-0725122b524f@codeaurora.org> Message-ID: <1982222.Z9Wz93BAKD@aspire.rjw.lan> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday, July 5, 2018 6:28:16 AM CEST Vivek Gautam wrote: > > On 7/5/2018 4:49 AM, Rafael J. Wysocki wrote: > > On Wed, Jul 4, 2018 at 8:09 PM, Vivek Gautam > > wrote: > >> > >> On 7/4/2018 4:14 PM, Rafael J. Wysocki wrote: > >>> On Wednesday, July 4, 2018 9:16:20 AM CEST Vivek Gautam wrote: > >>>> Adding Ulf and Marek. > >>>> > >>>> On 6/27/2018 6:20 PM, Vivek Gautam wrote: > >>>>> Add a flag to autoremove the device links on supplier driver > >>>>> unbind. This obviates the need to explicitly delete the link > >>>>> in the remove path. > >>>>> We remove these links only when the supplier's link to its > >>>>> consumers has gone to DL_STATE_SUPPLIER_UNBIND state. > >>>>> > >>>>> Signed-off-by: Vivek Gautam > >>>>> Suggested-by: Lukas Wunner > >>>>> Cc: Jonathan Corbet > >>>>> Cc: Greg Kroah-Hartman > >>>>> Cc: Robin Murphy > >>>>> Cc: linux-doc at vger.kernel.org > >>>>> Cc: linux-arm-kernel at lists.infradead.org > >>>>> Cc: linux-pm at vger.kernel.org > >>>>> Cc: linux-arm-msm at vger.kernel.org > >>>>> --- > >>>> Hi Rafael, et al. > >>>> > >>>> Gentle ping. > >>>> Do you have comments on this series. I would really like to conclude > >>>> these > >>>> device link additions sooner, and get things moving on the long awaited > >>>> arm-smmu clock/runtime support series. > >>>> > >>>> Thanks again for reviewing these patches. > >>> They are fine by me. > >>> > >>> I can queue them up for 4.19 if no one has objections (Greg in > >>> particular). > >> > >> Hi Rafael, > >> > >> I will resubmit these 2 patches as part of the arm-smmu series, as one > >> of the patch in the series depends on addition of > >> DL_FLAG_AUTOREMOVE_SUPPLIER. > >> So these 2 patches and arm-smmu series should go together. > >> Can you please consider givnig your Ack? > > I would prefer to apply them myself to be honest and put them on an > > public git branch for you to pull from. > > Sure. Fine with me. I will base the smmu patches on your branch. The patches have been applied and are available for pulling in the pm-core branch of the linux-pm.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-core Thanks, Rafael