Re: [RFC PATCH 04/20] dev_dax_iomap: Save the kva from memremap

2024-02-26 Thread John Groves
On 24/02/26 12:21PM, Jonathan Cameron wrote: > On Fri, 23 Feb 2024 11:41:48 -0600 > John Groves wrote: > > > Save the kva from memremap because we need it for iomap rw support > > > > Prior to famfs, there were no iomap users of /dev/dax - so the virtual > > address from memremap was not needed.

Re: [RFC PATCH 04/20] dev_dax_iomap: Save the kva from memremap

2024-02-26 Thread Jonathan Cameron
On Fri, 23 Feb 2024 11:41:48 -0600 John Groves wrote: > Save the kva from memremap because we need it for iomap rw support > > Prior to famfs, there were no iomap users of /dev/dax - so the virtual > address from memremap was not needed. > > Also: in some cases dev_dax_probe() is called with th

[RFC PATCH 04/20] dev_dax_iomap: Save the kva from memremap

2024-02-23 Thread John Groves
Save the kva from memremap because we need it for iomap rw support Prior to famfs, there were no iomap users of /dev/dax - so the virtual address from memremap was not needed. Also: in some cases dev_dax_probe() is called with the first dev_dax->range offset past pgmap[0].range. In those cases we