summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/null
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2020-07-20 15:08:02 -0700
committerVishal Verma <vishal.l.verma@intel.com>2020-07-25 19:34:48 -0600
commit916566ae78462636fe4de59b3f59a4a0c8f70205 (patch)
tree926d1cacf62b0056caad5d49845bb4c80b78965b /scripts/coccinelle/null
parentabfd4d9c828b9e1d5ff38c19eed036f707e4e213 (diff)
downloadlinux-916566ae78462636fe4de59b3f59a4a0c8f70205.tar.bz2
tools/testing/nvdimm: Emulate firmware activation commands
Augment the existing firmware update emulation to track activations and validate proper update vs activate sequencing. The DIMM firmware activate capability has a concept of a maximum amount of time platform firmware will quiesce the system relative to how many DIMMs are being activated in parallel. Simulate that DIMM activation happens serially, 1 second per-DIMM, and limit the max at 3 seconds. The nfit_test0 bus emulates 5 DIMMs so it will take 2 activations to update all DIMMs. Cc: Vishal Verma <vishal.l.verma@intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Ira Weiny <ira.weiny@intel.com> Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'scripts/coccinelle/null')
0 files changed, 0 insertions, 0 deletions