tools/testing/cxl: Fix command effects for inject/clear poison
authorVishal Verma <vishal.l.verma@intel.com>
Wed, 14 Jun 2023 17:17:41 +0000 (11:17 -0600)
committerDan Williams <dan.j.williams@intel.com>
Sun, 25 Jun 2023 22:58:40 +0000 (15:58 -0700)
commitb46c5fa57cc60692412f616ac66ab624a941fdb3
treefe2effe530ca4963eff6930e4df13a9171ec7389
parent9521875bbe0055805557fff0b08fd9a29d02b7bc
tools/testing/cxl: Fix command effects for inject/clear poison

The CXL spec (3.0, section 8.2.9.8.4) Lists Inject Poison and Clear
Poison as having the effects of "Immediate Data Change". Fix this in the
mock driver so that the command effect log is populated correctly.

Fixes: 371c16101ee8 ("tools/testing/cxl: Mock the Inject Poison mailbox command")
Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Link: https://lore.kernel.org/r/20230602-vv-fw_update-v4-2-c6265bd7343b@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/mem.c