[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: coherent DMA memory on ARMv6
From:       Lennert Buytenhek <buytenh () wantstofly ! org>
Date:       2007-05-31 19:28:22
Message-ID: 20070531192822.GZ26191 () xi ! wantstofly ! org
[Download RAW message or body]

On Tue, Apr 10, 2007 at 12:22:40PM +0100, Catalin Marinas wrote:

> >> Overlapping section/supersection TLB entries are already considered
> >> unpredictable by the ARM ARM and Linux breaks this rule when booting.
> >
> > I suspect that's not the only time - consider the following case.
> >
> > Current page tables have section mappings at virtual address 0xe0000000.
> > Next page tables have supersection mappings at that virtual address.
> > We do a MM switch between the two page tables.
> 
> Aren't the global mapping meant to be the same for all the tasks? The
> user mappings use pages only anyway, so no problem with overlapping.

Things like vmalloc() (and ioremap()) cause the global mappings not to
be the same for all tasks, although for the ioremap() case there is an
explicit check.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic