From: Markus Armbruster <armbru@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
veroniabahaa@gmail.com, peter maydell <peter.maydell@linaro.org>,
proljc@gmail.com, jcmvbkbc@gmail.com,
kbastian@mail.uni-paderborn.de, agraf@suse.de, mst@redhat.com,
qemu-devel@nongnu.org, borntraeger@de.ibm.com, michael@walle.cc,
cornelia huck <cornelia.huck@de.ibm.com>,
edgar iglesias <edgar.iglesias@gmail.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCHv2 3/3] Split ISA and sysbus versions of m48t59 device
Date: Thu, 17 Nov 2016 16:53:40 +0100 [thread overview]
Message-ID: <87twb6cdbv.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <1589884362.11975786.1478792230830.JavaMail.zimbra@redhat.com> (Paolo Bonzini's message of "Thu, 10 Nov 2016 10:37:10 -0500 (EST)")
Paolo Bonzini <pbonzini@redhat.com> writes:
> ----- 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));
As far as I can tell, only machine "prep" uses ISA M48T59.
Is David's patch okay as is, Paolo?
next prev parent reply other threads:[~2016-11-17 15:53 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
2016-11-17 15:53 ` Markus Armbruster [this message]
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=87twb6cdbv.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=agraf@suse.de \
--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=pbonzini@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.