]> git.baikalelectronics.ru Git - kernel.git/commit
nvdimm/blk: Delete the block-aperture window driver
authorDan Williams <dan.j.williams@intel.com>
Thu, 10 Mar 2022 03:49:26 +0000 (19:49 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 11 Mar 2022 23:53:12 +0000 (15:53 -0800)
commit01bcae395413739e30ccb48182a71537572721ab
tree75e6e5f318afe7ccad3f8faa9c11f54422a36b83
parent5be03a4a5b607a3cf4bd19d51b227e9d05bd2285
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>
Documentation/driver-api/nvdimm/nvdimm.rst
drivers/nvdimm/Kconfig
drivers/nvdimm/Makefile
drivers/nvdimm/blk.c [deleted file]
tools/testing/nvdimm/Kbuild
tools/testing/nvdimm/config_check.c