summaryrefslogtreecommitdiffstats
path: root/hw
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qemu-kvm/memory/batch' into stagingAnthony Liguori2011-08-2545-543/+637
|\
| * milkymist: convert to memory APIAvi Kivity2011-08-251-4/+5
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * milkymist-softusb: convert to memory APIAvi Kivity2011-08-251-24/+24
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * milkymist-minimac2: convert to memory APIAvi Kivity2011-08-251-22/+21Star
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * mcf5208: convert to memory APIAvi Kivity2011-08-251-40/+32Star
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * mainstone: convert to memory APIAvi Kivity2011-08-251-5/+8
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * lm32_boards: convert to memory APIAvi Kivity2011-08-251-6/+9
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * g364fb: convert to memory APIAvi Kivity2011-08-253-29/+38
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * dummy_m68k: convert to memory APIAvi Kivity2011-08-251-2/+5
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * pflash_cfi01/pflash_cfi02: convert to memory APIAvi Kivity2011-08-2518-223/+246
| | | | | | | | | | | | | | | | cfi02 is annoying in that is ignores some address bits; we probably want explicit support in the memory API for that. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * piix_pci: wrap memory update in a transactionAvi Kivity2011-08-251-0/+2
| | | | | | | | | | | | | | | | | | The code will remap all PAMs, even if just one is updated, resulting in reduced performance. Wrap in a transaction to detect that those other PAMs have not changed. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * cirrus: wrap memory update in a transactionAvi Kivity2011-08-251-0/+2
| | | | | | | | | | | | | | | | This prevents spurious unmapping and remapping of the vga windows, which reduces performance. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * leon3: convert to memory APIAvi Kivity2011-08-251-6/+9
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * integratorcp: convert to memory API (RAM/flash only)Avi Kivity2011-08-251-8/+20
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * sysbus: add sysbus_add_memory_overlap()Avi Kivity2011-08-252-0/+9
| | | | | | | | Signed-off-by: Avi Kivity <avi@redhat.com>
| * axis_dev88: convert to memory API (RAM only)Avi Kivity2011-08-251-8/+8
| | | | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
| * armv7m: convert to memory APIAvi Kivity2011-08-243-12/+20
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * an5206: convert to memory APIAvi Kivity2011-08-241-4/+8
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * pci_host: convert conf index and data ports to memory APIAvi Kivity2011-08-249-133/+131Star
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * sysbus: add helpers to add and delete memory regions to the system busAvi Kivity2011-08-242-0/+28
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
| * stellaris_enet: convert to memory APIAvi Kivity2011-08-241-17/+12Star
| | | | | | | | | | Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
* | Merge remote-tracking branch 'aneesh/for-upstream-2' into stagingAnthony Liguori2011-08-258-1329/+850Star
|\ \
| * | use readdir_r instead of readdir for reentrancyHarsh Prateek Bora2011-08-224-15/+26
| | | | | | | | | | | | | | | Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_read to use coroutinesAneesh Kumar K.V2011-08-221-198/+117Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for preadv coroutineAneesh Kumar K.V2011-08-222-0/+19
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_attach to use coroutinesAneesh Kumar K.V2011-08-221-9/+4Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_wstat to use coroutinesAneesh Kumar K.V2011-08-222-211/+63Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_write to use coroutinesAneesh Kumar K.V2011-08-221-89/+59Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for pwritev coroutineAneesh Kumar K.V2011-08-222-0/+19
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_link to use coroutinesVenkateswararao Jujjuri (JV)2011-08-221-13/+6Star
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for link coroutineVenkateswararao Jujjuri2011-08-222-0/+15
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_symlink to use coroutinesVenkateswararao Jujjuri2011-08-222-76/+28Star
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for symlin coroutineVenkateswararao Jujjuri2011-08-222-0/+22
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_create to use coroutinesVenkateswararao Jujjuri2011-08-222-216/+97Star
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_fsync to use coroutinesAneesh Kumar K.V2011-08-221-16/+11Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for fsync coroutineAneesh Kumar K.V2011-08-222-0/+17
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_clunk to use coroutinesAneesh Kumar K.V2011-08-221-37/+7Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yeild support for clunk related coroutineAneesh Kumar K.V2011-08-224-0/+71
| | | | | | | | | | | | | | | | | | This include lsetxattr, lremovexattr, closedir and close. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_walk to use coroutinesAneesh Kumar K.V2011-08-222-151/+68Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_stat to use coroutinesAneesh Kumar K.V2011-08-221-41/+21Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_lcreate to use coroutinesVenkateswararao Jujjuri2011-08-222-102/+38Star
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for open2 coroutineVenkateswararao Jujjuri2011-08-222-0/+22
| | | | | | | | | | | | | | | Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_open to use coroutinesAneesh Kumar K.V2011-08-221-100/+43Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yield support for open and opendir coroutineAneesh Kumar K.V2011-08-223-0/+34
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_getlock to use coroutinesAneesh Kumar K.V2011-08-222-32/+19Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Update v9fs_lock to use coroutinesAneesh Kumar K.V2011-08-222-34/+20Star
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
| * | hw/9pfs: Add yeild support for fstat coroutineAneesh Kumar K.V2011-08-222-0/+15
| | | | | | | | | | | | Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
* | | ppc_oldworld, ppc_newworld: fix escc BAR related crashAvi Kivity2011-08-252-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | ppc maps the escc mmio region both at a fixed offset (as a sysbus area) and as part of a PCI BAR. This crashes, since a MemoryRegion may have only one parent. Use an alias so we have a separate MemoryRegion for the BAR. Signed-off-by: Avi Kivity <avi@redhat.com>
* | | gt64xxx: fix crash in gt64120_pci_mapping()Avi Kivity2011-08-241-1/+5
| |/ |/| | | | | | | | | | | | | | | | | The map/unmap code was assymetric - unmap used the local MemoryRegion while map used isa_mmio_init(), which cannot handle dynamic mappings. Fix by using isa_mmio_setup() and the local MemoryRegion. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* | hw/omap_gpmc: Don't try to map CS0 twice on resetPeter Maydell2011-08-231-1/+0Star
| | | | | | | | | | | | | | | | | | | | | | Remove a spurious second map of the OMAP GPMC CS0 region on reset. This fixes an assertion failure when we try to add the region to its container when it was already added. (The old code did not complain about mismatched map/unmap calls, but the new MemoryRegion implementation does.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>