Skip to contentSkip to conversation

accel/ivpu: Remove unused firmware boot parameters

PATCH In review Karol Wachowski 2 participants 3 messages Sep 15, 2025 – Sep 18, 2025

Subsystems (2)
lore
Share & tools
lore

Karol Wachowski

author maintainer
#0 lore raw

PATCH 1/1 accel/ivpu: Remove unused firmware boot parameters

From: Andrzej Kacprowski <[email protected]>

Remove references to firmware boot parameters that were never used by any production version of device firmware.

---
 drivers/accel/ivpu/ivpu_fw.c | 9 ---------
 1 file changed, 9 deletions(-)
drivers/accel/ivpu/ivpu_fw.c +0 -9
index 6e0941d324a8..32f513499829 100644
@@ -518,11 +518,6 @@ static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_
 	ivpu_dbg(vdev, FW_BOOT, "boot_params.cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg = 0x%x\n",
 		 boot_params->cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg);
 
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_base = 0x%llx\n",
-		 boot_params->global_memory_allocator_base);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_size = 0x%x\n",
-		 boot_params->global_memory_allocator_size);
-
 	ivpu_dbg(vdev, FW_BOOT, "boot_params.shave_nn_fw_base = 0x%llx\n",
 		 boot_params->shave_nn_fw_base);
 
@@ -530,10 +525,6 @@ static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_
 		 boot_params->watchdog_irq_mss);
 	ivpu_dbg(vdev, FW_BOOT, "boot_params.watchdog_irq_nce = 0x%x\n",
 		 boot_params->watchdog_irq_nce);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.host_to_vpu_irq = 0x%x\n",
-		 boot_params->host_to_vpu_irq);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.job_done_irq = 0x%x\n",
-		 boot_params->job_done_irq);
 
 	ivpu_dbg(vdev, FW_BOOT, "boot_params.host_version_id = 0x%x\n",
 		 boot_params->host_version_id);
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 38 lines · Karol Wachowski

From: Andrzej Kacprowski <[email protected]>

Remove references to firmware boot parameters that were never used by any production version of device firmware.

---
  drivers/accel/ivpu/ivpu_fw.c | 9 ---------
  1 file changed, 9 deletions(-)
drivers/accel/ivpu/ivpu_fw.c +0 -9
index 6e0941d324a8..32f513499829 100644
@@ -518,11 +518,6 @@ static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_
  	ivpu_dbg(vdev, FW_BOOT, "boot_params.cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg = 0x%x\n",
  		 boot_params->cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg);
 
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_base = 0x%llx\n",
-		 boot_params->global_memory_allocator_base);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_size = 0x%x\n",
-		 boot_params->global_memory_allocator_size);
-
  	ivpu_dbg(vdev, FW_BOOT, "boot_params.shave_nn_fw_base = 0x%llx\n",
  		 boot_params->shave_nn_fw_base);
 
@@ -530,10 +525,6 @@ static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_
  		 boot_params->watchdog_irq_mss);
  	ivpu_dbg(vdev, FW_BOOT, "boot_params.watchdog_irq_nce = 0x%x\n",
  		 boot_params->watchdog_irq_nce);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.host_to_vpu_irq = 0x%x\n",
-		 boot_params->host_to_vpu_irq);
-	ivpu_dbg(vdev, FW_BOOT, "boot_params.job_done_irq = 0x%x\n",
-		 boot_params->job_done_irq);
 
  	ivpu_dbg(vdev, FW_BOOT, "boot_params.host_version_id = 0x%x\n",
  		 boot_params->host_version_id);
author maintainer Applied
#2 lore raw

Applied to drm-misc-next

Quoted 43 lines · Lizhi Hou
Quoted 40 lines · Karol Wachowski

From: Andrzej Kacprowski <[email protected]>

Remove references to firmware boot parameters that were never used by any production version of device firmware.

---
  drivers/accel/ivpu/ivpu_fw.c | 9 ---------

  1 file changed, 9 deletions(-)
drivers/accel/ivpu/ivpu_fw.c +0 -0
index 6e0941d324a8..32f513499829 100644
@@ -518,11 +518,6 @@ static void ivpu_fw_boot_params_print(struct

ivpu_device *vdev, struct vpu_boot_
      ivpu_dbg(vdev, FW_BOOT, "boot_params.cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg = 0x%x\n", boot_params->cache_defaults[VPU_BOOT_L2_CACHE_CFG_NN].cfg); -    ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_base = 0x%llx\n",
-         boot_params->global_memory_allocator_base);
-    ivpu_dbg(vdev, FW_BOOT, "boot_params.global_memory_allocator_size = 0x%x\n",
-         boot_params->global_memory_allocator_size);
-
      ivpu_dbg(vdev, FW_BOOT, "boot_params.shave_nn_fw_base = 0x%llx\n", boot_params->shave_nn_fw_base);
  @@ -530,10 +525,6 @@ static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_ boot_params->watchdog_irq_mss);
      ivpu_dbg(vdev, FW_BOOT, "boot_params.watchdog_irq_nce = 0x%x\n", boot_params->watchdog_irq_nce);
-    ivpu_dbg(vdev, FW_BOOT, "boot_params.host_to_vpu_irq = 0x%x\n", -         boot_params->host_to_vpu_irq);
-    ivpu_dbg(vdev, FW_BOOT, "boot_params.job_done_irq = 0x%x\n", -         boot_params->job_done_irq);
        ivpu_dbg(vdev, FW_BOOT, "boot_params.host_version_id = 0x%x\n", boot_params->host_version_id);