Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3388822rwi; Sun, 16 Oct 2022 10:00:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79RC5kN3tBquRwo4tuKkMb7BbmleW5mPq2ipBsBSfNPYDgLQ01To03Emw4f6X8JTp1V9Hu X-Received: by 2002:a17:902:7598:b0:178:3f96:4ffc with SMTP id j24-20020a170902759800b001783f964ffcmr8220050pll.53.1665939623220; Sun, 16 Oct 2022 10:00:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665939623; cv=pass; d=google.com; s=arc-20160816; b=QPCTi2e3P8nhRzJ0ULDOSJnLtc489WSaG4VNIajBi7W/splP0CJEo/wbw72+y3A6qe o3Bvw6/c7WwwIwUJwzhsq6vx7VsFZCLfwpTGN7DdKWmzYhfR4DzW7iM3JUDzBObNtdfc YcO9IBg+GyiVcR0re+egNZdxLGzD1LXP1hEyGcRU2xU+63P91kUp/9/7mGIVEVJdl3Ne 9Q0blNrJvZgZdfEqvq2tvRAPnWZeakTnufMwMR965jWl6P+JKPzZakqKQdRHIog4+Rcj v/qSH5H/9Ig7R+UaOQE0wDgueyH6sX+Lv8vkAPWAcusYrQTzYjjzkNMSoczuESqUCb3k zZ3A== 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:cc:to :from:dkim-signature; bh=MQcffNxPJqu5gKRvP0/QN+SItEFsQXxaLd/GdpP7AmU=; b=PpelOseG6ykdQGslm4U1dwYcn3lVkpp2uSDOW52z0TTOnA/LWjFNWfuqoC+VBylJ/n I3gf9F96VP8rEjx6kN13cCzt7xEbaTmukO0pImTp1V5PbHKrMeCbPT6O7zmfzXkdnLSm WoEy9AH++f5eoxn+SJ2s9+tc0fhfc5sJgsQzfqn0/e6Yvq1oXqvOWq6up0sqbEFZDf1M vlyMbbx/vkWEF1kGkLSr3YThbEn+/AMkqaoL8wF1SbJd3QK/NjRwOdmgF6an1yigWRO4 CfrCc4jwAHO2Y6j56XUU46D5mK79mhL/8bzgf9D27F/sU4K35mWcnkv2KWDvHbyKjsRF +LTw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector1 header.b=a0tU2lwt; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z20-20020aa78894000000b0053e7495a394si10491297pfe.141.2022.10.16.10.00.09; Sun, 16 Oct 2022 10:00:23 -0700 (PDT) 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=@csgroup.eu header.s=selector1 header.b=a0tU2lwt; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbiJPQym (ORCPT + 99 others); Sun, 16 Oct 2022 12:54:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiJPQyj (ORCPT ); Sun, 16 Oct 2022 12:54:39 -0400 Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-eopbgr120054.outbound.protection.outlook.com [40.107.12.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B56CDEE3B; Sun, 16 Oct 2022 09:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=An9hM7vUSHT6SJORGehTmcHHByWiX8xNWubQGYe2gGkJpNOgDTyVvmvlzMDicoEjCH+THxGJz3vNvWpivtKTPuB5ceDFi2bk0XtJPTMuk4al8ubqyfUIhoS91OToev2bcnBYjyWjJp2vKZVSnDbBnH2M5Ei8QRxPfHPX2PDscmIkIGxTBCV6OYpeG0Ka3btaUr7N1B3w7uX/Sb7UXiHDDn0uLZM2YeTTCYG1BB3Yj7jBDXgMVjh29rb1Re7Ff9VNYUT5tb+nnRHhA13mG/K2TlEWoaocfDBXJkJRPq8a3Mo02vCjwQOOHbJPq4p2ha0VI/b9kYBRjlyam1lHZn/NGQ== 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=MQcffNxPJqu5gKRvP0/QN+SItEFsQXxaLd/GdpP7AmU=; b=Xt5Cng5bDlOKS3ufvuP4BwCZmNbICX+0gjz1untWcYslxR/Zlmfx4fhtwQa2rPPRVYn3lfNyFX5Q54fCV9Y0EiY8ANrXVsvE+RZqmhcUeyZ1sTdUl4IXpmasogO33TzMZ/B4g0UkXsLlJP1SoSqkLYqxigoJ+hyEgWP8DH5+/Q2DUDjmFyHrPkZynIkWgpIin+Xl2+O5bdJ9IqLrlK6pHtJgqAIKHSIn5NCmtB4E3tDy2WUUwTnd6qV+cFjQJT63kYbVDMawJt9WS5GrRBbg/V4NbWxelSOrToacLSkYuxcMfOkLh15Q9e2V5kW++fy6HGcIZwVxxmQvCN3EtJeNVA== 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=MQcffNxPJqu5gKRvP0/QN+SItEFsQXxaLd/GdpP7AmU=; b=a0tU2lwtiWW7k7ohHXGYbdqfoXVG5KzbuTbodfRSZa06UXryeC5ZeAE86RIlE6rUjjp6FcHi4HLvJMLDPih+zEogYRkklDKzrCi8GvS7SMGfru9Bi9SUAJP7GMpx/rJCOxF3cEgv/sbGtsYWSDiohg6ejaEvGR6et+u83/GnZbY96N5BywN7/se31VcgqivGt+JDlGfVGiVpD9dJOmT1zGjdiAeS2dmKE8ui7DbwnYsfsAmNDh8tOePchqhwiyKXQF9YCU3ibkkXZ1uNwB2DefuqxB8xBINb6JGDl72UuOo4krBuOoTA9sCoaojCociR3h+FIK7wkDySh6lgP/emLg== Received: from MR1P264MB2980.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:3d::7) by PAZP264MB1430.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:121::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Sun, 16 Oct 2022 16:54:33 +0000 Received: from MR1P264MB2980.FRAP264.PROD.OUTLOOK.COM ([fe80::c489:75f:98f4:b143]) by MR1P264MB2980.FRAP264.PROD.OUTLOOK.COM ([fe80::c489:75f:98f4:b143%6]) with mapi id 15.20.5723.032; Sun, 16 Oct 2022 16:54:32 +0000 From: Christophe Leroy To: Alexander Gordeev CC: Baoquan He , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "akpm@linux-foundation.org" , "hch@infradead.org" , "wangkefeng.wang@huawei.com" , "schnelle@linux.ibm.com" , "David.Laight@aculab.com" , "shorne@gmail.com" Subject: Re: [RFC PATCH 3/8] mm/ioremap: Define generic_ioremap_prot() and generic_iounmap() Thread-Topic: [RFC PATCH 3/8] mm/ioremap: Define generic_ioremap_prot() and generic_iounmap() Thread-Index: AQHY3iLU/0uwwPHZeUK4FsonoODIqa4QsnKAgACRKIA= Date: Sun, 16 Oct 2022 16:54:32 +0000 Message-ID: References: <32dedfbe00c1da0114f66d6a43c56f4a16a85b64.1665568707.git.christophe.leroy@csgroup.eu> In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.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: MR1P264MB2980:EE_|PAZP264MB1430:EE_ x-ms-office365-filtering-correlation-id: 0d9adf66-d7ac-4315-9ca9-08daaf971985 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UsalWbmYmIZAepYng2MDRMWJy8JbZJ8XQjq0dliwSYE1a5zN4AK/yjgtN/+qQF3U7KftIaoFcQA098ayl/o+qtXCvANawxpNrD/VqfiR1T8Styyx58K2UUfGwOmCsTPZtOsRAZM5ZpuGPwvpIYQRYcAi+zNTdTa5GI1i3fVz5IJycX9gXNVlzypQrNDVbs2+T9gs04A2S6gif25NTHrFos+6bpnp9/q894CPVRjPS7mGTNqDlF9D8ZIidIhmHFTaH6AZ0y+ETB+nVPC7RdwI0YVjyw3hh06bSX6PCtIsnhMCw8Tc/Xgqk0GrB6sJaL0sjgG/KYm51WqRAI+56U6agtfunBLLKIc98frhWb0v1zovtukPA1tUZDAMgXDJl/AKdCorN/5NBdr5l+kC3+aqWeWH91coy3wcJ4SnOkaOPFm2W2rIgijIaemEnRQjfP3PndhrAt4vbLPZwVYThDH+JF0WaU6wJk7Fum5/xnWbkzKgKS+I3dzjUvMJBGQUgcq0qopxm4Xamutkb+dC82IYQhJiQWDPimjWI+yHSNJj0csDyN7kOdTp3YuMbfn6GtrVatlXcFMKqLzQNaJjAMW2K44HuC5cEXvfQvMVcEb72c61NnasYzRt/1kyO6uZienhjN47bX54v1BU+Ly29ttxVOMa0vvfbasTZ5YowxCpce9BMZ9ervJsxiyOG56L6Th00nLl0EsQhhrg44u7obnhM4odJ1OfmQDBT2Toium1qqQ14Z9Vr1bi72h57j5IejAACeoOVR5pgAU9dE5JuBvOL+Cd7l8oYGToFqGf8fPaiU78KfiSdCiENJCH7LtJx2t74ARYBjKEcjzIa6j72oq2c2MpwbSDg28lq5i+iyqidXw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MR1P264MB2980.FRAP264.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39850400004)(376002)(346002)(396003)(136003)(451199015)(66574015)(38070700005)(36756003)(122000001)(86362001)(31696002)(38100700002)(83380400001)(91956017)(76116006)(66556008)(66476007)(64756008)(8676002)(66446008)(5660300002)(54906003)(316002)(6916009)(31686004)(66946007)(7416002)(44832011)(4326008)(186003)(71200400001)(6486002)(2906002)(8936002)(2616005)(6506007)(478600001)(6512007)(26005)(41300700001)(41533002)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QUFrNzJaellRRWI0Z0xBc1hvY2tMYkNMWHpkY0tiTE9WaFpTeXRoL3VMd0d1?= =?utf-8?B?RGtsK1Z2Z2lPdGRTamxrNXZ1MGlvSG5INjBlZEdFMjlHMkVSK2h3RGpkZG1h?= =?utf-8?B?YXhYRnRsTksrSDFiRGJuVVV1L0djQTgxQ1lkSHRML3VkOVNNNWhmQUQ2dmpK?= =?utf-8?B?dmZNWjNtS3IwaHBZSmErRE9pTXlsY0x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DSzJ2Y0pXZnND?= =?utf-8?B?RU0xR3E3VUVtUjZVdFhsT1dlTGVzMmJnUUh6aSs0L25oZUh5R09wM1dBcmFN?= =?utf-8?B?WEFDZ0J5T2RCYUVHVzhGR3liVVdLSkhVcFpnczZXMHlKMGY4eHVwUldUWHpY?= =?utf-8?B?TWhFK0tTaVJUWkxyU2U1VlNQa0puSkxib0V3bU1qOEdpcmxscHJxN2JlWWVT?= =?utf-8?Q?OhsY0cVf9UPM4q+ertdl/ko=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <9AE706DEE82663429705589D9E096A50@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: MR1P264MB2980.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 0d9adf66-d7ac-4315-9ca9-08daaf971985 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2022 16:54:32.8987 (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: fqkZExvYES8rzJBHzZt+4EfljkFV/T7S1PBsCxfOONZ1IK+ndpxILBHdqhRmk2OFrbHKkhfiNZ9KQeQ7qumRgtkIpOeAjhfSa7YDCH8x1lE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAZP264MB1430 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-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