Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4178267rdh; Tue, 28 Nov 2023 14:13:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqAp/KwFCrXDVy1Hdg08IL3L90uw2Z71AC+xPTDUoRmwyfIydTZl4RvwDiljs8dtwCRvxk X-Received: by 2002:a17:90b:4d88:b0:27d:3439:c141 with SMTP id oj8-20020a17090b4d8800b0027d3439c141mr15053968pjb.39.1701209627948; Tue, 28 Nov 2023 14:13:47 -0800 (PST) Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e13-20020a17090a9a8d00b00285aaf2d6aesi7989263pjp.116.2023.11.28.14.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 14:13:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=G859RO6t; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6D22A80A41B4; Tue, 28 Nov 2023 14:13:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346632AbjK1WN3 (ORCPT + 99 others); Tue, 28 Nov 2023 17:13:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjK1WN1 (ORCPT ); Tue, 28 Nov 2023 17:13:27 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F599D42; Tue, 28 Nov 2023 14:13:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701209614; x=1732745614; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=YuetQPbnVC7lqMFYtJvQHZRMnsfsufOu0iemQTYMvMc=; b=G859RO6t8z3JF7168tXFj+hgcZn5i36I0FOW0N0mLr8RibmzfW+4fJAJ xBkcYVwaLDUTTcaLKuilIufXWbCpojyH5O4aslV+AZlPUIphzL77uIeVr /gM2Zc4oPELiZvED9veeHBv4qLHTKnpNYyxDWs6U4XzlQjjx4cJRyeEPx +jAYlqiFyfMTkyjZZ8RDkZ2ZnJxIFYftzY1PgVb/DslJVW1PJRG+BuOlc rsF2xQbgGe/a8jUhAyQMOMxvg82oMBS8fIVc9uiWGY6J63M42JJw73T/j ZN14qrtmLoPQ1HH8SKkh/E6SZOzX48vf6eMpNiCAztWDBd5vMb0eA6gKq Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="395858082" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="395858082" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 14:13:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="803079892" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="803079892" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Nov 2023 14:13:32 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 28 Nov 2023 14:13:32 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 28 Nov 2023 14:13:32 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 28 Nov 2023 14:13:32 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Tue, 28 Nov 2023 14:13:31 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8m8IZqRrCtd+FS2HYzk1ngxnIG60YyCYNwCwWjFd9uGPcRv9+MdtJYTTqh0vcNRpILe31/1X2ZpK1hRFsYtQ+kXsx0RQJyykKQNbMwwBeRVC9sSlPO61d4ohzqvQ9duUJ8+DMrWmIkgN8ar8wdeY/NRyU6G+6Ibk2GqLW1UrvNfjd1JXIPeqDIQCHKyWiyuqjKRC3BzTYa70UK4+eMqrt3lknEhnRxq9YcRW8N1r1GzJA5iJQcqEOgxV+WYM282JD/WOE7q+AAUPFMFABu02ZgZB80XwXFLthAtx/Fe+oHCaEigGA1v+ObL9Xew9TXFqvbBA6hFKRJSAMyQ+5HXHQ== 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=O3kKx3W1F9PIq6nwylhVdeLmwL3ASiYHJh1MFzeJr98=; b=gmol+4xE6xOeIHPAUbVZqT3dm+/iJ6vac+hM/d7uoVVnZigsFITt4Frs0+5IC3fksdzNRUlK5KR71eSQ+EZwkVyv1QTdSLzY04obq7lAZUE9VW9cRhjYoDUXYVQ6Tgxo4J3vU+vnuehPjhS2ZNGpLbliMPsfS26n6ax3HKz//3GVrho5Lkw7zqoGw1QqvOpSTGQBRFmasSk8Xf7mI7xjrwRC1pAUYUOm/cOu6kBJlxKl/xXrKl3qe2OTUxp7AsGBFG6VLhNj1S+uqOeKY2sZNMlLi0e/HxMf4Y1nVw9xYnYeVPPJc2HLJ4GD34ioK/gXf4nktaU8V0WRWveWHz28cw== 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 SN7PR11MB8284.namprd11.prod.outlook.com (2603:10b6:806:268::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov 2023 22:13:30 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::6710:537d:b74:f1e5]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::6710:537d:b74:f1e5%5]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 22:13:29 +0000 Message-ID: <9a12bc46-ed13-4386-be75-8075f8f1ca12@intel.com> Date: Tue, 28 Nov 2023 14:13:29 -0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 09/26] selftests/resctrl: Split show_cache_info() to test specific and generic parts Content-Language: en-US To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , , Shuah Khan , "Shaopeng Tan" , =?UTF-8?Q?Maciej_Wiecz=C3=B3r-Retman?= , Fenghua Yu CC: References: <20231120111340.7805-1-ilpo.jarvinen@linux.intel.com> <20231120111340.7805-10-ilpo.jarvinen@linux.intel.com> From: Reinette Chatre In-Reply-To: <20231120111340.7805-10-ilpo.jarvinen@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MW4PR04CA0192.namprd04.prod.outlook.com (2603:10b6:303:86::17) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|SN7PR11MB8284:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a393da5-8b42-456f-aec8-08dbf05f4089 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Dh2SNQqiYADkBigEqahEV1JDca7on1CdHQfanEkRhzE1UgQPoSjFIxxNttfW/WZ+Bpo0StgmhB3fWOeJNOkzzHqG0fuG/9C4Hv+RdOSyNrw6l/7BqvpqSxw0fo8OhKZGRkShBDFB7zY3ga44SDlfDPENbyCy6CG5VpJkelmgRz1RIVbvFvpnkY6shZ9O+4JCQiNzA/h69Awo19q7sso+3RqzxpGjwCtIWxJhWH30dYVVK3sNgtLhjoQcsAwKT2RCCmGWCfZPQO6YhB/ujyc2t7B2kk7fS1h501okrLH/hZzTxg2KaK//vlEIW68YeOMdWOIQ/LlmdAximCohZ0OcvbCvtAskpie89rA9MTrKyeqtiKOYPZmlTYwWalqqRS3BJRlSLrdxC+9zHyhdaqg8uuKmexFwOH/sMutRYTN5b6F3ddFNhWq4rujjefZm/dM4iP8WrRh31tYZNIiLwNsSWZ5wHOq+Q+ffKD05yO5XyNSnDY6UMm2HYgmVnTrSMg6A6R7+PTNdtDNnU1Ui7ruKKNI8d1GY3426kQq37QoXbPm3+t36zTMZWxwIv/SFaPU9ixp8nX3Epfjg13ZoPWAvQwgh5ITSBdUFTKYwiUum9x+aSkvgYvCtQEK7lxZqRdwgHH/ZzrQuTP7O2cRQa/MyCAIqZorcIP+hHJydalRiMUk= 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)(366004)(136003)(39860400002)(346002)(376002)(396003)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(5660300002)(38100700002)(31686004)(31696002)(82960400001)(8936002)(8676002)(110136005)(66556008)(316002)(6636002)(66476007)(66946007)(53546011)(44832011)(6486002)(86362001)(4326008)(478600001)(4744005)(41300700001)(36756003)(2906002)(6512007)(6506007)(2616005)(26005)(41533002)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OHZvY01WNzdxZHpBSkFnV2lncjN5WWl0aUdKbjY2a2xrOXJYWVU5STkvb1ZI?= =?utf-8?B?dkpGWjlaTkNVWDZEbVArSzUrejgzOXBsTXJyQzl1dWI5SjBpZnA3ZFRaMitH?= =?utf-8?B?ckpRNVd0SjJrRld5dUx4cE02UkNWbmpPUXduSXRybDZZalpTemFzbVg3WVVG?= =?utf-8?B?aGxCQWE5cmdVTnJTd0tnQWVOYmNCRkt0dFBLUmxxeXNMMkZSeGoxbThiMzZM?= =?utf-8?B?a0pKSVNCQWVHZjFGWnVoWGlNbU9MaFNDNlVjZ0tMRmtXNGE5TytXQmxhaENQ?= =?utf-8?B?VzVXaVRNZ2pHTnh4aHNrelc3TkhKNlZlSEtTbWN4K2g2RXBNR1lTbEg3Uzdy?= =?utf-8?B?YnVXS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isvMDJnV2dXMGlHU1J5anZrWkRSejNIRENYSEtw?= =?utf-8?B?QVE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 0a393da5-8b42-456f-aec8-08dbf05f4089 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 22:13:29.9357 (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: d5U8+enFi3S8PBioxFjZO5kHOjNKa7hxY4D9cON/XkatHcTQq0g4877P/nyOa88HqbJ5gDYaKcwtvTwyP1CHtsqfl5IPFnbKlN5fQes/mxo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB8284 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 14:13:45 -0800 (PST) Hi Ilpo, On 11/20/2023 3:13 AM, Ilpo Järvinen wrote: > show_cache_info() calculates results and provides generic cache > information. This makes it hard to alter pass/fail conditions. > > Separate the test specific checks into CAT and CMT test files and > leave only the generic information part into show_cache_info(). > > Signed-off-by: Ilpo Järvinen > --- Reviewed-by: Reinette Chatre Reinette