From: Li, Zhen-Hua Date: Mon, 18 Mar 2013 02:45:43 +0000 (+0800) Subject: Add WB/UC check for early_ioremap X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~144^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4279e6202bbd08ac6038234571ac639c98879cf;p=pandora-kernel.git Add WB/UC check for early_ioremap On ia64 system, the function early_ioremap returned an uncached memory reference without checking whether this was consistent with existing mappings. This causes efi error and the kernel failed during boot. Add a check to test whether memory has EFI_MEMORY_WB set. Use the function kern_mem_attribute() in early_iomap() function to provide appropriate cacheable or uncacheable mapped address. See the document Documentation/ia64/aliasing.txt for more details. Signed-off-by: Li, Zhen-Hua Signed-off-by: Tony Luck --- Reading git-diff-tree failed