Re: [PATCH] ia64: simplify code flow around swiotlb init

2021-03-26 Thread John Paul Adrian Glaubitz
Hi Sergei! On 3/26/21 12:35 AM, Sergei Trofimovich wrote: > Before the change CONFIG_INTEL_IOMMU && !CONFIG_SWIOTLB && !CONFIG_FLATMEM > > could skip `set_max_mapnr(max_low_pfn);` is iommu is not present on system. ^^

[PATCH] ia64: simplify code flow around swiotlb init

2021-03-25 Thread Sergei Trofimovich
Before the change CONFIG_INTEL_IOMMU && !CONFIG_SWIOTLB && !CONFIG_FLATMEM could skip `set_max_mapnr(max_low_pfn);` is iommu is not present on system. CC: Andrew Morton CC: linux-i...@vger.kernel.org Signed-off-by: Sergei Trofimovich --- arch/ia64/mm/init.c | 7 +-- 1 file changed, 5 inser