Skip to contentSkip to conversation

accel/ivpu: Remove VPU_CPU_NOC_* register access from NPU6 onward

PATCH In review Maciej Falkowski 2 participants 3 messages Oct 21, 2025 – Oct 22, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accel/ivpu: Remove VPU_CPU_NOC_* register access from NPU6 onward

From: Karol Wachowski <[email protected]>

Quiescing TOP_MMIO in SOC_CPU_NOC as part of boot procedure is no longer needed starting from 60XX. Remove soc_cpu_drive() call from NPU6 onward.

The VPU_CPU_NOC_QREQN, VPU_CPU_NOC_QACCEPTN, and VPU_CPU_NOC_QDENY registers are deprecated and non-functional on 60XX. They will be removed in future generations.

---
 drivers/accel/ivpu/ivpu_hw_ip.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/accel/ivpu/ivpu_hw_ip.c +3 -0
index 9d32273e94ed..06aa1e7dc50b 100644
@@ -896,6 +896,9 @@ static int soc_cpu_drive_40xx(struct ivpu_device *vdev, bool enable)
 
 static int soc_cpu_enable(struct ivpu_device *vdev)
 {
+	if (ivpu_hw_ip_gen(vdev) >= IVPU_HW_IP_60XX)
+		return 0;
+
 	return soc_cpu_drive_40xx(vdev, true);
 }
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 11 lines · Maciej Falkowski

From: Karol Wachowski <[email protected]>

Quiescing TOP_MMIO in SOC_CPU_NOC as part of boot procedure is no longer needed starting from 60XX. Remove soc_cpu_drive() call from NPU6 onward.

The VPU_CPU_NOC_QREQN, VPU_CPU_NOC_QACCEPTN, and VPU_CPU_NOC_QDENY registers are deprecated and non-functional on 60XX. They will be removed in future generations.

Should you just squash this into "[PATCH] accel/ivpu: Add support for Nova Lake's NPU"? Feels a bit odd to introduce an issue in that patch, and then immediately fix it.

-Jeff

#2 lore raw
Quoted 6 lines · Jeff Hugo
Quoted 5 lines · Maciej Falkowski

From: Karol Wachowski <[email protected]>

Quiescing TOP_MMIO in SOC_CPU_NOC as part of boot procedure is no longer needed starting from 60XX. Remove soc_cpu_drive() call from NPU6 onward.

Quoted 8 lines
Quoted 6 lines

The VPU_CPU_NOC_QREQN, VPU_CPU_NOC_QACCEPTN, and VPU_CPU_NOC_QDENY registers are deprecated and non-functional on 60XX. They will be removed in future generations.

Should you just squash this into "[PATCH] accel/ivpu: Add support for Nova Lake's NPU"? Feels a bit odd to introduce an issue in that patch, and then immediately fix it.

It wasn't exactly introducing an issue but sure squashing the two commits into one will simplify things.

Thanks,
Maciej

Quoted 2 lines

-Jeff