Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp930798rdb; Tue, 19 Sep 2023 14:59:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFB6NXtDSBKCEjCtCFOrm8zeUOVSD5h8f6fRBotJEb7mYGzGFKMmPhLsF7cU+hOzk4w6jml X-Received: by 2002:a17:902:bb8f:b0:1c4:202d:8747 with SMTP id m15-20020a170902bb8f00b001c4202d8747mr575386pls.50.1695160773816; Tue, 19 Sep 2023 14:59:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695160773; cv=pass; d=google.com; s=arc-20160816; b=hm6VpSUvR2LRsw1xxz5EOu2IUU3JbVS9smWayTmg/UaV40FzLBRRYxcHqM2SDaMZWI deIqCnV1ABXjHnk/07O1dhYao0AC6HfVTvH8To0njt9WUHM4QuYE7IRoH9R5lv3w2ydk KGpkp1ycXv3ABEB0vB/OmLGwmI/x6tjFQz+nKS/u6F1ymo5xSavI81FUqD2g7Z3pj9bt dGfNWmNO7LNgC5zqQEHsivETOVa/u0/ify87OglsrAlgYiKe5K/dTLhpCOwjrzm7RpB9 5MwOoPUCV+j+KEdFjyANTN82OJEzah3xlJzusxsHprHO1jbwijXa4NRg7YN8hAKdXsRs nfEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OI/c3YpgOm9GdA6eymWMPF/UAEItTPfe9wWtBhqmXZ8=; fh=hE7u/k/kdjevca/820BLmLxHZZoMuMuHO4u4rXL+L1s=; b=0EFIz9+XR3Zs0mPSndgLr84+0EGxoFHlsmd4D6Z0ly1B2fU9o3xv6Hx1yGr1Ekf2Pv 80aitQcsAr1N0UQTsCHwsSYmNXCExIfUVZ5NN8EfEZf4yYCPgmqVvqk59q4F9qnU9ENR RWYGnamlhaKTZMmjeiXt/1IvzaSjm8RzjM34vfpDmZ2uzQ6x0y6jj7B/7McVoHdNvz2y kKBPz+KwefmH5KRp3J7q/g8RUjjqa+GH0LeJ4ZlChVEK+yjZIwjiFlstwBow1//F7Ihx 5sJt1B2APkRKFurkew9QmdhPckInxfxfR9ox7cIXqd35X7L9Njo0XhIUg0ssPVUdoe/i dUcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gipkjHlA; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x17-20020a17090a8a9100b0026d4659a4d4si110264pjn.145.2023.09.19.14.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 14:59:33 -0700 (PDT) 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=gipkjHlA; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 1ACF58096BA9; Tue, 19 Sep 2023 07:36:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232858AbjISOgf (ORCPT + 99 others); Tue, 19 Sep 2023 10:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232829AbjISOge (ORCPT ); Tue, 19 Sep 2023 10:36:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97FEABE; Tue, 19 Sep 2023 07:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695134188; x=1726670188; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OI/c3YpgOm9GdA6eymWMPF/UAEItTPfe9wWtBhqmXZ8=; b=gipkjHlAPt2NQSh2jTxMM1/P2QbwfV2npm16RRuWTy2iBe+T4PXQr8jF 0DUVgXYWnjZ4cdm9abqaAjAso1EmGw4MmuSoFOD92JyBvb18E5gJ/9We/ 3fSagvn1NjY4RzVYupRvDNjTkxQC+zQaKoxpcD0biTqMrMnX/KzelFkbH adb5UssCCK8VhpfENDUsQdnH6N+hOb2r+MVgEJgZs8fcfsE+9hrGiYsJ6 iKFpoFUfkInVG7lrvaDMUXeadih70lU2koKyrIcV8x2Y9xec0QoBsIcUf qSwoTWEpYTdmYrmFlbqZMTfE1r5UBq6UhbUbYlDYgRS3lMAu+tFv+klC6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="382709761" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="382709761" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2023 07:36:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10838"; a="746262825" X-IronPort-AV: E=Sophos;i="6.02,159,1688454000"; d="scan'208";a="746262825" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Sep 2023 07:36:09 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 19 Sep 2023 07:36:08 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Tue, 19 Sep 2023 07:36:08 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) 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.32; Tue, 19 Sep 2023 07:36:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KmtqiL7PGpGz7vxCf2ZE3CPUquLKGJ8T3rTamOG6nUpfQPxHhP1q8CQ4x5HwV+/YWY1hma/oSD76DPRipxlEDXBzm3jd42wq4f5Ew0GG6s1PXtFohLI1GHQQUc2/HYmJPc7wkKbLKmIxujakVm9t0c7y6LJ05oYcLxK2pR0lJ9MxyEirbeUJfnrCzOCIADWh0XMkr8YG0XNSIFNGN0BlGghlH/Xp1O3fWx9O+MbpHXadj5Gjo8f63MNx9pGrm/yw/4awgQtpPyXF5BIdSyS6+pTUolEt+EVBGE72bqc6wKxlkUMrGUmBa0WQZC7xYycFKk6vq+w5LNDKgXclJrsw4g== 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=OI/c3YpgOm9GdA6eymWMPF/UAEItTPfe9wWtBhqmXZ8=; b=hw/gFBWex81hTJPawnXp9fyGayw+0Vyemdv24oYRd65grr7RDZD70/RthTDo4FSi8KA1LnvbH+pwiaMIQrdKCwt2rh/GeyOQQutLMnBfCXIPaUHl5WKddq+tR8uzyMJuTTYD5BeGccDa0C7h4yZeBlaiKfw3F/62MKYF4fyCjhG9ueEOsNbBP67CL/Dlb/UbRJ8dUrTVsulU3QvZeSwJuDNetokGqLZJW4nxuW4kudcaFs5KC91p66HyAD42skj+GtyOz+qPgdFl/kUtsVHAxnJG/a3jzoji6ZTiLZiqcvMuq/VPlFFZ9lVTAI6NTaB40em9yqgxw7qop0q6Mb91ow== 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 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com (2603:10b6:a03:48a::9) by CY8PR11MB6867.namprd11.prod.outlook.com (2603:10b6:930:5d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Tue, 19 Sep 2023 14:36:07 +0000 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::bbd6:576b:132:74e4]) by SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::bbd6:576b:132:74e4%7]) with mapi id 15.20.6792.026; Tue, 19 Sep 2023 14:36:07 +0000 From: "Luck, Tony" To: "Wieczor-Retman, Maciej" CC: "Shaopeng Tan (Fujitsu)" , "Yu, Fenghua" , "Chatre, Reinette" , Peter Newman , Jonathan Corbet , Shuah Khan , "x86@kernel.org" , James Morse , Jamie Iles , "Babu Moger" , Randy Dunlap , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "patches@lists.linux.dev" Subject: RE: [PATCH v5 8/8] selftests/resctrl: Adjust effective L3 cache size when SNC enabled Thread-Topic: [PATCH v5 8/8] selftests/resctrl: Adjust effective L3 cache size when SNC enabled Thread-Index: AQHZ2tLQzZViQZuDwEGXIVxBB0yNB7AO4J8AgAC3GnCAEj3NgIAAfdyA Date: Tue, 19 Sep 2023 14:36:06 +0000 Message-ID: References: <20230722190740.326190-1-tony.luck@intel.com> <20230829234426.64421-1-tony.luck@intel.com> <20230829234426.64421-9-tony.luck@intel.com> <7gbxb6kxwa6anvcc4dquyuu7yronww6ztelazn2xllplorhbp5@i7o4fum5tjuf> In-Reply-To: <7gbxb6kxwa6anvcc4dquyuu7yronww6ztelazn2xllplorhbp5@i7o4fum5tjuf> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6083:EE_|CY8PR11MB6867:EE_ x-ms-office365-filtering-correlation-id: 39fea4c7-aa40-480c-dfe2-08dbb91dc261 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T/tEP3qhq8xGDRljW4UzxT2Bsm2rfJDT+x3EiD48QZyp68NfApy5dgMCucQsFpJSrTqZUJupF8LUsyZd9n8ZczRRSqBUllNKRqSYODm9+GOyM6CoUSfflwjgedr7SAr5wllIENh1ioiuP3rZ8JtFRL9/X+6udVDzcsouAZBBm89BncbA2mhfrhZxi9usWZQqvS2hKu5DkajDStd1vbN8GjkgvdF1IcjOVSi4G+b77YvdBDdl5GST/nFEMS5YsdVh855bLdixCJZv0nsdCJshL7CrmrOI8DMYDKTXAyeNz5vf7FA+0iUHhWsu81OqN0JxJIr9QbSjsAQjBh8Y4omy282e5xaoxOdVCXczGWL1JPfKIdr+NTGJ1+uBR+RPy8rqPNmZKpHModTewv0+wAt8aW+urNMfjFspPL0h33OYT3C828wjDtBG6BonMcZnH3N/djp5K8ftUUenL9mQxthpj87WQIaG/1dhAz6ZhESfkw1HRIuDbJxEkjcEpSlMs7aOW+kGSUcBl3fcN2O8aLQJcs/ZNntYv48EDbN9/79s0G7NYz/BLtBDMjVpnf0iFwEel2l6fxKuZGTh58qytzNdkZSZbnG+b2QJ6CQcXkTSRcsTPArXkvD9AN+6K0zjgwJO x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6083.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(396003)(366004)(39860400002)(376002)(451199024)(186009)(1800799009)(122000001)(38100700002)(82960400001)(38070700005)(55016003)(33656002)(86362001)(478600001)(66446008)(66946007)(6636002)(54906003)(64756008)(66556008)(66476007)(71200400001)(9686003)(2906002)(76116006)(6506007)(7696005)(8676002)(8936002)(5660300002)(4326008)(6862004)(52536014)(7416002)(41300700001)(316002)(26005)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Q2U1NXRJc1pYbmUzZXJ2R01OQWRkdDN5d1U4a0ozMFhSSU9ERDJaU01qRVlW?= =?utf-8?B?UGtsTzlzSkg5eGpFcUEvbGJPK0lSRUVEMlJlWGRtYStQOWlBRjgrTGpQN2dZ?= =?utf-8?B?Y1VFSnZESmh2d1RTa1ppTTRnTlBnTHVYVXl5OVRseXJ1MmovdWJQeVBYWkhU?= =?utf-8?B?Nm02Yk15WFoxQUIwenc5NXNBM1BzNXhodW8yTDFFdDN0OXNLV3Jvc0N2Wk1j?= =?utf-8?B?SmlYZkdjdHlZTkdGN2pPd2NLTWhRUms4bjA0eU1wWkt3a0JBeW5kRkdTdG9I?= =?utf-8?B?VFZ2WkREMFE5VGl3S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Va2ZwdTQx?= =?utf-8?Q?fEAAxph5+iXuLxow+m6nHZiIZ?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6083.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39fea4c7-aa40-480c-dfe2-08dbb91dc261 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2023 14:36:06.9189 (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: lOx9keliS4/h02KZicR3B+lvw5ZsKknSm35KsaU6YNzMKf3lYVbVMBLJ4I6/JqchwDLAUEBLD67RUYLJ901MXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6867 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 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, 19 Sep 2023 07:36:34 -0700 (PDT) PiBPbiBhIHN5c3RlbSB0aGF0IGhhcyBTTkMgZGlzYWJsZWQgdGhlIGZ1bmN0aW9uIHJlcG9ydHMg Ym90aCAibm9kZV9jcHVzIg0KPiBhbmQgImNhY2hlX2NwdXMiIGVxdWFsIHRvIDU2LiBJbiB0aGlz IGNhc2Ugc25jX3dheXMoK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