1 The current fixed physical/virtual mappings for the internal peripherals
2 of the ixp4xx SoC devices is using a virtual address outside of the vmalloc
3 region. This results in kernel warnings like this on the boot console:
5 BUG: mapping for 0xc8000000 at 0xffbeb000 out of vmalloc space
6 BUG: mapping for 0xc4000000 at 0xffbfe000 out of vmalloc space
7 BUG: mapping for 0xc0000000 at 0xffbff000 out of vmalloc space
9 The virtual kernel memory layout lists this for the vmalloc region:
12 vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
15 With a little adjustment to the virtual address used we can map these
16 internal devices in the vmalloc region.
18 Signed-off-by: Greg Ungerer <gerg@uclinux.org>
21 arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 14 +++++++-------
22 1 files changed, 7 insertions(+), 7 deletions(-)
24 --- a/arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
25 +++ b/arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
28 * 0x6000000 0x00004000 ioremap'd QMgr
30 - * 0xC0000000 0x00001000 0xffbff000 PCI CFG
31 + * 0xC0000000 0x00001000 0xfebff000 PCI CFG
33 - * 0xC4000000 0x00001000 0xffbfe000 EXP CFG
34 + * 0xC4000000 0x00001000 0xfebfe000 EXP CFG
36 - * 0xC8000000 0x00013000 0xffbeb000 On-Chip Peripherals
37 + * 0xC8000000 0x00013000 0xfebeb000 On-Chip Peripherals
42 * Expansion BUS Configuration registers
44 #define IXP4XX_EXP_CFG_BASE_PHYS (0xC4000000)
45 -#define IXP4XX_EXP_CFG_BASE_VIRT (0xFFBFE000)
46 +#define IXP4XX_EXP_CFG_BASE_VIRT (0xFEBFE000)
47 #define IXP4XX_EXP_CFG_REGION_SIZE (0x00001000)
50 * PCI Config registers
52 #define IXP4XX_PCI_CFG_BASE_PHYS (0xC0000000)
53 -#define IXP4XX_PCI_CFG_BASE_VIRT (0xFFBFF000)
54 +#define IXP4XX_PCI_CFG_BASE_VIRT (0xFEBFF000)
55 #define IXP4XX_PCI_CFG_REGION_SIZE (0x00001000)
60 #define IXP4XX_PERIPHERAL_BASE_PHYS (0xC8000000)
61 -#define IXP4XX_PERIPHERAL_BASE_VIRT (0xFFBEB000)
62 +#define IXP4XX_PERIPHERAL_BASE_VIRT (0xFEBEB000)
63 #define IXP4XX_PERIPHERAL_REGION_SIZE (0x00013000)
67 * aligned so that it * can be used with the low-level debug code.
69 #define IXP4XX_DEBUG_UART_BASE_PHYS (0xC8000000)
70 -#define IXP4XX_DEBUG_UART_BASE_VIRT (0xffb00000)
71 +#define IXP4XX_DEBUG_UART_BASE_VIRT (0xfeb00000)
72 #define IXP4XX_DEBUG_UART_REGION_SIZE (0x00001000)
74 #define IXP4XX_EXP_CS0_OFFSET 0x00