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 AADB2C61DA4 for ; Wed, 22 Feb 2023 09:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbjBVJqw (ORCPT ); Wed, 22 Feb 2023 04:46:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232036AbjBVJqg (ORCPT ); Wed, 22 Feb 2023 04:46:36 -0500 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on2078.outbound.protection.outlook.com [40.107.9.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03BDEA5EC for ; Wed, 22 Feb 2023 01:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UMtLXYaIBlDavge3RKTiAm2fuEF1RCHv3xHKkgtUybR4HbRE8OFtkzaMLPx3PHagdCu4s70folyo66gWeiyVM27Glxgt9swzZbryanczVKqu3l8zlT7g7sx5gmHzTV3jrLyyN24ZHRlqV1MdRaYZ98Rh0bnYOe7giLPd+52BZjWalt6oOT1UbaK2l17lj1mzOS6YP8keulzOIjyEwtAvo16k6+zF/1+1+DfB0idvuYjcJ/6FQskJiUxk2N5DFJbW3dI32fCNXbZw0rzotMi4YS/nMWeI0EyK5OPrsvPdE2MnfMW3b3NUMBT10Zd21flu67Uy0qAhfgGdHjU9k93TzA== 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=A6Z9K6C6hEJ5Jw4OinMKNRvEqzzR6bLnjne/cabYn0g=; b=AncPWt2Iva/oKb1uKR2lxrAa8ndyzqwsTJ7Omh6xdBi1QIFBAghANwf7vXhXB1Cx5z13G9+KqWyU2nBu71YhFSGKwwFeJKgfUJobI2/dkhPUFRKEQCTmN47ZfKDkdR1i5XE1BL4ZTYLGsN9TiocSTlOUwvebLyunwoypfoycuFgcWbbQUx0AEppAl3DrrAiP5AkdLVxIlv/s8K1+vatLNFrqi9VPiNmUoMeKD2rJ2SnOmvDI3mBsr54s347yD1LBArCeyw26JseryWAvuV0P8ifqrH8ggXTgxHjVA6nPsHN9mC/MSCzmCUy/O4Ytc+qDh7sOaqqaMvrbqM7VQ3JP1A== 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=A6Z9K6C6hEJ5Jw4OinMKNRvEqzzR6bLnjne/cabYn0g=; b=wR5LnBBt6qe+oAvyjtFME6hdOkVpitWEqsDqGbNh/rIR+MGTZndvzHKjcJq6KYL31eXjxu0PwYy8ikvHxRjBJFHKgUIlCEM/UxYv8DlzcRC7OkdFAheBRDCrj8yhIsKSNxHS1n6dT0f7Q/cquI9anHyGEfO5Al9sKLZu0VN8yO2BorKm10bq8oJIM64690raRlNf68a797760l5KVf27mquhZ5AlJieZP26PSBWGAMDVmScsxFOBkpfFat6Ej3VUjCzMBOtMxR7FdCqOohdj0suT+2T7Hm0YTt27G6Yv9UIey79nwjNn9Ge/CNUwtIswjSyrg5Qn4Z/Q+8sM5zGiCA== Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MRZP264MB2214.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Wed, 22 Feb 2023 09:43:21 +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:43:19 +0000 From: Christophe Leroy To: Kautuk Consul , Michael Ellerman , Nicholas Piggin , Rohan McLure CC: "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: AQHZRqIYy2O+IIPrGE++STBKDzHI9g== Date: Wed, 22 Feb 2023 09:43:19 +0000 Message-ID: References: <20230222090344.189270-1-kconsul@linux.vnet.ibm.com> In-Reply-To: <20230222090344.189270-1-kconsul@linux.vnet.ibm.com> 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_|MRZP264MB2214:EE_ x-ms-office365-filtering-correlation-id: a50bbf48-1dd9-4069-1fb1-08db14b93afd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Mhn89ljbSZj/i/AiBYASTGF5anT/o2aPJFi3TCfp7Cn7DM3vmFaNvJeP7L7zIWyhODYM6EssisNttvNR/mprI2Fn1dcUKpoNxM/OQHLZ4F6PSrGPPgasQHxWW9GUWuW1jItgElx1Yj4iIuMP8z4O+qPVR0PnRIe7gzvHL7bxfbhinPzwhz9gg6AuR7bCfjnon3QgA83IsilH4YCWbDRNr3MQGDdcMmn6skm1JGP/e8Ks3CKrE90Ji0dDdLaEya2rKQLZXUpWvoEZigtEUPiAnjuGl1/3TtsqXBvsEy1hUJx4wNDMVSI+LLHP67Dz0lcGqF9dp49IBDbx5KkaBPrO0K41Ndv1f/WwiuN1ExiFDQtV0+JVJSLdn1tPuWEthusd7VXwayNV4PVR6mvN8pfvv8ZHvdUsT1kl0A26m+suR7wUgGE4VE3O4HkS9wsZLX+XdcIvpXrslw4zuiA5/jWavKPaHIm/nohtFWDA1HgMivoClAkdKB9qn1dIagD2VIFvEUOwfbX7BeTHqUnenUZMNSbS4A0/HjPAeJpE13xWkbbBuzYUrZezSn5fmg33ZyP5V9KBeOLeSWZQJWMUzMn03hJ90TAUCmOau+HlEkpxm6FFWw8heS8LHsuhd5hxSiHwk6bs3adKeV1arlF0OyyHbMeSo9i5iVSTqP5xNx5GIjCB4A41j48VehzA9qcdTDHxWkWNM+k1ry+VwfySckXNS6YaIXtNL8goihbWg5W5SjfpSwA6yXmiC+bomtDH9NppLcA5k84tdegCsYOGKuRWzQ== 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)(396003)(366004)(136003)(451199018)(478600001)(66574015)(71200400001)(31696002)(122000001)(86362001)(2906002)(38100700002)(38070700005)(44832011)(316002)(110136005)(54906003)(41300700001)(36756003)(5660300002)(8936002)(83380400001)(66946007)(66476007)(66446008)(8676002)(76116006)(64756008)(66556008)(4326008)(91956017)(31686004)(186003)(26005)(6512007)(6486002)(2616005)(6506007)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount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m?= =?utf-8?B?WHhkTjR6RFIvNVQyV2hHeUdzVmljVThaWEJ1aldTa3lKWk4zb1JIRUkxQnJy?= =?utf-8?B?NnVZaE95SG5BS1k5QytqdzBNaXNFR1NvbnhqV0pJc1huOHhxYWM1S3psaEdZ?= =?utf-8?B?WjZqWjBRRlJlbjFheldCQm9PQ2N1cU9ycjFzNHFlZGUxZmZDOEZ0SE51UFJS?= =?utf-8?B?MzVhTXNxc09zcGliRDcra09KZEpnMlJaY29hdGhkTTQwYUFRa2MwZkNnNFJM?= =?utf-8?B?MjRZNExzZlFFdklnMHc4aytiSVYycVdGZmlLSmY3N29XcE4xQTgxc3IrREpF?= =?utf-8?B?a3Irdk5kc01Yak90d0FvZXN0N0s4K2lrcVVYZlFXcWdaR012WUMwMnF1VXRr?= =?utf-8?B?MzBoZ3lMNHFyWitvbUpMVW9jcDQxL2U2UllnNmpRdE5YOGd5Y2xFYUl4bjlN?= =?utf-8?B?eHc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <0762418E085C414398EAC7424DB7843D@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: a50bbf48-1dd9-4069-1fb1-08db14b93afd X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2023 09:43:19.3604 (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: aGCKovhzeRoPJHhLk2/UiG4BgCCOofGEHrW7dZKY/zRgpAqLlElWfDkksdMnGisAMV9jpRDFMLLaAn3QandAphl2281lKry1UnwXfKLcuww= X-MS-Exchange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