diff options
author | Nishanth Aravamudan <nacc@linux.vnet.ibm.com> | 2015-09-04 11:22:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 19:33:24 +0200 |
commit | 2561478bd278c61e6a349bf0b054ff562d3f3df7 (patch) | |
tree | 373253ca200d680a558ec93b28dce708abf1759a /arch/h8300 | |
parent | 92b87ea1c17f438d85a29ba083259ee8c7fdb8c0 (diff) |
powerpc/powernv/pci-ioda: fix kdump with non-power-of-2 crashkernel=
commit fa14486979b3a47307bcdb10f8b5baa875a5cf68 upstream.
The 32-bit TCE table initialization relies on the DMA window having a
size equal to a power of 2 (and checks for it explicitly). But
crashkernel= has no constraint that requires a power-of-2 be specified.
This causes the kdump kernel to fail to boot as none of the PCI devices
(including the disk controller) are successfully initialized.
After this change, the PCI devices successfully set up the 32-bit TCE
table and kdump succeeds.
Fixes: aca6913f5551 ("powerpc/powernv/ioda2: Introduce helpers to allocate TCE pages")
Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Tested-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions