Received: by 10.213.65.68 with SMTP id h4csp1490450imn; Mon, 19 Mar 2018 05:46:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELttR0rz1/vdXBIaz1EPK8VAD0PWZOC2dZGyVmxGLt/wdQ2ooWET5K0+nmhBoCI2OSxF2/nE X-Received: by 2002:a17:902:2e:: with SMTP id 43-v6mr12351619pla.282.1521463618998; Mon, 19 Mar 2018 05:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521463618; cv=none; d=google.com; s=arc-20160816; b=T9MEokJw0bz2vasWx0wvZIECjkwQDtBOxzj7NnYd1Lnq4NCjjp2YG45GLkhpBLn1AU 9fzKD5gkMIQ96nZU9d4N8n06jsTck4pZrq/gVLY302RlIIJKNCbhqBczeeMxjttieHPu TJBlc4euvgcWb4uKglniCV/ZHTUrbT4PXmUwDlombZ0w2g+8k1LYJ5ij9mjFwSnSh5wT Zdqor0/7RPCXTcRgx5Xf01bU/wKJjMv7iwBXTM83BiuV/rs0ndVCaoOA6IqP5LL70ZZ3 G+wkXraBwRFZ3irGWxbWFrYQI8JRd3UfV5Bkjt/A0ARZxM3okqKqGvEyV1B0R03Xrltt qdLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=YSlYqRwvJyYOCOpOvY5NiuxLR8QH06R0lvVXZSXAiA8=; b=GJrutDlbTRFosfgy89jDXbzIdd51SKgZIkddXeTfrRtIcj4QJxVBWbrbMWRFjSzeBp VCkJQXSb3QN3P6L+Y/bKFX7qqjvHQnzbS38nmoJWYGraGl6SnXBkEw1hvYSSgVz5byH8 XktNFaxb7rzWGyxqFXtghZQn2nHW9DtBjRRgn1htz0PS7C+7XSCXaLwb5o03oQiZGnHN 2pj14cvnEBxrLKZAy0K/Olp7/afPWzMHjuL+iUFKaEG5IQGHPEMv7fk1afARhHjTTA9c ko/K7k3ASaqGwUvOHfxQY/8TOxeWgD3jp7Lja2TmEv1adDEUAswwRksK4KzVFpvBn5ZR xvOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=kHAaRM0+; dkim=pass header.i=@codeaurora.org header.s=default header.b=cSeQGwZW; 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 a90-v6si12001026plc.329.2018.03.19.05.46.44; Mon, 19 Mar 2018 05:46:58 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=kHAaRM0+; dkim=pass header.i=@codeaurora.org header.s=default header.b=cSeQGwZW; 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 S932814AbeCSMlR (ORCPT + 99 others); Mon, 19 Mar 2018 08:41:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34704 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932415AbeCSMlN (ORCPT ); Mon, 19 Mar 2018 08:41:13 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 28ECA60C67; Mon, 19 Mar 2018 12:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521463273; bh=dYrdyG/scegFbYdSlF4cBWrMBnFZ/QBGKeeJCcXBYw0=; h=From:To:Cc:Subject:Date:From; b=kHAaRM0+ds3GiT2w1rQkV0cEBjoxAdPprj+IZnSg7WDGUyU3rSRzzbmQgKTyTqDyl 5AqIPWXIvQKJPH4eL7Ra5WBP12hsxU88acYcYcVLUjPct7HVeiy0lqGNFaR3OcEDCG l4DZj5x70z61Y8ia/A46CGcWC1idnt07NTwvtRKQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from cpandya-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: cpandya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 852C36055B; Mon, 19 Mar 2018 12:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521463271; bh=dYrdyG/scegFbYdSlF4cBWrMBnFZ/QBGKeeJCcXBYw0=; h=From:To:Cc:Subject:Date:From; b=cSeQGwZWsb7IwdUXWCcFxZAx2gxnr3swHNME4Q9FCbhn3ri76opiWKtB4xaDKEpCm n2a3qvfFATe6ahwSjOw03gNdZ4eYNVgKstktnqIMgT1A+LJVIBrb9Shm3TwlxG9LmX nHsaZFtM1UFPboNIejxxM5CRSmQyj+ke7Dk/nBNQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 852C36055B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=cpandya@codeaurora.org From: Chintan Pandya To: catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com Cc: arnd@arndb.de, ard.biesheuvel@linaro.org, marc.zyngier@arm.com, james.morse@arm.com, kristina.martsenko@arm.com, takahiro.akashi@linaro.org, gregkh@linuxfoundation.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, akpm@linux-foundation.org, toshi.kani@hpe.com, Chintan Pandya Subject: [PATCH v3 0/3] Fix issues with huge mapping in ioremap for ARM64 Date: Mon, 19 Mar 2018 18:10:53 +0530 Message-Id: <1521463256-19858-1-git-send-email-cpandya@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series of patches are follow up work (and depends on) Toshi Kani 's patches "fix memory leak/ panic in ioremap huge pages". This series of patches are tested on 4.9 kernel with Cortex-A75 based SoC. Chintan Pandya (3): ioremap: Update pgtable free interfaces with addr arm64: Implement page table free interfaces Revert "arm64: Enforce BBM for huge IO/VMAP mappings" From V2->V3: - Use the exisiting page table free interface to do arm64 specific things From V1->V2: - Rebased my patches on top of "[PATCH v2 1/2] mm/vmalloc: Add interfaces to free unmapped page table" - Honored BBM for ARM64 arch/arm64/mm/mmu.c | 40 ++++++++++++++++++++++++++++------------ arch/x86/mm/pgtable.c | 4 ++-- include/asm-generic/pgtable.h | 8 ++++---- lib/ioremap.c | 4 ++-- 4 files changed, 36 insertions(+), 20 deletions(-) -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project