It seems people miss-understand HMM :(
Your unhappy face emoticon made me sad so I went off to (re)read up on HMM. Along the way
I came up with a couple of things.
While hmm.txt is really nice to read it makes no mention of DEVICE_PRIVATE and
DEVICE_PUBLIC. It also gives no indication when one might choose to use one over the
other. Would it be possible to update hmm.txt to include some discussion on this? I
understand that DEVICE_PUBLIC creates a mapping in the kernel's linear address space
for the device memory and DEVICE_PRIVATE does not. However, like I said, I am not sure
when you would use either one and the pros and cons of doing so. I actually ended up
finding some useful information in memremap.h but I don't think it is fair to expect
people to dig *that* deep to find this information ;-).
A quick grep shows no drivers using the HMM API in the upstream code today. Is this
correct? Are there any examples of out of tree drivers that use HMM you can point me too?
As a driver developer what resources exist to help me write a HMM aware driver?
The (very nice) hmm.txt document is not references in the MAINTAINERS file? You might want
to fix that when you have a moment.