From patchwork Wed Jul 25 14:06:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 10544071 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BDA4F180E for ; Wed, 25 Jul 2018 14:07:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACB5D2022C for ; Wed, 25 Jul 2018 14:07:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A034E206E2; Wed, 25 Jul 2018 14:07:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,SUSPICIOUS_RECIPS autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A1BC2022C for ; Wed, 25 Jul 2018 14:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=S/N0vVcIKa0S4UONI2Ob+tvzCxTl2VUA2on4134+Ln0=; b=GJN /4uk41Yz6NCa3eqwmP8Wgj+Y8S6+QcSRsmvuw6x/GwWXZUtwazOfaDYOwf2QwKpDDr9iYE49j0upO EQsYktisO5OnPn5+SWOZqobyBtrKZZSqDS3kLPSTdt7GxjnnHBq46oo7LXQ1pxd/eu5RAWMkaqUAO Flb+Z7IwDmypgjlkr54E2X7PfmJP+nUxmlyxe5jykKXfDMsmvslPLtmDdeD+UP20XHn3H3aT4/WkY qwAhMQJ00yHXiq4fMVQgGpLumuOQffw1xVRccrfxpojvRKQ7+dIGsCUOh3bz85F7en9xPwofeRxxU i5/G5XtA7rrwQQgqjilVs7xM9EgXaNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiKRX-0003t3-66; Wed, 25 Jul 2018 14:07:07 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiKRS-0003lY-D6 for linux-arm-kernel@lists.infradead.org; Wed, 25 Jul 2018 14:07:05 +0000 Received: by mail-pg1-x543.google.com with SMTP id f1-v6so5392174pgq.12 for ; Wed, 25 Jul 2018 07:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=K4b2ZvEoyZrFhsHcQ2FFpXvW3K3aFD+/fhlZycDpmNI=; b=m78q4HP732aLZOMNiRqmzUKgsWgbkPNxzEjEOW09RGXNA3b5In2WD6dtgZ/lOxW1zo 1hgJQLDrwbHRKZM0cOZL9TA2C0J1k1XwXSCmYrEoS5ucsUEigLvHtUD1iQUBoMTuwqgt bp2VCd5wi0bzKzDxu8oqVIqgVJ2wNc3KMlqE4wS1qRKsShmGoyiEZ6qiY8PqEM1vWC7x ySDtVBcDyx72nT/HB4jwwmMmr/aAYuCHW0uvj57QsRdVlMNuuUmQh4iz4aR18Atvfq7j INqTjr3j0ILzaLPH/NEIz56+BSltH1TjGL8iaMq0OaQYTcn3bT6zoW9hii01OkKGAoBT 9rjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K4b2ZvEoyZrFhsHcQ2FFpXvW3K3aFD+/fhlZycDpmNI=; b=o28vC4txlSfS+g+5Dfuaoch8puTIBTqWs52rWRzC4Vq21BiF23y57osNpIUEo5GfiA Bjrtee8M8RVQVwA4lyskXLJz3N/hZD4VgWZT+sHuppSF54Vrd+gQS76bA0G9KMGnAkQu aeLZZuKxudwmdQ+W2KDZsomj7LPjvSf9t+wlGKW01iNXTnGrhoXz9FCbuu7tPiqKY/WX VGlupch5k819o0IO0srdWP6Lm0AwQ/JrSqljBH7U6IQ07MEViEFMSKRssb7wPIJ6qrlK 8MXPlOxvj1ALADCKq5FXc++53JBf5ErpjTNXweRD4xAD7ufxNpq+dExBzFnLgE3SfuYx m48w== X-Gm-Message-State: AOUpUlEybDXEGLCukOsWUGih+eWrH3FjkP0cutqmZS+iMWgy5bINfxQv iRx3sQPR9WnqyFCid9iMEFM= X-Google-Smtp-Source: AAOMgpf7FhkU1iFGXkchR10j+f3+ZSGfvDSHhqHDhnWtLzOJGZTHzWCZ9JZozUWbf8RmndQKnW0w2A== X-Received: by 2002:a63:5b51:: with SMTP id l17-v6mr20248091pgm.165.1532527611793; Wed, 25 Jul 2018 07:06:51 -0700 (PDT) Received: from roar.au.ibm.com ([61.69.188.107]) by smtp.gmail.com with ESMTPSA id d132-v6sm20923421pga.10.2018.07.25.07.06.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 07:06:51 -0700 (PDT) From: Nicholas Piggin To: linux-mm@kvack.org Subject: [RFC PATCH 0/4] mm: mmu_gather changes to support explicit paging Date: Thu, 26 Jul 2018 00:06:37 +1000 Message-Id: <20180725140641.30372-1-npiggin@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180725_070702_525642_D4BABD8C X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Nicholas Piggin MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The first 3 patches in this series are some generic mm changes I would like to make, including a possible fix which may(?) be needed for ARM64. Other than the bugfix, these first 3 patches should not change anything so hopefully they aren't too controversial. The powerpc patch is also there for reference. Thanks, Nick Nicholas Piggin (4): mm: move tlb_table_flush to tlb_flush_mmu_free mm: mmu_notifier fix for tlb_end_vma mm: allow arch to have tlb_flush caled on an empty TLB range powerpc/64s/radix: optimise TLB flush with precise TLB ranges in mmu_gather arch/powerpc/include/asm/tlb.h | 34 +++++++++++++++++++++++++++++++++ arch/powerpc/mm/tlb-radix.c | 10 ++++++++++ include/asm-generic/tlb.h | 35 ++++++++++++++++++++++++++++++---- mm/memory.c | 14 ++------------ 4 files changed, 77 insertions(+), 16 deletions(-)