Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp305410ima; Thu, 31 Jan 2019 17:11:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN4frrR+Ocs8bLm9bwdIdHzIXCF9bRhgSpF2AW4rccv6pflmzFSscM+RJyw3sfBOFTcsAtHL X-Received: by 2002:a62:6f88:: with SMTP id k130mr36870688pfc.234.1548983512170; Thu, 31 Jan 2019 17:11:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548983512; cv=none; d=google.com; s=arc-20160816; b=qtaoAb0ROCgAYMIx1DRVIW90IVcA2r2uFN+O6ei0ZdWkxzZ6eTY5Yq/rvGROA8pCSE 2Cwi7zbudCVQoeNRvSwdT2124+3P5xAJvYXVUxK5qB24TZLOVVvW44/FjIeC1mBapJpS bs/zzrN33TtTIBPlLA5eGmGdmRokBK+H/NTLFsd5I0uKNeNyOPysn10tJe1FvwCJDKVf o3SqCcRTOTgmJ4WOdieICl7x/YrWarUT2syTlVgVGn4b7A2YJr1g7vIQ9AMHvpMpvyBq dpwcBiuQGJc6NJg5Rq92wElTnXQUaaSBS2wJ7nnlvzIWAWQzfeaqxhWaJxV9jBnl0boO 6YGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uDv4511qzg7PqMjcT8m9oqNk7ukDGedw0CLvwUUAom0=; b=mEa44eXqwMHQOwBa9KwqP7+i/ZVbAMmGodruzHtTlBz8Ztx40wa3yVjKK9YcPXYaCq ul14KbSObvWthk+EzJqHGEUsKC8rE743sNIs2JUTJs0Y2/7pf3w4L1Xio9y2FncrPi87 GeSkGZaxvawa9fmKaBgmr5jM5Mk82YBTqNMgMR3x0Jw/nyaxCcJUiiJ5f5QgqSDbF6NH DN3vRWn+92hzleDVP6D5+1Q7ZsE2nY8axMIFiwdR1FFzTwXWRgW95rkzhegkdAtSeUIk uuuNW1W2Ynf4IDI1DpWQi2MEBfkSEhQFNSdm6CBNZeHLWd99Zzhz6W0rTy2C2hp1dMgx MSgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si6455931pfq.56.2019.01.31.17.11.37; Thu, 31 Jan 2019 17:11:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728386AbfBABEI (ORCPT + 99 others); Thu, 31 Jan 2019 20:04:08 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:62864 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfBABEF (ORCPT ); Thu, 31 Jan 2019 20:04:05 -0500 Received: from 79.184.255.169.ipv4.supernova.orange.pl (79.184.255.169) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.183) id 115fe8d848903737; Fri, 1 Feb 2019 02:04:03 +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 v2 0/9] driver core: Fix some device links issues and add "consumer autoprobe" flag Date: Fri, 01 Feb 2019 01:44:59 +0100 Message-ID: <1952449.TVsm6CJCTy@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, This is a combination of the two device links series I have posted recently (https://lore.kernel.org/lkml/2493187.oiOpCWJBV7@aspire.rjw.lan/ and https://lore.kernel.org/lkml/2405639.4es7pRLqn0@aspire.rjw.lan/) rebased on top of your driver-core-next branch. Recently I have been looking at the device links code because of the recent discussion on possibly using them in the DRM subsystem (see for example https://marc.info/?l=linux-pm&m=154832771905309&w=2) and I have found a few issues in that code which should be addressed by this patch series. Please refer to the patch changelogs for details. None of the problems addressed here should be manifesting themselves in mainline kernel today, but if there are more device links users in the future, they most likely will be encountered sooner or later. Also they need to be fixed for the DRM use case to be supported IMO. On top of this the series makes device links support the "composite device" use case in the DRM subsystem mentioned above (essentially, the last patch in the series is for that purpose). Cheers, Rafael