Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1015386lqt; Fri, 7 Jun 2024 05:58:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjYqsMlJO4w/pSkiFgwRjuTXFl+2Zjr+FgGSzWIjX9HfgGP16sYm7m/9Hk8Xy94X9TPNZXDjLZpvi6xZMa2Ke4pw6AHusjoQr6tnQfBg== X-Google-Smtp-Source: AGHT+IHflnquNoGix/repA8WV6q4VXRZqik8R7D6erYruybqOoUPnhoqvy214+9bSW+9Ks4to+1c X-Received: by 2002:a17:906:547:b0:a6e:f72e:513e with SMTP id a640c23a62f3a-a6ef72e5256mr10535666b.58.1717765106434; Fri, 07 Jun 2024 05:58:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717765106; cv=pass; d=google.com; s=arc-20160816; b=UaO6BfH+jDbXDoHBppiFkgL4B+RXNp8KOSWs9X9m20lt1fS79am5n2BcKkYO708WNp bPML0SrLrHCV7AWmNVV6lwVyio2fpK/b4nFu1PB7RbIkt5yxwFpTFLc1yd8bgxU2nFk3 dJA+M4ijcmK5MRZFyDq24ZDrxhLEG8WXw1UD4AdYknSrZRqumMZ8yfjHCiJ/f2CZOx7e +bD1gtJSRB4L2j7/qAr5hi3PCWYis/8shtSn4VdHNdkXlC8a9kZDOQXn3hkoklrIYpA/ gY12H7c7Wfgo2qXuL+1Qnmzq/O9DUsICzswoAn95fJ/hlMoAgQskbuz8fIVsBdUTYaj8 SHew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1EJ6a+FUOF0V2oeuTYv7tCwI1Ix0jgvJCGKc+/XPFZU=; fh=7aBjJTD1LEoGsthbZX/aks6vbaOZYbIjsshak+jNdyY=; b=Jk74+ja4KPKUliuMmeq3xgGDllE+BNGCDcaXVrLqvpbYtrL7Oeo9oxecJxRszgIlAx L6I0WbDydrgt+7T5lzYCXhcNLib0hwwQ5t6hkUJqdJYXX5oLvVi0Km1RYtLSyGihLIk5 pl5/Maaw0eVbx9582pg4EKwpC63bVDVc7iUlbFds5TNRyfiAlyEsmSOFNlc8R8jAoHgc cEtmD+pydyJC7flATEI2Q75CewBJFBzPHJz3210szb70Vs/THuMBs0TzrWFxaU9UVhYD EInthdPXaYIT6vURMDm8qhKXjujRZ9rLKAHusa86msdGSHwEgy3xwF4TBq9UBya6S0B+ ZpVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IWziUTxt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-206103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206103-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c807490b7si175891766b.927.2024.06.07.05.58.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:58:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IWziUTxt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-206103-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206103-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2784E1F26E72 for ; Fri, 7 Jun 2024 12:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8355F194A6B; Fri, 7 Jun 2024 12:55:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IWziUTxt" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 7724E1922C4; Fri, 7 Jun 2024 12:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717764941; cv=none; b=Cc06eQqWoOWqsMJjv8TbmRWPFXWDKvh3RgP59CGxxmQDm1iZ+AYYmFjJImTHVAHAlhRZo14P1c6suKSDupB68y5PEEC/Fz9frZJLSR1HQ2INXDtSZSNanhHW/E859ahqcP1FjJi6H3QQ2Eblr1Tz0EXFR/KmyKLBOO6o+d/XPgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717764941; c=relaxed/simple; bh=BKYA8H1ndfnYfZRhScci+pVcEuQkAu6Yh4Tj0Qt1yhE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=WY7qAmxfOoi2g1XwkxqPMUPvPHt7o2sZjCRze/kz0UHnbCL5/GHaPInMd/eXJDYEgbAmoQyB3TV1HIjliEE7leOQAessFCd/tHS4wHBUpjgo2Alje/TtZSW9Y+2q9EwJJqWDoY6re061p1FKXKW0d96vkV3bbsRBCOfsCwfUDGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IWziUTxt; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717764940; x=1749300940; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BKYA8H1ndfnYfZRhScci+pVcEuQkAu6Yh4Tj0Qt1yhE=; b=IWziUTxtHMVZrnuQdAYWN8iBY2LNb9ByNTaCmziUxC6+0dhn1kMVvfs1 6hddLULPz+C+bAhcPi4yYiFAas4LeuqwxwRxS7dmlIvXj8MJfQXlzwBWQ NUiGnrNghYWg4/2X8pWxtLHG0d/cuGRlYpaVWchWFIaXtsiYwjLIrRNJe aZoIhtBt5yZ9ZKNDIBd0DRFLSjlXymZvFwwe3nd1zkw2IvbsAJUXE50XL equtwLBbR7mfes8Jdr9TCzN0rCtuoLeHsa4o71bEGxWcu0dgWT9uwFL58 mcbKiA5tTKB5JQYjtOtXYiqwBJcP0p3d16huQXYQHbmXwsPfcGcCFjahQ Q==; X-CSE-ConnectionGUID: KdeBC4xdQyiMbWsTLaom1w== X-CSE-MsgGUID: EHoCCobAQKu77HOP9369lQ== X-IronPort-AV: E=McAfee;i="6600,9927,11096"; a="25055994" X-IronPort-AV: E=Sophos;i="6.08,221,1712646000"; d="scan'208";a="25055994" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 05:55:40 -0700 X-CSE-ConnectionGUID: q4z5NCEUR5ux6ADIqpxRGw== X-CSE-MsgGUID: hUQ1fW7/Rsqo0Ov9CPzbBg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,221,1712646000"; d="scan'208";a="69484104" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.184]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2024 05:55:36 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-kselftest@vger.kernel.org, Shuah Khan , Reinette Chatre , =?UTF-8?q?Maciej=20Wiecz=C3=B3r-Retman?= , Babu Moger Cc: Fenghua Yu , linux-kernel@vger.kernel.org, Shuah Khan , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH v6 15/16] selftests/resctrl: Remove mongrp from CMT test Date: Fri, 7 Jun 2024 15:53:15 +0300 Message-Id: <20240607125316.7089-16-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240607125316.7089-1-ilpo.jarvinen@linux.intel.com> References: <20240607125316.7089-1-ilpo.jarvinen@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CMT selftest instantiates a monitor group to read LLC occupancy. Since the test also creates a control group, it is unnecessary to create another one for monitoring because control groups already provide monitoring too. Remove the unnecessary monitor group from the CMT selftest. Suggested-by: Reinette Chatre Signed-off-by: Ilpo Järvinen Tested-by: Babu Moger Reviewed-by: Reinette Chatre -- v4: - New patch --- tools/testing/selftests/resctrl/cmt_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/resctrl/cmt_test.c b/tools/testing/selftests/resctrl/cmt_test.c index 238f514ba7e6..b63fa1e93307 100644 --- a/tools/testing/selftests/resctrl/cmt_test.c +++ b/tools/testing/selftests/resctrl/cmt_test.c @@ -17,12 +17,12 @@ #define MAX_DIFF_PERCENT 15 #define CON_MON_LCC_OCCUP_PATH \ - "%s/%s/mon_groups/%s/mon_data/mon_L3_%02d/llc_occupancy" + "%s/%s/mon_data/mon_L3_%02d/llc_occupancy" static int cmt_init(const struct resctrl_val_param *param, int domain_id) { sprintf(llc_occup_path, CON_MON_LCC_OCCUP_PATH, RESCTRL_PATH, - param->ctrlgrp, param->mongrp, domain_id); + param->ctrlgrp, domain_id); return 0; } @@ -146,7 +146,6 @@ static int cmt_run_test(const struct resctrl_test *test, const struct user_param struct resctrl_val_param param = { .resctrl_val = CMT_STR, .ctrlgrp = "c1", - .mongrp = "m1", .filename = RESULT_FILE_NAME, .mask = ~(long_mask << n) & long_mask, .num_of_runs = 0, -- 2.39.2