That knowledge is the responsibility of the MTRR driver, but not
necessarily the actions. If the mem region is not aligned properly, the
driver is in the best position to decide whether it should relocate its
device region, or if that is even possible.
What about a resource flag IORESOURCE_MTRR which indicates a region can
be used with MTRRs?
Regards,
Jeff
-- Custom driver development | Never worry about theory as long Open source programming | as the machinery does what it's | supposed to do. -- R. A. Heinlein- 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/