On Mon, Jun 17, 2019 at 05:05:30PM +1000, Alastair D'Silva wrote: > On Mon, 2019-06-17 at 08:59 +0200, Peter Zijlstra wrote: > > On Mon, Jun 17, 2019 at 02:36:31PM +1000, Alastair D'Silva wrote: > > > From: Alastair D'Silva <alastair@xxxxxxxxxxx> > > > > > > If an external driver module supplies physical memory and needs to > > > expose > > > > Why would you ever want to allow a module to do such a thing? > > > > I'm working on a driver for Storage Class Memory, connected via an > OpenCAPI link. > > The memory is only usable once the card says it's OK to access it. And all that should go through our pmem APIs, not not directly poke into mm internals. And if you still need core patches send them along with the actual driver.