All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Marcel Apfelbaum <marcel.a@redhat.com>
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org,
	Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] [PATCH] hw/pci: completed master-abort emulation
Date: Tue, 24 Sep 2013 11:58:45 +0300	[thread overview]
Message-ID: <20130924085845.GA18980@redhat.com> (raw)
In-Reply-To: <1380012297.2050.78.camel@localhost.localdomain>

corrected Anthony's mail.

On Tue, Sep 24, 2013 at 11:44:57AM +0300, Marcel Apfelbaum wrote:
> > Not necessarily. Another bridge can claim it then
> > terminate with MA.
> > 
> > Example:
> > 
> > -[0000:00]-+-00.0
> >            +-02.0
> >            +-16.0
> >            +-16.3
> >            +-19.0
> >            +-1a.0
> >            +-1b.0
> >            +-1c.0-[02]--
> >            +-1c.1-[03]----00.0
> >            +-1c.3-[05-0c]--
> >            +-1c.4-[0d]--+-00.0
> >            |            \-00.3
> > 
> > 
> > 
> > Device 03:00.0 writes to within memory window of 00:1c.4,
> > but outside BARs of both 0d:00.0 and 0d:00.3.
> > 
> > On PCI, I think MA is set in sec status register of 00:1c.4.
> You are right, my code will work only under the assumption
> that the devices do not communicate between them.
> I will state the above in the next version.
> 
> Thanks,
> Marcel

How hard is it to fix properly?
If that's hard, would it be easier to implement express
semantics unconditionally?

  reply	other threads:[~2013-09-24  8:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-23 11:01 [Qemu-devel] [PATCH] hw/pci: completed master-abort emulation Marcel Apfelbaum
2013-09-23 11:27 ` Michael S. Tsirkin
2013-09-23 12:37   ` Marcel Apfelbaum
2013-09-23 13:45     ` Michael S. Tsirkin
2013-09-23 14:43       ` Marcel Apfelbaum
2013-09-23 15:10         ` Michael S. Tsirkin
2013-09-23 17:49           ` Marcel Apfelbaum
2013-09-23 18:45             ` Michael S. Tsirkin
2013-09-24  8:07               ` Marcel Apfelbaum
2013-09-24  8:29                 ` Michael S. Tsirkin
2013-09-24  8:44                   ` Marcel Apfelbaum
2013-09-24  8:58                     ` Michael S. Tsirkin [this message]
2013-09-24 10:44                       ` Marcel Apfelbaum
2013-09-24 10:55                         ` Peter Maydell
2013-09-24 11:17                           ` Marcel Apfelbaum
2013-09-24 11:21                             ` Peter Maydell
2013-09-24 11:41                               ` Marcel Apfelbaum
2013-09-24 15:41                               ` Michael S. Tsirkin
2013-09-24 16:24                                 ` Michael S. Tsirkin
2013-09-24 23:36                                 ` Peter Maydell
2013-09-24 23:43                                   ` Michael S. Tsirkin

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=20130924085845.GA18980@redhat.com \
    --to=mst@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=marcel.a@redhat.com \
    --cc=peter.maydell@linaro.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 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.