Re: early_ioremap for MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 8 Feb 2008, Ralf Baechle wrote:

> > Jazz has the same problem. Right now it's solved by using wired tlb
> > entries. Which is sort of an early_ioremap.
> 
> One with a totally awkward API requiring the user having to know about
> the underlying TLB organization.  A better implementation wouldn't be
> hard to do, for anything that's outside of KSEG1's address range grab
> a new TLB entry if needed and wire an entry into it.  Use the same
> API as good old ioremap() and call the result early_ioremap().

 And presumably by the time paging has been set up for real, all the early 
allocations could get automatically graduated to ordinary ones, freeing up 
all the wired TLB entries set up so far and keeping the values of cookies 
obtained intact.

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux