From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Behun Date: Wed, 19 May 2021 08:33:07 +0200 Subject: [PATCH] fs: btrfs: Add missing cache aligned allocation In-Reply-To: <20210517223939.408794-1-marex@denx.de> References: <20210517223939.408794-1-marex@denx.de> Message-ID: <20210519083307.0a047a82@thinkpad> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 18 May 2021 00:39:39 +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 > Cc: Marek Beh?n > Cc: Qu Wenruo > --- Reviewed-by: Marek Beh?n