qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] net: Add SunGEM device emulation as found on Apple UniNorth
Date: Wed, 6 Sep 2017 16:56:58 +1000	[thread overview]
Message-ID: <20170906065658.GF2735@umbus.fritz.box> (raw)
In-Reply-To: <f6d2df4e-a67d-a601-40a1-0c9d0d610eec@ilande.co.uk>

[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]

On Wed, Sep 06, 2017 at 06:21:08AM +0100, Mark Cave-Ayland wrote:
> On 06/09/17 04:16, David Gibson wrote:
> > On Tue, Sep 05, 2017 at 11:13:43AM +1000, David Gibson wrote:
> >> On Mon, Sep 04, 2017 at 07:39:38PM +0100, Mark Cave-Ayland wrote:
> >>> From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> >>>
> >>> This adds a simplistic emulation of the Sun GEM ethernet controller
> >>> found in Apple ASICs.
> >>>
> >>> Currently we only support the Apple UniNorth 1.x variant, but the
> >>> other Apple or Sun variants should mostly be a matter of adding
> >>> PCI IDs options.
> >>>
> >>> We have a very primitive emulation of a single Broadcom 5201 PHY
> >>> which is supported by the MacOS driver.
> >>>
> >>> This model brings out-of-the-box networking to MacOS 9, and all
> >>> versions of OS X I tried with the mac99 platform.
> >>>
> >>> Further improvements from Mark:
> >>> - Remove sungem.h file, moving constants into sungem.c as required
> >>> - Switch to using tracepoints for debugging
> >>> - Split register blocks into separate memory regions
> >>> - Use arrays in SunGEMState to hold register values
> >>> - Add state-saving support
> >>>
> >>> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> >>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> >>
> >> Applied to ppc-for-2.11.
> > 
> > Until I discovered that it breaks compile with
> > --enable-trace-backend=ust.   So I've removed it again.
> 
> Oh that's interesting. I've had --enable-trace-backend=simple as part of
> my default build for a long while now, so I'm quite surprised that the
> trace-events are backend sensitive.
> 
> Any clue as to what the error might be before I go and start installing
> the relevant libraries?

Not so far.  I'd investigate myself, but I'm actually really sick
right now.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-09-06  7:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04 18:39 [Qemu-devel] [PATCH 0/1] net: Add SunGEM device emulation as found on Apple UniNorth Mark Cave-Ayland
2017-09-04 18:39 ` [Qemu-devel] [PATCH 1/1] " Mark Cave-Ayland
2017-09-05  1:13   ` David Gibson
2017-09-06  3:16     ` David Gibson
2017-09-06  5:21       ` Mark Cave-Ayland
2017-09-06  6:56         ` David Gibson [this message]
2017-09-06 17:54           ` Mark Cave-Ayland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170906065658.GF2735@umbus.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).