On Tue, Aug 9, 2016 at 5:41 AM, Lukasz Majewski <l.majew...@majess.pl> wrote: > Change made in the commit: > "arm: Show cache warnings in U-Boot proper only" > SHA1: bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc > > has revealed that during initial setting of MMU regions in the > mmu_set_region_dcache_behavior() function some addresses are unaligned > to platform cache line size. > > As a result we were experiencing following warning messages at early boot: > CACHE: Misaligned operation at range [8fff0000, 8fff0004] > CACHE: Misaligned operation at range [8fff0024, 8fff0028] > > Those were caused by an attempt to update single page_table > (gd->arch.tlb_addr) entries with proper TLB cache settings. > Since TLB section covers large area (up to 2MiB), we had to update > very small amount of cache data, very often much smaller than single cache > line size (e.g. 32 or 64 bytes). > > This patch squashes this warning by properly aligning start and end addresses. > In fact it does what cache HW would do anyway (flush the whole data cache > lines). > Even without this patch it all worked, because TLB table sections were > initialized to default values earlier. > > Signed-off-by: Lukasz Majewski <l.majew...@majess.pl>
Stefan has also sent a patch for this: https://patchwork.ozlabs.org/patch/656470/ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot