From: Cornelia Huck <cohuck@redhat.com>
To: Pierre Morel <pmorel@linux.ibm.com>
Cc: walling@linux.ibm.com, borntraeger@de.ibm.com, rth@twiddle.net,
david@redhat.com, qemu-s390x@nongnu.org, qemu-devel@nongnu.org,
pasic@linux.ibm.com, thuth@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3] s390x/pci: add common fmb
Date: Mon, 17 Dec 2018 10:07:10 +0100 [thread overview]
Message-ID: <20181217100710.6cb82fd9.cohuck@redhat.com> (raw)
In-Reply-To: <1544806422-21418-1-git-send-email-pmorel@linux.ibm.com>
On Fri, 14 Dec 2018 17:53:41 +0100
Pierre Morel <pmorel@linux.ibm.com> wrote:
> After the last review round I worked on endianness.
> Doing this I found some errors in the code and in the interpretation
> of the documentation.
>
> The new patch changed the following from previous version:
>
> In s390-pci-bus:
> - Initialize the FMB Format.
>
> In s390-pci-bus.h
> - re-organization of the internal counters, having a table for the
> internal counters.
>
> In s390-pci-inst.c
> - Internal counters update (LD/ST/STB/RPCIT) is done always.
> even if the FMB if fmb_addr is NULL.
> AFAIU this respect the documentation which only states that FMB
> update is stopped.
> - in mpcifc_service_call(), moved the setting of fmb_addr after
> the timer has been stopped.
> - fmb_update((), use address_space_stq_be() to handle endianness
> when storing the FMB.
> - define the format with 32 bits instead of one char and reserved
> chars, this is easier to handle the FMB copy.
> - No update of the DMA fields inside the FMB, as stipulated by the
> documentation when format32 is 0.
>
> Patch is tested (for the good case) on Z(KVM) and X(TCG).
Yes, the values look sane for virtio-pci devices under tcg as well.
Will review and hopefully apply later.
>
> Yi Min Zhao (1):
> s390x/pci: add common function measurement block
>
> hw/s390x/s390-pci-bus.c | 4 +-
> hw/s390x/s390-pci-bus.h | 29 ++++++++++
> hw/s390x/s390-pci-inst.c | 141 ++++++++++++++++++++++++++++++++++++++++++++++-
> hw/s390x/s390-pci-inst.h | 1 +
> 4 files changed, 171 insertions(+), 4 deletions(-)
>
prev parent reply other threads:[~2018-12-17 9:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 16:53 [Qemu-devel] [PATCH v3] s390x/pci: add common fmb Pierre Morel
2018-12-14 16:53 ` [Qemu-devel] [PATCH v3] s390x/pci: add common function measurement block Pierre Morel
2018-12-18 9:55 ` Cornelia Huck
2018-12-18 17:20 ` Pierre Morel
2018-12-17 9:07 ` Cornelia Huck [this message]
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=20181217100710.6cb82fd9.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=david@redhat.com \
--cc=pasic@linux.ibm.com \
--cc=pmorel@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rth@twiddle.net \
--cc=thuth@redhat.com \
--cc=walling@linux.ibm.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.