[U-Boot] mtest: Print dcache state

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Oct 4 13:03:48 CEST 2012


Hi Tom,

On Wed, 3 Oct 2012 15:05:21 -0700, Tom Rini <trini at ti.com> wrote:

> On Mon, Aug 13, 2012 at 12:59:12AM -0000, Beno??t Th??baudeau wrote:
> 
> > mtest tests many types of memory accesses in many different conditions. If
> > dcache is enabled, memory accesses are likely bursts, and some memory accesses
> > are simply skipped. Hence, mtest results may change depending on dcache state.
> > 
> > This patch prints the dcache state at the beginning of mtest so as to keep the
> > user informed of the test conditions.
> > 
> > Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> > Tested-by: Beno??t Th??baudeau <benoit.thebaudeau at advansee.com>
> > Cc: Wolfgang Denk <wd at denx.de>
> > Cc: Mike Frysinger <vapier at gentoo.org>
> 
> NAK, this breaks x86 which has no dcache_status.
> 

IIRC the general idea of printing the cache status in mtest had already
been NAKed (though not formally) by Wolfgang.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list