Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp797306lqb; Wed, 29 May 2024 10:43:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbD8+TkL0WwiiqaEMpwVgFUnR5dRnm8JAErJs0RW/SJYhp0+oNXLQ9oQh1iOqc7LKkiIHxgZF5MzO8vn6V4FKwjhiMbml12vSu6ANx+w== X-Google-Smtp-Source: AGHT+IEYjNUfjW+b3mTbDYxQdgnDnaPS2d5jfo38pv1iv9U+7tVWmH2FskCQ4CaYxND1I3Ev7+9j X-Received: by 2002:a05:6214:5a07:b0:6ad:7697:8527 with SMTP id 6a1803df08f44-6ad76978aabmr130155056d6.57.1717004625656; Wed, 29 May 2024 10:43:45 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ad71612a15si105788956d6.611.2024.05.29.10.43.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 10:43:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ev+kyWiG; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-194522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194522-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 53FC41C22A74 for ; Wed, 29 May 2024 17:43:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DC80181D07; Wed, 29 May 2024 17:43:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ev+kyWiG" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 C450615CD46; Wed, 29 May 2024 17:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.18 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717004612; cv=fail; b=HLFxbfbtWXYDfbKbfH8z4wTOATVwSHVpETsTPt7H+vJJ262FiyhpxOIKfQ2o6jYl2OWevqfGbyF9EqlZeN9nYhK5cK5gsUsyRblWpl3pafpcuylUBuCqreP+dsrf4Vc/V33nkdN6G7/X7QL9OHO5qjUcKOK4FFz3JmXJ3CkR54c= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717004612; c=relaxed/simple; bh=Ziflq2Szhb9e5nyeJef6hAH+Zd/8n892jVEgOWJBHFA=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=nLaoHgQzkSGkhNpDI8Qc95B87bydOB3Ax8GCNIetNYlMmhww6S9Txcngw9pPCtBt30wbUUHUj0cRCYDkZPu8Ridks0YpqbMrRNMuo+08/BRA4iDGhO2WhNeqtJVjA2xMWtaFCkMumqe0hISxZxmP9RwbWnIYW1yfMQYhFKTfNrQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Ev+kyWiG; arc=fail smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717004611; x=1748540611; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Ziflq2Szhb9e5nyeJef6hAH+Zd/8n892jVEgOWJBHFA=; b=Ev+kyWiGFWFTv2E3d9DTDirFxTF1WqiBbtn1YHYt3PFVcbdboF3Q/uiX nke5+nqT3ENtDPygHHaWQkDPn6zKoPP9sJ5Fm20J1gsgNEPpIVdoOEaKZ HXxtYDOGHijDEnXKYr4DPGjz0AQZghWVrZTljcm/F4JZ1aB/xPa95R5CM XYqWMBFB96L7GZGdmkxVkSgFHOG9rgxQaFAw6JppjWYRZraV10mLz/uHC /+bPAIjllmry/KzJ8h2DCVDpp626/N4P+uwLfIAz6uLfDHH9CQQnMlSD7 lnIsjDFybsuZP6635FDFnhy5M7yVVG/LJ/qcAlJE4+8S4WDuOxt2BBLz1 g==; X-CSE-ConnectionGUID: /VBgm7DlTcmeJduxRBeCRQ== X-CSE-MsgGUID: 7rPFiWrbTpCB/RjWgaol9Q== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="13202395" X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="13202395" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 10:43:30 -0700 X-CSE-ConnectionGUID: JB5HpqiTQm2n0gEWeD+GZg== X-CSE-MsgGUID: o9M8o8TjQdmyNPIMdpTkWQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="40414831" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 May 2024 10:43:30 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 29 May 2024 10:43:29 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 29 May 2024 10:43:29 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 29 May 2024 10:43:29 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 29 May 2024 10:43:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BSl3GhF2xMOkWfgGdzv3V0D9ZniFFj/QT/wGKd7ivv8xqYL2LvRYLcMWRYDGlNk/W1SXZfDaOWVvR7q3KoACOvaC2H77euo9Be0m62cAenz94Sn6Iyv8UMy02EkuPaJdSPnXgP/ZzCVCuhUTbOC/t/yU0BLW9WLS1Sk3sWzK/mcqNXCwkPSXixqsj9C7qzwoOe4tZ5uZWRpxbSFeY+hUfeeIafTe0bUMxLqUPRZ0uBayXjTxheBaowRZCrMoGdSULEigMA102UGsaA9Sy0zNmPtwjLw+VAhNOM19+cR2HN6Sd9Y8TqDntXfhifdlXnMa66qUyKNH5OhEBr2q0aAilA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=11/KEKHyFL7EpDHb3zIwsr1lUQY9f36xU4GX4MyP/qg=; b=QqiZu/U8h1AxCTx/nfwH+n7xd6r+WmNokG2a0r9c1m/w6FebMDbsikUJmAhBrc048pNzz1swKzWfvbr7wMg2SF3PEbP05EZOgE0UhZE6v9bOq+XA+qsbRERf4rg+mKYpoMV0n1k1FmT7prCVWGCoy6XKyE8Thm2DJUS8fv4yroxzED5BccHYXEFDhw1VcsHk77harU/ns3vS1Cl0Ik3BCloUFcgAE9x7OqBsf3fRm8zYSUIOaAwl4Hw97Kumccu7f92kcQwh2GzV/chGm1gj8ZpgwC12zfiatC4XlZS0UgX1T+MUTuRyADOfeZXMdUPKQb/6MOKet4hQ+X1zN9/6Bg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) by IA0PR11MB7378.namprd11.prod.outlook.com (2603:10b6:208:432::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Wed, 29 May 2024 17:43:25 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::61a:aa57:1d81:a9cf%3]) with mapi id 15.20.7633.017; Wed, 29 May 2024 17:43:25 +0000 Message-ID: <0e931356-abde-4118-94cc-6905f409cf95@intel.com> Date: Wed, 29 May 2024 10:43:23 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 04/16] selftests/resctrl: Consolidate get_domain_id() into resctrl_val() To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , , Shuah Khan , Babu Moger , =?UTF-8?Q?Maciej_Wiecz=C3=B3r-Retman?= CC: , Fenghua Yu , "Shuah Khan" References: <20240520123020.18938-1-ilpo.jarvinen@linux.intel.com> <20240520123020.18938-5-ilpo.jarvinen@linux.intel.com> Content-Language: en-US From: Reinette Chatre In-Reply-To: <20240520123020.18938-5-ilpo.jarvinen@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MW4PR03CA0356.namprd03.prod.outlook.com (2603:10b6:303:dc::31) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|IA0PR11MB7378:EE_ X-MS-Office365-Filtering-Correlation-Id: bae612c5-f9c3-4012-beb5-08dc8006d767 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Q3lBTU9KeFNpSmJXZTRLTG40bjlwSVFIcEJ3SlRVSzVacThLUWdPNGRmU2NX?= =?utf-8?B?QTNFSDYrUThzamtyN2N3TXNuNVFYWEl4clEwNUFwTXNhbEhsTHJvakRZNGFy?= =?utf-8?B?L1NmSWNpY21FWG5QdlZYam9oS1d5NFBrMTBFa29XMmZJNkJWd21qY1c1d0JD?= =?utf-8?B?Y2FCSzZlazdabG9SSk5iU0tDS2hQV3JHcGl1QzhZc3kySkpCdkEvcmE0a1Y5?= =?utf-8?B?RjJGUzM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0?= =?utf-8?B?ZzZFa3oraDNrK1BEc3krV2kvdFJjZEYxTUh4U0s5bGQwekdPNWUxYjVJaEdS?= =?utf-8?B?YkllRUhyNDB5bU5kYTFLdkFEM2tCTDVlY2NiK1BhdUJIZTZTMnJQUm01eElE?= =?utf-8?B?OXg2L3IxUk5uamFpVDJ4MXZXckowRmZVZXF3ektJbUtMVmIrQjNFMlBlaWZD?= =?utf-8?B?Z3NMcXVWdnVtYU1mdEQ1elNrYVhCZUVyZk40OVFjOVpXRGNnbFZXK3FTSzJC?= =?utf-8?B?Slh1YmRTZHVZVkpKTFlxc0RNblhkeVpLZVBpMkNZUHF5cE9UdTJ5Zm01UzlI?= =?utf-8?B?WjZLOVdmazliMTZtaEhMaXhSWlNudU0zM0w2K21yZWQ2R0Fjb3FrdEVRN21D?= =?utf-8?B?LzRBQU5xUm0rK1k1V0U1VERMWGhreU5zQWxRbVd4KzVNS3lnaUo3L3pyc2Z5?= =?utf-8?B?bDVjcU1RQmMvQW44T0hMMy9MZGVJd1FhN2laRU1CZk9YcFhURCtJRllGQVJi?= =?utf-8?B?dUtRazBPMk00Z2dueC9lcCszL1FWSFppTFI4SWU1RGRRTVE0ZXFVeGhwaFYy?= =?utf-8?B?STBoMkF2N1FkeGZ5Z29xa0dOUTI3ZUYzOTRxaURDa3FDR3NxT1RzUzBRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR11MB7573.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RFNmd1ErNUtGQzRiMi9rNXJWN0JnOTBKbFRBbWJSaVRDTFlnNCtWMDV4MnJF?= =?utf-8?B?cUxqOWtJZ0RObjRUNVFaRmxPaDZyTVBCOTRkdDJHcHp4THczazd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Tk1HOE5JeUlydG5MblZlbmZURjBlSmhoeVNna0Fi?= =?utf-8?B?UEc5RkVVNFN1bFlPYkdrVFpBMEdDVklMRXVCRmloS3l2YXNTVXg2NkFhZE9O?= =?utf-8?B?dVJ4VHRyUFZmZ01Tc0h2Q2ROc2N6Y2NtZjYzeXRMS0NlZXN2SHNub0hORzNK?= =?utf-8?B?Qm8vaUxrWFkvVjVEOFltNW9TQTNnTGk2aVVNNnlrRE4wYlVMWEdkeU03cmpk?= =?utf-8?B?ZEUrdEZXNURlSGxTSUhqQWpZN3BUMUlnUHAwa05uTVBielRUa3c4bEt5Z1FX?= =?utf-8?B?OGc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: bae612c5-f9c3-4012-beb5-08dc8006d767 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 17:43:25.3049 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MtIGQ/2vuL2pCh/wZVu2HGUdSMfWbPN+iP1gD3MBmup79Om9wR9Gt3in2KQAK6cdWqO00Ekt2h5Xo8ePjKPgADiu8oCETMOsquOwR5qK+Dk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7378 X-OriginatorOrg: intel.com Hi Ilpo, On 5/20/24 5:30 AM, Ilpo Järvinen wrote: > Both initialize_mem_bw_resctrl() and initialize_llc_occu_resctrl() that > are called from resctrl_val() need to determine domain ID to construct > resctrl fs related paths. Both functions do it by taking CPU ID which > neither needs for any other purpose than determining the domain ID. > > Consolidate determining the domain ID into resctrl_val() and pass the > domain ID instead of CPU ID to initialize_mem_bw_resctrl() and > initialize_llc_occu_resctrl(). > > Signed-off-by: Ilpo Järvinen > --- Thank you. Reviewed-by: Reinette Chatre Reinette