[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM0PR02MB5523406D1B3BF4A17B392A4EB89B0@AM0PR02MB5523.eurprd02.prod.outlook.com>
Date: Thu, 18 Jun 2020 10:58:23 +0000
From: Omer Shpigelman <oshpigelman@...ana.ai>
To: Oded Gabbay <oded.gabbay@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
SW_Drivers <SW_Drivers@...ana.ai>
CC: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH 6/7] habanalabs: align armcp_packet structure to 8 bytes
On Tue, Jun 13, 2020 at 09:13 AM, Oded Gabbay <oded.gabbay@...il.com> 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@...il.com>
Reviewed-by: Omer Shpigelman <oshpigelman@...ana.ai>
Powered by blists - more mailing lists