]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/ivpu: Implement warm boot flow for NPU6 and unify boot handling
authorKarol Wachowski <karol.wachowski@linux.intel.com>
Tue, 30 Dec 2025 14:21:16 +0000 (15:21 +0100)
committerMaciej Falkowski <maciej.falkowski@linux.intel.com>
Thu, 8 Jan 2026 10:49:37 +0000 (11:49 +0100)
commit44e4c88951fa9c73bfbde8269e443ea5343dd2af
tree4dde77055a2fafad20d7381ed6ed26d727b45944
parentd42d701e132905d69be3a7808f2ec86bdb4c48d8
accel/ivpu: Implement warm boot flow for NPU6 and unify boot handling

Starting from NPU6, the driver can pass boot parameters address through
the AON retention register and toggle between cold/warm boot types using
the boot_type parameter, while setting the cold boot entry point in both
cases.

Refactor the existing cold/warm boot handling to be consistent with the
new NPU6 boot flow requirements and still maintain compatibility with
older boot flows.

This will allow firmware to remove support for legacy warm boot starting
from NPU6.

Fixes: 550f4dd2cedd ("accel/ivpu: Add support for Nova Lake's NPU")
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Reviewed-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Link: https://patch.msgid.link/20251230142116.540026-1-maciej.falkowski@linux.intel.com
drivers/accel/ivpu/ivpu_debugfs.c
drivers/accel/ivpu/ivpu_drv.c
drivers/accel/ivpu/ivpu_fw.c
drivers/accel/ivpu/ivpu_fw.h
drivers/accel/ivpu/ivpu_hw_40xx_reg.h
drivers/accel/ivpu/ivpu_hw_ip.c
drivers/accel/ivpu/ivpu_hw_ip.h
drivers/accel/ivpu/ivpu_pm.c
drivers/accel/ivpu/ivpu_pm.h