From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25C123C8C7C for ; Tue, 26 May 2026 14:37:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779806254; cv=none; b=LOtPRnvhuk25CSGP5vQJhG+GBK3jsmWg/eO3QI602ZLYTImajc14WqLlu6LCpYy9TrynKmaf7/yIy+4L77pni3miGXNF36oLKsvU0wNHnw37FPQjwtwhp928S4kPsVEUbcM/bnEqR7CAsCH5JO6wbs9Ji6D7Zz64VBhB9hXIfcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779806254; c=relaxed/simple; bh=oXGhJHtn4nuewfbu/FUrIXGrSvjdsxHUN28rYJIud/g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iNxLpV8nMifhyL/+5lxDYqQaspGVj+pTHkgXtVj7W02/bhaCcnP3iFolPWlX584HibXnapj5xnCuqHK7EJOQEwTE/t2zYOOYP7i01vYToSfQC9b90TtPafKi285qSNSor2us5ePc5QlgObtU4d4DWbVXqbEDPSK62DIGLXsvsV4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Nb19n/PC; arc=none smtp.client-ip=209.85.216.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nb19n/PC" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-3695bf7d082so9586608a91.0 for ; Tue, 26 May 2026 07:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1779806252; x=1780411052; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1yp634tqUfo6PBP0qI63tXI5mNKD5loNgpNN/yTOqwI=; b=Nb19n/PCEM2uyDKXJHxOtqC3ZqPxA9PYb64DUl3FAB4BUYoHJ81vZw4moVnId1tKi4 u7qYS+lpwQkwnaXfKAQzKQe9xu08MDD+9cggJCkbFRk6q471Noy2wn2K+K+Kxb7V+ItO lmF9N45Y24Hn/ypL+FTTT7RAfbnsFgVyDVB4e3cNH4XeF8DSTVRdAN6IWfhtKgW5vGMw uoqMXZ0esHqNbwStV9B65KkYyNSytuEraG2ym31unABeyfI12kg31PrpOJcn9bljE+Rv S166BfhpWpxKrDE2J4tdqcVVkdGVmeZ+DKXE+XLZhBlzevMGYPqMkqZknsMeEXzNVW5o +HZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779806252; x=1780411052; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1yp634tqUfo6PBP0qI63tXI5mNKD5loNgpNN/yTOqwI=; b=Ed+vNj/E72IGsDCkAtQL12JVphgZLHlVJjF/EayWKMhsoTw0FpTLg/xvI0sjgUT5Wf omCfC/WIC9gACy9bRlgLViHcOr6WSRHP8h75BYlzya709wyrZaBrfAVweeaN9uVgOLxu zufG3IPi4CWJ131ootzK8NoFn/LRDzD2Zs7EcgkJKGXSVBZUKayZwrfLhBkgpt4WdQAl L46WzOQWo0QcDew/FoQREfqdeGA3UOX93iiOglfuaTquDzo1bPbWnbFAZFKEyYSxGvcU 52T4+B3ZzqUXSqcT0Ya3vS6KK+zp5aAAttXXqwBbCp1z/ByqV8r/S5EnyQMHcUKlkTDC OGbA== X-Forwarded-Encrypted: i=1; AFNElJ/sWxEFTmDQ7XU4InX06MHiTqlMt/LZX7+IZnLgRMDkAvzMZaTQkdI1kbX2Wzof+NVEFGmKvB3geeVsAvg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4BL9jbbTKd5B1ZicnxM1ka2hE71b8HL3Rf1i4T+8V74UojrUJ uyjH0izagSHBRd7R72OzvPzAVWmvbNosuqm6p8/09q168NlBAqIlQiMpeIhZwFvUAwxMs+bRTf7 D8YQT X-Gm-Gg: Acq92OGDiYN1Tt23hpLRcZCfw5pRYPeKbKhevIAfVLVWQnQVXVpMZLpZsByWXu1oExL 2EoCZykyY1NBfSLGyJnWz37KqGJ4J5A5Yq6rLK4LG1R/yKgHDaFUvpZ9rw4F0AI/1p0vfxjuuuQ aiaKGcE1LyjB/7zMwog9ci8jcp8eH6ngUKYHEZpPeuwUV9/cgX/qMag1/NahMXEad9JuBulsOEX Ref00NH5ppI8/vYt8uWTEnR6/3E7k+WmgGVuSWPRrMf/NQl66nohdwiS8OYioR+x9nG2gJMLkFn ZRzLpS/eyxF3p6JuMLEseIA4X2hHZ27uVFriq2Q+jYz/Ta5YT0GIWdAsKrDQ2w2If70r48MGzZX nLfRRSlxshUP4oIfiYY5lGUsuFl/6nR9iIJDCnw1yuUAn/qhUbfwxwtQXacRs/ANSpeZMYRSHtt qwm23nzndrj+7ZiTIRVk+9K2YD5GFz+UL6b0IBcQ== X-Received: by 2002:a05:6a21:38d:b0:3b3:2703:11c with SMTP id adf61e73a8af0-3b328f4a929mr19843539637.37.1779806252410; Tue, 26 May 2026 07:37:32 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:c09c:6784:4cd5:a34d]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84164ff3e00sm14900919b3a.54.2026.05.26.07.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2026 07:37:31 -0700 (PDT) Date: Tue, 26 May 2026 08:37:28 -0600 From: Mathieu Poirier To: Jiafei Pan Cc: daniel.baluta@nxp.com, Frank.Li@nxp.com, andersson@kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, peng.fan@nxp.com, s.hauer@pengutronix.de Subject: Re: [PATCH v2] remoteproc: imx_rproc: Use device node name as processor name Message-ID: References: <830f0c65-faca-4843-a6c9-693db7562037@oss.nxp.com> <20260508032016.27716-1-Jiafei.Pan@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260508032016.27716-1-Jiafei.Pan@nxp.com> On Fri, May 08, 2026 at 11:20:16AM +0800, Jiafei Pan wrote: > As currently there are maybe multiple remote processors, so change from > using fixed name to using device node name as remote processor name in > order to make them can be distinguished by through of name in sys > filesystem. > > Signed-off-by: Jiafei Pan > --- > Fixes sine v1: > * Update patch subject to aligin prefix name with existing patches > > drivers/remoteproc/imx_rproc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Applied. Thanks, Mathieu > diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c > index e8d239bef5c9..38713f6f1c50 100644 > --- a/drivers/remoteproc/imx_rproc.c > +++ b/drivers/remoteproc/imx_rproc.c > @@ -1356,8 +1356,7 @@ static int imx_rproc_probe(struct platform_device *pdev) > unsigned long cpus_bits; > int ret; > > - /* set some other name then imx */ > - rproc = devm_rproc_alloc(dev, "imx-rproc", &imx_rproc_ops, > + rproc = devm_rproc_alloc(dev, np->name, &imx_rproc_ops, > NULL, sizeof(*priv)); > if (!rproc) > return -ENOMEM; > -- > 2.43.0 >