[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <482024B6.5070704@seznam.cz>
Date: Tue, 06 May 2008 11:28:22 +0200
From: Michal Simek <monstr@...nam.cz>
To: Stephen Neuendorffer <stephen.neuendorffer@...inx.com>
CC: arnd@...db.de, linux-arch@...r.kernel.org,
John Linn <linnj@...inx.com>, john.williams@...alogix.com,
matthew@....cx, will.newton@...il.com, drepper@...hat.com,
microblaze-uclinux@...e.uq.edu.au, grant.likely@...retlab.ca,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Microblaze: implement dma-coherent API and refactor cache
flush code.
Hi Steve,
> arch/microblaze/kernel/cpu/cache.c | 37 +---------
> arch/microblaze/kernel/setup.c | 4 +-
> arch/microblaze/mm/dma-coherent.c | 122
dma-coherent.c is dead for now.
> diff --git a/arch/microblaze/kernel/setup.c
> b/arch/microblaze/kernel/setup.c
> index 43d53d9..241fb21 100644
> --- a/arch/microblaze/kernel/setup.c
> +++ b/arch/microblaze/kernel/setup.c
> @@ -51,10 +51,10 @@ void __init setup_arch(char **cmdline_p)
> /* irq_early_init(); */
> setup_cpuinfo();
>
> - __flush_icache_all();
> + __invalidate_icache_all();
> __enable_icache();
>
> - __flush_dcache_all();
> + __invalidate_icache_all();
> __enable_dcache();
here is bug.
> panic_timeout = 120;
> diff --git a/arch/microblaze/mm/dma-coherent.c
> b/arch/microblaze/mm/dma-coherent.c
removed.
M
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists