diff options
| author | Dan Williams <[email protected]> | 2019-01-25 01:33:06 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2019-02-12 18:48:14 +0000 |
| commit | fa7d2e639cd90442d868dfc6ca1d4cc9d8bf206e (patch) | |
| tree | 0328b374c2d676b6756d4ae834841f094ab26c6b /drivers/fpga/fpga-mgr.c | |
| parent | libnvdimm/pfn: Account for PAGE_SIZE > info-block-size in nd_pfn_init() (diff) | |
| download | kernel-fa7d2e639cd90442d868dfc6ca1d4cc9d8bf206e.tar.gz kernel-fa7d2e639cd90442d868dfc6ca1d4cc9d8bf206e.zip | |
libnvdimm/pmem: Honor force_raw for legacy pmem regions
For recovery, where non-dax access is needed to a given physical address
range, and testing, allow the 'force_raw' attribute to override the
default establishment of a dev_pagemap.
Otherwise without this capability it is possible to end up with a
namespace that can not be activated due to corrupted info-block, and one
that can not be repaired due to a section collision.
Cc: <[email protected]>
Fixes: 004f1afbe199 ("libnvdimm, pmem: direct map legacy pmem by default")
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
