From patchwork Fri Oct 11 13:09:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13832528 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26F9B216A3B for ; Fri, 11 Oct 2024 13:09:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728652173; cv=none; b=Xipi93ZwANg1V5Ev/OUFVyRbyllpcWdxBu6wse/gmfrY999xhwsA0yaZLvSnLFH3zbPreNW/a0hmBvGfqG5Si1ItX46+yMDyhOzsVNE0DEQrA2yi9ot2ItiIQFyMv7e94/JjWF+r14WXpXBZ0+sJR7Rm//yEKsqLJo3ElH7bGJY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728652173; c=relaxed/simple; bh=IINtiCQuBnC3ERtaPnZivs6dhELfJlUmCzKFD6pwHmo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=jdYE7KhxRM61zVvApstpATPQA5vUiWtxnJ7O7hFxSoblDcX1+ZBWzjNrE2dd19lDWaZdwNEHKfNo9ZuYm6t42NCgYwf7nYkv0e7rU8AyADcv51dtEaMXRspb84OaSiLi46pes5l6dkObul+5qi90hRwla9G4Rfz0rI8LK4PaKgI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pfb9GMRk; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pfb9GMRk" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-431198c63cfso2087755e9.1 for ; Fri, 11 Oct 2024 06:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728652169; x=1729256969; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=cAHc9EyPzwdvt95iOMDTdqxhraCklYE74dENH+cprBc=; b=pfb9GMRkhv+d6NohvRaCrKfbxj86FRUpwW9zab8vVFR6nXrrsPog2udaOv6hzfJOfn rNSAq8/k4XjbFkjCfsUmwaJhndy0Q4C2oHmPlyx6oHLQLrDdqn8vtA4IhYTMqmz3TH+U EnkGiyd5S90RzcOdNNGyztHmcT6vYsOEjHCXc5vBv4x4uFU4lqCgeRU0YKmzq1bCPSjO JbjD+vNu7QS0JM/5L344kZ8F7QS1IBJBMP7E1oX8QaPN2DTgg/aXFti3agNr2zXDMT7l OnINGyEvyiGqyBJTIUJ0EW7LCLqFpFb6OtM6hKXa1XeYWLFOybIeZRUKlMoeSAsqW7n1 9stQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728652169; x=1729256969; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cAHc9EyPzwdvt95iOMDTdqxhraCklYE74dENH+cprBc=; b=lHCURDb0Qw9ysTJmoJYlkN0iZchcZN6jW1u8qtIHtnPkbaC63nxzZkTtZEXIh//Pzb am6YdUekTyuyWPXQqAr4pbWDE+bKxUN85IFEkMHoWbFxUVH5hPYij3/bP6YTc0D+MxNm 4f4GBMtnfamhSD2RodGOh/DPLaFYVbnygD5EoehvAY2I7ePe1sm3RGMNbW4AyfIJr0Yh 8IiOD8NkJ8CbvSjJ5QZh1LZQ6DlJYmxq+RB3R3TWs3y3pu1SXoH45D2jBlioMdvtpVLN W7FwYmVVfRNkjW/RV3Zr/DxdtIX1Vd9MAqz+QVSn9H7JTiWSnTeKgqgH3jtJOjm+z13Z eVEA== X-Forwarded-Encrypted: i=1; AJvYcCW21SKqQDELYSHaWWbn9hw2gxIlGqU4lzvu2YiA8mStIKZUgWqaf600dzUc0QAnwYUZdBaQUabpUOd5KazL@vger.kernel.org X-Gm-Message-State: AOJu0YyDp1nLQ8nhD+RyTN4qvtayYS/YvADO8dk70BW2wMgwgpsxvv80 iSMEvkVofb4XhZld8KqhnoqFDiyPZ+/Y+IashxWdQu6OUdh38VBEW/gHI6y1KgE= X-Google-Smtp-Source: AGHT+IHrBVdm0gi7TtfCYwMdQW2njGEJht7U4s3CcdvIlNx63lzxcJoHlwyt/9pyv9mhx/3bDgyO4g== X-Received: by 2002:a05:600c:1c29:b0:42c:bab1:b8cc with SMTP id 5b1f17b1804b1-4311df39d6dmr10731295e9.4.1728652169357; Fri, 11 Oct 2024 06:09:29 -0700 (PDT) Received: from [127.0.1.1] ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431182ff6d3sm41621835e9.12.2024.10.11.06.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 06:09:28 -0700 (PDT) From: Krzysztof Kozlowski Subject: [PATCH 00/10] remoteproc: few dev_err_probe() and other cleanups/improvements Date: Fri, 11 Oct 2024 15:09:08 +0200 Message-Id: <20241011-remote-proc-dev-err-probe-v1-0-5abb4fc61eca@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHQjCWcC/x3MQQqDMBBG4avIrDuQpCLGq5QubPKrs9CESZFC8 O5Nu/wW71UqUEGhqaukOKVIOhrsraOwzccKlthMzrjeGmtZsac3OGsKHHEyVH94gYMfhwgPf4+ g1mfFIp//+/G8ri//OT+yawAAAA== X-Change-ID: 20241011-remote-proc-dev-err-probe-c986de9e93de To: Bjorn Andersson , Mathieu Poirier Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1444; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=IINtiCQuBnC3ERtaPnZivs6dhELfJlUmCzKFD6pwHmo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnCSN7zoHs/RRI9qYt8BiRVsuLmw+KkQ632vSeS F48/rV/F7WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZwkjewAKCRDBN2bmhouD 11t5EACXQUilzbhXu4xt90q4Dv6kMyp1sX5a0ZW1Fo098s1rqTHOuNPmHRDvTDxtdmvmGuhjPmD aIFwgRZsNXrIQpLFCEa3XM+KiVIEzlkDoKgprgAMOms9yY7u3oie+5bhlMdA59jPHgGWHaPbnVI mRCrs333XbYrSdD7RBFNJvm43huYjkahS3tFuJ/5VzMGNs04emml/BHCvHSa3oFJTIA6QQKOJ54 4s+Kb6SUPspyqhbKDkvprDwvPV6DfNAVQ76MpwGIn9D7Iqjhl4hnPldgB3mCDvbxwhgqyFESNdE wLCsIysn0z0O6Rwi7IgdUiOlKzX0Nh7jZ6wv3OJmH4HSxI0FM30O35KXNGq/u4nyG6uGb3En//H Ywdo2bl2Q6uWcgNR7BGv97tEuUm828XQy7Y9SaR/rcxpFqGk1Mf3cMNfG7ID27FfrqQOuMh6IMc /sW5TYpZE6H2k3jXlN/QNNpimJlWM5hwKir7lQ7a2LkMVhxDft1PXooi21B3qRA5KnziircmT+D TvlBBvkbndlREjn8ZqhDlT+I34jXeDHnTtjhX5BDcDvLv4HOxxZFwmNFHphJV/KjB9B5QChIPBU lNGg0mp5dcLMXPdk1mrt8XnNcFFnDcegpfpsggHO4QF05VCgP8jJpzrghmdxxlZe3XOkcLwTD1K gYPUpjp36jsJFOA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Simplify drivers in few places around probe function. Best regards, Krzysztof --- Krzysztof Kozlowski (10): remoteproc: da8xx: Handle deferred probe remoteproc: da8xx: Simplify with dev_err_probe() remoteproc: ti_k3_r5: Simplify with dev_err_probe() remoteproc: ti_k3_r5: Simplify with scoped for each OF child loop remoteproc: qcom_q6v5_adsp: Simplify with dev_err_probe() remoteproc: qcom_q6v5_mss: Simplify with dev_err_probe() remoteproc: qcom_q6v5_mss: Drop redundant error printks in probe remoteproc: qcom_q6v5_pas: Simplify with dev_err_probe() remoteproc: qcom_q6v5_wcss: Simplify with dev_err_probe() remoteproc: qcom_wcnss_iris: Simplify with dev_err_probe() drivers/remoteproc/da8xx_remoteproc.c | 29 +++------- drivers/remoteproc/qcom_q6v5_adsp.c | 17 +++--- drivers/remoteproc/qcom_q6v5_mss.c | 48 +++++------------ drivers/remoteproc/qcom_q6v5_pas.c | 22 +++----- drivers/remoteproc/qcom_q6v5_wcss.c | 92 +++++++++++--------------------- drivers/remoteproc/qcom_wcnss_iris.c | 5 +- drivers/remoteproc/ti_k3_r5_remoteproc.c | 74 +++++++++---------------- 7 files changed, 92 insertions(+), 195 deletions(-) --- base-commit: 0cca97bf23640ff68a6e8a74e9b6659fdc27f48c change-id: 20241011-remote-proc-dev-err-probe-c986de9e93de Best regards,