[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aF4YdFZnAWcZlpbW@surfacebook.localdomain>
Date: Fri, 27 Jun 2025 07:05:08 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Vinod Koul <vkoul@...nel.org>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
Yi Sun <yi.sun@...el.com>, gordon.jin@...el.com,
yi.sun@...ux.intel.com,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Dave Jiang <dave.jiang@...el.com>, Fenghua Yu <fenghuay@...dia.com>
Subject: Re: [PATCH v2] dmaengine: idxd: Remove __packed from structures
Thu, Jun 26, 2025 at 03:48:11PM -0700, Vinod Koul kirjoitti:
>
> On Fri, 04 Apr 2025 13:36:14 +0800, Yi Sun wrote:
> > The __packed attribute introduces potential unaligned memory accesses
> > and endianness portability issues. Instead of relying on compiler-specific
> > packing, it's much better to explicitly fill structure gaps using padding
> > fields, ensuring natural alignment.
> >
> > Since all previously __packed structures already enforce proper alignment
> > through manual padding, the __packed qualifiers are unnecessary and can be
> > safely removed.
[...]
> Applied, thanks!
Please, don't or fix it ASAP. This patch is broken in the formal things,
i.e. changelog entry must not disrupt SoB chain. I'm not sure if Stephen's
scripts will catch this up on Linux Next integration, though.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists