Re: [PATCH v2 7/8] iommu/mediatek: Enlarge the validate PA range for 4GB mode

2017-08-24 Thread kbuild test robot
Hi Yong, [auto build test WARNING on iommu/next] [also build test WARNING on next-20170823] [cannot apply to v4.13-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 7/8] iommu/mediatek: Enlarge the validate PA range for 4GB mode

2017-08-23 Thread kbuild test robot
Hi Yong, [auto build test ERROR on iommu/next] [also build test ERROR on next-20170823] [cannot apply to v4.13-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v2 7/8] iommu/mediatek: Enlarge the validate PA range for 4GB mode

2017-08-21 Thread Yong Wu
This patch is for 4GB mode, mainly for 4 issues: 1) Fix a 4GB bug: if the dram base is 0x4000_, the dram size is 0xc000_. then the code just meet a corner case because max_pfn is 0x10_. data->enable_4GB = !!(max_pfn > (0xUL >> PAGE_SHIFT)); It's true at the case