From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz7JR-0005vY-8y for qemu-devel@nongnu.org; Tue, 16 Jul 2013 11:37:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz7JN-0007mQ-8h for qemu-devel@nongnu.org; Tue, 16 Jul 2013 11:37:13 -0400 Message-ID: <51E568A3.4090503@suse.de> Date: Tue, 16 Jul 2013 17:37:07 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1373476202-11277-1-git-send-email-chouteau@adacore.com> <1373476202-11277-3-git-send-email-chouteau@adacore.com> <20130716020617.GA22542@home.buserror.net> <51E5669C.2080602@adacore.com> In-Reply-To: <51E5669C.2080602@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/2] Add Enhanced Three-Speed Ethernet Controller (eTSEC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fabien Chouteau Cc: Scott Wood , qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 07/16/2013 05:28 PM, Fabien Chouteau wrote: > On 07/16/2013 04:06 AM, Scott Wood wrote: >> On 07/10/2013 12:10:02 PM, Fabien Chouteau wrote: >>> This implementation doesn't include ring priority, TCP/IP Off-Load, QoS. >>> >>> Signed-off-by: Fabien Chouteau >> From the code comments I gather this has been tested on VxWorks. Has it >> been tested on Linux, or anywhere else? >> > You're right, as I said in the cover letter, this has only been tested on vxWorks. Could you please give it a try? IIRC eTSEC support should be in upstream Linux. [...] >>> + /* ring_base = (etsec->regs[RBASEH].value& 0xF)<< 32; */ >>> + ring_base += etsec->regs[RBASE0 + ring_nbr].value& ~0x7; >>> + start_bd_addr = bd_addr = etsec->regs[RBPTR0 + ring_nbr].value& ~0x7; >> What about RBDBPH (upper bits of physical address)? Likewise for TX. >> > I'm only interested in 32bits address spaces, so RBASEH, TBASEH, RBDBPH or TBDBPH. Why? I thought e500mc and above can access more than 32bits of physical address space? Oh, but they're always DPAA? Alex