linux/arch/arm/mach-footbridge
Russell King 43659222e7 ARM: footbridge: fix VGA initialisation
It's no good setting vga_base after the VGA console has been
initialised, because if we do that we get this:

Unable to handle kernel paging request at virtual address 000b8000
pgd = c0004000
[000b8000] *pgd=07ffc831, *pte=00000000, *ppte=00000000
0Internal error: Oops: 5017 [#1] ARM
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.0+ #49
task: c03e2974 ti: c03d8000 task.ti: c03d8000
PC is at vgacon_startup+0x258/0x39c
LR is at request_resource+0x10/0x1c
pc : [<c01725d0>]    lr : [<c0022b50>]    psr: 60000053
sp : c03d9f68  ip : 000b8000  fp : c03d9f8c
r10: 000055aa  r9 : 4401a103  r8 : ffffaa55
r7 : c03e357c  r6 : c051b460  r5 : 000000ff  r4 : 000c0000
r3 : 000b8000  r2 : c03e0514  r1 : 00000000  r0 : c0304971
Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment kernel

which is an access to the 0xb8000 without the PCI offset required to
make it work.

Fixes: cc22b4c185 ("ARM: set vga memory base at run-time")
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: <stable@vger.kernel.org>
2013-11-30 14:45:32 +00:00
..
include/mach ARM: debug: move 8250 debug include into arch/arm/include/debug/ 2013-08-25 17:11:02 +01:00
cats-hw.c reboot: arm: prepare reboot_mode for moving to generic kernel code 2013-07-09 10:33:29 -07:00
cats-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
common.c ARM: footbridge: fix VGA initialisation 2013-11-30 14:45:32 +00:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
dc21285-timer.c Merge branch 'clocksource/cleanup' into next/cleanup 2013-01-14 10:20:02 -08:00
dc21285.c ARM: footbridge: fix VGA initialisation 2013-11-30 14:45:32 +00:00
dma.c
ebsa285-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
ebsa285.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
isa-irq.c
isa-rtc.c
isa-timer.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
isa.c
Kconfig ARM: fix CONFIG_VIRT_TO_BUS handling 2013-03-18 13:49:57 +00:00
Makefile ARM: mach-footbridge: retire custom LED code 2012-08-01 11:22:10 +08:00
Makefile.boot
netwinder-hw.c ARM: footbridge: fix build warnings for netwinder 2013-10-31 10:54:03 +00:00
netwinder-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
personal-pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
personal.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00