All of lore.kernel.org
 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
  0 siblings, 0 replies; 96+ messages in thread
From: Nicolas Boichat @ 2018-11-11  9:03 UTC (permalink / raw)
  To: Robin Murphy
  Cc: Levin Alexander, Michal Hocko, Andrew Morton, Huaisheng Ye,
	Tomasz Figa, Will Deacon, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	Pekka Enberg, linux-mm-Bw31MaZKKs3YtjvyW6yDsg,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, Mike Rapoport,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, David Rientjes,
	Matthias Brugger, yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w,
	Joonsoo Kim, Mel Gorman, Christoph Lameter, Vlastimil Babka

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] 96+ messages in thread

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

Thread overview: 96+ 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 ` Nicolas Boichat
2018-11-11  9:03 ` Nicolas Boichat
     [not found] ` <20181111090341.120786-1-drinkcat-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
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     ` Nicolas Boichat
2018-11-11  9:03     ` Nicolas Boichat
2018-11-11  9:03   ` [PATCH v2 2/3] mm: Add support for SLAB_CACHE_DMA32 Nicolas Boichat
2018-11-11  9:03     ` Nicolas Boichat
2018-11-11  9:03     ` Nicolas Boichat
2018-11-21 18:32     ` Christopher Lameter
2018-11-21 18:32       ` Christopher Lameter
     [not found]       ` <01000167378bf31a-a639b46c-4d1d-43de-9bed-9cdd9c07fa94-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2018-11-22  0:52         ` Nicolas Boichat
2018-11-22  0:52           ` Nicolas Boichat
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-11  9:03     ` Nicolas Boichat
2018-11-11  9:03     ` Nicolas Boichat
2018-11-21 16:46     ` Will Deacon
2018-11-21 16:46       ` Will Deacon
2018-11-21 17:38       ` Christopher Lameter
2018-11-21 17:38         ` Christopher Lameter
2018-11-21 17:43         ` Robin Murphy
2018-11-21 17:43           ` Robin Murphy
2018-11-21 18:18           ` Christopher Lameter
2018-11-21 18:18             ` Christopher Lameter
2018-11-21 18:02       ` Michal Hocko
2018-11-21 18:02         ` Michal Hocko
2018-11-22  1:20         ` Nicolas Boichat
2018-11-22  1:20           ` Nicolas Boichat
2018-11-22  1:20           ` Nicolas Boichat
2018-11-23 12:15           ` Vlastimil Babka
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 18:20   ` Christopher Lameter
     [not found]   ` <0100016737801f14-84f1265d-4577-4dcf-ad57-90dbc8e0a78f-000000-p/GC64/jrecnJqMo6gzdpkEOCMrvLtNR@public.gmane.org>
2018-11-21 21:38     ` Matthew Wilcox
2018-11-21 21:38       ` Matthew Wilcox
2018-11-21 21:38       ` Matthew Wilcox
     [not found]       ` <20181121213853.GL3065-PfSpb0PWhxZc2C7mugBRk2EX/6BAtgUQ@public.gmane.org>
2018-11-21 22:26         ` Robin Murphy
2018-11-21 22:26           ` Robin Murphy
2018-11-21 22:26           ` Robin Murphy
2018-11-22  1:05           ` Nicolas Boichat
2018-11-22  1:05             ` Nicolas Boichat
2018-11-22  1:05             ` Nicolas Boichat
2018-11-22  2:35           ` Matthew Wilcox
2018-11-22  2:35             ` Matthew Wilcox
2018-11-22  2:35             ` Matthew Wilcox
     [not found]             ` <20181122023558.GO3065-PfSpb0PWhxZc2C7mugBRk2EX/6BAtgUQ@public.gmane.org>
2018-11-22  5:56               ` Nicolas Boichat
2018-11-22  5:56                 ` Nicolas Boichat
2018-11-22  5:56                 ` Nicolas Boichat
2018-11-22  8:26               ` Christoph Hellwig
2018-11-22  8:26                 ` Christoph Hellwig
2018-11-22  8:26                 ` Christoph Hellwig
2018-11-22 15:16                 ` Matthew Wilcox
2018-11-22 15:16                   ` Matthew Wilcox
2018-11-22 15:16                   ` Matthew Wilcox
     [not found]                   ` <20181122151632.GP3065-PfSpb0PWhxZc2C7mugBRk2EX/6BAtgUQ@public.gmane.org>
2018-11-22 15:19                     ` Christoph Hellwig
2018-11-22 15:19                       ` Christoph Hellwig
2018-11-22 15:19                       ` Christoph Hellwig
2018-11-22  8:23           ` Christoph Hellwig
2018-11-22  8:23             ` Christoph Hellwig
2018-11-22  8:23             ` Christoph Hellwig
     [not found]             ` <20181122082336.GA2049-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2018-11-23  3:04               ` Nicolas Boichat
2018-11-23  3:04                 ` Nicolas Boichat
2018-11-23  3:04                 ` Nicolas Boichat
2018-11-23  5:37                 ` Nicolas Boichat
2018-11-23  5:37                   ` Nicolas Boichat
2018-11-23  5:37                   ` Nicolas Boichat
2018-11-23 12:23               ` Vlastimil Babka
2018-11-23 12:23                 ` Vlastimil Babka
2018-11-23 12:23                 ` Vlastimil Babka
2018-11-23 12:30                 ` Michal Hocko
2018-11-23 12:30                   ` Michal Hocko
2018-11-23 12:30                   ` Michal Hocko
     [not found]                 ` <555dd63a-0634-6a39-7abc-121e02273cb2-AlSwsSmVLrQ@public.gmane.org>
2018-11-26  8:02                   ` Christoph Hellwig
2018-11-26  8:02                     ` Christoph Hellwig
2018-11-26  8:02                     ` Christoph Hellwig
2018-11-28  8:55                     ` Nicolas Boichat
2018-11-28  8:55                       ` Nicolas Boichat
2018-11-28  8:55                       ` Nicolas Boichat
2018-12-04  9:37 ` Nicolas Boichat
2018-12-04  9:37   ` Nicolas Boichat
     [not found]   ` <CANMq1KDxmRcWhtaJbrLHqx6yPGkNaK7WNYYf+iFjH1e8XdrwRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-12-04 14:35     ` Vlastimil Babka
2018-12-04 14:35       ` Vlastimil Babka
2018-12-04 14:35       ` Vlastimil Babka
2018-12-05  2:04       ` Nicolas Boichat
2018-12-05  2:04         ` Nicolas Boichat
2018-12-05  2:04         ` Nicolas Boichat
2018-12-05  5:51         ` Nicolas Boichat
2018-12-05  5:51           ` Nicolas Boichat
2018-12-05  5:51           ` Nicolas Boichat
     [not found]         ` <CANMq1KDzKJqJwGsW3A90JY_0kgDtAMjOikT-3C9zQG01=3dibQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-12-05 14:41           ` Will Deacon
2018-12-05 14:41             ` Will Deacon
2018-12-05 14:41             ` Will Deacon
2018-12-04 16:28     ` Will Deacon
2018-12-04 16:28       ` Will Deacon
2018-12-04 16:28       ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.