qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Zimmerman <pauldzim@gmail.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Peter Maydell" <peter.maydell@linaro.org>
Cc: "Stefan Hajnoczi" <stefanha@gmail.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"John Snow" <jsnow@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Gerd Hoffmann" <kraxel@redhat.com>
Subject: Re: [PATCH v2 4/6] dwc-hsotg USB host controller emulation
Date: Thu, 16 Apr 2020 12:50:08 -0700	[thread overview]
Message-ID: <51b3a07a-a32e-f340-7294-6d15042caf1b@gmail.com> (raw)
In-Reply-To: <7830b8bd-efea-4987-3727-165385e6dd25@redhat.com>

On 4/16/20 9:30 AM, Philippe Mathieu-Daudé wrote:
> On 4/16/20 5:47 PM, Peter Maydell wrote:
>> On Thu, 16 Apr 2020 at 16:45, Peter Maydell <peter.maydell@linaro.org> wrote:
>>>
>>> On Sun, 29 Mar 2020 at 00:18, Paul Zimmerman <pauldzim@gmail.com> wrote:
>>
>>>> +    s->as = &address_space_memory;
>>>
>>> Ideally this should be a device property. (hw/dma/pl080.c
>>> has an example of how to declare a TYPE_MEMORY_REGION
>>> property and then create an AddressSpace from it in
>>> the realize method. hw/arm/versatilepb.c and hw/arm/mps2-tz.c
>>> show the other end, using object_property_set_link() to pass
>>> the appropriate MemoryRegion to the device before realizing it.)
>>
>> On closer inspection you're already doing that with the dma_as/
>> dma_mr. What's this AddressSpace for if it's different?
> 
> s->as is not used, probably a leftover (s->dma_as is used).
> 
>>
>> thanks
>> -- PMM

Thanks for the reviews guys, I will take all your suggestions into
account before I post the next series.

Thanks,
Paul




  reply	other threads:[~2020-04-16 19:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29  0:16 [PATCH v2 0/6] dwc-hsotg (aka dwc2) USB host controller emulation Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 1/6] Add BCM2835 SOC MPHI emulation Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 2/6] dwc-hsotg USB host controller register definitions Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 3/6] dwc-hsotg USB host controller state definitions Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 4/6] dwc-hsotg USB host controller emulation Paul Zimmerman
2020-04-16 15:45   ` Peter Maydell
2020-04-16 15:47     ` Peter Maydell
2020-04-16 16:30       ` Philippe Mathieu-Daudé
2020-04-16 19:50         ` Paul Zimmerman [this message]
2020-04-18 21:55     ` Paul Zimmerman
2020-04-20  7:16   ` Philippe Mathieu-Daudé
2020-04-20 19:49     ` Paul Zimmerman
2020-04-20  7:25   ` Philippe Mathieu-Daudé
2020-04-20 19:28     ` Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 5/6] Add short-packet handling to usb-storage driver Paul Zimmerman
2020-03-29  0:17 ` [PATCH v2 6/6] Wire in the dwc-hsotg USB host controller emulation Paul Zimmerman
2020-03-29  0:35 ` [PATCH v2 0/6] dwc-hsotg (aka dwc2) " no-reply
2020-03-31  9:28 ` Gerd Hoffmann
2020-03-31 11:15   ` Philippe Mathieu-Daudé
2020-03-31 18:41     ` Paul Zimmerman

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=51b3a07a-a32e-f340-7294-6d15042caf1b@gmail.com \
    --to=pauldzim@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=jsnow@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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).