Received: by 10.192.165.148 with SMTP id m20csp4063262imm; Mon, 30 Apr 2018 11:02:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZprBSotQInYtWv3w6bVDg9wWQFeXbDo4keQCAb0rUXem97AEAz3SFmvtWjxuT6h1XSpR/ma X-Received: by 2002:a17:902:5801:: with SMTP id m1-v6mr13515098pli.325.1525111322185; Mon, 30 Apr 2018 11:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525111322; cv=none; d=google.com; s=arc-20160816; b=pR1IxWOxMLtemnzgE0SsaT+a5WjRcmqwCLUlr+qOEy29XnANL3xR6gRz0D/Y158X5I 9FH9sb3vaDIzHdCBwr/ly4n5r4Ihl2ilHhAmoQZLxqMneu1d+Q6GxN3gG+PL0qwfGsKT huYtFEwdnkz1upANcX6Lw3sdCplfhOJOfgwlRKhdrqhdS0ltrQjgwMAqQXxaA7aPT2US 7XL/veBGWOc6RrLyd7MQt1d0dgnnwnP8CnuLMNaltAXUP9+xYBcj9hx/4UVm0aZzn5kt tUcgCSHeeM98UKp/RQfY15+5nDFXh0qpTxTRgncXUJ88JlHZhCqGyW7BA6o46ddhZLjP 9HzA== 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 :arc-authentication-results; bh=1b7TfvnCtyFQVHT20gPHI9P3daLn+eQKHgfAJW+MEww=; b=BCkrKGhyfc9T9dIuzfmlfKRTTi0RjVhYllHejeFjdVNIABi2LyrVNL6B+ETZ1yXSvF yPpM6qkKFdCk31+y10KUxuQ/Cip57u2xg9BVeVzmOvHBa1N3NQ7CFZTdCoxfOz3XHl/i hqEbfeehtjq60muRC9r60QovwLerj+3GBbZUEwz2rM15/qovo3f6LsPco/axN9FmAonY Dd0StBKNnSNt6WTO5pL6c+OB7cFtJqKWN5k2RYPt/jM6YHCwZMVg33Kw7ozAtB4LvQKW FJmCNSznQ4Ry8oLQRKQGCsE9aSBo7YoTq/r21C3oLE8cdEgF3O27u8SzSjleuMJKkRF3 /Lfw== 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 e1-v6si7726509ple.428.2018.04.30.11.01.47; Mon, 30 Apr 2018 11:02:02 -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 S1754041AbeD3SAX (ORCPT + 99 others); Mon, 30 Apr 2018 14:00:23 -0400 Received: from g9t5008.houston.hpe.com ([15.241.48.72]:57168 "EHLO g9t5008.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbeD3SAW (ORCPT ); Mon, 30 Apr 2018 14:00:22 -0400 X-Greylist: delayed 15393 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Apr 2018 14:00:22 EDT Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id D5C0266; Mon, 30 Apr 2018 18:00:20 +0000 (UTC) Received: from misato.americas.hpqcorp.net (misato.americas.hpqcorp.net [10.34.81.122]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 2D2066BF; Mon, 30 Apr 2018 18:00:19 +0000 (UTC) From: Toshi Kani To: mhocko@suse.com, akpm@linux-foundation.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Cc: cpandya@codeaurora.org, linux-mm@kvack.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] fix free pmd/pte page handlings on x86 Date: Mon, 30 Apr 2018 11:59:22 -0600 Message-Id: <20180430175925.2657-1-toshi.kani@hpe.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes x86 ioremap free page handlings when setting up pud/pmd maps. Patch 01 is from Chintan's v9 01/04 patch [1], which adds a new arg 'addr'. This avoids merge conflicts with his series. Patch 02 adds a TLB purge (INVLPG) to purge page-structure caches that may be cached by speculation. See patch 2/2 for the detals. Patch 03 disables free page handling on x86-PAE to address BUG_ON reported by Joerg. [1] https://patchwork.kernel.org/patch/10371015/ --- Chintan Pandya (1): 1/3 ioremap: Update pgtable free interfaces with addr Toshi Kani (2): 2/3 x86/mm: add TLB purge to free pmd/pte page interfaces 3/3 x86/mm: disable ioremap free page handling on x86-PAE --- arch/arm64/mm/mmu.c | 4 +-- arch/x86/mm/pgtable.c | 57 +++++++++++++++++++++++++++++++++++++------ include/asm-generic/pgtable.h | 8 +++--- lib/ioremap.c | 4 +-- 4 files changed, 57 insertions(+), 16 deletions(-)