From owner-freebsd-arm@FreeBSD.ORG Sun Aug 11 17:28:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4FF12126 for ; Sun, 11 Aug 2013 17:28:16 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 108E42E64 for ; Sun, 11 Aug 2013 17:28:15 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id f14so654607qak.16 for ; Sun, 11 Aug 2013 10:28:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=MLI95NdpKcGunyYFdkuxFLNDdP5FQNPxeMobF2W/fjM=; b=TVyNA1TIBi3KuVcXRRt61KAHVHxQ/GP8yUscaWL6RQmNABLsvhVS8FTr/Mfan3J5rw fTT+IRPW2yOVN02WI+lWaTek2daFk6lJ7IrCfA5qPaHU0MYEqQqhfylNOBLH8q/9Nuyg qtv56dLsbpf3LBV426s8s2iB3EafIKeGFEBC0d2QAXYLLfVGd5/QCmQ3YYbiO/CaFmN1 +vmeuSGJa1+oGc4z2GVf18rY18XZ9Y7qIVw0o7wX5gX/+pmCtke9aicH+/Wq+5fR2blm gZqVjkgT20fLhgc2rcY19mOPVYOjQ3a9K9i/O69ZHMsZtFpcm+8hoKPjGctB8jsV90Nu tgpw== X-Gm-Message-State: ALoCoQkd03kY9atkDhjbi7veNiHTjleSBzIHAKs+U+9NTglk/KdHgGT+S6U2CS3+2xscrtoPdq2E MIME-Version: 1.0 X-Received: by 10.49.109.37 with SMTP id hp5mr10183269qeb.59.1376240688466; Sun, 11 Aug 2013 10:04:48 -0700 (PDT) Received: by 10.49.82.34 with HTTP; Sun, 11 Aug 2013 10:04:48 -0700 (PDT) In-Reply-To: <20130811154244.GA92775@ci0.org> References: <201308071544.r77FiwMK072982@svn.freebsd.org> <20130811154244.GA92775@ci0.org> Date: Sun, 11 Aug 2013 19:04:48 +0200 Message-ID: Subject: Re: svn commit: r254061 - head/sys/arm/arm From: Zbigniew Bodek To: Olivier Houchard Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-all@freebsd.org, "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 17:28:16 -0000 2013/8/11 Olivier Houchard > On Sat, Aug 10, 2013 at 04:50:36PM +0200, Zbigniew Bodek wrote: > > 2013/8/7 Olivier Houchard > > > > > Author: cognet > > > Date: Wed Aug 7 15:44:58 2013 > > > New Revision: 254061 > > > URL: http://svnweb.freebsd.org/changeset/base/254061 > > > > > > Log: > > > Don't bother trying to work around buffers which are not aligned on a > > > cache > > > line boundary. It has never been 100% correct, and it can't work on > SMP, > > > because nothing prevents another core from accessing data from an > > > unrelated > > > buffer in the same cache line while we invalidated it. Just use > bounce > > > pages > > > instead. > > > > > > Reviewed by: ian > > > Approved by: mux (mentor) (implicit) > > > > > > Modified: > > > head/sys/arm/arm/busdma_machdep-v6.c > > > > > > > > Hello Olivier, > > > > While continuing rebase of my work to the current HEAD I encountered > > another problem regarding the PCIe NIC this time. > > > > I'm using Realtek card and starting from this revision Rx buffers cannot > be > > allocated for my device. > > Please check out the message below: > > Hi Zbigniew, > > Can you test the attached patch (largely untested, I'm afraid I'm on > vacations, far away from my arm boards), to see if it helps ? > > Regards, > > Olivier > > Hello Olivier, The patch that you've sent helps for the issue. Thank you very much and have a nice vacation. Best regards Zbyszek Bodek