Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4740344imu; Sun, 25 Nov 2018 09:15:46 -0800 (PST) X-Google-Smtp-Source: AJdET5fU0GGW9QnDigSK5CbWmWiJUBJOUflMMmkiQ65DFE8+uyL/B7Cr+FYvRxpc4N7QG05/a6xi X-Received: by 2002:a62:6799:: with SMTP id t25mr24200567pfj.139.1543166146626; Sun, 25 Nov 2018 09:15:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543166146; cv=none; d=google.com; s=arc-20160816; b=psgbnrg228dozjvkM0cNaxPUWszBJDhYyHpfI1/nn5lAsZ4HEtVCmcDHq8EgnW3X0O HmPLX1zib7wDz/mZEYau7weOJaRQN/mQwp1ubHSvWiuPkNEu3slgCOiw9gxiXAEvqhn+ UJty4L1ovyPlRqpLSwU/lvrCVJM/wG9TM8ui7Z8xwppjW7Rtn3uVj4JhkRcDJEOK+vaD 6RWn+38WixWwei6EmiUhvB4Ny/OzpxmjF18omRGuZ+UvL+uYbDIu0q+cpfF6Qt2IVk0l /3WjZuUG16qDdIgFhRiNR5ski6EF3f87ilgTkfy+k5+ox6mmhOvSSX1rrKcOC3k9meXu 8lig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wp3h92NbgAJE6YIoSAf2RJzZqkU3rHLXBUfjLmrGbkE=; b=Fjwvcjgk9e8tXssUTolvcsuGG32v6L6Ih8v5H6mhdYEWXb/JGtOqDSx5HAangwWicn fVTrn2O7uf/qjMuyhWddMF2VwUwYoc7RSoh9MUwYW0H31bQQ9fjgo+oF2FbMCB5osZgo CF8jubV5T/rxb61IdRIO5KYQrXP541vdpxy2/zUrH0BPwmxvQJIllp8IBZtnm1VUusIe GLls+8SNSO2C/AkwDQe7k67yFY/tk6ODzoGPfYWHItf82uy+kf3FkX+dCMdq6/x77S9D zl51d6+sU3zjp3fKqPn+FUPD9zut5YTkNpTaIpIpZ1zX88JXRA7WcoqiPrN+jT6FzssS zKOg== 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 s13si27459271pgc.509.2018.11.25.09.15.07; Sun, 25 Nov 2018 09:15:46 -0800 (PST) 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 S1726602AbeKZEGC (ORCPT + 99 others); Sun, 25 Nov 2018 23:06:02 -0500 Received: from muru.com ([72.249.23.125]:55132 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbeKZEGC (ORCPT ); Sun, 25 Nov 2018 23:06:02 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id BDDA2809C; Sun, 25 Nov 2018 17:14:32 +0000 (UTC) Date: Sun, 25 Nov 2018 09:14:28 -0800 From: Tony Lindgren To: Aaro Koskinen Cc: Russell King - ARM Linux , Peter Ujfalusi , vkoul@kernel.org, dan.j.williams@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1 Message-ID: <20181125171428.GL53235@atomide.com> References: <6af8c6e7-bf5c-5555-161b-5d3fb7ecae43@ti.com> <20181120210406.GB24888@darkstar.musicnaut.iki.fi> <20181122102948.GN6920@n2100.armlinux.org.uk> <20181122151236.GA9611@n2100.armlinux.org.uk> <6ed280af-edb6-4be7-82f4-7fc00378103e@ti.com> <20181123185215.GH12912@darkstar.musicnaut.iki.fi> <20181124200942.GS6920@n2100.armlinux.org.uk> <20181125010717.GJ53235@atomide.com> <20181125111105.GT6920@n2100.armlinux.org.uk> <20181125165830.GC3416@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181125165830.GC3416@darkstar.musicnaut.iki.fi> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Aaro Koskinen [181125 16:58]: > Below changes get traffic going with DMA & g_ether... Oh cool, if you have dma and g_ether working, you should test it with a variable size ping test loop :) That should expose any issues within few minutes. Below is the test script I was using earlier, the tusb6010 comment there is probably no longer valid. Regards, Tony 8< ---------------- #!/bin/bash # # At least tusb6010 dma needs 32-bit aligned buffers. # That can be done by setting no_skb_reserve with: # musb->g.quirk_avoids_skb_reserve = 1; # device=$1 size=$2 wraps=0 while [ 1 ]; do #echo "Pinging with size $size" if ! ping -w0 -c1 -s$size $device > /dev/null 2>&1; then break; fi size=$(expr $size + 1) if [ $size -gt 8192 ]; then wraps=$(expr $wraps + 1) echo "wrapping ($wraps) at $size" size=1 fi done echo "Test ran up to $size"