[PATCH] fs: btrfs: Add missing cache aligned allocation
Marek Behun
marek.behun at nic.cz
Wed May 19 08:33:07 CEST 2021
On Tue, 18 May 2021 00:39:39 +0200
Marek Vasut <marex at denx.de> 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>
More information about the U-Boot
mailing list