From patchwork Thu Feb 7 18:35:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 10801845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 498B06C2 for ; Thu, 7 Feb 2019 18:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36F342E4AD for ; Thu, 7 Feb 2019 18:47:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B8C82E4BF; Thu, 7 Feb 2019 18:47:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDAAC2E4AD for ; Thu, 7 Feb 2019 18:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727045AbfBGSqz (ORCPT ); Thu, 7 Feb 2019 13:46:55 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:48502 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbfBGSqy (ORCPT ); Thu, 7 Feb 2019 13:46:54 -0500 Received: from 79.184.254.36.ipv4.supernova.orange.pl (79.184.254.36) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.183) id 085703db06ef744e; Thu, 7 Feb 2019 19:46:51 +0100 From: "Rafael J. Wysocki" To: Greg Kroah-Hartman Cc: LKML , Linux PM , Ulf Hansson , Daniel Vetter , Lukas Wunner , Andrzej Hajda , Russell King - ARM Linux , Lucas Stach , Linus Walleij , Thierry Reding , Laurent Pinchart , Marek Szyprowski , Joerg Roedel Subject: [PATCH 0/2] driver core: Two more updates related to device links Date: Thu, 07 Feb 2019 19:35:15 +0100 Message-ID: <3917694.ab5GGAjohB@aspire.rjw.lan> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Greg at al, These two patches are on top of the recent device links updates series already in linux-next (https://lore.kernel.org/lkml/1952449.TVsm6CJCTy@aspire.rjw.lan/). The first one changes __pm_runtime_set_status() to look at device links and activate or deactivate the suppliers of the target device in accordance with its new PM-runtime status. After this change, pm_runtime_set_suspended() and pm_runtime_set_active() should handle suppliers consistently with runtime suspend and resume. The second patch is a documentation update resulting from the discussion with Ulf that followed the above patch series. Cheers, Rafael