ioremap alignment question (kernel 2.2.13)

From: ejc (eli.carter@inet.com)
Date: Thu Mar 16 2000 - 15:00:45 EST


Greetings,

In working with a driver, I've discovered that if I ioremap() two
addresses which are not page aligned and within the same 4k block of
memory, doing a writel() to the remapped addresses generates a kernel
"Unable to handle kernel paging request." I'm using kernel 2.2.13 for
ARM, though "slightly" ;) modified.

Questions:
- are there alignment requirements for ioremap()?
- can you ioremap() the same location more than once?

Documentation/IO-mapping.txt didn't address this.

Pointers to documentation, comments, questions, etc. welcomed.

TIA,

Eli

-- 
Eli Carter
eli.carter@inet.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:19 EST