From: Jan Kiszka <jan.kiszka@siemens.com>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Liu Ping Fan" <pingfank@linux.vnet.ibm.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v2 10/13] xen: Mark fixed platform I/O as unaligned
Date: Fri, 21 Jun 2013 18:41:42 +0200 [thread overview]
Message-ID: <fda2600b706e9390237d363a9224c7dba86ca7be.1371832904.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1371832904.git.jan.kiszka@siemens.com>
In-Reply-To: <cover.1371832904.git.jan.kiszka@siemens.com>
Before switching to the memory core dispatcher, we need to make sure
that this pv-device will continue to receive unaligned portio accesses.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
hw/xen/xen_platform.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/xen/xen_platform.c b/hw/xen/xen_platform.c
index b6c6793..f8f5dd5 100644
--- a/hw/xen/xen_platform.c
+++ b/hw/xen/xen_platform.c
@@ -262,9 +262,13 @@ static void platform_fixed_ioport_write(void *opaque, hwaddr addr,
static const MemoryRegionOps platform_fixed_io_ops = {
.read = platform_fixed_ioport_read,
.write = platform_fixed_ioport_write,
+ .valid = {
+ .unaligned = true,
+ },
.impl = {
.min_access_size = 1,
.max_access_size = 4,
+ .unaligned = true,
},
.endianness = DEVICE_LITTLE_ENDIAN,
};
--
1.7.3.4
next prev parent reply other threads:[~2013-06-21 16:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 16:41 [Qemu-devel] [PATCH v2 00/13] Refactor portio dispatching Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 01/13] adlib: replace register_ioport* Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 02/13] applesmc: " Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 03/13] wdt_ib700: " Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 04/13] i82374: " Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 05/13] prep: " Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 06/13] vt82c686: " Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 07/13] Privatize register_ioport_read/write Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 08/13] isa: implement isa_is_ioport_assigned via memory_region_find Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 09/13] vmware-vga: Accept unaligned I/O accesses Jan Kiszka
2013-06-21 16:41 ` Jan Kiszka [this message]
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 11/13] ioport: Switch dispatching to memory core layer Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 12/13] ioport: Remove unused old dispatching services Jan Kiszka
2013-06-21 16:41 ` [Qemu-devel] [PATCH v2 13/13] ioport: Move IOPortRead/WriteFunc typedefs to memory.h Jan Kiszka
2013-06-21 20:09 ` [Qemu-devel] [PATCH v2 00/13] Refactor portio dispatching Paolo Bonzini
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=fda2600b706e9390237d363a9224c7dba86ca7be.1371832904.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=afaerber@suse.de \
--cc=pbonzini@redhat.com \
--cc=pingfank@linux.vnet.ibm.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 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).