linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables
@ 2018-11-11  9:03 Nicolas Boichat
  2018-11-11  9:03 ` [PATCH v2 1/3] mm: slab/slub: Add check_slab_flags function to check for valid flags Nicolas Boichat
                   ` (4 more replies)
  0 siblings, 5 replies; 35+ messages in thread
From: Nicolas Boichat @ 2018-11-11  9:03 UTC (permalink / raw)
  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, iommu, linux-kernel, linux-mm,
	Yong Wu, Matthias Brugger, Tomasz Figa, yingjoe.chen

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

Fixes since v1:
 - Add support for SLAB_CACHE_DMA32 in slab and slub (patches 1/2)
 - iommu/io-pgtable-arm-v7s (patch 3):
   - Changed approach to use SLAB_CACHE_DMA32 added by the previous
     commit.
   - Use DMA or DMA32 depending on the architecture (DMA for arm,
     DMA32 for arm64).

Nicolas Boichat (3):
  mm: slab/slub: Add check_slab_flags function to check for valid flags
  mm: Add support for SLAB_CACHE_DMA32
  iommu/io-pgtable-arm-v7s: Request DMA32 memory, and improve debugging

 drivers/iommu/io-pgtable-arm-v7s.c | 20 ++++++++++++++++----
 include/linux/slab.h               |  2 ++
 mm/internal.h                      | 21 +++++++++++++++++++--
 mm/slab.c                          | 10 +++-------
 mm/slab.h                          |  3 ++-
 mm/slab_common.c                   |  2 +-
 mm/slub.c                          | 24 +++++++++++++++++-------
 7 files changed, 60 insertions(+), 22 deletions(-)

-- 
2.19.1.930.g4563a0d9d0-goog


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2018-12-05 14:41 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-11  9:03 [PATCH v2 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables Nicolas Boichat
2018-11-11  9:03 ` [PATCH v2 1/3] mm: slab/slub: Add check_slab_flags function to check for valid flags Nicolas Boichat
2018-11-11  9:03 ` [PATCH v2 2/3] mm: Add support for SLAB_CACHE_DMA32 Nicolas Boichat
2018-11-21 18:32   ` Christopher Lameter
2018-11-22  0:52     ` Nicolas Boichat
2018-11-11  9:03 ` [PATCH v2 3/3] iommu/io-pgtable-arm-v7s: Request DMA32 memory, and improve debugging Nicolas Boichat
2018-11-21 16:46   ` Will Deacon
2018-11-21 17:38     ` Christopher Lameter
2018-11-21 17:43       ` Robin Murphy
2018-11-21 18:18         ` Christopher Lameter
2018-11-21 18:02     ` Michal Hocko
2018-11-22  1:20       ` Nicolas Boichat
2018-11-23 12:15         ` Vlastimil Babka
2018-11-21 18:20 ` [PATCH v2 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables Christopher Lameter
2018-11-21 21:38   ` Matthew Wilcox
2018-11-21 22:26     ` Robin Murphy
2018-11-22  1:05       ` Nicolas Boichat
2018-11-22  2:35       ` Matthew Wilcox
2018-11-22  5:56         ` Nicolas Boichat
2018-11-22  8:26         ` Christoph Hellwig
2018-11-22 15:16           ` Matthew Wilcox
2018-11-22 15:19             ` Christoph Hellwig
2018-11-22  8:23       ` Christoph Hellwig
2018-11-23  3:04         ` Nicolas Boichat
2018-11-23  5:37           ` Nicolas Boichat
2018-11-23 12:23         ` Vlastimil Babka
2018-11-23 12:30           ` Michal Hocko
2018-11-26  8:02           ` Christoph Hellwig
2018-11-28  8:55             ` Nicolas Boichat
2018-12-04  9:37 ` Nicolas Boichat
2018-12-04 14:35   ` Vlastimil Babka
2018-12-05  2:04     ` Nicolas Boichat
2018-12-05  5:51       ` Nicolas Boichat
2018-12-05 14:41       ` Will Deacon
2018-12-04 16:28   ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).