diff options
author | H. Peter Anvin <[email protected]> | 2009-06-09 18:20:39 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2009-06-16 17:47:31 -0700 |
commit | 95ee14e4379c5e19c0897c872350570402014742 (patch) | |
tree | 64479687a95b07bad97b886f1e97c3a391daf934 /net/lapb/lapb_timer.c | |
parent | 8a4a6182fd43c46ed8c12e26b4669854bcad300a (diff) |
x86: cap iomem_resource to addressable physical memory
iomem_resource is by default initialized to -1, which means 64 bits of
physical address space if 64-bit resources are enabled. However, x86
CPUs cannot address 64 bits of physical address space. Thus, we want
to cap the physical address space to what the union of all CPU can
actually address.
Without this patch, we may end up assigning inaccessible values to
uninitialized 64-bit PCI memory resources.
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Martin Mares <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions