Received: by 10.223.185.116 with SMTP id b49csp92605wrg; Tue, 20 Feb 2018 16:37:08 -0800 (PST) X-Google-Smtp-Source: AH8x227CzAPpCnIcl0mTFcliHBG+DdpWmXMWT0By23uXEugy77p8whE+8n67d8ccNxSqKh1qgATc X-Received: by 2002:a17:902:540f:: with SMTP id d15-v6mr1384614pli.224.1519173428364; Tue, 20 Feb 2018 16:37:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519173428; cv=none; d=google.com; s=arc-20160816; b=Buxk4VxptSho3ZuKYHcFYJH/NASc7UdxftijBXf4P7TqqTqAV1z+7MWgMXki5vx/Rv rCjPuC2EIAFc6TzF1w2N4Cx0FODszzyY06Q89Jk9luhICyLw4D589Wmhk3pT84tq6baJ Y2phE55Xd8lLZ3Xva5zV+KIRFfgGCnS0S9aaU+OOB4l9kcPjfx4JrFoNd99LbOQBbj90 u7PUGvDaErJHtFfEMuDaAP1yVWMuxdBN3gCVP2XUDQsGcfglfe93Rbx3LtwAYNPBPVtf pXvJ3DIyZYhlnN8TvNK8+DCY+6FysztDA3WxpbPz2d5T1kmr7aDZ5QmpMZ4Be/LRtcn0 jh9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=/93m71hFcN9ub2/rq2X+Mh4RC6SPX9UgcXAaXrjbUas=; b=Khr+LIaxqfuVscoBBWL5lhVIQTy0W85XDgj9K9gg6t81H2SZ4u+TWwj5yg3GPISV8f 9yuBfTFmwcB+dIV+MAlKp1aOnqXBXX/4/O4D/qNgEVlzz+LobCRP+gDVdc4ajZmmm7DD PRsewgiXgnMrfqap2o1jAcAkBHU3/B9UaaKdTXMjoekaOhYeasQ8Vr9z0mH3iVhz6z1c WTZNnXTBCNOPux9msW/fYbA7zionKWe57leqd3+XO30cK9djfYcJuGgIeMfLAI/LRHRO QfOE3zrT7cF1/IqpWyMuGIB+0ZDL+dxlO2nTH3y3Llrk2uWWZJ4BrAgLaWBUzaLvSLRn oGJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si3923323pgq.380.2018.02.20.16.36.53; Tue, 20 Feb 2018 16:37:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbeBUAeq (ORCPT + 99 others); Tue, 20 Feb 2018 19:34:46 -0500 Received: from g9t1613g.houston.hpe.com ([15.241.32.99]:5212 "EHLO g9t1613g.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeBUAep (ORCPT ); Tue, 20 Feb 2018 19:34:45 -0500 Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hpe.com (Postfix) with ESMTPS id 96B676180A for ; Wed, 21 Feb 2018 00:34:44 +0000 (UTC) Received: from G9W8455.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.161.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id B97A44F; Wed, 21 Feb 2018 00:34:42 +0000 (UTC) Received: from G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) by G9W8455.americas.hpqcorp.net (2002:10d8:a15e::10d8:a15e) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 21 Feb 2018 00:34:42 +0000 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (15.241.52.11) by G2W6309.americas.hpqcorp.net (16.197.64.51) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 21 Feb 2018 00:34:42 +0000 Received: from AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM (10.169.9.143) by AT5PR8401MB0340.NAMPRD84.PROD.OUTLOOK.COM (10.169.2.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Wed, 21 Feb 2018 00:34:40 +0000 Received: from AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM ([fe80::69fb:d61f:bcab:c149]) by AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM ([fe80::69fb:d61f:bcab:c149%18]) with mapi id 15.20.0464.012; Wed, 21 Feb 2018 00:34:40 +0000 From: "Kani, Toshi" To: "linux-arm-kernel@lists.infradead.org" , "cpandya@codeaurora.org" , "linux-kernel@vger.kernel.org" , "guohanjun@huawei.com" CC: "linuxarm@huawei.com" , "linux-mm@kvack.org" , "wxf.wang@hisilicon.com" , "akpm@linux-foundation.org" , "mark.rutland@arm.com" , "will.deacon@arm.com" , "catalin.marinas@arm.com" , "Hocko, Michal" , "hanjun.guo@linaro.org" Subject: Re: [RFC patch] ioremap: don't set up huge I/O mappings when p4d/pud/pmd is zero Thread-Topic: [RFC patch] ioremap: don't set up huge I/O mappings when p4d/pud/pmd is zero Thread-Index: AQHTf8/DU6Bn0QH47UWdTrAB037o0qOtWaOAgAEK4wA= Date: Wed, 21 Feb 2018 00:34:40 +0000 Message-ID: <1519175992.16384.121.camel@hpe.com> References: <1514460261-65222-1-git-send-email-guohanjun@huawei.com> <861128ce-966f-7006-45ba-6a7298918686@codeaurora.org> In-Reply-To: <861128ce-966f-7006-45ba-6a7298918686@codeaurora.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=toshi.kani@hpe.com; x-originating-ip: [15.219.147.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AT5PR8401MB0340;6:5D2A3x7WAQMEQhqD6pimjMt7thUVIIfxVcocVNswmS1DgxcshVeVv9KFKcQ38dmPxRkaBNz9bOt00edkZ9DoBUNUUN/NDBLbHNhP5YYtoiy5cunwIF2m2BZLHMt8t+XtsvoIA8zxPOHR840TbvGyId0OySppHdfpJBiImlMf6ZSbpxZBlPQklijuhru08idNqyuG4zqgColRpjhyDPHuU11oFYbUx6CuROn3F8Ia6TIWkiBYXUenEzlt+csgZnCkOQCFr475DHK7LyZeOInnUCT/CABOd0Lgt08fGTajpBwixGwuNT9h8sFcwo4797BTJUJEJ82bH2RdmCrnan20StWXR91AR2MYDfn8cB02DsEI1DhY1vVx5HlGUPJTELqN;5:upB0+5XwOBlM+T2GXbaHAMr9IHNAotLRAFTHBoc0FdawK0U/p6ANxkHd8Ih+EaJtBkFX7QXf88ckXJ9JDGIqbsvUrs1dz8DioHxrDVmbfOU4L81AyrldT+ypkYibPfgi3PLF2BY6SbVNjrD8GOn/LVA+c/C76AEETqvytLL6v90=;24:0zE63nS3DZskLFJmwRxLKxPyYgrVsuERl01OUjGPAnSffiIfSgxd+mFXvNrDM8vPV6eS/NLLK5X068FLj09yenMcdsSRDlMGmBBxc52L/R0=;7:fVrsKz+IpCZ/HH2FJ2yZW1ZdftGz931fAYKp4s+3tXNWMZAIz1+pjJllPzsYRQeTSNwf9DyNNX7MOS3j5xI/ns/Vif7+NgdcJLuUir6p6nmcVOt3rOYCdy90wD/Qi+iXGLt1eD2qApfCGQh0d5T116aZanwK8zA//7JQX/FlbXLiPkNSF/8+NSp9hpbUrrNHhT5qmhqd9Z5hMy0b1Kg/HYtrif7mmcjj4AatqRxQPZxD/Jn9RCgKwa6kSfkoOHV+ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 51205b96-56af-437b-a1fa-08d578c2e4e8 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603307)(7153060)(7193020);SRVR:AT5PR8401MB0340; x-ms-traffictypediagnostic: AT5PR8401MB0340: x-ld-processed: 105b2061-b669-4b31-92ac-24d304d195dc,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001061)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231101)(944501161)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011);SRVR:AT5PR8401MB0340;BCL:0;PCL:0;RULEID:;SRVR:AT5PR8401MB0340; x-forefront-prvs: 0590BBCCBC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39380400002)(366004)(346002)(39860400002)(376002)(377424004)(199004)(189003)(7736002)(6486002)(305945005)(102836004)(6246003)(3660700001)(76176011)(66066001)(966005)(53546011)(6506007)(106356001)(14454004)(6436002)(8676002)(5660300001)(7416002)(99286004)(68736007)(81156014)(2201001)(86362001)(8936002)(26005)(81166006)(103116003)(110136005)(97736004)(105586002)(5250100002)(316002)(2501003)(186003)(3280700002)(478600001)(2900100001)(54906003)(3846002)(6116002)(6512007)(229853002)(53936002)(2950100002)(6306002)(2906002)(25786009)(4326008)(36756003)(14583001);DIR:OUT;SFP:1102;SCL:1;SRVR:AT5PR8401MB0340;H:AT5PR8401MB1297.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: LqlqNPqifCIHb3uGGxGoxnG0Ye9WscJVkD6S8x0yfSb2iSUtYpaCGNV2JlIYTxx+tBXpZ+qPz3/bCJzjWBwfMahfcVlp0fZkzZn7YSeVG+lxvyOcCJ5xfpAMv3WK7EwNKMMJ21V7lDsBleNz6/Yj/vTMUdIi0MqriDbe4B+wmik= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <6A2CE272CB23C041A9BC657DD90D9DD9@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 51205b96-56af-437b-a1fa-08d578c2e4e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2018 00:34:40.0982 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: AT5PR8401MB0340 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE4LTAyLTIwIGF0IDE0OjU0ICswNTMwLCBDaGludGFuIFBhbmR5YSB3cm90ZToN Cj4gDQo+IE9uIDEyLzI4LzIwMTcgNDo1NCBQTSwgSGFuanVuIEd1byB3cm90ZToNCj4gPiBGcm9t OiBIYW5qdW4gR3VvIDxoYW5qdW4uZ3VvQGxpbmFyby5vcmc+DQo+ID4gDQo+ID4gV2hlbiB3ZSB1 c2luZyBpb3VubWFwKCkgdG8gZnJlZSB0aGUgNEsgbWFwcGluZywgaXQganVzdCBjbGVhciB0aGUg UFRFcw0KPiA+IGJ1dCBsZWF2ZS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