From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29F09C282C4 for ; Thu, 7 Feb 2019 18:46:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0521C21924 for ; Thu, 7 Feb 2019 18:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbfBGSq5 (ORCPT ); Thu, 7 Feb 2019 13:46:57 -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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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