[PATCH RFC 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables

From: Nicolas Boichat
Date: Fri Nov 09 2018 - 03:25:02 EST


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