Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162740AbdD0Okb (ORCPT ); Thu, 27 Apr 2017 10:40:31 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36190 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162152AbdD0OkY (ORCPT ); Thu, 27 Apr 2017 10:40:24 -0400 Date: Thu, 27 Apr 2017 16:40:14 +0200 From: Ralph Sennhauser To: Sricharan R Cc: "Rafael J. Wysocki" , Joerg Roedel , Bjorn Helgaas , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Thomas Petazzoni , netdev@vger.kernel.org Subject: Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta Message-ID: <20170427164014.422a124c@gmail.com> In-Reply-To: <2fb57b9b-3944-d9cc-1fac-8dcccaa0c37a@codeaurora.org> References: <20170426181508.687b52af@gmail.com> <2fb57b9b-3944-d9cc-1fac-8dcccaa0c37a@codeaurora.org> Organization: none X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 34 On Thu, 27 Apr 2017 19:05:09 +0530 Sricharan R wrote: > Hi, > > On 4/26/2017 9:45 PM, Ralph Sennhauser wrote: > > Hi Sricharan R, > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for platform/amba/pci bus devices") causes a kernel panic as > > in the log below on an armada-385. Reverting the commit fixes the > > issue. > > > > Regards > > Ralph > > Somehow not getting a obvious clue on whats going wrong with the logs > below. From the log and looking in to dts, the drivers seems to the > one for "marvell,armada-370-neta". Correct. > Issue looks the data from the dma > has gone bad and subsequently referring the wrong data has resulted > in the crash. Looks like the dma_masks is the one going wrong. > Can i get some logs from mvneta_probe, about dev->dma_mask, > dev->coherent_dma_mask and dev->dma_ops with and without the patch > to see whats the difference ? Not sure I understood what exactly you are after. Might be faster to just send me a patch with all debug print statements you like to see. Regards Ralph