accel/habanalabs/gaudi2: prepare to remove soft_rst_irq
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:19 +0000 (12:37 +0300)
commit15c0bb162353296cd2f897d2fa39d2593fb631b3
tree5644d53bedd41244f5a5e4bbe8326f2c59a3b73d
parent1e3a78270b4ec1c8c177eb310c08128d52137a69
accel/habanalabs/gaudi2: prepare to remove soft_rst_irq

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 gic_host_soft_rst_irq 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