From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 0/8] msix: Support specifying offsets, BARs, and capability location
Date: Fri, 15 Jun 2012 00:31:21 +0300 [thread overview]
Message-ID: <20120614213120.GA22915@redhat.com> (raw)
In-Reply-To: <20120614181104.23440.62204.stgit@bling.home>
On Thu, Jun 14, 2012 at 12:15:42PM -0600, Alex Williamson wrote:
> v3:
> - more patches, smaller diff, must be headed in the right direction
> - macros for all hardcoded values in msix_init_exclusive_bar
> - fold msix_add_config into msix_init allowing less churn to moving
> around msix_uninit
> - note native endian bug
> - split msix_mmio_read move to separate patch
> - split changing return value of msix_uninit to separate patch
>
> Thanks,
>
> Alex
Thanks, applied all.
Will test/push next week.
> v2:
> - split patch
> - rename msix_[un]init_bar() to msix_[un]init_exclusive_bar()
> - add the cherry on top to cleaning up PCIDevice naming
>
> v1:
>
> msix_init has very little configurability as to how it lays out MSIX
> for a device. It claims to resize BARs, but doesn't actually do this
> anymore. This patch allows MSIX to be fully specified, which is
> necessary both for emulated devices trying to match the physical
> layout of a hardware device as well as for any kind of device
> assignment.
>
> New functions msix_init_bar & msix_uninit_bar provide wrappers around
> the more detailed functions for drivers that just want a simple MSIX
> setup.
>
> ---
>
> Alex Williamson (8):
> msix: Switch msix_uninit to return void
> msix: Allow full specification of MSIX layout
> msix: Split PBA into it's own MemoryRegion
> msix: Note endian TODO item
> msix: Move msix_mmio_read
> virtio: Convert to msix_init_exclusive_bar() interface
> ivshmem: Convert to msix_init_exclusive_bar() interface
> msix: Add simple BAR allocation MSIX setup functions
>
One minor suggestion for the future: I think it's prettier
not to start with an upper case letter after ":".
So the commit log would become:
msix: add simple BAR allocation MSIX setup functions
>
> hw/ivshmem.c | 10 +-
> hw/msix.c | 271 +++++++++++++++++++++++++++++++------------------------
> hw/msix.h | 13 ++-
> hw/pci.h | 12 ++
> hw/virtio-pci.c | 15 +--
> hw/virtio-pci.h | 1
> 6 files changed, 176 insertions(+), 146 deletions(-)
next prev parent reply other threads:[~2012-06-14 21:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 18:15 [Qemu-devel] [PATCH v3 0/8] msix: Support specifying offsets, BARs, and capability location Alex Williamson
2012-06-14 18:15 ` [Qemu-devel] [PATCH v3 1/8] msix: Add simple BAR allocation MSIX setup functions Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 2/8] ivshmem: Convert to msix_init_exclusive_bar() interface Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 3/8] virtio: " Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 4/8] msix: Move msix_mmio_read Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 5/8] msix: Note endian TODO item Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 6/8] msix: Split PBA into it's own MemoryRegion Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 7/8] msix: Allow full specification of MSIX layout Alex Williamson
2012-06-14 18:16 ` [Qemu-devel] [PATCH v3 8/8] msix: Switch msix_uninit to return void Alex Williamson
2012-06-14 21:31 ` Michael S. Tsirkin [this message]
2012-06-18 7:06 ` [Qemu-devel] [PATCH v3 0/8] msix: Support specifying offsets, BARs, and capability location Jan Kiszka
2012-06-18 7:19 ` Michael S. Tsirkin
2012-06-18 9:23 ` Jan Kiszka
2012-06-18 9:57 ` Michael S. Tsirkin
2012-06-18 10:36 ` Jan Kiszka
2012-06-18 22:37 ` Jan Kiszka
2012-06-18 22:40 ` 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=20120614213120.GA22915@redhat.com \
--to=mst@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=jan.kiszka@siemens.com \
--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.