Friedrich Steven E CONT CNIN wrote:
> If you want to mmap the device then you really want to put the
> device in its own 4K aligned 4K sized PCI window, otherwise adjacent
> devices will become accessible too and that might not be desirable.
If you can, reprogram the device's PCI configuration to have a 4k or
more sized window. (You said you were willing to move functionality
into the hardware, so I assume you can do this). That guarantees it
will be page aligned, and without other devices overlapping in
userspace.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/