Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 840A7C6379F for ; Wed, 22 Feb 2023 09:53:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232186AbjBVJxp (ORCPT ); Wed, 22 Feb 2023 04:53:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbjBVJxW (ORCPT ); Wed, 22 Feb 2023 04:53:22 -0500 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on2079.outbound.protection.outlook.com [40.107.9.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3002E3C78A for ; Wed, 22 Feb 2023 01:51:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P6s/nmFA4mK0gxKhYTxVBVc33BdbYYxBYz6u3PJ3b8m4ldlGBnWP+iZ2aKenl7RaHjo9Jky+vwzcw6KH70rFzaRfG7eAADBCtrqi2VUA/Ys1nY6zHN9Om1FZ+AHJil2u2GN6W0dHo0mbWpYrf+8udomtnEY3g/0dzLdNfKz6ef+aUbGAZ/WJuiSpNJ3OBeqy/mZBZV007tivQSwsdemKWjetttjTWf+s+xgVDh3auN9iNFgN1vUfXINUuldlPmxYRhCYDFGNuujybcuh0hUl86oL7w39PyqTcH1u9UBqkTZNdsguBPHxtLAyFW0PBkVW5C84hsX/EwpJ/7cHeZt09g== 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=k5gXkFOoCLVFdAb07ItHu7avaGHZCMDmy8hUptW6UTE=; b=NitZOB6CiUqI7RoFl3BMe1vv3pn+5XHSpNkLGSruQ/f4ksgywfInGncNvH85gmkDkws7E15qNjYiYocnfjQ2cp/C8dqcwWxelK9TEjO70NwUKpynwQfKtlKWkfpBLV9UptNsw8mFFysB+2uqmxCOPhksekKnXeQm2AdPlOVQPt/VeC/3l4HOmr9HaKkXCPePAF9nNqGt4o9HLuxZWD+YkC1Weq7hU9LhNFmuemGunKoPOR/qbAsXrpSEY87U7J13bstBmCkHhUoSmog80CJ4yNO5nF3hpgoYKYahkKokoHG6I9ZeHJu8uU1c7zbcST9qk5+B6RIwpR/hF6VWpV5ReQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k5gXkFOoCLVFdAb07ItHu7avaGHZCMDmy8hUptW6UTE=; b=cZqyfKVa3qv4TLNugvFzaQPekuVWJQMgheILfOapRtg80pEtRkp45tEfQ04I3gvYAvdr6hVdO7GHb+imFficSh/YPFT4wNXOh7Tal+3P2ZZZYbw0obEn1TgSHw3RfqcRREbVq0VRc4XHAq/h4wdxT2AHw5kQDwFsi3DQcxVV4i9Dpdsqk3i0hPnlAJ7rJ6UFMaxgtqEUXUAM7YvTtTOPWofWr2jD36Z17D/4HJZ4OloQbfJz7NqnPEXC1uKWsFx8YwHEvzBl/dP63JgKA+X4mwb86s+spihOHCfnd53bFzfBmMUtnNAyi6dqdyKj3BqsOvXQqUfXMDpx6b2Tv6WnlQ== Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MR1P264MB2884.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:39::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.18; Wed, 22 Feb 2023 09:51:22 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::2cfb:d4c:1932:b097]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::2cfb:d4c:1932:b097%6]) with mapi id 15.20.6134.019; Wed, 22 Feb 2023 09:51:22 +0000 From: Christophe Leroy To: Kautuk Consul CC: Michael Ellerman , Nicholas Piggin , Rohan McLure , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] arch/powerpc/include/asm/barrier.h: redefine rmb and wmb to lwsync Thread-Topic: [PATCH v2] arch/powerpc/include/asm/barrier.h: redefine rmb and wmb to lwsync Thread-Index: AQHZRqIYYMZstWBlpEuSmpM9LQicEq7at+wAgAABQAA= Date: Wed, 22 Feb 2023 09:51:22 +0000 Message-ID: <2cf06ae7-b3cb-8d17-afef-df1834a84dce@csgroup.eu> References: <20230222090344.189270-1-kconsul@linux.vnet.ibm.com> In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 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_|MR1P264MB2884:EE_ x-ms-office365-filtering-correlation-id: f9233b98-0885-4fdc-7239-08db14ba5b0a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: E42Efa1zEv7bFEYVsYAsdigrgaU982F6+3wWZv8Q/WsY2js22tpnHUH0lHrXdXbF/n3NENfn5CjHzzc48hhE5pTMg/SNPVtYSHGCtEIMsEgsRtm5tBNEG434nHBtQNXt1mQ088rQx7Asm1wgXR4Kj9xsprhHg5OTm9VNS0rkE0E++v3DGLDjspRYAsWV/33Hq1C4XHjN8ICr8Z6X2H2f+u2lIG1tl4AOSezGblbGIthKskQiISadvud57i1QcbPUNmFyLzpDjG0Zqc7mLiX+GNTmdCwXuY6DDnKDJaTNRaBE7wcHd9smzdBviKylwAwxky1aonpjGGe5JVPNN4yK5uERh0i//6AH9obIuu7yyCEPIcv40FwSdiFiHxGAem0IuNVFLjvpTB9CRnTPH0ze4gRP7tg5BYfKjVtgdfpocZo0KVTK3I6Ib47m7g56h9M+rM7sP1rG8iGTNOC+qIuvozOq+4tx0Sem80cGHOMwbfG7EWW3k01XJLu7s2xrLWmxaYiG62vkc0QQnBn9V0nK/I3ALXI23K2Mlb2WNueDcfc5z/MldCn/hIQFf8phAu8lTyUSsxWDT1bknetVNC0j6sQZ2EDCTaE9l00+8T65DKCfRI4fUaJg163tyI1eNoe7OD5lUDIwZzprM31OXLHy4IykgovhAQvZ/PZVrhMQRKAO8dZaFFuANv1fSlSn31vGVyNYWn930EUNYqDb7z72FQ4602Rf2dUp7XFTyAOJeKIuBbTus1HDtPEzSBVeoBp5aYHttYA1MSxijLR8GfPOSQ== 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:(13230025)(4636009)(39850400004)(346002)(376002)(136003)(396003)(366004)(451199018)(478600001)(71200400001)(31696002)(38100700002)(86362001)(122000001)(2906002)(38070700005)(44832011)(316002)(41300700001)(54906003)(36756003)(5660300002)(8936002)(64756008)(66476007)(66446008)(8676002)(76116006)(66946007)(6916009)(66556008)(4326008)(91956017)(31686004)(26005)(6486002)(186003)(6512007)(6506007)(2616005)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x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HdjNmFUbi8vSTZ4TzZYNFBIdE9kUVM1WW94UDhHUFMwc3VhNnY5NDNr?= =?utf-8?B?czdhRDhlZWRIVWdaT1psUXYyQ0k2T0dxUnZMU1g5VjU0RGJFcU91THgzV1Jk?= =?utf-8?B?S0dJeWlmVG5SSWJVdVQ2bDdqazRUSTJkRnN1d3NHMFZLSml5ZGEvVkU5T3dJ?= =?utf-8?B?cG5ncW5SYURFWkJSc21zaVRSN3hZQ3NBK3hyb3RDdjJrWHdyQksxODFDdGE3?= =?utf-8?B?VXpTUHFIYjhSRUdjK0ZSQ21haVFKNjJFZmZKM2VZL2NLR21GQjY2d2ZkZXdq?= =?utf-8?B?QXEzK1RyYTVmbjcxZzdGcHRRSGRGTU9KYUpiM2xRRnkzQ2hqQnl6dFBFWHlP?= =?utf-8?B?WUpGcENkcGdMSDVEYnBQKzE3Kzl4REFQeEtqZ1F4ZllTb0Jwa0tFSFMvTU9V?= =?utf-8?B?eUE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <58D145C625D2F84891EE748AB19DD052@FRAP264.PROD.OUTLOOK.COM> 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: f9233b98-0885-4fdc-7239-08db14ba5b0a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2023 09:51:22.6316 (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: NMdYnHzAPMx2xGfwNV9KJY0YnPxwrb711aTGiEKNI5FYTip2NUazdtygL3BZwU/zCYK2oQT/n/HUvfXZlY0WgVZWP6LJ2f+I/MTcnXYMAdI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