From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by kanga.kvack.org (Postfix) with ESMTP id 0DF9A6B06B2 for ; Fri, 9 Nov 2018 03:25:01 -0500 (EST) Received: by mail-pl1-f199.google.com with SMTP id c18-v6so838723plz.22 for ; Fri, 09 Nov 2018 00:25:01 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l189sor7063774pgd.51.2018.11.09.00.24.59 for (Google Transport Security); Fri, 09 Nov 2018 00:24:59 -0800 (PST) From: Nicolas Boichat Subject: [PATCH RFC 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables Date: Fri, 9 Nov 2018 16:24:45 +0800 Message-Id: <20181109082448.150302-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Robin Murphy Cc: Will Deacon , Joerg Roedel , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Michal Hocko , Mel Gorman , Levin Alexander , Huaisheng Ye , Mike Rapoport , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Yong Wu , Matthias Brugger , Tomasz Figa , yingjoe.chen@mediatek.com This is a follow-up to the discussion in [1], to make sure that the page tables allocated by iommu/io-pgtable-arm-v7s are contained within 32-bit physical address space. [1] https://lists.linuxfoundation.org/pipermail/iommu/2018-November/030876.html Nicolas Boichat (3): mm: When CONFIG_ZONE_DMA32 is set, use DMA32 for SLAB_CACHE_DMA include/linux/gfp.h: Add __get_dma32_pages macro iommu/io-pgtable-arm-v7s: Request DMA32 memory, and improve debugging drivers/iommu/io-pgtable-arm-v7s.c | 6 ++++-- include/linux/gfp.h | 2 ++ include/linux/slab.h | 13 ++++++++++++- mm/slab.c | 2 +- mm/slub.c | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) -- 2.19.1.930.g4563a0d9d0-goog