# \[PATCH v3 24/24\] pmem: convert to generic memremap

- From: Ross Zwisler \<hidden\>
- Date: 2015-08-04 16:53:46 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/08/4550781
- Thread: https://ratatoskr.run/linux-arch/2015/07/4546928/t.md

```text
On Mon, 2015-08-03 at 11:01 -0700, Dan Williams wrote:
> On Mon, Aug 3, 2015 at 10:21 AM, Ross Zwisler
> [ref] wrote:
> > On Thu, 2015-07-30 at 12:55 -0400, Dan Williams wrote:
> >> Update memremap_pmem() to query the architecture for the mapping type of
> >> the given persistent memory range  and then pass those flags to generic
> >> memremap().  arch_memremap_pmem_flags() is provided an address range to
> >> evaluate in the event an arch has a need for different mapping types by
> >> address range.  For example the ACPI NFIT carries EFI mapping types in
> >> its memory range description table.
> >>
> >> Cc: Ross Zwisler <redacted>
> >> Signed-off-by: Dan Williams <redacted>

Reviewed-by: Ross Zwisler <redacted>
```
