From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 5C37A1A0163 for ; Tue, 8 Sep 2015 22:05:02 +1000 (AEST) In-Reply-To: <20150904182252.GN47557@linux.vnet.ibm.com> To: Nishanth Aravamudan From: Michael Ellerman Cc: Wei Yang , Alexey Kardashevskiy , Gavin Shan , Hari Bathini , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, Jan Stancek , David Gibson Subject: Re: [v2] powerpc/powernv/pci-ioda: fix kdump with non-power-of-2 crashkernel= Message-Id: <20150908120502.4219C140307@ozlabs.org> Date: Tue, 8 Sep 2015 22:05:02 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2015-04-09 at 18:22:52 UTC, Nishanth Aravamudan wrote: > 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 > Cc: stable@vger.kernel.org # 4.2 > Tested-by: Jan Stancek Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/fa14486979b3a47307bcdb10 cheers