Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp46868lqm; Mon, 10 Jun 2024 12:12:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcZN0IJMIU9+v2+FnM9d+FkxG49xLddHyDcNjnd4rNOedQ567t+ucEnG2UqAlqtTX0KyncoYOHTyT1apPx5owQoWHZ0EtsvxOQKZlAeQ== X-Google-Smtp-Source: AGHT+IGrKNOPuCKtUtdUrDotDkDMW1AqCGx3RtUZimdSSL/RNvvZFYo3WpuUFtevMLQN/meYnWzp X-Received: by 2002:a05:6e02:152f:b0:374:ab38:a9d6 with SMTP id e9e14a558f8ab-37580311618mr117892475ab.8.1718046734628; Mon, 10 Jun 2024 12:12:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718046734; cv=pass; d=google.com; s=arc-20160816; b=dr9FhPnlVzgEcCm1PWJIFMQsJ8keGTqyZTq6EPf8dEhdyIS91AJorHLPPz2u9p4OcH USD6NdhAYtqGC4kczaq/IhT/9WkDIyrNwfkJ7wtiZuldo1XD4mQimmzHu7ZXlfmDdDM1 EZe/qdQMTDgaQOLd/wMgVeJ95ZfsIgpnKNkCYNvVopldOQupPoUnOkyMlx7r/y4wEE8V pR6OqFvy0JQIT6uFfTZo0xZ5tYw/nW8H0ZzAsrg5EmVeo4WMu1q5ZY0DrNoFayYuM79G 2PSMWMJ1mRe31zG1D6JcW3aI32Fx3aml1x6MeEQ71Q7bSgCi+R9bAnb4I+PCalv7QcT2 M/KQ== 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=0UwuiiDdOtER5oEc37d/7OOJER0aa+aXqU7rLt6/Jo0=; fh=NBWFQeoQJCxKalVKeIRTZaO55uIqw1uKTUtRX+uowOE=; b=ztDCa/QnuaozT+l14RO7WV1bHXqqv/YtPxiCfZ3nWI3itNCYor60WMoWO9xq088xG7 /9oZ0rFXjjXMVliU2QEpz3jNCwhNF7aoF0TehMXH50yLAEQlAArhjTeZ51HwsBV83ZGR 9iExxiWLgeuMx7SNcXC/czBWy6w2lpVY3BCzD87vSKxQVZ5/ibOosrMtoOYQl9CxYe7N 6XamRzL5sQmuRXcokSDu9sueUVOqFI2BJ/PMG9MX7dJH7tmMs0kwABwk+zy4JaWM6EMP CFSsnbM+xbsNEEqHIqVB/5wBvLCmNXslxSXPvirGJ9XfXVMqDqcvzR3xX47DMnhih0sH vbTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=As0sHoW9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-208459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de27605fa5si4614956a12.474.2024.06.10.12.12.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 12:12:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=As0sHoW9; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-208459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208459-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CE33BB288C3 for ; Mon, 10 Jun 2024 15:21:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61A65144D19; Mon, 10 Jun 2024 15:17:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="As0sHoW9" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 4E4141420DD; Mon, 10 Jun 2024 15:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032644; cv=none; b=bbfKVOsv9BHPcHk9KKry//t0O86s91mbvLi5DLJbYUbLYo/jjmxjUCKNUPhrEbrEU0n9LnY228ZxmIeGBCex2L0t/3C8dadX1cA0P+WUKqlWc+mtioZCpIlnC48zbicPCKp3c3EL9ou29yRHFnPLtZOQ+L3mO4pDkWfL5WPL4Ro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718032644; c=relaxed/simple; bh=eheohbSQURPQS0WEawrCBZbNeF43tCvxTAbYaEVSAm8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=ACpUnbot17G+Zckh8XN4UIcg28Gw5tbDUOL/zg81x0Hf4g2z2MRwBYn1WCgdYAm0V4D0A918AJi3X62xN51J87YRT4T8qL2x4dbCm/uBIdLkxP3NiPghRMTbtOEmNBej/fAmZZ4r/HaHKiWRrF5dPXQRH3APOFDUAGhZHalYS6Y= 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=As0sHoW9; arc=none smtp.client-ip=198.175.65.12 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=1718032644; x=1749568644; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eheohbSQURPQS0WEawrCBZbNeF43tCvxTAbYaEVSAm8=; b=As0sHoW9+/kWnfPXRSYe74WNXKUmRPRYK4844VVLCrzH2mBp8lNZe6WO MoRYUQIAaSYJa0A5VwU4fXq2maF32kIpEzB93AvCzetiH25S8A/n4evDI QglzULCMUZSpxxAOmgKg5r4cIlUzXxk8dgo5e5n5XCT6Cs5qVawRWOJYr Vi9i3jObPAO6Xd7BOBRIwYaR2i3OFuO765dhjz/eWC7xqpNnD2mUVAdVF iNr9w1EqOoaljhEp5hREx4mn+i9Dlrt3GdXLOWqyhi7dQwllDXrH0rDyV UIIDrQM6azCZekQg/scd5WegUAk2QI3XGXpo8zob10eaerltbeTTvqoRq w==; X-CSE-ConnectionGUID: NLTR8XymQaOWyxse2p8ylg== X-CSE-MsgGUID: dVOu+rf7T0aQoZxsjCpJFg== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="26115496" X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="26115496" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 08:17:23 -0700 X-CSE-ConnectionGUID: i+JHnuP/Rs+mKs2cFE9fIg== X-CSE-MsgGUID: MGaG4EiZSPW8wAfTGEH0qw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="44026637" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.194]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 08:17:20 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-kselftest@vger.kernel.org, Shuah Khan , Reinette Chatre , Babu Moger , =?UTF-8?q?Maciej=20Wiecz=C3=B3r-Retman?= Cc: Fenghua Yu , linux-kernel@vger.kernel.org, Shuah Khan , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH v7 15/16] selftests/resctrl: Remove mongrp from CMT test Date: Mon, 10 Jun 2024 18:14:56 +0300 Message-Id: <20240610151457.7305-16-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240610151457.7305-1-ilpo.jarvinen@linux.intel.com> References: <20240610151457.7305-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 --- v7: - Fix separator to use 3 dashes 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