Statistics
| Branch: | Revision:

root / hw @ 82b11662

# Date Author Comment
9db1c0f7 07/17/2012 05:48 pm Markus Armbruster

hd-geometry: Move disk geometry guessing back from block.c

Commit f3d54fc4 factored it out of hw/ide.c for reuse. Sensible,
except it was put into block.c. Device-specific functionality should
be kept in device code, not the block layer. Move it to
hw/hd-geometry.c, and make stylistic changes required to keep...

31f7eedf 07/17/2012 05:48 pm Markus Armbruster

hd-geometry: Add tracepoints

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

c06aaf01 07/17/2012 05:48 pm Markus Armbruster

hd-geometry: Unnest conditional in hd_geometry_guess()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

2fa5008f 07/17/2012 05:48 pm Markus Armbruster

hd-geometry: Factor out guess_chs_for_size()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

82b11662 07/17/2012 05:48 pm Markus Armbruster

hd-geometry: Clean up gratuitous goto in hd_geometry_guess()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

61a8d649 07/17/2012 05:48 pm Markus Armbruster

fdc: Move floppy geometry guessing back from block.c

Commit 5bbdbb46 moved it to block.c because "other geometry guessing
functions already reside in block.c". Device-specific functionality
should be kept in device code, not the block layer. Move it back....

39a4ef1b 07/14/2012 01:58 pm Blue Swirl

Merge branch 'trivial-patches' of git://github.com/stefanha/qemu

  • 'trivial-patches' of git://github.com/stefanha/qemu:
    make: Remove 'build-all' rule
    qemu-keymaps: Finnish keyboard mapping broken
    vnc: add a more descriptive error message
    bitops: Fix documentation...
9aa0ff0b 07/14/2012 01:50 pm Jan Kiszka

vga: Implement blinking of text cursor

Let the text cursor blink at 1.875 Hz, the original VGA cursor
frequency. No timer is used, instead we rely on the fact that the
display is updated periodically.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

c1950a4e 07/14/2012 01:37 pm Peter Maydell

hw/sh_serial: Use TARGET_PRIxPHYS rather than %x for physaddr

Switch a format string from %x to TARGET_PRIxPHYS so that it will
continue to work even if target_phys_addr_t is changed
to 64 bits in the future.

Signed-off-by: Peter Maydell <>...

cdb30d44 07/14/2012 01:36 pm Peter Maydell

hw/omap.h: Use TARGET_PRIxPHYS to define OMAP_FMT_plx

Use the new TARGET_PRIxPHYS macro to avoid the need to define an
OMAP_FMT_plx macro whose expansion depends directly on
TARGET_PHYS_ADDR_BITS.

Signed-off-by: Peter Maydell <>
Acked-by: Andreas Färber <>...

fabaaf1d 07/14/2012 01:13 pm Hervé Poussineau

esp: add AMD PCscsi emulation (PCI SCSI adapter)

The PCI version is supported in lots of Operating Systems,
and has been successfully tested on:
- MS DOS 6.22 (using DC390 driver)
- MS Windows 3.11 (using DC390 driver)
- MS Windows 98 SE (using default driver)...

0883c515 07/14/2012 01:12 pm Hervé Poussineau

pci: add some stubs

Cc: Michael S. Tsirkin <>
Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

3af4e9aa 07/14/2012 01:12 pm Hervé Poussineau

esp: use trace framework instead of stderr output

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

a391fdbc 07/14/2012 01:12 pm Hervé Poussineau

esp: split esp code into generic chip emulation and sysbus layer

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

e6810db8 07/14/2012 01:12 pm Hervé Poussineau

esp: use hba_private field instead of a complex cast

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

d32e4b3d 07/14/2012 01:12 pm Hervé Poussineau

esp: support future change of chip_id

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

6915bff1 07/14/2012 01:11 pm Hervé Poussineau

esp: implement Reset ATN command

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

6fe84c18 07/14/2012 01:11 pm Hervé Poussineau

esp: implement Disable selection command

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

7246e160 07/14/2012 01:11 pm Hervé Poussineau

esp: delay Transfer Information command if dma is not enabled

The same mechanism is already in place for some select commands.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

1b26eaa1 07/14/2012 01:11 pm Hervé Poussineau

esp: execute select commands immediately when it is a non-dma command

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

a97ad268 07/13/2012 12:38 pm Hannes Reinecke

megasas: mark mfi_frame_desc as 'static'

Suggested by blue swirl. Patch is on top of Paolo's
scsi-next tree.

Signed-off-by: Hannes Reinecke <>
Cc: Paolo Bonzini <>
Cc: Blue Swirl <>
Signed-off-by: Stefan Hajnoczi <>

40291d61 07/12/2012 01:59 pm Peter Maydell

hw/imx_avic.c: Avoid format error when target_phys_addr_t is 64 bits

Add a missing cast to avoid gcc complaining about format string
errors when printing an expression based on a target_phys_addr_t.

Signed-off-by: Peter Maydell <>...

23797df3 07/09/2012 08:35 pm Anthony Liguori

Merge remote-tracking branch 'mjt/mjt-iov2' into staging

  • mjt/mjt-iov2:
    rewrite iov_send_recv() and move it to iov.c
    cleanup qemu_co_sendv(), qemu_co_recvv() and friends
    export iov_send_recv() and use it in iov_send() and iov_recv()
    rename qemu_sendv to iov_send, change proto and move declarations to iov.h...
715cc00c 07/09/2012 06:29 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony: (24 commits)
    block: Factor bdrv_read_unthrottled() out of guess_disk_lchs()
    qtest: Tidy up temporary files properly
    fdc: Drop broken code for user-defined floppy geometry...
fe0cb8ef 07/09/2012 05:51 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.55' into staging

  • kraxel/usb.55:
    usb-host: add trace events for iso xfers
    usb: fix interface initialization
    usb: split endpoint init and reset
    usb-redir: Correctly handle the usb_redir_babble usbredir status...
ffd6e7a0 07/09/2012 05:51 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    scsi: Fix transfer length for READ POSITION commands.
    scsi: Add basic support for SCSI media changer commands.
    scsi: Ensure command and transfer lengths are set for all SCSI devices...
6be01b1e 07/09/2012 04:53 pm Pavel Hrdina

fdc: rewrite seek and DSKCHG bit handling

This bit is cleared on every successful seek to a different track (cylinder).
The seek is also called on revalidate or on read/write/format commands which
also clear the DSKCHG bit.

Signed-off-by: Pavel Hrdina <>...

2fee0088 07/09/2012 04:53 pm Pavel Hrdina

fdc: fix interrupt handling

If you call the SENSE INTERRUPT STATUS command while there is no interrupt
waiting you get as result unknown command.

Fixed status0 register handling for read/write/format commands.

Signed-off-by: Pavel Hrdina <>...

1f69c2b0 07/09/2012 04:53 pm Markus Armbruster

fdc: Drop broken code for user-defined floppy geometry

bdrv_get_floppy_geometry_hint() fails to store through its parameter
drive when bs has a geometry hint. Makes fd_revalidate() assign
random crap to drv->drive.

Has been broken that way for ages. Harmless, because:...

7c37e6a4 07/09/2012 12:59 pm Gerd Hoffmann

usb: fix interface initialization

zero is a valid interface number, so don't use it when resetting the
endpoints.

Signed-off-by: Gerd Hoffmann <>

c32da151 07/09/2012 12:59 pm Gerd Hoffmann

usb-host: add trace events for iso xfers

Replace iso transfer fprintf's with trace points. Also rename existing
tracepoints so they all match usb_host_iso_*.

Signed-off-by: Gerd Hoffmann <>

7341ea07 07/09/2012 12:59 pm Hans de Goede

usb-ehci: Fix an assert whenever isoc transfers are used

hcd-ehci.c is missing an usb_packet_init() call for the ipacket UsbPacket
it uses for isoc transfers, triggering an assert (taking the entire vm down)
in usb_packet_setup as soon as any isoc transfers are done by a high speed...

37952117 07/09/2012 12:59 pm Hans de Goede

ehci: Kick async schedule on wakeup in the non companion case

Commit 0f588df8b3688b00e77aabaa32e26ece5f19bd39, added code
to ehci_wakeup to kick the async schedule on wakeup, but the else
was positioned wrong making it trigger for devices which are routed...

adae502c 07/09/2012 12:59 pm Hans de Goede

usb-redir: Correctly handle the usb_redir_babble usbredir status

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

19deaa08 07/09/2012 12:59 pm Gerd Hoffmann

usb: split endpoint init and reset

Create a new usb_ep_reset() function to reset endpoint state, without
re-initialiting the queues, so we don't unlink in-flight packets just
because usb-host has to re-parse the descriptor tables.

Signed-off-by: Gerd Hoffmann <>

9bc3a3a2 07/09/2012 12:59 pm Gerd Hoffmann

ehci: don't flush cache on doorbell rings.

Commit 4be23939ab0d7019c7e59a37485b416fbbf0f073 makes ehci instantly
zap any unlinked queue heads when the guest rings the doorbell.

While hacking up uas support this turned out to be a problem. The linux
kernel can unlink and instantly relink the very same queue head, thereby...

a5e0139a 07/09/2012 10:57 am Gerd Hoffmann

ehci: fix ehci_qh_do_overlay

Use ehci_flush_qh to make sure we touch inly the fields the hc is
allowed to touch.

Signed-off-by: Gerd Hoffmann <>

4ed1c57a 07/09/2012 10:57 am Gerd Hoffmann

ehci: fix td writeback

Only write back the dwords the hc is supposed to update. Should not
make a difference in theory as the guest must not touch the td while
it is active to avoid races. But it is still more correct.

Signed-off-by: Gerd Hoffmann <>

8279e042 07/04/2012 01:50 pm Peter Maydell

hw/cadence_gem: Make rx_desc_addr and tx_desc_addr uint32_t

Make the state fields rx_desc_addr and tx_desc_addr uint32_t;
this matches the VMStateDescription, and also conforms to how
hardware works: the registers don't magically become larger
if the device is attached to a CPU with a larger physical...

ff53d4c6 07/04/2012 01:43 pm Peter Chubb

i.MX31: Interrupt Controller

Implement the Freescale i.MX31 advanced vectored interrupt controller, at least
to the extent it is used by Linux 3.x

Vectors are not implemented.

Signed-off-by: Philip O'Sullivan <>
Signed-off-by: Peter Chubb <>...

0325559d 07/04/2012 01:43 pm Peter Chubb

i.MX31: KZM-ARM11-01 evaluation board

Board support for Kyoto Micro's KZM-ARM11-01, an evaluation board built
around the Freescale i.MX31.

Signed-off-by: Philip O'Sullivan <>
Signed-off-by: Peter Chubb <>
Signed-off-by: Peter Maydell <>

40b6f911 07/04/2012 01:43 pm Peter Chubb

i.MX: UART support

Implement the Freescale i.MX UART. This uart is used in a variety of
SoCs, including some by Motorola, as well as in the Freescale i.MX
series.

This patch gives only a `bare-bones' implementation, enough to run Linux
or OKL4, but that's about it....

bcc181b0 07/04/2012 01:43 pm Peter Chubb

i.MX31: Clock Control Module

For Linux to be able to work out how fast its clocks are going, so
that timer ticks come approximately at the right time, it needs to
be able to query the clock control module (CCM).

This is the start of a CCM implementation. It currently knows only about...

78d1404d 07/04/2012 01:43 pm Peter Chubb

i.MX31: Timers

Implement the timers on the Freescale i.MX31 SoC.
This is not a complete implementation, but gives enough for
Linux to boot and run. In particular external triggers, which are
not useful under QEMU, are not implemented.

Signed-off-by: Philip O'Sullivan <>...

7892df06 07/04/2012 01:43 pm Evgeny Voevodin

hw/exynos4210.c: Fix misleading initialization of IROM mirror

We want to mirror whole IROM and should pass zero instead of
EXYNOS4210_IROM_BASE_ADDR (though it equals to zero too) since
memory_region_init_alias takes an offset within an original
region as an argument....

7bdf43a7 07/04/2012 01:43 pm Oleg Ogurtsov

Exynos4: add RTC device

Signed-off-by: Oleg Ogurtsov <>
Signed-off-by: Peter Maydell <>

b631bc37 07/04/2012 01:43 pm Evgeny Voevodin

hw/exynos4210_pwm.c: Fix STOP status in tick handler.

START/STOP bit was not cleaned correctly.

Signed-off-by: Evgeny Voevodin <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

2e2aafc0 07/04/2012 01:43 pm Stanislav Vorobiov

ARM: hw/exynos4210_mct.c: Fix a bug which hangs Linux kernel.

After some long period of time Linux kernel hanged due to
ptimer_get_count may return 0 before timer interrupt occurs,
thus, causing FRC to jump back in time

Signed-off-by: Evgeny Voevodin <>...

619d7ae9 07/02/2012 12:27 pm Paolo Bonzini

virtio-scsi: do not crash on adding buffers to the event queue

The event queue is not supported yet and the handler does not
have to do much anyway when buffers are added. However, the
handler is called unconditionally by the virtio layer, and this
results in a crash as soon as buffers are added to the event...

335f560f 07/02/2012 12:27 pm Christian Hoff

scsi: Fix data length == SCSI_SENSE_BUF_SIZE

Fix the edge case where the sense data length is exactly the same
as SCSI_SENSE_BUF_SIZE.
This makes SCSI requests work that use all of the available 95 byte
sense data.

Signed-off-by: Christian Hoff <>...

15e58a21 07/02/2012 12:27 pm Christian Hoff

scsi: Fix LOAD_UNLOAD

Change operation code of LOAD_UNLOAD command to 0x1b as described in
section 7.3 of the SCSI Stream Commands spec.

Signed-off-by: Christian Hoff <>
Signed-off-by: Christian Borntraeger <>...

28b70c9d 07/02/2012 12:27 pm Paolo Bonzini

scsi: Ensure command and transfer lengths are set for all SCSI devices

scsi-generic relies on those values to be correct, so it is important that
those values are initialized properly for all device types.

Reported-by: Christian Hoff <>...

40723a99 07/02/2012 12:27 pm Christian Hoff

scsi: Add basic support for SCSI media changer commands.

This adds basic support for SCSI media changer commands.
Not all commands are supported as of now, but enough to cover
basic functionality.

Signed-off-by: Christian Hoff <>...

9ce1bb2d 07/02/2012 12:27 pm Christian Hoff

scsi: Fix transfer length for READ POSITION commands.

The transfer length depends on the specific service action
code, as defined in the SCSI stream commands spec section 7.7.
Up to now only the extended form was supported.

Signed-off-by: Christian Hoff <>...

e8f943c3 07/02/2012 12:11 pm Hannes Reinecke

megasas: LSI Megaraid SAS HBA emulation

This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.

Signed-off-by: Hannes Reinecke <>
[ Squashed trivial changes from Andreas Faerber, rebased over IOMMU...

27395add 07/02/2012 11:18 am Paolo Bonzini

scsi: add a qdev property for the disk's WWN

Signed-off-by: Paolo Bonzini <>

55042b95 07/02/2012 11:18 am Paolo Bonzini

atapi: implement READ DISC INFORMATION

This command is not necessary for CD-ROM and DVD-ROM, but some versions of
udev trip on its absence.

Cc: Kevin Wolf <>
Cc: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

1a4f0c3a 07/02/2012 11:18 am Paolo Bonzini

scsi-disk: implement READ DISC INFORMATION

This command is not necessary for CD-ROM and DVD-ROM, but some versions of
udev trip on its absence.

Cc: Kevin Wolf <>
Cc: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

98392453 07/02/2012 11:18 am Ronnie Sahlberg

ISCSI: Add SCSI passthrough via scsi-generic to libiscsi

Update iscsi to allow passthrough of SG_IO scsi commands when the iscsi
device is forced to be scsi-generic.

Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend,
emulate the SG_IO ioctl and pass the SCSI commands across to the...

7430d0f5 07/02/2012 11:18 am Hannes Reinecke

megasas: Add header file

This patch adds the header file for megasas.

Signed-off-by: Hannes Reinecke <>
Signed-off-by: Paolo Bonzini <>

82579390 07/02/2012 11:18 am Paolo Bonzini

scsi: simplify handling of the VPD page length field

The last four bytes of the thin provisioning page were cut out.

Signed-off-by: Paolo Bonzini <>

5fa45de5 06/28/2012 12:33 am David Gibson

iommu: Allow PCI to use IOMMU infrastructure

This patch adds some hooks to let PCI devices and busses use the new IOMMU
infrastructure. When IOMMU support is enabled, each PCI device now
contains a DMAContext * which is used by the pci_dma_*() wrapper functions....

edded454 06/28/2012 12:33 am David Gibson

pseries: Implement IOMMU and DMA for PAPR PCI devices

Currently the pseries machine emulation does not support DMA for emulated
PCI devices, because the PAPR spec always requires a (guest visible,
paravirtualized) IOMMU which was not implemented. Now that we have...

8292f75a 06/28/2012 12:33 am David Gibson

Better support for dma_addr_t variables

A while back, we introduced the dma_addr_t type, which is supposed to
be used for bus visible memory addresses. At present, this is an
alias for target_phys_addr_t, but this will change when we eventually
add support for guest visible IOMMUs....

d86a77f8 06/28/2012 12:33 am David Gibson

iommu: Add universal DMA helper functions

Not that long ago, every device implementation using DMA directly
accessed guest memory using cpu_physical_memory_*(). This meant that
adding support for a guest visible IOMMU would require changing every
one of these devices to go through IOMMU translation....

9ac6a217 06/28/2012 12:33 am David Gibson

usb-ohci: Use universal DMA helper functions

The OHCI device emulation can provide both PCI and SysBus OHCI
implementations. Because of this, it was not previously converted to
use the PCI DMA helper functions.

This patch converts it to use the new universal DMA helper functions....

c65bcef3 06/28/2012 12:33 am David Gibson

iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers

dma-helpers.c contains a number of helper functions for doing
scatter/gather DMA, and various block device related DMA. Currently,
these directly access guest memory using cpu_physical_memory_*(),...

10ca2943 06/28/2012 12:33 am David Gibson

ide/ahci: Use universal DMA helper functions

The AHCI device can provide both PCI and SysBus AHCI device
emulations. For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions. Now that we have universal DMA
helper functions, this converts AHCI to use them....

e2f89926 06/28/2012 12:33 am David Gibson

usb: Convert usb_packet_{map, unmap} to universal DMA helpers

The USB UHCI and EHCI drivers were converted some time ago to use the
pci_dma_*() helper functions. However, this conversion was not complete
because in some places both these drivers do DMA via the usb_packet_map()...

e5332e63 06/28/2012 12:33 am David Gibson

iommu: Introduce IOMMU emulation infrastructure

This patch adds the basic infrastructure necessary to emulate an IOMMU
visible to the guest. The DMAContext structure is extended with
information and a callback describing the translation, and the various...

ad0ebb91 06/28/2012 12:33 am David Gibson

pseries: Convert sPAPR TCEs to use generic IOMMU infrastructure

The pseries platform already contains an IOMMU implementation, since it is
essential for the platform's paravirtualized VIO devices. This IOMMU
support is currently built into the implementation of the VIO "bus" and...

fcce6fd2 06/28/2012 12:27 am Jason Wang

rtl8139: validate rx ring before receiving packets

Commit ff71f2e8cacefae99179993204172bc65e4303df prevent the possible
crash during initialization of linux driver by checking the operating
mode.This seems too strict as:

- the real card could still work in mode other than normal...

7de3abe5 06/28/2012 12:26 am Anthony Liguori

qdev: fix use-after-free in the error path of qdev_init_nofail

From Markus:

Before:

$ qemu-system-x86_64 -display none -drive if=ide
qemu-system-x86_64: Device needs media, but drive is empty
qemu-system-x86_64: Initialization of device ide-hd failed...
e0a3dc7c 06/26/2012 11:09 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    tci: Support INDEX_op_bswap64_i64
    target-i386: Use QEMU instead of Qemu
    Makefile.hw: avoid overly large 'make clean' rm command
    configure: Fix typo
    arm_gic: Send dbg msgs to stderr not stdout...
3aa42d32 06/26/2012 11:07 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v58' into staging

  • spice/spice.v58:
    vga: raise default vgamem size
    add pc-1.2
    qxl: add vgamem_size_mb and vgamem_size
    vga: make vram size configurable
    vga: raise xres+yres limits
    qxl: reset current_async on qxl_soft_reset...
3978f461 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/compile-xs' into staging

  • sstabellini/compile-xs:
    xenstore: Use <xenstore.h>
    xen: Reorganize includes of Xen headers.
7a542b67 06/26/2012 11:05 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/xen-pt' into staging

  • sstabellini/xen-pt:
    Introduce Xen PCI Passthrough, MSI
    Introduce apic-msidef.h
    Introduce Xen PCI Passthrough, PCI config space helpers
    Introduce Xen PCI Passthrough, qdevice
    qdev-properties: Introduce pci-host-devaddr....
b1a6609e 06/26/2012 11:01 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.54' into staging

  • kraxel/usb.54:
    uhci: fix uhci_async_cancel_all
    usb-host: live migration support
    usb-host: attach only to running guest
    ehci: tracing improvements
    usb: restore USBDevice->attached on vmload...
4e469a43 06/24/2012 01:48 pm Blue Swirl

Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf

  • 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (72 commits)
    PPC: BookE206: Bump MAS2 to 64bit
    PPC: BookE: Support 32 and 64 bit wide MAS2
    PPC: Extract SPR dump generation into its own function...
959a255d 06/24/2012 01:48 pm Blue Swirl

Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm: (33 commits)
    target-arm: Remove ARM_CPUID_* macros
    target-arm: Remove remaining old cp15 infrastructure...
8dacfcb4 06/24/2012 01:45 pm Blue Swirl

Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf

  • 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
    s390: stop target cpu on sigp initial reset
    s390: make kvm_stat work on s390
    kvm: Update kernel headers
    s390x: fix s390 virtio aliases
99918cec 06/24/2012 10:09 am Blue Swirl

Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
    arm_boot: Conditionalised DTB command line update
    cadence_ttc: changed master clock frequency...
2a7a47fc 06/24/2012 02:04 am Alexander Graf

PPC: BookE: Implement EPR SPR

On the e500 series, accessing SPR_EPR magically turns into an access at
that CPU's IACK register on the MPIC. Implement that logic to get kernels
that make use of that feature work.

Signed-off-by: Alexander Graf <>

a053a7ce 06/24/2012 02:04 am Alexander Graf

PPC: e500: Refactor serial dt generation

When generating serial port device tree nodes, we duplicate quite a bit
of code, because there are 2 of them in the mpc8544ds board we emulate.

Shove the generating code into a function, so we duplicate less code....

caedc737 06/24/2012 02:04 am Alexander Graf

PPC: e500: allow users to set the /compatible property via -machine

Device trees usually have a node /compatible, which indicate which machine
type we're looking at. For quick prototyping, it can be very useful to change
the contents of that node via the command line....

5025d542 06/24/2012 02:04 am Alexander Graf

uImage: increase the gzip load size

Recent u-boot has different defines for its gzip extract buffer, but the
common ground seems to be 64MB. So let's bump it up to that, enabling me
to load my test image again ;).

Signed-off-by: Alexander Graf <>

518c7fb4 06/24/2012 02:04 am Alexander Graf

PPC: e500: Use new MPIC dt format

Due to popular demand, we're updating the way we generate the MPIC
node and interrupt lines based on what the current state of art is.

Requested-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

ebb9518a 06/24/2012 02:04 am Alexander Graf

PPC: e500: Use new SOC dt format

Due to popular demand, let's clean up the soc node a bit and use
more recent dt notions.

Requested-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

ed2bc496 06/24/2012 02:04 am Alexander Graf

PPC: e500: Define addresses as always 64bit

Every time we use an address constant, it needs to potentially fit into
a 64bit physical address space. So let's define things accordingly.

Signed-off-by: Alexander Graf <>

3627757e 06/24/2012 02:04 am Alexander Graf

PPC: e500: Extend address/size of / to 64bit

We want to be able to support >= 4GB of RAM. To do so, we need to be able
to tell the guest OS how much RAM it has.

However, that information today is capped to 32bit. So let's extend the
offset and size fields to 64bit, so we can fit in big addresses and even...

1d2e5c52 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: use 64bit cell helper

We have a nice 64bit helper to ease the device tree generation and
make the code more readable when creating 64bit 2-cell parameters.
Use it when generating the device tree.

Signed-off-by: Alexander Graf <>

7f47b41f 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: use target_phys_addr_t for ramsize

We're passing the ram size as uint32_t, capping it to 32 bits atm.
Change to target_phys_addr_t (uint64_t) to make sure we have all
the bits.

Signed-off-by: Alexander Graf <>

d1b93565 06/24/2012 02:04 am Alexander Graf

PPC: e500: enable manual loading of dtb blob

We want to be able to override the automatically created device tree
by using the -dtb option. Implement this for the mpc8544ds machine.

Signed-off-by: Alexander Graf <>

5da96624 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create /soc8544 node dynamically

Signed-off-by: Alexander Graf <>

0cfc6e8d 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create serial nodes dynamically

Signed-off-by: Alexander Graf <>

19ac9dea 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create mpic node dynamically

Signed-off-by: Alexander Graf <>

f5038483 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create global-utils node dynamically

Signed-off-by: Alexander Graf <>

0dbc0798 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: create pci node dynamically

Signed-off-by: Alexander Graf <>

2636fcb6 06/24/2012 02:04 am Alexander Graf

PPC: e500: dt: start with empty device tree

Now that all of the device tree bits are generated during runtime, we
can get rid of the device tree blob and instead start from scratch with
an empty device tree.

Signed-off-by: Alexander Graf <>

25b42708 06/24/2012 02:04 am Alexander Graf

dt: Add -machine dumpdtb option to dump the current dtb

Now that we are dynamically creating the dtb, it's really useful to
be able to dump the created blob for debugging.

This patch implements a -machine dumpdtb=<file> option for e500 that
dumps the dtb exactly in the form the guest would get it to disk. It...