[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1623723671-5517-1-git-send-email-sidgup@codeaurora.org>
Date: Mon, 14 Jun 2021 19:21:07 -0700
From: Siddharth Gupta <sidgup@...eaurora.org>
To: bjorn.andersson@...aro.org, ohad@...ery.com,
linux-remoteproc@...r.kernel.org
Cc: Siddharth Gupta <sidgup@...eaurora.org>,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, psodagud@...eaurora.org,
stable@...r.kernel.org
Subject: [PATCH v3 0/4] remoteproc: core: Fixes for rproc cdev and add
This patch series contains stability fixes and error handling for remoteproc.
The changes included in this series do the following:
Patch 1: Fixes the creation of the rproc character device.
Patch 2: Validates rproc as the first step of rproc_add().
Patch 3: Fixes the rproc cdev remove and the order of dev_del() and cdev_del().
Patch 4: Adds error handling in rproc_add().
v2 -> v3:
- Removed extra file that got added by mistake.
v1 -> v2:
- Added extra patch which addresses Bjorn's comments on patch 3
from v1.
- Fixed commit text for patch 2 (s/calling making/making).
Siddharth Gupta (4):
remoteproc: core: Move cdev add before device add
remoteproc: core: Move validate before device add
remoteproc: core: Fix cdev remove and rproc del
remoteproc: core: Cleanup device in case of failure
drivers/remoteproc/remoteproc_cdev.c | 2 +-
drivers/remoteproc/remoteproc_core.c | 27 ++++++++++++++++++---------
2 files changed, 19 insertions(+), 10 deletions(-)
--
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists