From patchwork Mon Jul 23 23:27:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 10541271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9D28184F for ; Mon, 23 Jul 2018 23:28:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A77DA28581 for ; Mon, 23 Jul 2018 23:28:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AD162858A; Mon, 23 Jul 2018 23:28:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5786A28581 for ; Mon, 23 Jul 2018 23:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bgyc0eCL06baOu2oWDsbcuRkajsFeRgsAoVVGcOlYow=; b=Klpe20gEtRL+9X TnVT3GLtZxP1p+wUx+asYA0m+ekwBl4po20EYe9R8rZVasITJop+l4tetlLgF8ddJwe07Hb02WC3d ha41PspSh0nK1dTyIenriUWlhKfM4MBCqlua7b0pN2lc2apzg+daHtProSty57CkYPlb0j0Emt477 9PLAYAwnog+2TlluNcazHciiv6XgsKSTqprQ42kxTeOfycPxCpHyZM0/IimQMhckRgFsXlYqOaFC6 5iYAl1CdEVZ9QBrQqIjlcbwbb142VD+HZETYhpcMDaGTa2Dj95Z2WqBYSqnI8GWec8JS0dKiaGp9o WKY8S/l117IA52Vv7hsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhkFW-0003Gq-TG; Mon, 23 Jul 2018 23:28:18 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhkFT-0003FK-38 for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 23:28:16 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w6NNS0AN061577; Mon, 23 Jul 2018 18:28:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1532388480; bh=q4Vz1U5TRe68UgiMdDBGhW93sc9VoVRgM8CdQziMxnw=; h=From:To:CC:Subject:Date; b=cvghgBR+698M7PLG9HT20u7P2AaSUjoX55N6qahdGBAWSZRSJ5uDaxLylCII+oz2/ KG13VmLQx+OoFi2+8IPVKwPwufTysYkdFTz9EMS8I4APzf88tah0PVPPHTNPityXr4 VQIsIo2eYxPRRAeW6Jd6oaFewVThZIY5x1kdNxk0= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w6NNS0KL026791; Mon, 23 Jul 2018 18:28:00 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 23 Jul 2018 18:27:59 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 23 Jul 2018 18:27:59 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w6NNRx17032294; Mon, 23 Jul 2018 18:27:59 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w6NNRxx18421; Mon, 23 Jul 2018 18:27:59 -0500 (CDT) From: Suman Anna To: Bjorn Andersson Subject: [PATCH] remoteproc/davinci: Mark error recovery as disabled Date: Mon, 23 Jul 2018 18:27:57 -0500 Message-ID: <20180723232757.9147-1-s-anna@ti.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_162815_199012_09234501 X-CRM114-Status: GOOD ( 12.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sekhar Nori , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Davinci remoteproc driver does not support error recovery at present, so mark the corresponding remoteproc flag appropriately so that the debugfs flag shows the value as 'disabled' by default. Signed-off-by: Suman Anna --- drivers/remoteproc/da8xx_remoteproc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index b668e32996e2..53160d5ed543 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c @@ -284,6 +284,9 @@ static int da8xx_rproc_probe(struct platform_device *pdev) goto free_mem; } + /* error recovery is not supported at present */ + rproc->recovery_disabled = true; + drproc = rproc->priv; drproc->rproc = rproc; drproc->dsp_clk = dsp_clk;