diff options
author | Li, Zhen-Hua <zhen-hual@hp.com> | 2013-03-18 10:45:43 +0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-03-19 16:14:52 -0700 |
commit | a4279e6202bbd08ac6038234571ac639c98879cf (patch) | |
tree | cd3e2a755a22304e695494115484a15fdb038d05 /arch/ia64/kernel | |
parent | deb60015096102f9842b631dcad98a05001268e9 (diff) | |
download | op-kernel-dev-a4279e6202bbd08ac6038234571ac639c98879cf.zip op-kernel-dev-a4279e6202bbd08ac6038234571ac639c98879cf.tar.gz |
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 <zhen-hual@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
0 files changed, 0 insertions, 0 deletions