Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E524F21F3C187 for ; Mon, 9 Oct 2017 14:02:06 -0700 (PDT) From: Vishal Verma Subject: [PATCH v3 0/4] add error injection commands to nfit_test Date: Mon, 9 Oct 2017 15:03:25 -0600 Message-Id: <20171009210329.836-1-vishal.l.verma@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: linux-nvdimm@lists.01.org List-ID: v3: patch 1,2: - move the nfit_test kbuild update for badrange to patch 1 (Dan) v2: patch 1: - change all instances of 'be' to 'bre' to avoid confusion with big endian (Dan) patch 2: - move an injection related define to a local nfit_test header since it is not used outside of nfit_test (Dan) These patches add error injection support to nfit_test by emulating the ACPI6.2 ARS error injection commands. The commands are sent via the ND_CMD_CALL interface, so only nfit_test knows of the various definitions related to this. Note that this patch set will break ndctl unit tests unless the ndctl patches for error injection are also applied. Dave Jiang (2): libnvdimm: move poison list functions to a new 'badrange' file nfit_test: add error injection DSMs Vishal Verma (2): libnvdimm, badrange: remove a WARN for list_empty nfit_test: when clearing poison, also remove badrange entries drivers/acpi/nfit/core.c | 2 +- drivers/acpi/nfit/mce.c | 2 +- drivers/nvdimm/Makefile | 1 + drivers/nvdimm/badrange.c | 293 ++++++++++++++++++++++++++++++++++ drivers/nvdimm/bus.c | 24 +-- drivers/nvdimm/core.c | 260 +----------------------------- drivers/nvdimm/nd-core.h | 3 +- drivers/nvdimm/nd.h | 6 - include/linux/libnvdimm.h | 21 ++- tools/testing/nvdimm/Kbuild | 1 + tools/testing/nvdimm/test/nfit.c | 199 +++++++++++++++++++---- tools/testing/nvdimm/test/nfit_test.h | 5 + 12 files changed, 503 insertions(+), 314 deletions(-) create mode 100644 drivers/nvdimm/badrange.c -- 2.9.5 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm