[PATCH] fs: btrfs: Add missing cache aligned allocation

Tom Rini trini at konsulko.com
Thu May 27 13:42:17 CEST 2021

On Tue, May 18, 2021 at 12:39:39AM +0200, Marek Vasut wrote:

> The superblock buffer must be cache aligned, since it might be used
> in DMA context, allocate it using ALLOC_CACHE_ALIGN_BUFFER() just
> like it was done in btrfs_read_superblock() and read_tree_node().
> This fixes this output on boot and non-working btrfs on iMX53:
> CACHE: Misaligned operation at range [ced299d0, ced2a9d0]
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Marek Behún <marek.behun at nic.cz>
> Cc: Qu Wenruo <wqu at suse.com>
> Reviewed-by: Marek Behún <marek.behun at nic.cz>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210527/d9fef4ad/attachment.sig>

More information about the U-Boot mailing list