Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1751980rdb; Thu, 7 Dec 2023 07:57:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXojcYnxGAUraermueWAVriSLZgC6MDP0+ZSonbTsB+FHnQ1xKRCDIfWY/te8qewWJ5Lr0 X-Received: by 2002:a17:90a:d516:b0:286:a955:2d53 with SMTP id t22-20020a17090ad51600b00286a9552d53mr2209828pju.13.1701964633184; Thu, 07 Dec 2023 07:57:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701964633; cv=pass; d=google.com; s=arc-20160816; b=mRZcpNdl68ejb0hNpxLTVmGHjiKKtu76RXOxjjkDy6M1sxa932A7SL9dM615i93C/W TiUJPGOTJl4BcoyIdQddB+JyIZpnSxksznf5kCuJfBytf/MXtDIHUxhvB+ibm+zIFVQR bcKQ5xeEQkr0PXIYuTvez6c5wxMFNNif3kh4k9+qXBj1PnnWE9VZJsmv/+MfWs+OaP4A FmRgqRzKgJCcz6TptOfyY0iL5rZ+7ubwbnoki3+gVEOki3qRMGrncPuc4bvZKRhewOCx rbkKuCk4eUGTyoTN9s+le/BRFxb8hewQRmy/rtLSG3vcFR5dPwbYTs90H8fWjkPFWCZs dY7w== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature; bh=XrfkSntKTnwQ7vkjdpZB+ElOM4lTyG718bIPYfQ3p4g=; fh=4y2bE1c2cwR5ZopF0bjbtQ0hDGxXh+QmC6uqe3RZsf8=; b=pYLPzCXm1KqYOEj5mpssYIc7rt6d0n4JykaPnN2jsJUCA6gB3CH4CYjd5sbeYqLcqi XCww3U32IpWTfgoAhPMvxFs+2LodsAUgR3uTjymcYwHXh8SQVI3P2qVhNeyARyuET2NY baB40W49YeoI7uCziPQ5ItmhsKNka+7xeU6dqfYgqvUfcn4kvBKMZ8vMjN/eN2A6xOln ajz7UznL9xAPfTZezqU6StkXQsfvbj+mX1P3MctsFo4KE4Wf9dBOwZ+z8VxW2wmRm0ZE OW0EiP/oun8URf5+60nQS5aXuzY1zAAxcmu5gQQb++cOLhWZql4iS9xBOto1W3cHksAl 0oVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector2 header.b=YOZeSZ2S; arc=pass (i=1 spf=pass spfdomain=csgroup.eu dkim=pass dkdomain=csgroup.eu dmarc=pass fromdomain=csgroup.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=csgroup.eu Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id jx3-20020a17090b46c300b00286eeac293fsi1305405pjb.155.2023.12.07.07.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:57:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector2 header.b=YOZeSZ2S; arc=pass (i=1 spf=pass spfdomain=csgroup.eu dkim=pass dkdomain=csgroup.eu dmarc=pass fromdomain=csgroup.eu); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=csgroup.eu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3DF9A80BD50D; Thu, 7 Dec 2023 07:57:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235720AbjLGP4y (ORCPT + 99 others); Thu, 7 Dec 2023 10:56:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233076AbjLGP4i (ORCPT ); Thu, 7 Dec 2023 10:56:38 -0500 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on2077.outbound.protection.outlook.com [40.107.9.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD6632683; Thu, 7 Dec 2023 07:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iLYM6sV46kZxncTSWUQBxusTMaaXH7oKnGVbD7BI8qxyOE9WL7dYYtXdF3wQFcfedGvpJmLmqnhg2g3YqrLBALTsEzbnXG/Kpw3UXJ2xhlmPxcjVaD4XL/exky/3kj5aGla4EnzdBV9n46J1k9ykJOEEKV7MsuuEL/dE2lqdRjBTx7pcThLgxE0Z8VbpMwM6KYv0ezGTKHQR2fUxVsjsE2ko0IAwx9G7IiZtv1LsvNtxPmd2t6GfWnX2Pv7cMuSlwhKC0vMHJTXtPK7VYPwBXxYDtVTSXWz/kg6sdSkYPP561x4p6HjH51xxtSCjP53qRkuxsCdG/HrtNMA9IomCyg== 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=XrfkSntKTnwQ7vkjdpZB+ElOM4lTyG718bIPYfQ3p4g=; b=jLJMYTS1A2Op/MKDa1lCxNf2mXsD1RmQzILZgFfBIZo8Nk6tcZGFvUNs2bqtfYcGJ7XU5MH93t9aw79iQI72iyzWVrojHlQ14yFonO/pIk5f5xKgP+46To26Etzj+S5HANvV/yB8W3EoVxN2/WB0O01fRIN3UJUj7PnhQwXyZo7Eh8qP0uXmhwOLqoJxGoYZNunaboKUPlIg8hO+z7fMFknq8AHLx2PuVxncQR9Q9KqyV864BYhBy6PwMJGUkAt3z6KMBkyfL4AY4jcQS7fvZPjhUNJPsLxTMhoHPKh6Yxm4wPkbPvbfyqHEaiBrsbCU2OxT47L03zarvqaR3PMHXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=csgroup.eu; dmarc=pass action=none header.from=csgroup.eu; dkim=pass header.d=csgroup.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csgroup.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XrfkSntKTnwQ7vkjdpZB+ElOM4lTyG718bIPYfQ3p4g=; b=YOZeSZ2SoLJZm+/SP74Y0sDSO8lzxKF13fmy1JsxSU+jBFhH7CmTVN+YTLj7+4sV1xPs7y5meJJAYKKyKdSk92PyUBFY86PeXAmkebCEDJTFfnBGFNwWMO8elECbYZV/Q8K503fs9/ZLXA3O0jylxgLzZXWzbVuNrIipM8z65K0jIslHpVh7TEW+oqvPyxkHn1VSMgrQ6eYIWO/s62Ot+17yBnnRV3edOy88QckBW876IeskvGICxAPPD4ZCQ57PmBZh59nVyHpvgVSmVPx4EISvEy/D45EO1avHjMh3QGrSg2+EAHZ6jWNHeE4jgs3WpXCZKH4PpM8UwhWINkDpcQ== Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by PR0P264MB2360.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1e3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.27; Thu, 7 Dec 2023 15:55:39 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::5bfe:e2f2:6d89:8d97]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::5bfe:e2f2:6d89:8d97%3]) with mapi id 15.20.7068.027; Thu, 7 Dec 2023 15:55:39 +0000 From: Christophe Leroy To: Alexandre Ghiti , Catalin Marinas , Will Deacon , Thomas Bogendoerfer , Michael Ellerman , Nicholas Piggin , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrew Morton , Ved Shanbhogue , Matt Evans , Dylan Jhong , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mips@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-riscv@lists.infradead.org" , "linux-mm@kvack.org" Subject: Re: [PATCH RFC/RFT 2/4] riscv: Add a runtime detection of invalid TLB entries caching Thread-Topic: [PATCH RFC/RFT 2/4] riscv: Add a runtime detection of invalid TLB entries caching Thread-Index: AQHaKR7hrVuLYe1ct0Ou00NCMx7wrrCd+WYA Date: Thu, 7 Dec 2023 15:55:39 +0000 Message-ID: <6e3fb7b0-f47d-4d2f-b1b8-3ecc047b9ebf@csgroup.eu> References: <20231207150348.82096-1-alexghiti@rivosinc.com> <20231207150348.82096-3-alexghiti@rivosinc.com> In-Reply-To: <20231207150348.82096-3-alexghiti@rivosinc.com> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla Thunderbird authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=csgroup.eu; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MRZP264MB2988:EE_|PR0P264MB2360:EE_ x-ms-office365-filtering-correlation-id: edc63f17-f907-4257-0848-08dbf73cf576 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JcKUaaIuyfpdheZEFhCzlGl18TvoKvNL8HLSOvXdOnSocJ68SJPKYP6hUHMKO1W1WoKem9LQA6oj99lJcP45L9gQsx0iE9n+czXeX7iILqpR0uoDtCKiJ9vkSrXkgzQNMGlJ2ez5t2zWJ2cjA463lOvzd2QkUYf0LGl/+u3zmjr6u8lyifFv2FPS36NQl1iYJvloaSzs/WBn+R+uei7WfcInIUG4rynl/043PVYpW4uO4adv9573p6m6eEIK2gMIV9w2sjfoO6ingA/S0SbfWo3BHyF21NmjfP7DAhbtRicD8fRLPiN7kkmfq0mXK5ufh6xxmcvNoET3laH8SVMlC9Itus6A4ojeolvFqLe+0ick73C9Ui3pC1mM/p9L3QuosqjVBqZTpM+Cdp1R8D6ubtYJawvcqq7DJjjeTyKVBTtSHq4+sSRL75CdczviJvG0PAgb7cGtQgN7776LEUYX0paZFZjDLGyvPmscI3kMXEopElKLkLhkPqJBq5LM0h/+txVAFzm6JFt0Jt2eDNMa7r6x+neVMwd8xRboO7/7FqOxv1OdfHg9LmMkrc+QdWtTIcFXbwLlonxpqYnHgf4yRq46pViktKVgUycXi1GBzBdinRCuARZXpO1ciRNk4HQcdeUJQwj9ufZWM/CjxBEODRc1CpZ28eYoghKSvFkw6axKdNi+jOGff4G2IJlRZtfXUqeJIEM6QeTgMcpylpOuGQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(346002)(39850400004)(376002)(396003)(136003)(366004)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(7416002)(44832011)(5660300002)(2906002)(31686004)(8676002)(8936002)(66476007)(66556008)(66446008)(64756008)(316002)(110136005)(76116006)(66946007)(91956017)(6486002)(478600001)(921008)(38070700009)(2616005)(6512007)(6506007)(41300700001)(36756003)(83380400001)(71200400001)(26005)(38100700002)(66574015)(122000001)(86362001)(31696002)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-ex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itOKzVFajFaeWVPdTJQNUVnUHJYZ2hFeHlzemNUSE4zajNCVFdH?= =?utf-8?B?T1ZLMWpiVVVvN0pURDBCamVsc1Z0dmNXNFkxNUE3TGNtWis3SlZvSXNwdFBl?= =?utf-8?B?VEx1RWdxQWdta3pSMlQvL1IyOVBmK2tLWVVCa1dOc1pMN1pIVUxvS1hSbVFh?= =?utf-8?B?L1g1bE80K1lNck5mb0MzV1o0UWJGN2lGV3dhak8zZGhDeEN6YnNnU0dSUnFq?= =?utf-8?B?VGl5U3d4OTlqdmhENlY2Q2xBelJSRkFBd0pVUzl6V1gxQXlZK3AzcitrUnpF?= =?utf-8?B?aUdmT08xNnBZZThjSkc1TmMzZVQ4MnpFc25CZmFnTnRZdm1YS3E5b3h2U01q?= =?utf-8?Q?eXsHJGqx6LXQHSPo1Bg9d5qnW?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: csgroup.eu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: edc63f17-f907-4257-0848-08dbf73cf576 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2023 15:55:39.0818 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9914def7-b676-4fda-8815-5d49fb3b45c8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: x0lm/XRX8wyrB8+xPrQLihUK9rXE102JFPmV1VCtyo+En61MKrm9kGh+VzZeform/lOaAFZsf0P7X3Y09pG1BoQQ20kjV38KocmI86swSBg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR0P264MB2360 X-Spam-Status: No, score=-0.9 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 07:57:10 -0800 (PST) DQoNCkxlIDA3LzEyLzIwMjMgw6AgMTY6MDMsIEFsZXhhbmRyZSBHaGl0aSBhIMOpY3JpdMKgOg0K PiBUaGlzIG1lY2hhbmlzbSBhbGxvd3MgdG8gY29tcGxldGVseSBieXBhc3MgdGhlIHNmZW5jZS52 bWEgaW50cm9kdWNlZCBieQ0KPiB0aGUgcHJldmlvdXMgY29tbWl0IGZvciB1YXJjaHMgdGhhdCBk byBub3QgY2FjaGUgaW52YWxpZCBUTEIgZW50cmllcy4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IEFs ZXhhbmRyZSBHaGl0aSA8YWxleGdoaXRpQHJpdm9zaW5jLmNvbT4NCj4gLS0tDQo+ICAgYXJjaC9y aXNjdi9tbS9pbml0LmMgfCAxMjQgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKw0KPiAgIDEgZmlsZSBjaGFuZ2VkLCAxMjQgaW5zZXJ0aW9ucygrKQ0KPiANCj4gZGlm ZiAtLWdpdCBhL2FyY2gvcmlzY3YvbW0vaW5pdC5jIGIvYXJjaC9yaXNjdi9tbS9pbml0LmMNCj4g aW5kZXggMzc5NDAzZGU2YzZmLi4yZTg1NDYxMzc0MGMgMTAwNjQ0DQo+IC0tLSBhL2FyY2gvcmlz Y3YvbW0vaW5pdC5jDQo+ICsrKyBiL2FyY2gvcmlzY3YvbW0vaW5pdC5jDQo+IEBAIC01Niw2ICs1 Niw4IEBAIGJvb2wgcGd0YWJsZV9sNV9lbmFibGVkID0gSVNfR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