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: 142667 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp6605040ljj; Mon, 23 Jul 2018 16:28:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfiAxSgpR+PgCVJb0Eh+MpDXELDMahrN39qqNPRGozJjalYSOJSbvyvGZn+fxaQhGp0SSRV X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr14377654plb.248.1532388499262; Mon, 23 Jul 2018 16:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532388499; cv=none; d=google.com; s=arc-20160816; b=meGGEXlSFkorGS67h/N4FEEL0xr/kMoiYJBI9IWHmyKIb3dHAFxRRvDClXBUbTUSTH GGMQoSpCQSPCPLoAR2WiIl6dsmvTfM2mygclrUR2hApyTuYzys7xjlT+DAhpL7yhCt52 HhWkadOQK+V3sXU6LiTtMvEhtVB0bFeiFBAvO+3xdc9xr+k75ImT1hhc5X6idfVgTHmt jW/XxqYsX0BI0OF4hQK/85wFFbdr9+ZmUo0BkpA3mN8lYtH0DR+UPn2oZ5RXlXoO2c6S K7V7n8chJFdO4leijM6W8chKP/inwnIrn1VVJkaLOB3MX0n+2lsib1l5WiCCpV/FNrlR +4rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=q4Vz1U5TRe68UgiMdDBGhW93sc9VoVRgM8CdQziMxnw=; b=Xo5SMh4jF0ALd96+kXVQ9sjCTpPBKUqdt4JRMqtumhPEW+K5UdayhSd5f85joaZD0d qKtwqvN1dSVSvgiyIxCuazFtkcZuXwLb//zFdLJL4wX28UULe9IZ42BwmTMnTLz0IwrI h2y9+zaqYoSicUhw+ui6FqyYYKQq03MJOZePvniKAWEKDgHNFaJkww2RoLhZQefR/rF0 gfvaCA1MWPHwqHl1ItQS7r5Cw5v/R2h3gfA/rM4obGBViaye0WFXBBxH8I+3JuEQFS4I kQSQVzsCYRsoMGcNSNhXZqABb++v7/tJ3MxQT3wwyZ3+QPoF1T1vOuFM3rpU27pwCE1E L94A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cvghgBR+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3-v6si8784181pgp.220.2018.07.23.16.28.18; Mon, 23 Jul 2018 16:28:19 -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=@ti.com header.s=ti-com-17Q1 header.b=cvghgBR+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388227AbeGXAbu (ORCPT + 31 others); Mon, 23 Jul 2018 20:31:50 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37148 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388098AbeGXAbu (ORCPT ); Mon, 23 Jul 2018 20:31:50 -0400 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 CC: , Sekhar Nori , , , Suman Anna 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.18.0 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;