Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3739511rwb; Sun, 9 Oct 2022 10:10:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7u8KRADpcGLAhW++oWEJd4wAh/PyGZF23QTjbvn9IsX27ZCWuI4Fq56FOGu1s4xcJoEkJq X-Received: by 2002:a05:6402:1e8d:b0:454:79a9:201f with SMTP id f13-20020a0564021e8d00b0045479a9201fmr14463025edf.176.1665335420597; Sun, 09 Oct 2022 10:10:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665335420; cv=pass; d=google.com; s=arc-20160816; b=b9f2aqM/jDP+JVBG76x3qhniw/jbQsnh1BJWshgMQySu5UsFvvdFSF+Pu0xgKSUquF C4iQEE4KpPGsRoUYQ/Cm4IvQqJM4i8YeoSUUHb8dZlXcnYtumpl8ZUX02YCLm+V+e2pL ZtTY71Mm4T78jbO38rr5TlSf23DT6kjlrW3HbGlv3fLqTlq029iWhs5CrqbevsDGd6nJ RgdGXqYBFGOjbJJn7zeZu/U3r88JdSiIHfi03rH5IWlRgQLbsg44eSr75fvmV8Z0Pr3F zuhch/Kv1PuOeA2LdHI/kRCw+6JyhhJ8wMeFjltG49BQfAIsOy7KLtA1SvmrC3w/Z8Bf uLpA== 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=n5v4IXGuUDhT+LnSq553+zmQmxcSJYeT6qgX2KmYURQ=; b=pyn+4TQGaz9OicbiNmVpaP3iAROLucrL3dC2+NhFuyAjIC2mpeK0Q0tRJnrUGOoG6u TfhoYPBIMXs7Z1Dx2m5pB5A/ovGU3lO3XLC5Py7jOCnCUKFw+szIk5XC27eMSW6DOTWf q3iKqu8yfNudSZWikThRs9nrXSqzmgLVJRlFT97N67LJnx8HhQ42mUJ2F2qH4QJjid+B S/1GKh8mM+9+myQFIkDbFKPcveisFEUNzndI8KSYgynbwV4UN058VxtRVXH6N8DXTKas bCVP7O0DUi2ZRvWE5xGmZ+Xlg+scd1ZMkj/TGEvde5GQSEDh7PGCyN63bYDxnOKzttek Y0uA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@csgroup.eu header.s=selector1 header.b=uazr5qhw; 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 dt3-20020a170907728300b0073dc32ccd9fsi8093571ejc.104.2022.10.09.10.09.28; Sun, 09 Oct 2022 10:10:20 -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=uazr5qhw; 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 S230039AbiJIQdF (ORCPT + 99 others); Sun, 9 Oct 2022 12:33:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbiJIQdC (ORCPT ); Sun, 9 Oct 2022 12:33:02 -0400 Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-eopbgr120072.outbound.protection.outlook.com [40.107.12.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F9F12125E for ; Sun, 9 Oct 2022 09:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpM+uXcav5yZQ2YaWCmKoh6bDfK95NlpcCqZ6Jjpf9RICJb4x1ymRgqETHxHyFAhYy1TF8xjCwnytqcfdURANc6w94Ptr2rgeWDEEC3Z5tAWhjviqsGEbJXuCE2LGKjTjZdiRF3DwIclKVVzscJ6YZdAeGmU3nt34MgJcLoxQV74SwkXOi10y6FPzH8dOUcYK9lebTOrieNxGb8xTwVsLdjvCu1xI57fnrAVpPEtXT2YzbWhq3Clw9JW/T9qDfE0vWX7PJP6W06VZGFGGw/8o4NeXkIgQgobHuMHVFVFZ81dpLjIJWoZqoyqp3VChiwPH2ryuwpT4I2phSGn2ca9pg== 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=n5v4IXGuUDhT+LnSq553+zmQmxcSJYeT6qgX2KmYURQ=; b=WP3kYXmqTTgjEwSYmd2yxEeSMMQ/gc/i8OUhQexNUhAiG/Y6JPBuxFscbZ84Zn+wyWloHTrvmnGBzoYdUU6cxH82/79MkcRZAXykdf0la2UW4f+wT/jTkoVsvaSF2QaxhkECj3+oh4tzOHpJ9E2hLnRJohN3LqBW3RKwd+dPv9XCUVLicr/SOq4k+qnCmwq8q2zg5HmTl6gYNZdnYsJXOC1cim4QoVYzg+lEI1d2X1IZzuSdePJzkpM4AsweGreac6TXrHMl2Z2lgd8jQEynqjXhvEvXBrMRq4waHGGwn+9pddA1erCMmo0I9fghtHrRT5aAXgOUS83Ns41uaAEkUw== 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=n5v4IXGuUDhT+LnSq553+zmQmxcSJYeT6qgX2KmYURQ=; b=uazr5qhwDaO6LMSSvEBmhw/3+ij6mZOBsKPTKO+PgQBnGOLDHH1JPLMa9iDUr8TT60T2XQ7Mhe9t75j8O415VbxIukLqQHdvjxmmYcj3c6iDiFXAB9oHJ5wJkHbbwSTzhel2j50XSE7L7GI8xQ0gKIZJ54q+Fpjfl9Ux6dQb6wGawZEchEccmHTzzYLtWOXyUd2ahx+zEyYCBM/bqGzM7o8d/doaB/i7ihSamWPoEcojXU2P9mXMvih/qF1bhKYTD+D5qvzJcO8g6S6bwXLOiGrCJZHWeC6/I+kl1hWlrlTRTmrXBR5ZhFmiLVS4HQeUAw1hHffwA9sI1ZbgH11kUw== Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:31::15) by MR1P264MB2419.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:34::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Sun, 9 Oct 2022 16:32:57 +0000 Received: from MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::c854:380d:c901:45af]) by MRZP264MB2988.FRAP264.PROD.OUTLOOK.COM ([fe80::c854:380d:c901:45af%7]) with mapi id 15.20.5709.015; Sun, 9 Oct 2022 16:32:57 +0000 From: Christophe Leroy To: Jiasheng Jiang , "qiang.zhao@nxp.com" , "leoyang.li@nxp.com" CC: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] soc: fsl: qe: Add check for ioremap Thread-Topic: [PATCH] soc: fsl: qe: Add check for ioremap Thread-Index: AQHY2r8isKmcQuOmGUmO+NyzMPz3fK4GRBCA Date: Sun, 9 Oct 2022 16:32:57 +0000 Message-ID: References: <20221008023819.47679-1-jiasheng@iscas.ac.cn> In-Reply-To: <20221008023819.47679-1-jiasheng@iscas.ac.cn> 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: MRZP264MB2988:EE_|MR1P264MB2419:EE_ x-ms-office365-filtering-correlation-id: 2a002bb2-591f-4a3c-c74f-08daaa13ec7c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: S8OJqdESmXcyilPcwDdjU3I/8wCTUzOTqJhVSKATnriWasxEKDZZlMR4ajn6bZWRh2ClSTWtkcXQc7xqQQg4a3C3wfDKZJJa0/8Mweuuu+jwXABYsd0acFAlozG2kEXuwKxZvyzrV7XDrGIpVbLx5q9T/odC1olFUHEua3pncQtmCyPpjbiby4A/eCkusOn8wTKBlJzvekSryuV1Fgc8uUaziIOBbV03/UyMFq8L1yJLIQzMJRJwg2IwnkZDbByRGD1rEcEC36KfrTLWPuYCEW4rHpEahVFUWI8mtPeE0LXvR8PHb6iF/iauODrVbHXQADB9HCkQtGUd/H6fiNH8TEQ6qxs50r4wR499+sYxdIyLYo4+YGiIGDzVENhOUfLcXFtcS3S83BI/Ya/8IObxKMDPwJBexkDC/BehDfg6tI+G/M9XjryMrsxzPeify/swLXTaja0wj2HKuoWvcay9AD1zjDdcyCrFI8cBeO7/5N82CkS0NzFkyjEQhlQRW7Fn48F/n0lIMAmJkYXOyp13viz3ooydbIZ7pj8ay2jx5K3SxQZm4HTyX59zKdSA/HH967WQHQBi4i9pbj8oXzejeYBmhdsmbUXJG0H5813JyYE927ysy5b/J8JkvYMG9yVbmRqncxr6xZENjpmEsS9EJ1q60vW9dvKuA2OjxVeD/yrhrWpdFFFJiEnf4Y+Wcf8Y7xosXVLJhBY429qoQXuAGXCRFJHt5jSeib6Fs0avT3h3cpuzC7pfbG5odbHrctcVAQM0YiF7RqqUBBJCMH68ykEuY+GeM8pTOKMWg8e4ClnY949bQKZ4GSEDoQS/pwJUI9T0cJCc+TPGFnTT9tNutA== 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:(13230022)(4636009)(39850400004)(366004)(136003)(396003)(346002)(376002)(451199015)(66556008)(66946007)(66476007)(66446008)(6506007)(76116006)(8676002)(6512007)(31686004)(26005)(4326008)(64756008)(91956017)(8936002)(186003)(316002)(36756003)(2616005)(478600001)(38100700002)(66574015)(41300700001)(5660300002)(122000001)(83380400001)(110136005)(54906003)(31696002)(44832011)(6486002)(2906002)(86362001)(38070700005)(71200400001)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RHhuL0g5WTZVa0gyRXNLemovVm44MjZ5TWo1SDFXcEo4eDNaU0RkY0ZaMU5G?= =?utf-8?B?T2RsNWZOU0RHeTMwT2YxQW1LT1Qyam1UWVJYbXhkOVgvWHE0MktnSU1zRjFN?= =?utf-8?B?aXFwaW5YdXlHWUpKQ3V2bkN6Sy9BTTFKWlNCTklHWUZtKy9lbVBBYTg1Skt0?= =?utf-8?B?QlgwQ2dxRXZlQjdhZGVwTE53NW9ab01pYlRYcXR5SXEzTGp2eVJ2eldFSjJN?= =?utf-8?B?NmpHbmJhaFR1ZXdZQ3dlS2RYYW5sOG5pSGJQRElqMTJDV1hocXJpemNWd2NQ?=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TDVBU1ZCUlRsdjhHSW42U1BoVkppa2c1enhQdkgz?= =?utf-8?B?a2x5VnlYOGFLbFVUQStleVRxMEFsUXdCTnlFRHhtYUM0MGRadmlhanhQSkNC?= =?utf-8?Q?iEdpQrjib+irUTdUlrgsRSA=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <1789694C2C871347BDD6904C96AEB362@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: 2a002bb2-591f-4a3c-c74f-08daaa13ec7c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2022 16:32:57.4579 (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: fmpO6EdgjJUwJnlbsmPngas9qd9Q6YBQogH3bhzQRfAO5JK6bW8/S8JdTe4PVwaG4vu5NcauwOVCbPbyZ5Db5JbKhIGMQEtVbmwXozu7pGc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MR1P264MB2419 X-Spam-Status: No, score=-6.0 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-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCkxlIDA4LzEwLzIwMjIgw6AgMDQ6MzgsIEppYXNoZW5nIEppYW5nIGEgw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