hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/ABI/testing/sysfs-bus-nfit
....@@ -1,4 +1,4 @@
1
-For all of the nmem device attributes under nfit/*, see the 'NVDIMM Firmware
1
+For all of the nmem device attributes under ``nfit/*``, see the 'NVDIMM Firmware
22 Interface Table (NFIT)' section in the ACPI specification
33 (http://www.uefi.org/specifications) for more details.
44
....@@ -202,6 +202,25 @@
202202 functions. See the section named 'NVDIMM Root Device _DSMs' in
203203 the ACPI specification.
204204
205
+What: /sys/bus/nd/devices/ndbusX/nfit/firmware_activate_noidle
206
+Date: Apr, 2020
207
+KernelVersion: v5.8
208
+Contact: linux-nvdimm@lists.01.org
209
+Description:
210
+ (RW) The Intel platform implementation of firmware activate
211
+ support exposes an option let the platform force idle devices in
212
+ the system over the activation event, or trust that the OS will
213
+ do it. The safe default is to let the platform force idle
214
+ devices since the kernel is already in a suspend state, and on
215
+ the chance that a driver does not properly quiesce bus-mastering
216
+ after a suspend callback the platform will handle it. However,
217
+ the activation might abort if, for example, platform firmware
218
+ determines that the activation time exceeds the max PCI-E
219
+ completion timeout. Since the platform does not know whether the
220
+ OS is running the activation from a suspend context it aborts,
221
+ but if the system owner trusts driver suspend callback to be
222
+ sufficient then 'firmware_activation_noidle' can be
223
+ enabled to bypass the activation abort.
205224
206225 What: /sys/bus/nd/devices/regionX/nfit/range_index
207226 Date: Jun, 2015