Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1351979rwb; Wed, 7 Dec 2022 11:50:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf7quiDRRtUYe4bOVuSLCP3kq++N28iwG59VBpfPfD4NpPjWQ3VskiCjPKIxEkz2FQo6mnlI X-Received: by 2002:a05:6402:2074:b0:46a:bb9e:40d1 with SMTP id bd20-20020a056402207400b0046abb9e40d1mr48989175edb.242.1670442636487; Wed, 07 Dec 2022 11:50:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670442636; cv=pass; d=google.com; s=arc-20160816; b=PfgQdMrtnl49jBD9TlCmKRUiI7qhyUwoX1BgkmLQgduigBvIl71QA7exRFkEAHCdxs cPJVDKpSj5zZUSZ6bvalQVoRSp8rjZzt+C9PqkRSnCibOZYSQzNoQAJxj1oQsnvwKnv8 2ewL4cjqKCEtJEr+dkOd6+tZn+z/UJntOb/Gyjtm+lkTx+x2ZaLCVD3FcSxUPHWOqHsZ ogSvBvvOmPuUS2VfD3eWN5sBgV2CuDkjJCIQsMP8Kv4W6/AHbRBlcDiTMJPimP7kOGau w9Dp2/LBvnkY1O4B8E6xn07/KxA1ecsYVbrHyJPbKXJH6x/aVfWvvIdGVbcCGL1cwkcq bueQ== 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=fIJoOYKW45uFyLPBxkchmcDJ2bmlq6655tq8SBSiUaU=; b=FMXWpi0iMhpBq/fbqbNWLgdovko6oq5Ll8H+AsBZW5MJLC80DBepuSr3n9U9K25ZaV rOB9ge94t5W6D9cO1g9gOqYZtS9NLd9WRxjQjT6E8C4UxA3YuSKgPFRQnDzjHk7NRI31 PeI2+j09evCrRyFP0kTtA2OoJApos/hco3QcoaV5CVw7aCAzckKVhAwuslLutx9x+Rbe x+2Rds4pEv79LU02RBy/rLIFqVr2wRXJGkM3xLKYgGR//IIINrogWpSW0BLc0p7mLQuJ 6QbpqK8MvPRPviefVs8Ar63P1edLvwybb1qT/CmWh6xddWN/CsHKgb0Lb+hXwJ87FQL8 Acxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=I1mJjUHe; 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::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt12-20020a170906ee8c00b00779a3220c5asi14637431ejb.343.2022.12.07.11.50.19; Wed, 07 Dec 2022 11:50:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=I1mJjUHe; 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::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbiLGT0g (ORCPT + 74 others); Wed, 7 Dec 2022 14:26:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbiLGT0Z (ORCPT ); Wed, 7 Dec 2022 14:26:25 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D51663E9 for ; Wed, 7 Dec 2022 11:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670441184; x=1701977184; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=fIJoOYKW45uFyLPBxkchmcDJ2bmlq6655tq8SBSiUaU=; b=I1mJjUHeMQ6AXVyVZH0i2wsldqMckHCo7wf4pwyHy8EfncE1g8LAZMoZ ldiv/DysxkDQutn/peZSxEPhNSjhuWt9OX48+95WO6j6QDG9rLEgQLGev EmeAqQJNQ/oGkO/TqJKq9yZF+TE2UeabYcidhfmbndJ3zbDUZr25WEVBe yK2kZd9kgeFNuaumcXwl2NnQyfeoSBSbmW+y4GTerySXFPpJaRGhwdvQI ahcoXr1rPSDDk5bn9TReG2zIi7V/yL90NbYxltui8FYyYHmnrn3UX21XU Vb01QhZMh4aX0+4eLXwWEKJ7yrQdGspyKpYzWcxJAuhSqZ4R6CLvhuEHI A==; X-IronPort-AV: E=McAfee;i="6500,9779,10554"; a="381275144" X-IronPort-AV: E=Sophos;i="5.96,225,1665471600"; d="scan'208";a="381275144" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2022 11:26:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10554"; a="975574681" X-IronPort-AV: E=Sophos;i="5.96,225,1665471600"; d="scan'208";a="975574681" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 07 Dec 2022 11:26:23 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.16; Wed, 7 Dec 2022 11:26:23 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 7 Dec 2022 11:26:23 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 7 Dec 2022 11:26:23 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.44) 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.16; Wed, 7 Dec 2022 11:26:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fayHR2l8h6tX9KO2Y9MddmaVGvq5k30RhbDYMwongngai1ZNkBPp8glwd7Zp/FKYbkM1vpwwDuBgPvVM3HhFdw2bcc5i0EPKI8DdhFoBX+uadqQ3s7wkxxgtGJVc8xkihxKHLStFD7gbjVd8j9/8EMsVsAQCvgkSzAPYrOePsYu3nGTd+89KR9Wf9DFCOVZP8vLE+32U1vAP3+xAGCLhAPgpaKaBdEzl9AxiGl0MK5XMVE9zLL6gWNR+8+7vU7js52rygqnpfY8OSMSGonozIOvug2uZmKh2lbi+b44tOpkK7RYDVW/+hJXBUqdIgDKdIsjSECtWTRIZdEpDMqg8aA== 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=fIJoOYKW45uFyLPBxkchmcDJ2bmlq6655tq8SBSiUaU=; b=YANOpVwzyI2k+3i6DchLs0jFLWbzMO3EHJv5n0SU5r6pCOe3VYJOVIXMf3uxXbpXeDJap5V4lusVVCKkq1TyVx46kmpcg4Aw9AZHT+TqTNrxRabhXp9581gNtI8U1n2kc3bSQzvfE0uYhuihiQYMCFmNTz5TglgiOC7q4mr3Pf+r1nGzS1uJJTYkUXaYQWicUF8wVGmVSc1i8m3U7hPEqHx1EgTymCkw0G3be7LrVJCwGM1XEFOWA2YR9GtsyLLBJ0hxxHK8kCrsDjGOyd8yqEdJFdkZY25yLXQE1VpABAp75MmfmsbbeVuTRKbLgdSP6qoMIVCapJkW2o159eOpVQ== 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 IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) by PH0PR11MB4789.namprd11.prod.outlook.com (2603:10b6:510:38::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 19:26:19 +0000 Received: from IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::16c0:1ae3:13ee:c40e]) by IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::16c0:1ae3:13ee:c40e%9]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 19:26:19 +0000 From: "Yu, Fenghua" To: Peter Newman , "Chatre, Reinette" CC: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , "H. Peter Anvin" , "James Morse" , Shaopeng Tan , "Jamie Iles" , "linux-kernel@vger.kernel.org" , "Eranian, Stephane" Subject: RE: [PATCH] x86/resctrl: Fix event counts regression in reused RMIDs Thread-Topic: [PATCH] x86/resctrl: Fix event counts regression in reused RMIDs Thread-Index: AQHZCi9C4oOZlvbDzkC+8A+fPjkoya5iykxQ Date: Wed, 7 Dec 2022 19:26:19 +0000 Message-ID: References: <20221207112924.3602960-1-peternewman@google.com> In-Reply-To: <20221207112924.3602960-1-peternewman@google.com> 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: IA1PR11MB6097:EE_|PH0PR11MB4789:EE_ x-ms-office365-filtering-correlation-id: c48aa8d3-8363-45cc-17f9-08dad888eaf9 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ODKECsr+nyTMsxANvDhjZBSIFCgwMr9WFKwxlHM6435/vZfruvJQxW4uFGG4STYzzMKqjdjffxJmF6+Rj5Y5jaO7rkanxUakZPa4mQaQVICLsUjH874xWtyX4BWdQ1XLXW1dr9HM4ZRhZQWnJjZakvFPddstCpZvuZo0yPcE+qk/udyghSZUS3hQSpwFQEGm505+otUhBp8rRtQDEFXgsOrNBmb50Aub9zikWbkSCtpzCNe2VZ2zma2WsD+iSWR8trFVbrSkidoijoB3/0EQyO5dJtGRowjE5WOgFFl4U1rB4e6QGBLgTXD7DRp1IWeZHvvYf5SzHUJYCdZS4qD+zbXHNT5DlsJe2dqc+dWyTLBTXgS5TWWqw1dSOnuxlUpiMeBEYnb2K6qWW7z5+2UlQFoOmS0gK6sZ2BynggkwP7d5AC5FaM0MqbutNYZSGfsrM3cJa/Nazq0fl0rTTDKTeHShFrC8a1ORk/aM/SY2xf0walgNQN1oaWsk8z0+Q476DNOGjr7N1B6v1VoGIN0MgTJeBh04y+LK0y/Kx5K8qIG/thZUdNk0WSZ6sCCMjOertQgoGHzHjkCJ3MYgqqHZPSIPaMVUzKfIU+sZ+y0r0mQC68Jjv63Nokd3Vury4T95lytkZeeXek00P0QW+7qWkJvXKhKDFUN+Lniy9GUrP+akefhlxYjvZBQ0Ed+3wfQDOcesAdgJyQElDdGEI6DXxw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB6097.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(136003)(39860400002)(396003)(366004)(376002)(451199015)(83380400001)(122000001)(8936002)(86362001)(82960400001)(2906002)(5660300002)(7416002)(41300700001)(38070700005)(4326008)(33656002)(52536014)(186003)(478600001)(55016003)(26005)(7696005)(9686003)(64756008)(6506007)(66946007)(8676002)(66556008)(6636002)(110136005)(54906003)(66476007)(76116006)(316002)(66446008)(38100700002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YytPOWtUZkxFTm5xaU11QnBpa2U0QnlnS29Odyt5YUFSR0phb1Fpc1FNemVP?= =?utf-8?B?VEJmYWNXVHl6Zm02VmhGUnpCMW9XTHFuZCt2SHM5TEdWWmkwbHRxQ2RCd0tS?= =?utf-8?B?SjNQeS9uaS8zWmdaRHhrYjdSVnk2b0g3dGJCcTUzdEduS2d2aktHZ2RORysv?= =?utf-8?B?bzlubHhNN09TK2dINnVoaGtkRGIzQXhmeUxXOENIVTBzVEE5eFJKdlpMRHhV?= =?utf-8?B?MUJVaUJ1RkRXcm5wWFBUT1p4MzNCUEVHS0F2S244ZnVldlhjcFFoejgvVXQr?= =?utf-8?B?QnFlS0RDZm8ySnpuNnpkb0lvZzM1akVGWTBKMWQvbVhpd2ZJQVZUUGJmYkxN?= =?utf-8?B?Nk9wS2V4cElaRWZ1RWZTYWFLWlhTQmRKQVFSSlVTZjNQYkdvMGNrbkdVdXV6?= =?utf-8?B?R0lkSTR5Uzg4empSMGlsdXFDamR6K1Q5czRFT3VMT3gzeXVja25tT1VreUFO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FRktoNGtJeWs2?= =?utf-8?B?RG84L2R6V1FUNnl5VnROM3drVWpPVytjQ2hQWEMxa0Yrem5BYS9aK0p0NFhB?= =?utf-8?B?ZEl6ZUYzYTgxNTFyRmdzUXpLWWlpYVZoSVhwcVZFeHFXY0l6bjBXcUE0Snh0?= =?utf-8?B?cGpBc3dFWlNMUldvSndkRnZZaHZkTzNPaERPaXhOL3B5MFB0Y0ExQVdHVmhT?= =?utf-8?B?bkJvKzBkdGJGZmR0em1OMGhyUVVMRnpVbjI1cXN5RUdEL0h1VGYvZVh4Nkk5?= =?utf-8?B?QWcyRkRBY3dnYitrcDRDejRjb25ia3EvbkYySVpTTFdxMjZmSmF6a2pBb0N6?= =?utf-8?B?UGN6eC80Yk8ramtpVHZNMzk2SUR5cURvclQxZGlIQkt2bFpRMkN1Q2U1M1BQ?= =?utf-8?B?TWhRSVhjcW0rQ2wwT2krT2RSN0JGekVqZmhKQThZQ1RPUm0rREc2b3ZSM2xl?= =?utf-8?B?SURzNzE2Nk1PM1ZxMDVRK21iY0RwektIYXhSRDE5Vm0ranhLVExpMktqd1V5?= =?utf-8?B?dHhOOGcybU5wRWRzZ1NpRGF0NzBtR2Y2OXp0ZE42ZmZVVGFIUXd4Vm1iMlZh?= =?utf-8?B?K2F5ckk2OFpnVWVIOHl3S1U4Nkl1dWJGUGJVRE9xNVJZbGtpdHAyK3pmSjBu?= =?utf-8?B?cEhabVRoVi9mcndlMnluRXJuZWl3OTQ5STFJSklIZUY5cXNwcTAwY21WTE94?= =?utf-8?B?MEVjb1Z1SFJQYTBUcDZjR2s4a0c3c3c5Q1YvSk1HK0VDaHprYlRpNkRDR3lI?= =?utf-8?Q?wC8SXJV/GR6K4+YKaeL+jjcuy?= 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: IA1PR11MB6097.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c48aa8d3-8363-45cc-17f9-08dad888eaf9 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2022 19:26:19.5066 (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: CcoD0vRD8YiGcgcDboJl3wVlQTjgNcyL5m8cNsaUIqRDgNNK70RcowQnrqr0pCjbOI6GxrOxPop23yttmeA1YQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4789 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIFBldGVyLA0KDQo+IFdoZW4gY3JlYXRpbmcgYSBuZXcgbW9uaXRvcmluZyBncm91cCwgdGhl IFJNSUQgYWxsb2NhdGVkIGZvciBpdCBtYXkgaGF2ZQ0KPiBiZWVuIHVzZWQgYnkgYSBncm91cCB3 aGljaCB3YXMgcHJldmlvdXNseSByZW1vdmVkLiBJbiB0aGlzIGNhc2UsIHRoZSBoYXJkd2FyZQ0K PiBjb3VudGVycyB3aWxsIGhhdmUgbm9uLXplcm8gdmFsdWVzIHdoaWNoIHNob3VsZCBiZSBkZWR1 Y3RlZCBmcm9tIHdoYXQgaXMNCj4gcmVwb3J0ZWQgaW4gdGhlIG5ldyBncm91cCdzIGNvdW50cy4N Cj4gDQo+IHJlc2N0cmxfYXJjaF9yZXNldF9ybWlkKCkgaW5pdGlhbGl6ZXMgdGhlI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