]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc: Accommodate mem64_offset != mem_offset in pbm configuration
authorAllen Pais <allen.pais@oracle.com>
Tue, 20 Oct 2015 18:42:59 +0000 (00:12 +0530)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 21 Oct 2015 18:19:19 +0000 (11:19 -0700)
commit6037ec961e10e6e162c564d5306b2c2fddfb5b77
tree22c0ae6b5cf082599b86e35d8296c96fc81ee31b
parent88f97208c7a78187924924f741f864d6a3ccc62e
sparc: Accommodate mem64_offset != mem_offset in pbm configuration

PCI specs do not require mem_offset to be the same as mem64_offset.
This patch adds code to handle the cases where they are not the same
instead of panic'ing the kernel.

Orabug: 21826746

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/pci.c
arch/sparc/kernel/pci_common.c
arch/sparc/kernel/pci_impl.h