mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
b4d4702f30
The emulation for smart injection commands for nfit neglected to check the smart field validity flags before injecting to that field. This is required as a way to distinguish un-injection vs. leave-alone. The emulation was also missing support for un-injection entirely. To add this support, first, fix the above flags check. Second, use the 'enable' field in the injection command to determine injection vs un-injection. Third, move the smart initialization struct to be a global static structure for the nfit_test module. Reference this to get the smart 'defaults' when un-injecting a smart field. Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> |
||
---|---|---|
.. | ||
test | ||
acpi_nfit_test.c | ||
config_check.c | ||
dax-dev.c | ||
device_dax_test.c | ||
Kbuild | ||
libnvdimm_test.c | ||
Makefile | ||
pmem_test.c | ||
pmem-dax.c | ||
watermark.h |