summaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/config_check.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2022-03-10 04:49:26 +0100
committerDan Williams <dan.j.williams@intel.com>2022-03-12 00:53:12 +0100
commitf8669f1d6a86a6b17104ceca9340ded280307ac1 (patch)
tree75e6e5f318afe7ccad3f8faa9c11f54422a36b83 /tools/testing/nvdimm/config_check.c
parentnvdimm/region: Fix default alignment for small regions (diff)
downloadlinux-f8669f1d6a86a6b17104ceca9340ded280307ac1.tar.xz
linux-f8669f1d6a86a6b17104ceca9340ded280307ac1.zip
nvdimm/blk: Delete the block-aperture window driver
Block Aperture Window support was an attempt to layer an error model over PMEM for platforms that did not support machine-check-recovery. However, it was abandoned before it ever shipped, and only ever existed in the ACPI specification. Meanwhile Linux has carried a large pile of dead code for non-shipping infrastructure. For years it has been off to the side out of the way, but now CXL and recent directions with DAX support have the potential to collide with this code. In preparation for adding discontiguous namespace support, a pre-requisite for the nvdimm subsystem to replace device-mapper for striping + concatenation use cases, delete BLK aperture support. On the obscure chance that some hardware vendor shipped support for this mode, note that the driver will still keep BLK space reserved in the label area. So an end user in this case would still have the opportunity to report the regression to get BLK-mode support restored without risking the data they have on that device. Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/164688416668.2879318.16903178375774275120.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/config_check.c')
-rw-r--r--tools/testing/nvdimm/config_check.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/nvdimm/config_check.c b/tools/testing/nvdimm/config_check.c
index 3e3a5f518864..baed75e2ccbc 100644
--- a/tools/testing/nvdimm/config_check.c
+++ b/tools/testing/nvdimm/config_check.c
@@ -11,7 +11,6 @@ void check(void)
BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM));
BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT));
BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN));
- BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BLK));
if (IS_ENABLED(CONFIG_ACPI_NFIT))
BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT));
BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX));