Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6113518yba; Thu, 11 Apr 2019 12:19:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2G8gy2H51LZ2fSZ9Wq5DpJ4T0K2kB4w55GfjTot4dkYlbsQziQGwSFn6F1om0RYAp2hxK X-Received: by 2002:a62:e50a:: with SMTP id n10mr51754167pff.55.1555010397413; Thu, 11 Apr 2019 12:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555010397; cv=none; d=google.com; s=arc-20160816; b=CLEYzq6NGmloIgtzNOL9CO+hltnuw8qjUXlm3xcXrDFRiUjyl93eRT2QWB1xN/d5lL AU4F/LJsmrlAKea/SvgKGlTtOioutOD3hmoVI+LyHpeG20upO6FD3lMlIozwHuxzT53w Thv9G18L+6q6u2zozvUWwndn2YRtOu5fHilxpkYiRnx3zHTiQhiwMD5jHWcT5slEiUsH HRw6835ppFaSidnot0Ji//XRuzl4FBSxuiRnQCFMtp1sblWn4U2g8VCs5mNqxpw/zUo3 GVS0lRs8/dC6w/hR/nKrOvpZl3GsvKwBhW4PGAtrD484hdKiCrDvPS14FhcsbxOnWCNt INpw== 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:references:cc:to:from:subject; bh=EgzcmUf1mSfWW38IHpWKYdtrKPJMB5NOrgh+1LXr6i4=; b=xDXlNC5XaGWOr0NMuVs2eT3JgQy2+m9FcwJ7QphNFJVq/BvYX0AWWKaHmd9NLlbdbU 3IqtsEjKPS84bGX3lgBW06zHSgSnM6amt9B7RPoFNwu6jULa+T+T/vEZ8HwiLvhq1TSu JCJcQH7loF4nwrbfnJd0D3C5r8wsuR84wcSuSFB/W58uH8AU/iXgJfFTD4G60oXVqsaf binPe3FCqdr2fEvNwITMij16OxPRaawzG/gp3P+u+VvgdImultna8vO6W6F0wiJidqmM TrXhAoew56vb+BDi27A1+SX9uf4mYIxOlXW7bcCnZ5qb9vr/Fh/P/NfsAOHrnrirqLDZ YLeA== ARC-Authentication-Results: i=1; mx.google.com; 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 m3si1258432plb.279.2019.04.11.12.19.41; Thu, 11 Apr 2019 12:19:57 -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; 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 S1726649AbfDKTRp (ORCPT + 99 others); Thu, 11 Apr 2019 15:17:45 -0400 Received: from foss.arm.com ([217.140.101.70]:48126 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726577AbfDKTRo (ORCPT ); Thu, 11 Apr 2019 15:17:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 15EEF374; Thu, 11 Apr 2019 12:17:44 -0700 (PDT) Received: from [192.168.1.123] (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8A2D43F59C; Thu, 11 Apr 2019 12:17:42 -0700 (PDT) Subject: Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs From: Robin Murphy To: Heiko Stuebner Cc: Katsuhiro Suzuki , linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190321162244.10080-1-katsuhiro@katsuster.net> <14265087.Gbs4YZABJo@phil> <69d5d0fd-00c3-36ae-596e-1b9f9452a07a@arm.com> <2463729.IUJ8mRE5Ts@phil> <8d164cfe-c345-aa45-aaf3-11983f9142e5@arm.com> Message-ID: <2e5a1468-9a65-9cc5-f96c-272faeb92ec9@arm.com> Date: Thu, 11 Apr 2019 20:17:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <8d164cfe-c345-aa45-aaf3-11983f9142e5@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-04-11 2:48 pm, Robin Murphy wrote: > On 11/04/2019 13:46, Heiko Stuebner wrote: >> Hi Robin, >> >> Am Samstag, 30. März 2019, 00:24:16 CEST schrieb Robin Murphy: >>> On 2019-03-27 12:00 pm, Heiko Stuebner wrote: >>>> Hi, >>>> >>>> Am Dienstag, 26. März 2019, 14:49:16 CET schrieb Katsuhiro Suzuki: >>>>> Hello Robin, >>>>> >>>>> Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs, >>>>> please revert my patch if you need. >>>> >>>> I've dropped the patch from my queue now. >>>> >>>>> BTW, there are DMA properties in RK3328 device-tree like as this >>>>> patch. >>>>> RK3328 UART DMA could not work correctly too...?? >>>> >>>> I remember Rockcihip dma-controllers having issues with burst-sizes >>>> and flushing (there is a no-flushp option in pl330), so it's >>>> possible that all share the same error up to rk3399 and rk3328 >>>> >>>> But so far no-one has shouted regarding the rk3328. >>> >>> Let me be the first, then, I guess :) >>> >>> I found an easy way to observe the problem on my 3399, and I've just >>> fired up my 3328 box with a 5.0 distro kernel to find that it behaves >>> the same. Basically just dump a large pile of text into 'less' on the >>> serial console, and scroll through line-by-line - certain lines get >>> dropped except for a few characters at the end. >>> >>> I'll see if I can narrow it down a bit, starting with trying >>> broken-flushp... >> >> did you manage to find time for that test you wanted to do? > > Sadly not - I got somewhat distracted by the ethernet thing, and since > then I've had too much else going on to follow up on any of my 'for fun' > projects :( Urgh, and it turns out what I thought were dropped characters seems to just be my console handling line wrapping weirdly, so now I have no idea if RK3328 actually has an issue, and coming up with a reliable reproducer for RK3399 is going to take some thought... Robin.