[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/14] Remove old_portio users for memory region PIO
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 00/14] Remove old_portio users for memory region PIO mapping |
Date: |
Mon, 8 Oct 2012 14:23:39 +0200 |
When running on PowerPC, we don't have native PIO support. There are a few hacks
around to enable PIO access on PowerPC nevertheless.
The most typical one is the isa-mmio device. It takes MMIO requests and converts
them to PIO requests on the (QEMU internal) PIO bus.
This however is not how real hardware works and it limits us in the ability to
spawn eventfd's on PIO ports which doesn't work with this approach. Instead,
let's model it more easily. Let's just map the PIO memory region into MMIO
space.
For this to work, we need to get rid of all old_portio struct users, as they
break with this approach. This is what this patch set does. It also converts
the e500 machines and sPAPR to the new memory region model.
Alex
Alexander Graf (14):
ac97: convert PIO to new memory api read/write
virtio-pci: convert PIO to new memory api read/write
es1370: convert PIO to new memory api read/write
i8254: convert PIO to new memory api read/write
m48t59: convert PIO to new memory api read/write
mc146818rtc: convert PIO to new memory api read/write
pc port92: convert PIO to new memory api read/write
pckbd: convert PIO to new memory api read/write
rtl8139: convert PIO to new memory api read/write
serial: convert PIO to new memory api read/write
vmport: convert PIO to new memory api read/write
xen_platform: convert PIO to new memory api read/write
PPC: e500: Map PIO space into core memory region
PPC: pseries: Remove hack for PIO window
hw/ac97.c | 109 +++++++++++++++++++++++++++++++++++++--------
hw/es1370.c | 46 +++++++++++++++----
hw/i8254.c | 20 +++++----
hw/m48t59.c | 24 ++++++----
hw/mc146818rtc.c | 19 +++++---
hw/pc.c | 19 +++++---
hw/pckbd.c | 48 +++++++++++---------
hw/ppc/e500.c | 3 +-
hw/ppce500_pci.c | 9 +++-
hw/rtl8139.c | 78 +++++++++++++++------------------
hw/serial.c | 31 ++++++++-----
hw/spapr_pci.c | 44 +------------------
hw/spapr_pci.h | 2 +-
hw/virtio-pci.c | 126 ++++++++++++++++++++--------------------------------
hw/vmport.c | 21 +++++----
hw/xen_platform.c | 48 ++++++++++++++++----
16 files changed, 362 insertions(+), 285 deletions(-)
- [Qemu-devel] [PATCH 00/14] Remove old_portio users for memory region PIO mapping,
Alexander Graf <=
- [Qemu-devel] [PATCH 05/14] m48t59: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 06/14] mc146818rtc: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 04/14] i8254: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 02/14] virtio-pci: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 08/14] pckbd: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 09/14] rtl8139: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 01/14] ac97: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 14/14] PPC: pseries: Remove hack for PIO window, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 03/14] es1370: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08
- [Qemu-devel] [PATCH 07/14] pc port92: convert PIO to new memory api read/write, Alexander Graf, 2012/10/08