aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTanmay Shah <tanmay.shah@amd.com>2025-07-16 14:30:47 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-07-22 08:26:18 -0600
commit699cdd706290208d47bd858a188b030df2e90357 (patch)
tree20e5e29068fc5e9b0cab841c8662f0833b131b13
parentremoteproc: xlnx: Add shutdown callback (diff)
downloadwireguard-linux-699cdd706290208d47bd858a188b030df2e90357.tar.xz
wireguard-linux-699cdd706290208d47bd858a188b030df2e90357.zip
remoteproc: xlnx: Disable unsupported features
AMD-Xilinx platform driver does not support iommu or recovery mechanism yet. Disable both features in platform driver. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> Link: https://lore.kernel.org/r/20250716213048.2316424-2-tanmay.shah@amd.com Fixes: 6b291e8020a8 ("drivers: remoteproc: Add Xilinx r5 remoteproc driver") Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--drivers/remoteproc/xlnx_r5_remoteproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/remoteproc/xlnx_r5_remoteproc.c b/drivers/remoteproc/xlnx_r5_remoteproc.c
index a51523456c6e..0ffd26a47685 100644
--- a/drivers/remoteproc/xlnx_r5_remoteproc.c
+++ b/drivers/remoteproc/xlnx_r5_remoteproc.c
@@ -938,6 +938,8 @@ static struct zynqmp_r5_core *zynqmp_r5_add_rproc_core(struct device *cdev)
rproc_coredump_set_elf_info(r5_rproc, ELFCLASS32, EM_ARM);
+ r5_rproc->recovery_disabled = true;
+ r5_rproc->has_iommu = false;
r5_rproc->auto_boot = false;
r5_core = r5_rproc->priv;
r5_core->dev = cdev;