Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp641422pxj; Thu, 10 Jun 2021 09:11:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVTBjld2VQdzRKvuMnN3yZUj3F+7J7y3w2apUagg9C7lCMaj12mZTdvBc3FsKDvJFlz/Cu X-Received: by 2002:aa7:cfd4:: with SMTP id r20mr184119edy.237.1623341504261; Thu, 10 Jun 2021 09:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623341504; cv=none; d=google.com; s=arc-20160816; b=G8ZcHfEYGeLlJkApIFGtG7PxjiILXji84v7WqWmL9e3pM6nQ8OouI0RpnMs2rFWJN3 3wMCAC4TCKlAKG+i+QvvGUtLCKX6XfBC1XQZzJIwH3p4ywnXttQli7ImDLZ93aGYZj8C THEmIobQe+xOmH5j4E0V8HX/Q4iY1wVIBEdK2mT0Xhb2AYIHTurscu5sNtQAipjjlUeb 7aXZDxVOVJR3gLRTCViQMsVfJLYRAn2SOBIRNJO59OqCfvsaJx7+NafCYAdubBzF9zKB tJ7+eTNQCJkW3dtxrbf4TIxfZptUDe1cc4Iwbl0MoAjM3mF7aISNVX9zCWXqB+D3PRKg G5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kYytFf8w8lGLC87US0lF5QfRu8TkslW/v1k/xfpSpOs=; b=GD9LQYTawdUTuTgyjMPKMbo4dTZGC2yQPV4TUJUmwXItjSeiRBO/sa8RCI+ZOvf3PI j2iTQVmu/LDia/6bVFojTK2i+wz34dypwL/mmJou8R2Oe/m/0z+ZP6uS9fvb7mDShVc3 RuNxF8SCVJ6OsqMHSgcjPydJynu76WG9wli3ter6LVUnOqQBDwGPbkQX/W3U7konK7PX ZTLfAuqtt4jImNWonrHurs9WfuYAfsGqPiMjzrl9j6rVlmnohGpa4FfnxM13rouh2i/e 7w89eehM9lztVzmXm/phpIre4zi2DC9jHpmkdHTdFbBve4sRmesKuRB7qdszQvWa6hvW dgqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZLpCp2A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e12si2714600ejl.676.2021.06.10.09.11.19; Thu, 10 Jun 2021 09:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZLpCp2A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230196AbhFJQMT (ORCPT + 99 others); Thu, 10 Jun 2021 12:12:19 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:40463 "EHLO mail-pf1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbhFJQMS (ORCPT ); Thu, 10 Jun 2021 12:12:18 -0400 Received: by mail-pf1-f181.google.com with SMTP id q25so2016017pfh.7 for ; Thu, 10 Jun 2021 09:10:06 -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; bh=kYytFf8w8lGLC87US0lF5QfRu8TkslW/v1k/xfpSpOs=; b=LZLpCp2A/10kvyEMW6w1HKRsdeMviQfJVUcbSXMkP1AtgBMgVOYnqXRSkmsdUA8mcZ FMo7mr++UAryE0x5Ui9QmZMTC1zfXHs//EULrvKUZGbwyP2YR2FQYn5F5fCLgbWKaamX yHyc5Cg1QV/+LqFCHLDYa9jCmqag68lN1Cx390SNnW4iwsTJ9GjWFtS28DUeBqxy0hLo nSFftsX+xqgwWHNrkHvSjtPn0VQIbXk7HGJjLCJS0Tq+Pvi5iwQM58Pz5A1Fqa4iuvo6 aOkFHow5TPeGWwhR06HKlxD+rX5UQPdAgq4kjrLXwJPX4tZTpGHd/ioa5Pz0hJ0CNd+u KHcw== 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; bh=kYytFf8w8lGLC87US0lF5QfRu8TkslW/v1k/xfpSpOs=; b=n5C7O4RYWWK/TfKw/loaqnBbFtS5uZzLhyFBdivbXQeuZqwK52z7M/aWFe16tjcYeE 3C27O0Rka5OhVaNFrElUCZ/TKkeyca29AorIJ6euvEEre/yiII+CsrbKcBp0wfWijCR2 Thh8DM1XmJ2VZlG8fIyI/Ti62NJZenKgWBXRzRlh1QMWLihvQySIs3p2UOQjH2MbApcx 9LLR+iy2id7JPyhSOZ3LYNSFB5bZg2FlhECSGft8eYA0CJtzzD72DN0j5/vi/juYnPwS 3d6sw8mdhPP1pYXQQpt7RGaiRivD+BYq9Bv8KRd3BpFsUxjuKJ2mK1YJE+IW6Irzrx61 mQ0g== X-Gm-Message-State: AOAM533+4IYIdAGZkODLWkgjTtXEOZpwWxHBcwNYu/b+chru9Z/bY6Ku DKpZahYXRaFM1gmINveo53k6BA== X-Received: by 2002:a63:5148:: with SMTP id r8mr5618964pgl.283.1623341345896; Thu, 10 Jun 2021 09:09:05 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id a20sm2946041pfk.145.2021.06.10.09.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 09:09:05 -0700 (PDT) Date: Thu, 10 Jun 2021 10:09:03 -0600 From: Mathieu Poirier To: "Peng Fan (OSS)" Cc: ohad@wizery.com, bjorn.andersson@linaro.org, o.rempel@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , kernel test robot Subject: Re: [PATCH] remoteproc: imx-rproc: Fix IMX_REMOTEPROC configuration Message-ID: <20210610160903.GB34238@p14s> References: <20210610031530.26326-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210610031530.26326-1-peng.fan@oss.nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 11:15:30AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > When CONFIG_IMX_REMOTEPROC is y and CONFIG_HAVE_ARM_SMCCC > is not set, compiling errors are encountered as follows: > > drivers/remoteproc/imx_rproc.o: in function `imx_rproc_stop': > imx_rproc.c:(.text+0x140): undefined reference to `__arm_smccc_smc' > drivers/remoteproc/imx_rproc.o: in function `imx_rproc_detect_mode': > imx_rproc.c:(.text+0x272): undefined reference to `__arm_smccc_smc' > drivers/remoteproc/imx_rproc.o: in function `imx_rproc_start': > imx_rproc.c:(.text+0x5e0): undefined reference to `__arm_smccc_smc' > > __arm_smccc_smc is defined when HAVE_ARM_SMCCC is y, so > add dependency on HAVE_ARM_SMCCC in IMX_REMOTEPROC configuration. > > Reported-by: kernel test robot > Signed-off-by: Peng Fan > --- > drivers/remoteproc/Kconfig | 1 + > 1 file changed, 1 insertion(+) Next time please add: Fixes: 79806d32d5aa ("remoteproc: imx_rproc: support i.MX8MN/P") Reviewed-by: Mathieu Poirier > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > index e68fcedc999c..9a6eedc3994a 100644 > --- a/drivers/remoteproc/Kconfig > +++ b/drivers/remoteproc/Kconfig > @@ -26,6 +26,7 @@ config REMOTEPROC_CDEV > config IMX_REMOTEPROC > tristate "i.MX remoteproc support" > depends on ARCH_MXC > + depends on HAVE_ARM_SMCCC > select MAILBOX > help > Say y here to support iMX's remote processors via the remote > -- > 2.30.0 >