qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: David Gibson <david@gibson.dropbear.id.au>,
	edgar iglesias <edgar.iglesias@gmail.com>,
	michael@walle.cc, proljc@gmail.com, borntraeger@de.ibm.com,
	cornelia huck <cornelia.huck@de.ibm.com>,
	kbastian@mail.uni-paderborn.de, jcmvbkbc@gmail.com,
	veroniabahaa@gmail.com, peter maydell <peter.maydell@linaro.org>,
	mst@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org,
	agraf@suse.de
Subject: Re: [Qemu-devel] [PATCHv2 3/3] Split ISA and sysbus versions of m48t59 device
Date: Thu, 10 Nov 2016 10:37:10 -0500 (EST)	[thread overview]
Message-ID: <1589884362.11975786.1478792230830.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <2c5f3568-f288-f881-34ce-76b03546bbd2@ilande.co.uk>



----- Original Message -----
> From: "Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>
> To: "Paolo Bonzini" <pbonzini@redhat.com>, "David Gibson" <david@gibson.dropbear.id.au>, "edgar iglesias"
> <edgar.iglesias@gmail.com>, michael@walle.cc, proljc@gmail.com, borntraeger@de.ibm.com, "cornelia huck"
> <cornelia.huck@de.ibm.com>, kbastian@mail.uni-paderborn.de, jcmvbkbc@gmail.com
> Cc: veroniabahaa@gmail.com, "peter maydell" <peter.maydell@linaro.org>, mst@redhat.com, armbru@redhat.com,
> qemu-devel@nongnu.org, agraf@suse.de
> Sent: Thursday, November 10, 2016 4:16:36 PM
> Subject: Re: [Qemu-devel] [PATCHv2 3/3] Split ISA and sysbus versions of m48t59 device
> 
> On 10/11/16 14:57, Paolo Bonzini wrote:
> > 
> > 
> > On 09/11/2016 13:22, David Gibson wrote:
> >> The m48t59 device supports both ISA and direct sysbus attached versions of
> >> the device in the one .c file.  This can be awkward for some embedded
> >> machine types which need the sysbus M48T59, but don't want to pull in the
> >> ISA bus code and its other dependencies.
> >>
> >> Therefore, this patch splits out the code for the ISA attached M48T59 into
> >> its own C file.  It will be built when both CONFIG_M48T59 and
> >> CONFIG_ISA_BUS are enabled.
> >>
> >> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> > 
> > Who needs the ISA M48T59?  Perhaps it should be a separate symbol
> > altogether.  Let's document that SPARC will stop providing it in 2.9,
> > for example, if it's only a PReP thing.
> > 
> > Paolo
> 
> Hi Paolo,
> 
> The ISA M48T59 is still actively used by the sun4u machine on
> qemu-system-sparc64. In real terms it's actually connected to the ebus,
> but for all intents and purposes it's the same as an ISA bus connected
> via a PCI bridge.

sun4u is actually using the sysbus M48T59, and mapping it into the ebus
space:

    nvram = m48t59_init(NULL, 0, 0, NVRAM_SIZE, 1968, 59);
    s = SYS_BUS_DEVICE(nvram);
    memory_region_add_subregion(get_system_io(), 0x2000,
                                sysbus_mmio_get_region(s, 0));

Paolo

  reply	other threads:[~2016-11-10 15:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-09 12:22 [Qemu-devel] [PATCHv2 0/3] Allow ISA to be disabled on some platforms David Gibson
2016-11-09 12:22 ` [Qemu-devel] [PATCHv2 1/3] Split serial-isa into its own config option David Gibson
2016-11-10  7:29   ` Christian Borntraeger
2016-11-17 16:11   ` Markus Armbruster
2016-11-09 12:22 ` [Qemu-devel] [PATCHv2 2/3] Allow ISA bus to be configured out David Gibson
2016-11-17 16:12   ` Markus Armbruster
2016-11-09 12:22 ` [Qemu-devel] [PATCHv2 3/3] Split ISA and sysbus versions of m48t59 device David Gibson
2016-11-10 14:57   ` Paolo Bonzini
2016-11-10 15:16     ` Mark Cave-Ayland
2016-11-10 15:37       ` Paolo Bonzini [this message]
2016-11-17 15:53         ` Markus Armbruster
2016-11-10 10:51 ` [Qemu-devel] [PATCHv2 0/3] Allow ISA to be disabled on some platforms Edgar E. Iglesias
2016-11-10 13:49 ` Michael S. Tsirkin
2016-11-13  3:13 ` no-reply

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=1589884362.11975786.1478792230830.JavaMail.zimbra@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=agraf@suse.de \
    --cc=armbru@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=edgar.iglesias@gmail.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=michael@walle.cc \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=proljc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=veroniabahaa@gmail.com \
    /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).