diff options
| author | 2013-03-18 10:45:43 +0800 | |
|---|---|---|
| committer | 2013-03-19 16:14:52 -0700 | |
| commit | a4279e6202bbd08ac6038234571ac639c98879cf (patch) | |
| tree | cd3e2a755a22304e695494115484a15fdb038d05 /arch/ia64/kernel/iosapic.c | |
| parent | Fix broken fsys_getppid() (diff) | |
| download | linux-dev-a4279e6202bbd08ac6038234571ac639c98879cf.tar.xz linux-dev-a4279e6202bbd08ac6038234571ac639c98879cf.zip | |
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/iosapic.c')
0 files changed, 0 insertions, 0 deletions
