From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC6A47C for ; Wed, 21 Sep 2022 21:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663794157; x=1695330157; h=subject:from:to:cc:date:message-id:mime-version: content-transfer-encoding; bh=tm8QMskEGivaJ+11MsTQvwARAOh+caR2SfWu3HkJSfk=; b=Gu4I+0YiJqrAwUaHv471nhTfrkakWJg7wByIAJDxfKvyaMS6XMfy7zIA 2geambLdao1WVh5erdlcgZMhbiAxiwXgmZvs3EIbis/+1qbMa8kAOWUUt ttuk8sp5OyQ8FqdjUQmESsVfs7bIwalFkttbhmLqzEX5BvsvVJxYzDjZz dAOqoB8LTxR30usT+tJAADo1dTWJ9h5CubhY7pyFhoreGIKwLEzXlzvT1 N7az4GYGrl7WlbJzcZoIw1qonOtdV/sSYeiuzEg2pb78vVP2O/SEcWA05 WrrDIjg4cuTCU72LeU0B4nfYON4fBT6EFEelYFJJh1cyNTOVa7R1DHy5k A==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="326440308" X-IronPort-AV: E=Sophos;i="5.93,334,1654585200"; d="scan'208";a="326440308" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 14:02:37 -0700 X-IronPort-AV: E=Sophos;i="5.93,334,1654585200"; d="scan'208";a="681934732" Received: from djiang5-desk3.ch.intel.com ([143.182.136.137]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 14:02:37 -0700 Subject: [PATCH 0/4] ndctl: Add security test for cxl devices through nvdimm From: Dave Jiang To: linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev Cc: vishal.l.verma@intel.com Date: Wed, 21 Sep 2022 14:02:36 -0700 Message-ID: <166379397620.433612.13099557870939895846.stgit@djiang5-desk3.ch.intel.com> User-Agent: StGit/1.4 Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This ndctl series add support to test cxl pmem devices through the nvdimm interface. A new shell script is added for security test due to the discovery of cxl_test dimms are different than nfit_test based dimms. --- Dave Jiang (4): ndctl: add cxl bus detection ndctl/libndctl: Add bus_prefix for cxl ndctl/libndctl: Add retrieving of unique_id for cxl mem dev ndctl/test: Add CXL test for security ndctl/lib/libndctl.c | 87 +++++++++++++ ndctl/lib/libndctl.sym | 1 + ndctl/lib/private.h | 1 + ndctl/libndctl.h | 1 + test/common | 7 + test/meson.build | 7 + test/security-cxl.sh | 282 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 386 insertions(+) create mode 100755 test/security-cxl.sh --