Received: by 10.213.65.68 with SMTP id h4csp51815imn; Thu, 15 Mar 2018 09:15:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELsg6+K6Ed4r0m9usLoVdbDorUEMs8pZ+GvzI0Io22qB3S2OS7ti3d0JRo6Zckm3GR0T9E9F X-Received: by 2002:a17:902:69ce:: with SMTP id m14-v6mr7737841pln.358.1521130520311; Thu, 15 Mar 2018 09:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521130520; cv=none; d=google.com; s=arc-20160816; b=gZgYtvGMv2e+HucwyE/RbsEdLR4xRNqDEV4KMsALOvmmhW29bYKrox7EXDHf3qhEZ7 bDMaARLP6rFNbcvq/4Phw9UMAVL8cEdrkNKFAGXdcjvgEJqh6iPEcuSyGPXy7pUkDCkO ZuiPIZG5bZCRc9ujXDV7zL0e+u03tAKMkcMwWbAg3xUb1BcHb/VSwiVcJ7a+CQBt1dLd AvGn5vMDthPSQ90BqugmjdvL2LQayKEBn23L8lpZSD8uxLUE6C9TA3UncQ07kpNLL2Cj DDxMBiqPecU+R0CTFLulWNDo2upkTUoqRU7lYdEJDez6D+Gv6J74FP9fcVDNGJBqTxEv cQoA== 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=gfMNLUGBnr7wqfabpi+92fnuavYYOMbtKdHnkgOAL7M=; b=N8AZ3BnXU3Z486SSAYMB9aSCmkR506jlrMYDfiQeoK41ZqZuEwaSEliVuyJYmdIo1w 9nhagb5ptQch/KnXrvYQLtvDixGTAQ7OsURgIzvm9Srt/2uoA1urZD5TDpdesbhb4H0j qSJGSeLxCiayx66cT0sLiTmnKux4g+mMcGhGOuvPcDAHXGGNGy//GFeHlbIjiiBor2vU wBx5UGiCF42e9Qf7HXye3x3Z9mcMNbnJTEKwPlsjtyotw1glB+Ow8ptmqPEgJ5yFDyu0 ahYncyxoQiACz+qS3CH7P7ZqKLKxngRFcmAspOJascGTDOpVXpfoSP99IfhVMeWmMUAq jIew== 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 x26si4038511pfi.39.2018.03.15.09.15.05; Thu, 15 Mar 2018 09:15:20 -0700 (PDT) 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 S1751982AbeCOQM7 (ORCPT + 99 others); Thu, 15 Mar 2018 12:12:59 -0400 Received: from g9t5009.houston.hpe.com ([15.241.48.73]:54408 "EHLO g9t5009.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbeCOQMz (ORCPT ); Thu, 15 Mar 2018 12:12:55 -0400 Received: from G1W8107.americas.hpqcorp.net (g1w8107.austin.hp.com [16.193.72.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id BEC185C; Thu, 15 Mar 2018 16:12:54 +0000 (UTC) Received: from G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) by G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Mar 2018 16:12:54 +0000 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (15.241.52.10) by G9W8453.americas.hpqcorp.net (16.216.160.211) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Thu, 15 Mar 2018 16:12:54 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM (10.169.83.9) by DF4PR8401MB0569.NAMPRD84.PROD.OUTLOOK.COM (10.169.84.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Thu, 15 Mar 2018 16:12:52 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394]) by DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394%17]) with mapi id 15.20.0588.013; Thu, 15 Mar 2018 16:12:52 +0000 From: "Kani, Toshi" To: "cpandya@codeaurora.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "arnd@arndb.de" CC: "linux-kernel@vger.kernel.org" , "ard.biesheuvel@linaro.org" , "tglx@linutronix.de" , "takahiro.akashi@linaro.org" , "james.morse@arm.com" , "kristina.martsenko@arm.com" , "mark.rutland@arm.com" , "akpm@linux-foundation.org" , "gregkh@linuxfoundation.org" , "linux-arm-kernel@lists.infradead.org" , "marc.zyngier@arm.com" , "linux-arch@vger.kernel.org" Subject: Re: [PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping Thread-Topic: [PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping Thread-Index: AQHTvFuW/H5D66EiPUqborstpx0HBaPReDQA Date: Thu, 15 Mar 2018 16:12:52 +0000 Message-ID: <1521130368.2693.177.camel@hpe.com> References: <1521117906-20107-1-git-send-email-cpandya@codeaurora.org> <1521117906-20107-3-git-send-email-cpandya@codeaurora.org> In-Reply-To: <1521117906-20107-3-git-send-email-cpandya@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;DF4PR8401MB0569;7:JEzIv46nPb7yFED/iigF0Qk7UMpSljvTaCo0c2J5DXMelYvPVeaESNIg19C1Eemtt92J0b5kSOW/zsweikSfV1IsGHaEqsaFfP63t0WOV9JafZEl7umzcg03AcnYOs4yOLG5UQHZ2jD7vJOyvu2ZMqRv8NztbLG4fSmXLhOeGc93tRpy/PtbX7iv4jLHdDQivyQhbiZmg9gyPkHChXptEAusbEFt9HYOkLPxNX4DEzHq0SH4nZufUDyfzlkyAj/L x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 575f9ae9-deaa-41a9-50be-08d58a8f9b07 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020);SRVR:DF4PR8401MB0569; x-ms-traffictypediagnostic: DF4PR8401MB0569: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501244)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011);SRVR:DF4PR8401MB0569;BCL:0;PCL:0;RULEID:;SRVR:DF4PR8401MB0569; x-forefront-prvs: 0612E553B4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(376002)(366004)(346002)(396003)(377424004)(189003)(199004)(2900100001)(106356001)(2906002)(7416002)(5660300001)(3660700001)(105586002)(66066001)(3280700002)(97736004)(76176011)(2950100002)(68736007)(36756003)(229853002)(99286004)(110136005)(54906003)(14454004)(6506007)(6486002)(103116003)(478600001)(102836004)(6246003)(4326008)(2201001)(316002)(8676002)(6116002)(3846002)(305945005)(6512007)(26005)(81166006)(81156014)(7736002)(8936002)(186003)(25786009)(2501003)(53936002)(86362001)(5250100002)(6436002)(14583001);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR8401MB0569;H:DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /ufZtpDmM1mZa/g/PeeuD71IstvKp2fBswL7adxtw4mga1A6aVmqiCPyMeogcimWQDu8O+G1ijPr4FexfZz0gITAJDYFoEJOA50pdkv5XXXRYVSlhUG8Vv1sVTZlmZ2apKUte5o0S+xdShaPquYHB4HU5VZE8hjq+9wKEDzQMU0rTv2d8VK1cGvtJ3X2ht5jCe0he0Q72C2Fs/ZxLXlt2ntvzCefYL2iPlVDXyKS3eP+Z1o6OjB1aRf5PK0rr2bPrB2IgVs7WPMkCP9DgjZwBAUOWCEPzlT4TYFC9KkcX0kZTmlrGVuTVVMHN0RAqgPPGm+0Szysttiz0KrsGXlg9Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9168F7EEE5567C4387AEFF4307500D03@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 575f9ae9-deaa-41a9-50be-08d58a8f9b07 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2018 16:12:52.8072 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0569 X-OriginatorOrg: hpe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