summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorJiaxing Hu <gahing@gahingwoo.com>2026-11-14 16:05:21 +1300
committerTomeu Vizoso <tomeu@tomeuvizoso.net>2026-11-16 11:32:05 +0100
commit36161ff0c00fd52f725c14748ca54c83d86d1626 (patch)
tree3a59fd6662d04503e6f77e1e9a6f289aa3a0475c /rust/kernel/alloc/kvec/errors.rs
parentdce0eba182f2e18c5b5312d6ca18eb23dce73531 (diff)
accel/rocket: let the core suspend after a reset
The reset path drops the runtime PM reference with pm_runtime_put_noidle(), which does not let the device suspend, so the power domain is never switched off and on again. Use pm_runtime_put_autosuspend() instead, so the reset path handles runtime PM the same way as a normal job completion. Also drop the runtime PM reference after rocket_core_reset(), so the NPU core stays powered during the reset. Link: https://lore.kernel.org/all/20260819073530.6087-1-royalnet026@gmail.com/ Fixes: 0810d5ad88a1 ("accel/rocket: Add job submission IOCTL") Signed-off-by: Jiaxing Hu <gahing@gahingwoo.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Sidong Yang <sidong.yang@furiosa.ai> # RK3588, ROCK 5B+ Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> [tomeu: dropped the outdated RK3576 rationale from above] Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Link: https://patch.msgid.link/2afd051e37b8dd4f10e347a3537b0086973d554c.1794615323.git.gahing@gahingwoo.com
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions