qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3f1bea: target-arm: Implement 'int' loglevel


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3f1bea: target-arm: Implement 'int' loglevel
Date: Tue, 20 Aug 2013 11:30:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3f1beaca88bffa4828cc86beb89ff70474516d91
      
https://github.com/qemu/qemu/commit/3f1beaca88bffa4828cc86beb89ff70474516d91
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: Implement 'int' loglevel

The 'int' loglevel for recording interrupts and exceptions
requires support in the target-specific code. Implement
it for ARM. This improves debug logging in some situations
that were otherwise pretty opaque, such as when we fault
trying to execute at an exception vector address, which
would otherwise cause an infinite loop of taking exceptions
without any indication in the debug log of what was going on.

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


  Commit: 7c1840b686e34ed138414ff0fe395a63f031387e
      
https://github.com/qemu/qemu/commit/7c1840b686e34ed138414ff0fe395a63f031387e
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/pic_cpu.c
    M target-arm/cpu.c
    M target-arm/cpu.h

  Log Message:
  -----------
  target-arm: Make IRQ and FIQ gpio lines on the CPU object

Now that ARMCPU is a subclass of DeviceState, we can make the
CPU's inbound IRQ and FIQ lines be simply gpio lines, which
means we can remove the odd arm_pic shim.

We retain the arm_pic_init_cpu() function as a backwards
compatibility shim layer so we can convert the board models
to get the IRQ and FIQ lines directly from the ARMCPU
object one at a time.

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


  Commit: de3a658f5b1d4ea290cb4369c55e83fdead81933
      
https://github.com/qemu/qemu/commit/de3a658f5b1d4ea290cb4369c55e83fdead81933
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/armv7m.c

  Log Message:
  -----------
  hw/arm/armv7m: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: ad666d91f43574fb200c738bc793023ae23d24a5
      
https://github.com/qemu/qemu/commit/ad666d91f43574fb200c738bc793023ae23d24a5
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/exynos4210.c

  Log Message:
  -----------
  hw/arm/exynos4210: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 9188dbf71accf9d97f2e434380ea210ba75705ca
      
https://github.com/qemu/qemu/commit/9188dbf71accf9d97f2e434380ea210ba75705ca
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/highbank.c

  Log Message:
  -----------
  hw/arm/highbank: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 99d228d6e9b08488d62029c438f8381b8c72d109
      
https://github.com/qemu/qemu/commit/99d228d6e9b08488d62029c438f8381b8c72d109
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/integratorcp.c

  Log Message:
  -----------
  hw/arm/integratorcp: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 2f69ba1736e9460aa04c46790c1d34edfbee563a
      
https://github.com/qemu/qemu/commit/2f69ba1736e9460aa04c46790c1d34edfbee563a
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/kzm.c

  Log Message:
  -----------
  hw/arm/kzm: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: fcef61ec6bfaf96eeee0fb3024dd7ec8437ffa65
      
https://github.com/qemu/qemu/commit/fcef61ec6bfaf96eeee0fb3024dd7ec8437ffa65
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/musicpal.c

  Log Message:
  -----------
  hw/arm/musicpal: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 437f0f10a42dc2a0236a79e0bba39a32af4d73f8
      
https://github.com/qemu/qemu/commit/437f0f10a42dc2a0236a79e0bba39a32af4d73f8
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/omap1.c
    M hw/arm/omap2.c

  Log Message:
  -----------
  hw/arm/omap*: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 033ee5a5ac5dd01bcea76a6427d95f5390af43ca
      
https://github.com/qemu/qemu/commit/033ee5a5ac5dd01bcea76a6427d95f5390af43ca
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/realview.c

  Log Message:
  -----------
  hw/arm/realview: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: 4f071cf9b53a236469500f08033335cc726db9b0
      
https://github.com/qemu/qemu/commit/4f071cf9b53a236469500f08033335cc726db9b0
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/strongarm.c

  Log Message:
  -----------
  hw/arm/strongarm: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: bace999f8a03c226eecad3c170def644f0551c50
      
https://github.com/qemu/qemu/commit/bace999f8a03c226eecad3c170def644f0551c50
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/versatilepb.c

  Log Message:
  -----------
  hw/arm/versatilepb: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: fe9120a5d1117523282b44e8aa0027ab2b8a4408
      
https://github.com/qemu/qemu/commit/fe9120a5d1117523282b44e8aa0027ab2b8a4408
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/arm/vexpress: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: e4a6540dedc6ec109a9ece3f8d83a143b7bde4e6
      
https://github.com/qemu/qemu/commit/e4a6540dedc6ec109a9ece3f8d83a143b7bde4e6
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/xilinx_zynq.c

  Log Message:
  -----------
  hw/arm/xilinx_zynq: Don't use arm_pic_init_cpu()

Drop the now-deprecated arm_pic_init_cpu() in favour of directly
getting the IRQ line from the ARMCPU object.

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


  Commit: b643e4b90bb0b70adde97a09349d8ca7067309d9
      
https://github.com/qemu/qemu/commit/b643e4b90bb0b70adde97a09349d8ca7067309d9
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/arm/Makefile.objs
    R hw/arm/pic_cpu.c
    M include/hw/arm/arm.h

  Log Message:
  -----------
  hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu()

Now all the boards have been converted arm_pic_init_cpu()
is unused and can just be deleted.

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


  Commit: 22d9e1a986a671ebfacb21555b7533336f3e8259
      
https://github.com/qemu/qemu/commit/22d9e1a986a671ebfacb21555b7533336f3e8259
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M target-arm/helper.c

  Log Message:
  -----------
  target-arm: Allow raw_read() and raw_write() to handle 64 bit regs

Extend the raw_read() and raw_write() helper accessors so that
they can be used for 64 bit registers as well as 32 bit registers.

Signed-off-by: Peter Maydell <address@hidden>
Tested-by: Laurent Desnogues <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Message-id: address@hidden


  Commit: 2452731c883cb0acd4e47b23039c46cd880cf2c6
      
https://github.com/qemu/qemu/commit/2452731c883cb0acd4e47b23039c46cd880cf2c6
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M target-arm/cpu.h
    M target-arm/translate.c

  Log Message:
  -----------
  target-arm: Support coprocessor registers which do I/O

Add an ARM_CP_IO flag which an ARMCPRegInfo definition can use to
indicate that the register's implementation does I/O and thus
its accesses need to be surrounded by gen_io_start()/gen_io_end()
in order for icount to work. Most notably, cp registers which
implement clocks or timers need this.

Signed-off-by: Peter Maydell <address@hidden>
Tested-by: Laurent Desnogues <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Message-id: address@hidden


  Commit: 55d284af8e31bbdf4d545cb2d6481cd0367680fb
      
https://github.com/qemu/qemu/commit/55d284af8e31bbdf4d545cb2d6481cd0367680fb
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-arm/machine.c

  Log Message:
  -----------
  target-arm: Implement the generic timer

The ARMv7 architecture specifies a 'generic timer' which is implemented
via cp15 registers. Newer kernels will prefer to use this rather than
a devboard-level timer. Implement the generic timer for TCG; for KVM
we will already use the hardware's virtualized timer for this.

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


  Commit: 6033e840c7b1db1055d02199fa3a28a4fd7b2386
      
https://github.com/qemu/qemu/commit/6033e840c7b1db1055d02199fa3a28a4fd7b2386
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/cpu/a15mpcore.c

  Log Message:
  -----------
  hw/cpu/a15mpcore: Wire generic timer outputs to GIC inputs

Now our A15 CPU implements the generic timers, we can wire them
up to the appropriate inputs on the GIC.

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


  Commit: 66aae5e1ecc38e8658c5cc69a0b3ceeb4967619c
      
https://github.com/qemu/qemu/commit/66aae5e1ecc38e8658c5cc69a0b3ceeb4967619c
  Author: Peter Maydell <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M hw/cpu/Makefile.objs

  Log Message:
  -----------
  default-configs: Fix A9MP and A15MP config names

When individual CONFIG_ switches for the A9MPcore and A15MPcore
devices were created, they were inadvertently given incorrect names
(CONFIG_ARM9MPCORE and CONFIG_ARM15MPCORE). These CPUs are
"Cortex-A9MP" and "Cortex-A15MP", and in particular the ARM9 is
a different (rather older) CPU than the Cortex-A9. Rename the
CONFIG_ switches to bring them into line with the source file
names and CPU names.

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


  Commit: 230058106ab26de9b876158dbe27d60719f01f51
      
https://github.com/qemu/qemu/commit/230058106ab26de9b876158dbe27d60719f01f51
  Author: Peter Chubb <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M hw/timer/imx_epit.c

  Log Message:
  -----------
  hw/timer/imx_epit: Simplify and fix imx_epit implementation

When imx_epit.c was last refactored, a common usecase (comparison
register zero) broke.  This patch fixes that, and simplifies the code
yet more.  It also fixes a major thinko in the reset path --- the
wrong bits in the control register were being cleared.

Signed-off-by: Peter Chubb <address@hidden>
Reviewed-by: Jean-Christophe DUBOIS <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: ecfe10c9a6f9bc77d0e4b7eb5d0f5d61e8fbaed8
      
https://github.com/qemu/qemu/commit/ecfe10c9a6f9bc77d0e4b7eb5d0f5d61e8fbaed8
  Author: Anthony Liguori <address@hidden>
  Date:   2013-08-20 (Tue, 20 Aug 2013)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M hw/arm/Makefile.objs
    M hw/arm/armv7m.c
    M hw/arm/exynos4210.c
    M hw/arm/highbank.c
    M hw/arm/integratorcp.c
    M hw/arm/kzm.c
    M hw/arm/musicpal.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    R hw/arm/pic_cpu.c
    M hw/arm/realview.c
    M hw/arm/strongarm.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/arm/xilinx_zynq.c
    M hw/cpu/Makefile.objs
    M hw/cpu/a15mpcore.c
    M hw/timer/imx_epit.c
    M include/hw/arm/arm.h
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-arm/machine.c
    M target-arm/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130820' into 
staging

target-arm queue

# gpg: Signature made Tue 20 Aug 2013 08:56:28 AM CDT using RSA key ID 14360CDE
# gpg: Can't check signature: public key not found

# By Peter Maydell (20) and Peter Chubb (1)
# Via Peter Maydell
* pmaydell/tags/pull-target-arm-20130820: (21 commits)
  hw/timer/imx_epit: Simplify and fix imx_epit implementation
  default-configs: Fix A9MP and A15MP config names
  hw/cpu/a15mpcore: Wire generic timer outputs to GIC inputs
  target-arm: Implement the generic timer
  target-arm: Support coprocessor registers which do I/O
  target-arm: Allow raw_read() and raw_write() to handle 64 bit regs
  hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu()
  hw/arm/xilinx_zynq: Don't use arm_pic_init_cpu()
  hw/arm/vexpress: Don't use arm_pic_init_cpu()
  hw/arm/versatilepb: Don't use arm_pic_init_cpu()
  hw/arm/strongarm: Don't use arm_pic_init_cpu()
  hw/arm/realview: Don't use arm_pic_init_cpu()
  hw/arm/omap*: Don't use arm_pic_init_cpu()
  hw/arm/musicpal: Don't use arm_pic_init_cpu()
  hw/arm/kzm: Don't use arm_pic_init_cpu()
  hw/arm/integratorcp: Don't use arm_pic_init_cpu()
  hw/arm/highbank: Don't use arm_pic_init_cpu()
  hw/arm/exynos4210: Don't use arm_pic_init_cpu()
  hw/arm/armv7m: Don't use arm_pic_init_cpu()
  target-arm: Make IRQ and FIQ gpio lines on the CPU object
  ...

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/9176e8fb8f78...ecfe10c9a6f9

reply via email to

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