From patchwork Thu Feb 20 02:11:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Gupta X-Patchwork-Id: 11393047 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E2BC13A4 for ; Thu, 20 Feb 2020 02:12:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E1BE2465D for ; Thu, 20 Feb 2020 02:12:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="bAh3uq3e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbgBTCMI (ORCPT ); Wed, 19 Feb 2020 21:12:08 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:22203 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbgBTCMI (ORCPT ); Wed, 19 Feb 2020 21:12:08 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1582164728; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=krljadlfWUlVstbceTJH6Iska/S9qoO8kda4t3UJPeQ=; b=bAh3uq3ez5/tLslprBOtt9KWiLMTFUzf0DVYKfiuhRj80xuFBps1Klhowwz2yffIycFmEvoC MisHdImA12cD5CAdUKi6IqaKA9VZVnjTyJqUnS5K4ryKmwj+9eGlbaxNspi79sCQLKs8zHNR HM66WZn6JjwPeX4XvnuKURCjgwc= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI4ZWZiZiIsICJsaW51eC1yZW1vdGVwcm9jQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e4deaf1.7f4a24e26ed8-smtp-out-n03; Thu, 20 Feb 2020 02:12:01 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8A08BC4479C; Thu, 20 Feb 2020 02:12:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from sidgup-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sidgup) by smtp.codeaurora.org (Postfix) with ESMTPSA id B788AC43383; Thu, 20 Feb 2020 02:12:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B788AC43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sidgup@codeaurora.org From: Siddharth Gupta To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: Siddharth Gupta , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tsoni@codeaurora.org, psodagud@codeaurora.org, rishabhb@codeaurora.org Subject: [PATCH 0/2] remoteproc: core: Add core functionality to the remoteproc framework Date: Wed, 19 Feb 2020 18:11:51 -0800 Message-Id: <1582164713-6413-1-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org This patch series adds core functionality to the remoteproc framework. Patch 1 adds a new API to the framework which allows kernel clients to update the firmware name for the specified remoteproc. Patch 2 intends to improve the user experience by preventing the system from going to sleep while the remoteproc is recovering from a crash. Siddharth Gupta (2): remoteproc: core: Add an API for booting with firmware name remoteproc: core: Prevent sleep when rproc crashes drivers/remoteproc/remoteproc_core.c | 38 ++++++++++++++++++++++++++++++++++++ include/linux/remoteproc.h | 1 + 2 files changed, 39 insertions(+)