Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3871652imj; Tue, 12 Feb 2019 06:10:52 -0800 (PST) X-Google-Smtp-Source: AHgI3Iad+cUb/56r1MkBfsed84NhW1Q8xntroo0uZyPVbLU/HRL4aZeiKL/jOhiCr1RplQlP4ps5 X-Received: by 2002:a17:902:8ec9:: with SMTP id x9mr4261485plo.27.1549980652805; Tue, 12 Feb 2019 06:10:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549980652; cv=none; d=google.com; s=arc-20160816; b=oQ3DxnqZd17CHkaBXipPCvIdGzaU65+S8IIOHmCtmyDS7+6+xjETUclBTvoi431b3+ KvxzTUuSNMynCB/ILZTWedvl6shHGZ0VAowzMGO5m8BcRsWDlvQe5tb/9JfpB5itCt7E R1eMFjcl8hYzew+ht75IpwGaXOzn9ogcmCwa/vE/uil3ZPeYp9ZhE8idVDKkYH2MkwBd F3OIuinuU6huFEY5RIqJM3NDv89+KUA68cQr7xs1FmqJzUC3mFwWCxwHVSFYkNXMEr2B fx6wZJVUoUd9F4uUsIjINqIMT9W9vnU8G7jbFEztrtLIW3xaN/AYp+7l37yJv7NUezI9 4ulg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=427CixU7ZrwJBsMG/OSF/BUn5z3SxwUL3gKq0cRGb+8=; b=HpSMfG0o7c1XTS1V3jWk2z9Aza7CnkTRbp3FThdpXtbm4ePBri5cY8xuR7COqJqjDP qSjqcWKZ1XOWaKny4w+1zhGeT/XY6aPgw+q121clsg+0qVwB5ilAwBaAwvrd04aMMWjI Imt4xJIbzS0yvhwpVYZBLpdgfVtPgbASE12tQu2wmVSYArOjg0D9YLUM3a3jEi753hEL Wnj34yooU2fhyEQfGT4HPe0ucVTzgWpDFTJyDDk52qu/dhglJ+LXZv0R18YtMgn4LXjp 5nRU66kvGl+1zl8IVjaDllzCcOVaeat8bP+yNhhTeznP6swtaL8umkopl72BxGstA7/x 9DRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BPknNcoe; 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 n4si8850802pgh.427.2019.02.12.06.10.29; Tue, 12 Feb 2019 06:10: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; dkim=pass header.i=@kernel.org header.s=default header.b=BPknNcoe; 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 S1730031AbfBLOJ3 (ORCPT + 99 others); Tue, 12 Feb 2019 09:09:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:57164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728126AbfBLOJ2 (ORCPT ); Tue, 12 Feb 2019 09:09:28 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B19DA20838; Tue, 12 Feb 2019 14:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549980568; bh=cGTYY9AVRJd1RYKVec7ry5MpKh6+PUz5HcxogLU2pe0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BPknNcoeZIrXlGYRb3QG2eFjlhmppxjN0atRk/w7V3HpNw8tl4Lgjnidyjo/yGE5t 90EEDv389IqISDcZKGPn8xtM5WwwoKh/jZv9jlU96xownJlHoM3Vfx8qCDePF8P7eO bVXkrf9QRJlHegQFbN0U71IYUl5L33tGIbcjjlEY= Date: Tue, 12 Feb 2019 15:09:24 +0100 From: Greg Kroah-Hartman To: "Rafael J. Wysocki" 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 Subject: Re: [PATCH 0/2] driver core: Fixes related to device links Message-ID: <20190212140924.GA14444@kroah.com> References: <5510642.nRbR3bcduN@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5510642.nRbR3bcduN@aspire.rjw.lan> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 12, 2019 at 01:01:13PM +0100, Rafael J. Wysocki wrote: > Hi Greg at al, > > These fix two issues on top of the recent device links material in > driver-core/driver-core-next. > > The first one fixes a race condition that may trigger when > __pm_runtime_set_status() is used incorrectly (that is, when it is > called with PM-runtime enabled for the target device and working). > > The second one fixes a supplier PM-runtime usage counter imbalance > resulting from adding and removing (e.g. in the error code path) a > stateless device link to it from within the consumer driver's probe > callback. > > Please refer to the patch changelogs for details. Looks good, all now queued up, thanks. greg k-h