Re: [PATCH 12/13] accel/habanalabs: keep explicit size of reserved memory for FW

From: Carl Vanderlip
Date: Fri Feb 23 2024 - 18:27:26 EST


On 2/20/2024 8:01 AM, Oded Gabbay wrote:
From: Tomer Tayar <ttayar@xxxxxxxxx>

The reserved memory for FW is currently saved in an ASIC property in
units of MB, just like the value that comes from FW.
Except the fact that it is not clear from the property's name, it means
also that a calculation to actual size is required everywhere that it is
used.
Modify the property to hold the size in bytes.

Signed-off-by: Tomer Tayar <ttayar@xxxxxxxxx>
Reviewed-by: Oded Gabbay <ogabbay@xxxxxxxxxx>
Signed-off-by: Oded Gabbay <ogabbay@xxxxxxxxxx>

Reviewed-by: Carl Vanderlip <quic_carlv@xxxxxxxxxxx>