Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1773684imm; Thu, 27 Sep 2018 02:13:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV62gYfZQFgE5lR72ggXI3CLbNqGnIzWAbKRSuvy1KAiow3prL61zmueM75dxi4BqszDyRyt1 X-Received: by 2002:a17:902:aa8f:: with SMTP id d15-v6mr10028666plr.64.1538039609317; Thu, 27 Sep 2018 02:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538039609; cv=none; d=google.com; s=arc-20160816; b=tMl74nm1+UXbbscUvOdrP6BKv7fzDSksxwlVOTjsZJ7pGhzd7gywATMzfdjU/Pzv4m WVsN+b1sTZ33LuTrygUD2jK1SmfJ/eqA6TkOSn0Ju+2was7XaQPxowkG5RUfUUiEPYVy YDVScqnaRZpjML/FOjWRvtnQnHcS0tLgXG4lozosfME00YFBY4Gzwlrq+NqrNd1onWpd IGRuIIekp3arGC7f1bocydqqDDiRQVHL9OOH/P3oF3uut3gwnPFQQx9IFlF67b/M6uf9 WXLDr98bDdcUaJ/LOXmYd/YPV8VWOuBp8Zppe+mC1kjqXLp3ORa9c5bXMwhr4SmR0lKK xnfg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=sHkOuDDudqqE8G0qrCpqVsmuMfTQwN11ZjzTzsLjDjk=; b=s2E+kZqnIycLVQeV4TfiTQL6Hz7AfYQbRa4ByoWLWSe3JtDLyomt7X70k+NyhCNb2i af1bnMDxNs89O8ocnBMonSIrE++xWVqGxtgPqcasNq60l7UO+RbA4J2T1CuuQNkU2hQS p+cjnMiqDUgcG7rtEygixgBYCkpRgxgojVH6bbzbnMmRqVmFrRMDsqroClTXz+Oeg+JH qjoZuAGHxrgfZCkei/tS0vA439oWqzttdDbGvOauoq4tK9JgeYvZkPQlRk/2PDaTnwTq k1DzGbVeNy8w67u2WVL12zrP9MYzkpsIY40KmgVIIDpZaPZ7jGzwRxo6X4Tzkpnio7M+ 6FTQ== 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 u10-v6si1526214pls.89.2018.09.27.02.13.14; Thu, 27 Sep 2018 02:13:29 -0700 (PDT) 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 S1728511AbeI0P2e (ORCPT + 99 others); Thu, 27 Sep 2018 11:28:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55238 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727285AbeI0P2d (ORCPT ); Thu, 27 Sep 2018 11:28:33 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C8BC1111D; Thu, 27 Sep 2018 09:11:17 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rafael Tinoco , Srinivas Kandagatla , Bjorn Andersson , Sasha Levin Subject: [PATCH 4.18 53/88] Revert "rpmsg: core: add support to power domains for devices" Date: Thu, 27 Sep 2018 11:03:34 +0200 Message-Id: <20180927090307.257805682@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180927090300.631426620@linuxfoundation.org> References: <20180927090300.631426620@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Greg Kroah-Hartman This reverts commit e5d9ae0077a5cf336d298002959dc0c8dcfe7b89 which is commit fe782affd0f440a4e60e2cc81b8f2eccb2923113 upstream Rafael reports that this patch causes problems: > -rc2 looks good. There is a problem on dragonboard during boot that was > introduced in v4.14.71 that I didn't notice last week. We'll bisect it > and report back later this week. dragonboard on the other branches (4.9, > 4.18, mainline) looks fine. As Dan pointed out, during validation, we have bisected this issue on a dragonboard 410c (can't find root device) to the following commit for v4.14: [1ed3a9307230] rpmsg: core: add support to power domains for devices There is an on-going discussion on "[PATCH] rpmsg: core: add support to power domains for devices" about this patch having other dependencies and breaking something else on v4.14 as well. so drop it. Reported-by: Rafael Tinoco Cc: Srinivas Kandagatla Cc: Bjorn Andersson Cc: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/rpmsg/rpmsg_core.c | 7 ------- 1 file changed, 7 deletions(-) --- a/drivers/rpmsg/rpmsg_core.c +++ b/drivers/rpmsg/rpmsg_core.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include "rpmsg_internal.h" @@ -450,10 +449,6 @@ static int rpmsg_dev_probe(struct device struct rpmsg_endpoint *ept = NULL; int err; - err = dev_pm_domain_attach(dev, true); - if (err) - goto out; - if (rpdrv->callback) { strncpy(chinfo.name, rpdev->id.name, RPMSG_NAME_SIZE); chinfo.src = rpdev->src; @@ -495,8 +490,6 @@ static int rpmsg_dev_remove(struct devic rpdrv->remove(rpdev); - dev_pm_domain_detach(dev, true); - if (rpdev->ept) rpmsg_destroy_ept(rpdev->ept);