qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: bzt bzt <bztemail@gmail.com>
To: Andrew Baumann <Andrew.Baumann@microsoft.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"qemu-arm@nongnu.org" <qemu-arm@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3
Date: Tue, 28 Nov 2017 12:26:40 +0100	[thread overview]
Message-ID: <CADYoBw31C0Z2vp0S0ZFBOC6A3146wxtZWvzJabACkGh44ZwC0w@mail.gmail.com> (raw)
In-Reply-To: <MWHPR21MB0480DE1F826056BC8377EE289E250@MWHPR21MB0480.namprd21.prod.outlook.com>

Hi Andrew!

[...]

>
> In that case, IIRC my high-level suggestion was to either parameterise
> bcm2836 to take a CPU model string, or else move the CPU creation out of
> bcm2836.c into the board file. From what I've understood thus far about
> pi3, it does not seem necessary to have a separate bcm2837 implementation.
> I suspect at that point the patch would be small enough that it didn't
> require further splitting.
>

Yes, I agree. I've provided a parameterised version on Oct 24, which does
not have a separate bcm2837 implementation. Is that patch ok? Or should I
wait for Alistair's patch (
https://lists.gnu.org/archive/html/qemu-devel/2017-10/msg04153.html)?
I would prefer the latter, if I may, and I'm willing to rewrite raspi3
support using the CPU model string in mc->default_cpu_type introduced by
that patch. (Although I have a question. I'm not sure what's the preferred
way to get MachineClass* object in bcm2836. Use a MachineState* cast on
it's Object* argument with MACHINE_GET_CLASS() or should I use the
parameterless qdev_get_machine() instead?)


> > PS: if you send a new patch, send it as a new top level
> > thread -- if you send it as a reply/followup to the
> > first patch it's liable to not be noticed.
>
> Please also CC me on the new patch as I am not very reliable at monitoring
> qemu-devel.
>

Noted :-) Thank you for your help! I'm sure qemu users appreciate it very
much!

bzt


>
> Thanks!
> Andrew
>

  reply	other threads:[~2017-11-28 11:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-22 13:20 [Qemu-devel] [PATCH] BCM2837 and machine raspi3 bzt bzt
2017-10-23  9:34 ` KONRAD Frederic
2017-10-23 12:39   ` bzt bzt
2017-10-23 16:34 ` Andrew Baumann
2017-10-24  9:53   ` bzt bzt
2017-10-24 11:05     ` BALATON Zoltan
2017-10-24 16:30       ` bzt bzt
2017-10-24 16:44     ` Andrew Baumann
2017-10-25  8:52       ` bzt bzt
2017-11-25 16:43         ` bzt bzt
2017-11-25 18:04           ` Peter Maydell
2017-11-27 19:06             ` Andrew Baumann
2017-11-28 11:26               ` bzt bzt [this message]
2017-11-28 11:56                 ` Peter Maydell
2017-11-29  7:17                   ` bzt bzt
2017-11-28 17:54                 ` Andrew Baumann
2017-11-29  7:52                   ` bzt bzt
2018-01-18 21:39                     ` bzt bzt
2018-01-22 11:41                       ` BALATON Zoltan
2018-01-23 11:13                         ` bzt bzt
2018-01-23 11:22                           ` Peter Maydell
2018-01-23 12:32                             ` bzt bzt
2018-01-22 12:12                       ` Peter Maydell
2018-01-23 11:49                         ` bzt bzt
2018-01-23 15:09                           ` BALATON Zoltan
2018-01-23 18:14                           ` Peter Maydell

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=CADYoBw31C0Z2vp0S0ZFBOC6A3146wxtZWvzJabACkGh44ZwC0w@mail.gmail.com \
    --to=bztemail@gmail.com \
    --cc=Andrew.Baumann@microsoft.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@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).