Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp961878ybe; Thu, 5 Sep 2019 08:23:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6UZ1/DUe8N2K8+HZSCmQDxAxFZxSl4QiFO4JORFIu5/eXLpin26va/YyKM/K0zN1odRSM X-Received: by 2002:a62:e10f:: with SMTP id q15mr4548378pfh.34.1567696986109; Thu, 05 Sep 2019 08:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567696986; cv=none; d=google.com; s=arc-20160816; b=GmLEM5Mc5ivtlzFrSHSHrYkmxCCojDpLfYhHa9Sv9HbP+/F9gUqj+WQEa0GSxvX8+m vsVLqiMY6cLwygjtM+LygIPGsO4C5EQRsnckIkSo+3ELN4jFUTlujmDdVg28VGkLa5bi fJmAcrZ5tIak651UCOFL3Oext7uM57T9AyH6D0qZ9x92kBodWTUj+yhUdYfRMsHRjMqO hy+wGxLmDQW59LpnQNYmnsAi7o5+UXoQhbiOGx5FgRAnbn0Wgwp7UTxAWr91XOSz0HsV pZscLmp/udWVzTV0Cf9Euxi7ZRRRXZwwOxAv4dwel2JgWmG3FdXt6jY8H9ZSWROy26LE JKZA== 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=hVb3OF8Z1yUcAp1EC0wGieEJY1VYhAGYv9dxmBhAdNQ=; b=zRJtVQIZb5t+/VEN6NV85slYYTEd7HBW7RITqigpUkecoz14jPVHTIQ/H5MKXOf01U DXF9PtGPCJTotcwWlt26X7ME5cpSxqRzvQi+1kCt6uNLjWkmxJaHLUjPTgeIPOq9meST jMtDg8BR2xNWJYZAnCNCRNaDi2a+SEK9yNbYaO+QkY0MuzmzLzsEq+VdWgxeV+v5Yme9 4xRCEjW/FHvH5JG9GhUm/rqEw08nBmdgPliLfUHiuyf5219iiFPepePD+oJ7bnWAic+c QBdi9r7MEX3a9QZdoHCwcEeiQt3WZ0ahz6QH8Tq8VxDjQTotT7KOQywAYNoZAt3+Sc+E x+Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CMd3yrld; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129si2057360pgc.344.2019.09.05.08.22.49; Thu, 05 Sep 2019 08:23:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=CMd3yrld; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732555AbfIELN7 (ORCPT + 99 others); Thu, 5 Sep 2019 07:13:59 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41445 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732090AbfIELN6 (ORCPT ); Thu, 5 Sep 2019 07:13:58 -0400 Received: by mail-lj1-f194.google.com with SMTP id a4so2016176ljk.8 for ; Thu, 05 Sep 2019 04:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hVb3OF8Z1yUcAp1EC0wGieEJY1VYhAGYv9dxmBhAdNQ=; b=CMd3yrldzyge7k1rGSlqrfxb2zyzXCZwifzGp2sdva/Ug31rtuPMdg/1TiF5qOiVuL PA01RD4IEPI00S+jUUCtOPABJ1+BBQeQAbNm5pFqEv9b57m4v/RIiB+DAsniDmQNBiZI ezvZ4uJu8v+gvFA2/nQYV0T6uTETR7SknY13uZq7IOFbqBNzlb+XSH/ZAQLDP7NEOozI LfM5E3yXJTmpz7scocKK4yBK6Ekk7R/DJzUUqBlwQKPeyStYzvudfR2t7H7M8iaPW53K SbTtOB0rH2F44WrKIzvL0t5JPZo2VOKaoT7sLKZpb7FNJ6tkqmI6JfnRPsXU3ON9XheT XRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hVb3OF8Z1yUcAp1EC0wGieEJY1VYhAGYv9dxmBhAdNQ=; b=sioCAKzGutVP1ncMVQedhaGNHbWJcT/WdM8GQ+BuBbSdUc16WPJ5954q7uyVY4eocy XvScTUfwnw5ulJVnlPvy6a8VxXc6buJlXPy00RuX40LlKClGhc37neeJbniobW1xZVu9 x2MqbynNafYc1KOO8KnSu8fLklftbVSk7A/2nilcZdykejm9oWBz2S6IHBoXpQ8TVI4n 8FOGPnUXR55YzWzU0wmenj+YvmR3lNqGBOQfe+DTeO7Q5AZB+AL5tyXTjTgcAZcFIvRb ZKCqo2U3tGIWvBowFP7RDLfLgV1mYP09CHWU2clD0sRwCAyKFJn/4TkZZe3Jds0ZsR/6 YakQ== X-Gm-Message-State: APjAAAV8AHT5bcxRzew11oKxhu8pkUwnMbg7QOTKVxRrPmAzSxG19iJM 0l8FYMY2kk75U1W1COSGAkkKrA2UosM= X-Received: by 2002:a2e:90c6:: with SMTP id o6mr1700683ljg.144.1567682036461; Thu, 05 Sep 2019 04:13:56 -0700 (PDT) Received: from centauri (ua-84-219-138-247.bbcust.telenor.se. [84.219.138.247]) by smtp.gmail.com with ESMTPSA id m18sm379548lfb.73.2019.09.05.04.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 04:13:55 -0700 (PDT) Date: Thu, 5 Sep 2019 13:13:53 +0200 From: Niklas Cassel To: Bjorn Andersson Cc: Ohad Ben-Cohen , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: Re: [PATCH] rpmsg: glink-smem: Name the edge based on parent remoteproc Message-ID: <20190905111353.GA1936@centauri> References: <20190820041656.17197-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190820041656.17197-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 19, 2019 at 09:16:56PM -0700, Bjorn Andersson wrote: > Naming the glink edge device on the parent of_node short name causes > collisions when multiple remoteproc instances with only different unit > address are described on the platform_bus in DeviceTree. > > Base the edge's name on the parent remoteproc's name instead, to ensure > that it's unique. > > Signed-off-by: Bjorn Andersson > --- > drivers/rpmsg/qcom_glink_smem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c > index 64a5ce324c7f..4238383d8685 100644 > --- a/drivers/rpmsg/qcom_glink_smem.c > +++ b/drivers/rpmsg/qcom_glink_smem.c > @@ -201,7 +201,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent, > dev->parent = parent; > dev->of_node = node; > dev->release = qcom_glink_smem_release; > - dev_set_name(dev, "%pOFn:%pOFn", node->parent, node); > + dev_set_name(dev, "%s:%pOFn", dev_name(parent->parent), node); > ret = device_register(dev); > if (ret) { > pr_err("failed to register glink edge\n"); > -- > 2.18.0 > This was sent 19 of August, then again (unchanged) on 29 of August. Yet it is still not in linux-next. It fixes a real issue on qcs404, so please merge :) Kind regards, Niklas