]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/habanalabs/gaudi2: prepare to remove cpu_rst_status
authorIgor Grinberg <igrinberg@habana.ai>
Tue, 4 Jul 2023 12:38:40 +0000 (15:38 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:20 +0000 (12:37 +0300)
commit01ab1629ad7024ce974015e206555955921b16bc
tree1e7558f8a85805bf23be2c5cb9e6691bdf726e6d
parent57963ff8adfee6f2a777bc44c372a390af535300
accel/habanalabs/gaudi2: prepare to remove cpu_rst_status

The soft reset has transitioned to CPUCP packet instead of plain
register write and is about to be removed from the struct cpu_dyn_regs.
As a preparation for removing the cpu_rst_status field from
struct cpu_dyn_regs, switch to use the plain macro - this keeps the
backward compatibility.

Signed-off-by: Igor Grinberg <igrinberg@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c