Re: [RFC PATCH 08/12] PAT 64b: coherent mmap and sysfs bin ioctl

From: Andi Kleen
Date: Tue Dec 18 2007 - 04:36:18 EST


> Well the other alternative looks like having a second file per par
> bar. Say resource0_wc to support the write-combining mode, possibly

The intention was to support memory not in bars, but give a generic
IOMMU mapped memory interface for user space e.g. for the X server.
But that needs a way to return the bus address for the mmap mapping
and ioctl was the best I came up with for that.
Given it was never finished.

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