RE: [PATCH 6/7] habanalabs: align armcp_packet structure to 8 bytes

From: Omer Shpigelman
Date: Thu Jun 18 2020 - 06:58:30 EST


On Tue, Jun 13, 2020 at 09:13 AM, Oded Gabbay <oded.gabbay@xxxxxxxxx> wrote:
> Once there is a 64-bit field in a structure, GCC compiler for ARM aligns the
> structure to 8 bytes. In order to avoid confusion when these structures are
> being passed between CPUs from different architectures, we explicitly align
> the structure to 8 bytes.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@xxxxxxxxx>

Reviewed-by: Omer Shpigelman <oshpigelman@xxxxxxxxx>