qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] cdef10: hw/vexpress: Pass proc_id via VEDBoar


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] cdef10: hw/vexpress: Pass proc_id via VEDBoardInfo
Date: Sun, 17 Mar 2013 14:00:13 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cdef10bb9373c2c22c517a4deef2363c7ebd5d48
      
https://github.com/qemu/qemu/commit/cdef10bb9373c2c22c517a4deef2363c7ebd5d48
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/vexpress: Pass proc_id via VEDBoardInfo

Pass the daughterboard-specific proc_id property to the code that
creates the sysctl device via the VEDBoardInfo struct, rather than
by having the daughterboard init function write to a uint32_t*
argument. This is a cleaner way to pass the info around, and
is in line with the way we are going to handle voltage and
oscillator initialization.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 71538323358d77f6472d66a30e948a1c23bd9e87
      
https://github.com/qemu/qemu/commit/71538323358d77f6472d66a30e948a1c23bd9e87
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Handle SYS_CFGCTRL in a more structured way

The SYS_CFGCTRL register consists of separate fields
for DCC, function, site, position and device, as well
as a read/write bit. Refactor the code handling SYS_CFGCTRL
writes to make it easier to add support for functions
like SYS_CFG_OSC which support multiple device fields.
We also pull the handling out into its own function for
clarity, as there are potentially a lot of implementable
subfunctions.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 8ff05c9842e28888b936dbd960f6416cee5addb6
      
https://github.com/qemu/qemu/commit/8ff05c9842e28888b936dbd960f6416cee5addb6
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Implement SYS_CFG_MUXFPGA writes as a no-op

SYS_CFG_MUXFPGA allows the guest to select whether the
video output should come from the motherboard's LCD
controller or the daughterboard's one. Since QEMU doesn't
currently support selecting the video output like this,
implement as a no-op, so Linux doesn't complain about
the register not being implemented.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 291155cbc54212a451d0b899a01b6e3e14ed9135
      
https://github.com/qemu/qemu/commit/291155cbc54212a451d0b899a01b6e3e14ed9135
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Implement SYS_CFG_DVIMODE as a no-op

SYS_CFG_DVIMODE allows the guest to select whether the
output DVI signal is VGA, SVGA, XGA, SGA or UXGA. Since
this makes no difference to QEMU, implement writes as a
no-op so Linux doesn't complain.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 1f56f50ac484653fe996c37ac894418a34f92b89
      
https://github.com/qemu/qemu/commit/1f56f50ac484653fe996c37ac894418a34f92b89
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Convert from qdev init to instance_init

Convert this device from old-style qdev init to an instance_init
function. We don't need a realize function yet, though.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 0be6bfac6262900425c10847de513ee2490078d3
      
https://github.com/qemu/qemu/commit/0be6bfac6262900425c10847de513ee2490078d3
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/qdev-core.h
    M hw/qdev-properties.c
    M hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Implement (variable length) array properties

Add support for declaring array properties for qdev devices.
These work by defining an initial static property 'len-arrayname'
which the user of the device should set to the desired size
of the array. When this property is set, memory is allocated
for the array elements, and dynamic properties "arrayname[0]",
"arrayname[1]"... are created so the user of the device can
then set the values of the individual array elements.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 8bd4824a6122292060a318741595927e0d05ff5e
      
https://github.com/qemu/qemu/commit/8bd4824a6122292060a318741595927e0d05ff5e
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Implement SYS_CFG_VOLT

Implement the SYS_CFG_VOLT registers which return the voltage
of various supplies on motherboard and daughterboard. Since
QEMU implements a perfectly stable power supply these registers
always return a constant value. The number and value of the
daughterboard voltages is dependent on the specific daughterboard,
so we use a property array to allow the board to configure them
appropriately.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 31410948bc1c8001098b076caf35aab8a5cf063d
      
https://github.com/qemu/qemu/commit/31410948bc1c8001098b076caf35aab8a5cf063d
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/vexpress: Pass voltage sensor properties to sysctl device

Pass voltage sensor properties to the sysctl device. Since
these are daughterboard specific, we specify them via the
VEDBoardInfo structure.

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden


  Commit: 1f81f94bebc2f8c4b32a89910d071099a67dc44d
      
https://github.com/qemu/qemu/commit/1f81f94bebc2f8c4b32a89910d071099a67dc44d
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm_sysctl.c

  Log Message:
  -----------
  hw/arm_sysctl: Implement SYS_CFG_OSC function

Implement the SYS_CFG_OSC function. Since the idea of
programmable clock rates doesn't make much sense for QEMU,
we simply allow the clock rate to be read back as written.
The number and value of the daughterboard oscillators varies
between daughterboards, so we provide an array property to
allow their reset values to be configured.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 9c7d489379c2a2923b4805d337dfd54f2f432449
      
https://github.com/qemu/qemu/commit/9c7d489379c2a2923b4805d337dfd54f2f432449
  Author: Peter Maydell <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/vexpress: Set reset values for daughterboard oscillators

Set the reset values for the VExpress daughterboard oscillators
via the new sysctl properties.

Signed-off-by: Peter Maydell <address@hidden>


  Commit: 6ff66f50f0999c3455c39de68fc2d2949963c796
      
https://github.com/qemu/qemu/commit/6ff66f50f0999c3455c39de68fc2d2949963c796
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M include/qemu-common.h
    M util/Makefile.objs
    A util/hexdump.c
    M util/iov.c

  Log Message:
  -----------
  iov: Factor out hexdumper

Factor out the hexdumper functionality from iov for all to use. Useful for
creating verbose debug printfery that dumps packet data.

Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 06a1cea5f631f6ac69f85ae07bb47ef47b88f5f7
      
https://github.com/qemu/qemu/commit/06a1cea5f631f6ac69f85ae07bb47ef47b88f5f7
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M hw/Makefile.objs
    A hw/pl330.c

  Log Message:
  -----------
  pl330: Initial version

Device model for Primecell PL330 DMA controller.

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Kirill Batuzov <address@hidden>
Tested-by: Igor Mitsyanko <address@hidden>
Reviewed-by: Igor Mitsyanko <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 7451afb67136275f2461f2d23139f2abed1f15b3
      
https://github.com/qemu/qemu/commit/7451afb67136275f2461f2d23139f2abed1f15b3
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/arm/xilinx_zynq.c

  Log Message:
  -----------
  xilinx_zynq: added pl330 to machine model

Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 2790cd911e563f7fec7eeb7856b7f5f54437cc0a
      
https://github.com/qemu/qemu/commit/2790cd911e563f7fec7eeb7856b7f5f54437cc0a
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/xilinx_spips.c

  Log Message:
  -----------
  xilinx_spips: Set unused IRQs to NULL

Unused CS lines should init to 0 to avoid segfaulting when accessing an
unattached QSPI controller.

Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: e0891bd8bfd3349fc3fecde30e51900059f53f11
      
https://github.com/qemu/qemu/commit/e0891bd8bfd3349fc3fecde30e51900059f53f11
  Author: Nathan Rossi <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/xilinx_spips.c

  Log Message:
  -----------
  xilinx_spips: Fix bus setup conditional check

The R_LQPSI_CFG register has the LQSPI_CFG_SEP_BUS and LQSPI_CFG_TWO_MEM bits.

Signed-off-by: Nathan Rossi <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 08a9635b68757e18a6a8bf8569353b40bb6c1fd1
      
https://github.com/qemu/qemu/commit/08a9635b68757e18a6a8bf8569353b40bb6c1fd1
  Author: Nathan Rossi <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/xilinx_spips.c

  Log Message:
  -----------
  xilinx_spips: Add missing dual-bus snoop commands

Added additional commands to the switch to check for when snooping commands in
dual bus mode setups. Cleaned up code to use an enum.

Signed-off-by: Nathan Rossi <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: f8b9fe249a706bfed61e0bb66c73394553696382
      
https://github.com/qemu/qemu/commit/f8b9fe249a706bfed61e0bb66c73394553696382
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-03-15 (Fri, 15 Mar 2013)

  Changed paths:
    M hw/xilinx_spips.c

  Log Message:
  -----------
  xilinx_spips: QOM styling fixes

Few fixes for the latest QOM styling guides.

Signed-off-by: Peter Crosthwaite <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 7fb7377594887db99a2100adcddf3bd6394ef540
      
https://github.com/qemu/qemu/commit/7fb7377594887db99a2100adcddf3bd6394ef540
  Author: Blue Swirl <address@hidden>
  Date:   2013-03-17 (Sun, 17 Mar 2013)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M hw/Makefile.objs
    M hw/arm/vexpress.c
    M hw/arm/xilinx_zynq.c
    M hw/arm_sysctl.c
    A hw/pl330.c
    M hw/qdev-core.h
    M hw/qdev-properties.c
    M hw/qdev-properties.h
    M hw/xilinx_spips.c
    M include/qemu-common.h
    M util/Makefile.objs
    A util/hexdump.c
    M util/iov.c

  Log Message:
  -----------
  Merge branch 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm

* 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
  xilinx_spips: QOM styling fixes
  xilinx_spips: Add missing dual-bus snoop commands
  xilinx_spips: Fix bus setup conditional check
  xilinx_spips: Set unused IRQs to NULL
  xilinx_zynq: added pl330 to machine model
  pl330: Initial version
  iov: Factor out hexdumper
  hw/vexpress: Set reset values for daughterboard oscillators
  hw/arm_sysctl: Implement SYS_CFG_OSC function
  hw/vexpress: Pass voltage sensor properties to sysctl device
  hw/arm_sysctl: Implement SYS_CFG_VOLT
  qdev: Implement (variable length) array properties
  hw/arm_sysctl: Convert from qdev init to instance_init
  hw/arm_sysctl: Implement SYS_CFG_DVIMODE as a no-op
  hw/arm_sysctl: Implement SYS_CFG_MUXFPGA writes as a no-op
  hw/arm_sysctl: Handle SYS_CFGCTRL in a more structured way
  hw/vexpress: Pass proc_id via VEDBoardInfo


  Commit: 225dc991b03f0f034aa348f5cf499de9d0979107
      
https://github.com/qemu/qemu/commit/225dc991b03f0f034aa348f5cf499de9d0979107
  Author: Cornelia Huck <address@hidden>
  Date:   2013-03-17 (Sun, 17 Mar 2013)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390: Fix cpu refactoring fallout.

Commit 259186a7 "cpu: Move halted and interrupt_request fields to CPUState"
seems to have missed one instance in target-s390x/kvm.c:

/home/cohuck/git/qemu/target-s390x/kvm.c: In function 
‘kvm_arch_process_async_events’:
/home/cohuck/git/qemu/target-s390x/kvm.c:319: error: ‘CPUS390XState’ has no 
member named ‘halted’
/home/cohuck/git/qemu/target-s390x/kvm.c:320: warning: control reaches end of 
non-void function
make[1]: *** [target-s390x/kvm.o] Error 1

Let's just switch to cs->halted.

Signed-off-by: Cornelia Huck <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Acked-by: Andreas Färber <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/8b758d0568a9...225dc991b03f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]