From patchwork Tue Feb 7 19:16:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Verma, Vishal L" X-Patchwork-Id: 13132046 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F1CDC636D3 for ; Tue, 7 Feb 2023 19:17:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231395AbjBGTRC (ORCPT ); Tue, 7 Feb 2023 14:17:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbjBGTRA (ORCPT ); Tue, 7 Feb 2023 14:17:00 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5295A35267 for ; Tue, 7 Feb 2023 11:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675797419; x=1707333419; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=iRdIDiH4UhTIWJ4OIMuQgZ3P0ZE88DyPelIpcwyE+I0=; b=KgZyxOB1wQRcmdJJG5xGhBpIA1fAsRd49fQstiUWFxUYATdXZ1AmMEHB QC4fMLqjwuayKprsJYFaRJLW8Bz8a7D6MsevRsR1Qa47vhA5LoeroUhRQ S6zCqLxP3on+Ye8ZeSo4i76Tam27j2vDLDGwgdYbPrHpGHuXFykk9R9RA UjhpNYL71grriUFx/8buLkJ8KxIXvYZPAmGt5J4aaKKlL0q/V+CediP16 pXqXRs9YBQYUzWqKkce9kmvctSNA06kmVahaV+pJf5Ty2iJ9Qj4YfN2+T EXOIFYHHUh99Zh4+SBFCVHJTXVj7LBizGzUwLFolnHteaAr1SO0TyOM5t A==; X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="331734014" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="331734014" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 11:16:56 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="735649821" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="735649821" Received: from fvanegas-mobl.amr.corp.intel.com (HELO vverma7-desk1.local) ([10.209.109.6]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 11:16:56 -0800 From: Vishal Verma Date: Tue, 07 Feb 2023 12:16:32 -0700 Subject: [PATCH ndctl 6/7] cxl/list: Include regions in the verbose listing MIME-Version: 1.0 Message-Id: <20230120-vv-volatile-regions-v1-6-b42b21ee8d0b@intel.com> References: <20230120-vv-volatile-regions-v1-0-b42b21ee8d0b@intel.com> In-Reply-To: <20230120-vv-volatile-regions-v1-0-b42b21ee8d0b@intel.com> To: linux-cxl@vger.kernel.org Cc: Gregory Price , Jonathan Cameron , Davidlohr Bueso , Dan Williams , Vishal Verma , nvdimm@lists.linux.dev X-Mailer: b4 0.13-dev-ada30 X-Developer-Signature: v=1; a=openpgp-sha256; l=632; i=vishal.l.verma@intel.com; h=from:subject:message-id; bh=QfLIsB0jQFixz9GnkkwyrXBshIB2ZsjPNpz69CvK4mk=; b=owGbwMvMwCXGf25diOft7jLG02pJDMmPFi8JW7yYgSvrqNDbsyKP2BsXRO+LmeQ2b3XxnRCB9 8sbY09ldpSyMIhxMciKKbL83fOR8Zjc9nyewARHmDmsTCBDGLg4BWAiC7cyMqx+FxCcv2WmU61S km7c5Z4rc86dOPHyouzhHMnUid+zJeYy/DPYw93p5DRx6akZEQ41Kpc+CDyRXHVEwFXoq/N7Fd1 lu5kA X-Developer-Key: i=vishal.l.verma@intel.com; a=openpgp; fpr=F8682BE134C67A12332A2ED07AFA61BEA3B84DFF Precedence: bulk List-ID: X-Mailing-List: linux-cxl@vger.kernel.org From: Dan Williams When verbose listing was added, region listing support was not available, so it got missed. Add it now. Signed-off-by: Dan Williams Signed-off-by: Vishal Verma Reviewed-by: Ira Weiny --- cxl/list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cxl/list.c b/cxl/list.c index e3ef1fb..4e77aeb 100644 --- a/cxl/list.c +++ b/cxl/list.c @@ -126,6 +126,7 @@ int cmd_list(int argc, const char **argv, struct cxl_ctx *ctx) param.endpoints = true; param.decoders = true; param.targets = true; + param.regions = true; /*fallthrough*/ case 0: break;