Received: by mail.netbsd.org (Postfix, from userid 605) id A0E4E14A382; Thu, 23 Apr 2015 20:00:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 319F414A35F for ; Thu, 23 Apr 2015 20:00:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6g5C9BHfHsRd for ; Thu, 23 Apr 2015 20:00:09 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id A818714A305 for ; Thu, 23 Apr 2015 20:00:09 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id A230398; Thu, 23 Apr 2015 20:00:09 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 23 Apr 2015 20:00:09 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-7] src/sys/arch To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150423200009.A230398@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: snj Date: Thu Apr 23 20:00:09 UTC 2015 Modified Files: src/sys/arch/arm/amlogic [netbsd-7]: amlogic_sdhc.c src/sys/arch/evbarm/conf [netbsd-7]: ODROID-C1 Log Message: Pull up following revision(s) (requested by jmcneill in ticket #714): sys/arch/arm/amlogic/amlogic_sdhc.c: revisions 1.4-1.6 sys/arch/evbarm/conf/ODROID-C1: revision 1.17 port number is required -- The Amlogic SDHC controller doesn't support SG DMA. When we advertise DMA but not SG DMA support, the sdmmc layer breaks up transfers into multiple PAGE_SIZE (8KB here) transfers. Remove the DMA capability flag and do transfers through a MAXPHYS-sized buffer instead. This lets us do larger transfers and even with the memcpy, still a significant win for performance. Before: 134217728 bytes transferred in 15.301 secs (8771827 bytes/sec) After: 134217728 bytes transferred in 8.834 secs (15193313 bytes/sec) -- fix size of dmamem map To generate a diff of this commit: cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/sys/arch/arm/amlogic/amlogic_sdhc.c cvs rdiff -u -r1.12.2.4 -r1.12.2.5 src/sys/arch/evbarm/conf/ODROID-C1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.