Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp77005imm; Wed, 4 Jul 2018 18:13:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRMBSL+nRZmq8DVwrD5fIQWTH29YWUCCT0yPOug4Ryw/k3sKVJU5s7ZfUA3toqXJQDJsGO X-Received: by 2002:a63:440a:: with SMTP id r10-v6mr3625804pga.27.1530753187658; Wed, 04 Jul 2018 18:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530753187; cv=none; d=google.com; s=arc-20160816; b=X7t4aD+4HmcHZi+T+qn6W+gVLxqVRmnaPzdLqk5oe7j/vKbwFS3bdxV/nQQ3Ie+hFQ MRBCtuJsy2DJ0DRnC6rKz0NaD5ueRZ87eL5S4+4vQ0PTJBzGq7uaaYb7PCJan0OEGnZf 7Gci7SCY3jGL93OYnducpgQGZmd3zUHQggGqYsxW/8jj4w2DWxgl/Ro4CAv9XFPwlHeQ k7HnYUNbb8YWZ48SZ8lC6jCt5w2EVhdGHitgEYo15O5vOit3vNwkzch/T6YrKU7zFYWc X/FwaRB5il63gMj0xR6vTNLpN2QsDXo8AcZG0Y/oMftIPBmIbwPf20C7LOnXj+3BB600 60DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=vwSYxBL3Az5OX2QisUQAEa7n4dL9e01VxnEnGviVHjY=; b=SvsEV/gfaFs0azXAF2vZq8VQXqVzlsSq/EFJHuEdl8p0Ac4MNuXFIQoAVJpWXn1F4/ WrW7M9kQZrgiLL2nO02IZp+Uv7BZPep/1RF2bLdHNCCurk0Q3UB9v4zASPjz0Q7aK5wH wYqJ3AfUYHZNNTAKKaJWATCvVugw6ca5dEMpjvEg7zqgg6t2tdEP3ZCrBE+KMtWvcnN6 kGz46zfeb0FwXL1zjBMqbpAWDOHExMQNCIOSy1aoXSna+6EJ7wP+8zi3t2kzGk85WPcZ cBqzoutZtaHqGWNDupQZkv6VVTV+3y7ipOuqN0xFDQP8z8bTS7+wOopvhjq1K/8mD1/D HNlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VPWjAu+K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si3212362pgc.179.2018.07.04.18.12.53; Wed, 04 Jul 2018 18:13:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VPWjAu+K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932174AbeGEBLB (ORCPT + 99 others); Wed, 4 Jul 2018 21:11:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:54876 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753345AbeGEBK7 (ORCPT ); Wed, 4 Jul 2018 21:10:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vwSYxBL3Az5OX2QisUQAEa7n4dL9e01VxnEnGviVHjY=; b=VPWjAu+K/bpxtwswhndojgmgR LN9996ru/kP1EvmhQOHZPMxBZA+yHUei3MXWnD1168qiqWfuQAQTkZ5cDXGSk1V4s/NTWNuCUucrl JhthhoC6NZzo6okDNItiwUb+Yu6RsZVb6CTXTsmE97rz49CDHiW7q7fQJve6FTRkVaP9REb+alm0/ GQwZMZyi+CskeHvxY5o5rRhH27r5JbyJVbgCSYZFZhbkFhv1E4bonHNjWkceyqDbLuZzmnkydUNN9 a6ira7+FWm26gYIUbZKr8GAYeFm+Vjb03Cjwd1QAcM/xFWpEok+IKN/AEUDmPu7JjJvsVeLDLqHzn wP4ZlkzCw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fasnR-00016F-QS; Thu, 05 Jul 2018 01:10:57 +0000 Subject: Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)" To: Krzysztof Kozlowski , Vinod Koul , dmaengine@vger.kernel.org, Angelo Dureghello Cc: Dan Williams , linux-kernel@vger.kernel.org, Stefan Agner References: From: Randy Dunlap Message-ID: <0f3e3ba4-d9fc-ee66-23c2-319db48cd622@infradead.org> Date: Wed, 4 Jul 2018 18:10:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/04/18 01:54, Krzysztof Kozlowski wrote: > Hi, > > The commit 6ad069123f03bebe4315dea13d44845854ca6043 ("dmaengine: > fsl-edma: extract common fsl-edma code (no changes in behavior > intended)"), even though marked as no changes in behavior intended... > make serial console with DMA broken after boot. The console just hangs > - is not responsive even to SysRq. Usually after finishing boot - > before or after login prompt. Sometimes login is allowed and then it > hangs during printing dmesg. > > Board: Toradex Colibri VF50 (NXP VF500, Cortex A5, serial configured > with DMA) on Iris Carrier. > > Commit found with bisect: > git bisect start > # bad: [bce40927669338cc4a361fc97d46bf650573ce5c] Add linux-next > specific files for 20180704 > git bisect bad bce40927669338cc4a361fc97d46bf650573ce5c > # good: [410da1e12ffed61129d61df5b7adce4d08c7f17c] net/smc: fix up > merge error with poll changes > git bisect good 410da1e12ffed61129d61df5b7adce4d08c7f17c > # good: [decd57900d6fd743f7ddc1329400f4bd9cf54284] Merge > remote-tracking branch 'crypto/master' > git bisect good decd57900d6fd743f7ddc1329400f4bd9cf54284 > # good: [e9484bb660753ca8a35d219db000fff967b70a2c] Merge > remote-tracking branch 'tip/auto-latest' > git bisect good e9484bb660753ca8a35d219db000fff967b70a2c > # bad: [20adee487b5f252d3f38197d43487c004273d3d0] Merge > remote-tracking branch 'slave-dma/next' > git bisect bad 20adee487b5f252d3f38197d43487c004273d3d0 > # good: [2df2577dce1d5fd98cac342fe857677a0556421b] Merge > remote-tracking branch 'tty/tty-next' > git bisect good 2df2577dce1d5fd98cac342fe857677a0556421b > # good: [03b17ed8410a61f4f337c7bcfded1f744182edd5] spi: spi-fsl-dspi: > Fix imprecise abort on VF500 during probe > git bisect good 03b17ed8410a61f4f337c7bcfded1f744182edd5 > # good: [85e1d42663a0c163002961d2685be952067b0dc2] staging: > mt7621-eth: Fix memory leak in mtk_add_mac() error path > git bisect good 85e1d42663a0c163002961d2685be952067b0dc2 > # good: [b244f917acb7e1f492c40f6f4cf7be860a5065a5] staging: rtl8188eu: > remove blank lines > git bisect good b244f917acb7e1f492c40f6f4cf7be860a5065a5 > # good: [b244f917acb7e1f492c40f6f4cf7be860a5065a5] staging: rtl8188eu: > remove blank lines > git bisect good b244f917acb7e1f492c40f6f4cf7be860a5065a5 > # good: [b244f917acb7e1f492c40f6f4cf7be860a5065a5] staging: rtl8188eu: > remove blank lines > git bisect good b244f917acb7e1f492c40f6f4cf7be860a5065a5 > # good: [6c796f514b7f8d0fef4733b971a5ded9e9a74490] Merge > remote-tracking branch 'staging/staging-next' > git bisect good 6c796f514b7f8d0fef4733b971a5ded9e9a74490 > # good: [14dfa379ffd3ffd73729a72c289e9db6780a60ab] Merge branch > 'topic/ste' into next > git bisect good 14dfa379ffd3ffd73729a72c289e9db6780a60ab > # good: [c1199875d327a9b3bbb3fb1cca0d467d3e625fbb] dmaengine: > imx-sdma: Use GFP_NOWAIT for dma allocations > git bisect good c1199875d327a9b3bbb3fb1cca0d467d3e625fbb > # bad: [15efb0b488596a929bc00ce23aeb746ee6a7c14d] dmaengine: fsl-edma: > fix trailing whitespace > git bisect bad 15efb0b488596a929bc00ce23aeb746ee6a7c14d > # bad: [5c1355ad87a2c138049bfafa753b44046492aebc] dmaengine: fsl-edma: > add ColdFire mcf5441x edma support > git bisect bad 5c1355ad87a2c138049bfafa753b44046492aebc > # bad: [6ad069123f03bebe4315dea13d44845854ca6043] dmaengine: fsl-edma: > extract common fsl-edma code (no changes in behavior intended) > git bisect bad 6ad069123f03bebe4315dea13d44845854ca6043 > # first bad commit: [6ad069123f03bebe4315dea13d44845854ca6043] > dmaengine: fsl-edma: extract common fsl-edma code (no changes in > behavior intended) > > Defconfig and boot log attached. I could not find any obvious error in boot log. > > Let me know if you need more data. > > Best regards, > Krzysztof BTW, there is also this warning in linux-next: WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/fsl-edma-common.o -- ~Randy