]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: Malta: Setup PM I/O region on boot
authorPaul Burton <paul.burton@imgtec.com>
Fri, 21 Mar 2014 15:20:31 +0000 (15:20 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commitfa12b773b7fb5830469086d36eb5be9f6b512f4d
tree7f1f4ce47d8b0a24c5b642c84fdb2f9e2cb7a43b
parent024e6a8b5bb16b1372eec744f417779aa4b59d1c
MIPS: Malta: Setup PM I/O region on boot

This patch ensures that the kernel sets a sane base address for the
PIIX4 PM I/O register region during boot. Without this the kernel may
not successfully claim the region as a resource if the bootloader didn't
configure the region. With this patch the kernel will always succeed
with:

  pci 0000:00:0a.3: quirk: [io  0x1000-0x103f] claimed by PIIX4 ACPI

The lack of the resource claiming is easily reproducible without this
patch using current versions of QEMU.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Tested-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6641/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-boards/piix4.h
arch/mips/pci/fixup-malta.c