Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4563447ybf; Wed, 4 Mar 2020 06:26:01 -0800 (PST) X-Google-Smtp-Source: ADFU+vuVPszk7KIeZkEbWYR5Rn7YTsn1ykS3MQHiiWsjxU+ypTn0caNc0HwHbgJUMNZa3ySQ5MHD X-Received: by 2002:a9d:282:: with SMTP id 2mr2510831otl.178.1583331961064; Wed, 04 Mar 2020 06:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583331961; cv=none; d=google.com; s=arc-20160816; b=RSfnYPE+W0ZNfA9/26ev2rIIOeRAAoa8cDKOJYNCLyDk/42VAsjCfFwSTQvhTV800P rhdeZU7fBYJlKCay26iUKqyALjQIkQ8XV8sdweEziiUX+Z4RtFHGtOGHLBBMRddcqupt 3ATRyGCRL3YmxWVGY2nVKcz6CWpb0P+iTVJ0rPmJtNt975oBhiVNOwfOTulkEY7KNlZ0 LZtFEfXq1n+qxCHB0GwdhJhGDDR1OyiNz1XZYBsCRqqQRRhfo/I/hzLDvP3xJS9mDo8R glkQhlZpPjQc/1g5eDU7z1CfZYEWxN51EdMOYYLCbHU4uCk3PtFmYVLSwH52rXU3LSSC LaCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=r83eXkzCEdXbDAwniYRybWaeq5RaZBLGnoqVnnIBAUg=; b=Ja5goOMv4W2MNi6s/B4gFWjUiHb0f7xiS5FSVUKD2TD76QWoeF17vBm9URwd+lrLQo Og+FbvSuFW3FOfyieB8n1MD5jMyFA034VKt1yaInmvoTsFB8NRux1eLMYu8KgQOpDhxh 7EwFG2HRuxqA+dXGA7XGbUpQzqlv8EzcXbb9el0O7AmQf8Qpxe3i93rhnW7vOJfl0k9N KpKJP/bC3pBbPoOa36pl0yNlCmnSKBhqRkW5F6s7GPCFkckUCRs8MVWcL5J8dSPyH2/D xagljykA/hueHCgI0cZIMfyklNiVwEsR9yWrnGXRiLYFgUd1h1FO5qwSWbP1epuqiZ9c dkKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=HVFWZPWP; 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=fail (p=NONE sp=NONE dis=NONE) header.from=topcon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si1293555oif.85.2020.03.04.06.25.46; Wed, 04 Mar 2020 06:26:01 -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=fail header.i=@maquefel.me header.s=mail header.b=HVFWZPWP; 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=fail (p=NONE sp=NONE dis=NONE) header.from=topcon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729623AbgCDOZW (ORCPT + 99 others); Wed, 4 Mar 2020 09:25:22 -0500 Received: from forward103p.mail.yandex.net ([77.88.28.106]:44763 "EHLO forward103p.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbgCDOZW (ORCPT ); Wed, 4 Mar 2020 09:25:22 -0500 Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 25E9718C3845; Wed, 4 Mar 2020 17:25:19 +0300 (MSK) Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 205C27F20018; Wed, 4 Mar 2020 17:25:19 +0300 (MSK) Received: from vla5-47b3f4751bc4.qloud-c.yandex.net (vla5-47b3f4751bc4.qloud-c.yandex.net [2a02:6b8:c18:3508:0:640:47b3:f475]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id I0SvveKpM4-PINeEPFT; Wed, 04 Mar 2020 17:25:19 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1583331919; bh=r83eXkzCEdXbDAwniYRybWaeq5RaZBLGnoqVnnIBAUg=; h=Subject:To:From:Cc:Date:Message-Id; b=HVFWZPWPclF02CLbSzuHlL9bRIjJ8R4BhCaVEQFXbvAlKKCKFaDzEijV7uji3BY8t TZ2jGlQSgYvUPxMJoBPjCJExH/T7WYF8IhcGGtjjmAdtx4N1D3p/FWFB+BOzB1nI87 zkYBOwqgqqVqCi9UK/y3MB7bKa8IcqSqvbWmvvvo= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@maquefel.me Received: by vla5-47b3f4751bc4.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id OSNMAAdVGo-PH3OtHoN; Wed, 04 Mar 2020 17:25:17 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Nikita Shubin Cc: Nikita Shubin , Ohad Ben-Cohen , Bjorn Andersson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] remoteproc: imx_rproc: dummy kick method Date: Wed, 4 Mar 2020 17:26:27 +0300 Message-Id: <20200304142628.8471-1-NShubin@topcon.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add kick method that does nothing, to avoid errors in rproc_virtio_notify. Signed-off-by: Nikita Shubin --- drivers/remoteproc/imx_rproc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c index 3e72b6f38d4b..796b6b86550a 100644 --- a/drivers/remoteproc/imx_rproc.c +++ b/drivers/remoteproc/imx_rproc.c @@ -240,9 +240,15 @@ static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, int len) return va; } +static void imx_rproc_kick(struct rproc *rproc, int vqid) +{ + +} + static const struct rproc_ops imx_rproc_ops = { .start = imx_rproc_start, .stop = imx_rproc_stop, + .kick = imx_rproc_kick, .da_to_va = imx_rproc_da_to_va, }; -- 2.24.1