Eric Thomas writes:
> Tried out the pre-patch-2.2.5-rmk5 (and rmk4) this morning with
> diff-2.2.5-rmk4-np6 on my SA1100 board and am seeing the sa1100fb.c code
> crash on startup.  The driver remaps a region of cacheable, bufferable RAM
> to 0xD1000000 as non-cached, non-bufferable.  The remap_page_range returns
> successfully (0).  However, as soon as I read from or write to the mapped
> memory region, I receive an Oops.  This is working under 2.2.3 kernel.  The
> remap_page_range call I am using is below along with the Oops.  
> 
> remap_page_range(0xD1000000, 0xc0104000, 0x4D000,
>       __pgprot(PTE_TYPE_SMALL | PTE_AP_WRITE))

The page table protection bits are no longer the PTE_* macros.  Please upgrade
then yo use the L_PTE_* macros instead.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |  http://www.arm.linux.org.uk/~rmk/armlinux.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to