From patchwork Thu May 24 19:21:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramon Fried X-Patchwork-Id: 10425367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8E205602D8 for ; Thu, 24 May 2018 19:21:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7638A29691 for ; Thu, 24 May 2018 19:21:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6853B2969E; Thu, 24 May 2018 19:21:48 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1297429691 for ; Thu, 24 May 2018 19:21:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967779AbeEXTVr (ORCPT ); Thu, 24 May 2018 15:21:47 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:39659 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967440AbeEXTVq (ORCPT ); Thu, 24 May 2018 15:21:46 -0400 Received: by mail-wr0-f193.google.com with SMTP id w18-v6so5098620wrn.6; Thu, 24 May 2018 12:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=h39gmcZ5IqrDesT9V6PzswLgb5VxUaoIWzmWOXxOZUE=; b=rZUEKrDSSnmNfcpyYaUuY5cPhCVmCZZ0wb0RlotHUTk7dIVWo9/WkUYvGdzTKSKgT2 PlKRdPZSBak8596Rt9GZNiiGmXsu+DPkem+y3j5bON6vfY5rrmjGOxJMa9T+Mj0ju58h f3v81Nc75Tc6SYULZh7gX0DN6UwRsPe2QM0udObI+f8LP5aD3e5jFQGf3WCwDIUdqpKY lVAR6FWHNsmfrqiNUWeJIeXkgpDwZbFTb+ZWcZxDbnNARxJvJ0k4/5H0GuzvJEGDAc6J X3ae1ptP2A4Je8WGKSmBR3XugqOH12B8zuOxuI7Q5ttA6jnoVBXSmnUSAD4RCbC8RlJP 8ATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=h39gmcZ5IqrDesT9V6PzswLgb5VxUaoIWzmWOXxOZUE=; b=L1oT/YqMB7DIUG+E4DmkjIvkuiE2aGih/K9w74RJHp3WqOa2baIfoVdIinlm6Guysb l9wZe9fyCgqtT9N9XsvyHfMvcmZpmCu3YvhldyWHJNALvw0e3vXspzzv7vNydlOzyIr8 da5vkWIAQMBzH44RbrdQSMVjz99epf4+E/NEGKp2R7HGAzGZVKIRy3ycSKL35EpiUVm1 0EIf8w9Azuc3okT8nMEEBgkufXC6U58vcSGZg5ksE70kWTXloph0poOcIFKwK8a+QpOX ObxOYySG1CDyhIiq6HqWlgAvlRQPr+Oyp8Zkh2BS/WWI8v6OQT3sKSKFhs3/kNzm4JHz 1lBA== X-Gm-Message-State: ALKqPwe0M0MQfqQPJdXYbpzbnSytYAFPWKQmYKL1OuK2GRcliErgi26b WhPKsF4lIJeflMJkO5PrTHk= X-Google-Smtp-Source: AB8JxZrH9rO7P2sI2DlICcmojQluXtXCe1E5g9DsDuSL0nWfVAL0bCEJOBwOeKOmrF7xxwtO9C2hqA== X-Received: by 2002:adf:94e4:: with SMTP id 91-v6mr6705908wrr.281.1527189705602; Thu, 24 May 2018 12:21:45 -0700 (PDT) Received: from localhost.localdomain ([141.226.166.38]) by smtp.gmail.com with ESMTPSA id o2-v6sm4432157wmo.24.2018.05.24.12.21.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 12:21:44 -0700 (PDT) From: Ramon Fried To: bjorn.andersson@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ramon Fried Subject: [PATCH] remoteproc: qcom_q6v5: don't auto boot remote processor Date: Thu, 24 May 2018 22:21:41 +0300 Message-Id: <20180524192141.20323-1-ramon.fried@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Sometimes that rmtfs userspace module is not brought up fast enough and the modem crashes. disabling automated boot in the driver and triggering the boot from user-space sovles the problem. Signed-off-by: Ramon Fried Acked-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_pil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pil.c b/drivers/remoteproc/qcom_q6v5_pil.c index cbbafdcaaecb..719ee96445b3 100644 --- a/drivers/remoteproc/qcom_q6v5_pil.c +++ b/drivers/remoteproc/qcom_q6v5_pil.c @@ -1133,6 +1133,8 @@ static int q6v5_probe(struct platform_device *pdev) return -ENOMEM; } + rproc->auto_boot = false; + qproc = (struct q6v5 *)rproc->priv; qproc->dev = &pdev->dev; qproc->rproc = rproc;