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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/