qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] cffe7b: qom: Add cpu_exec_enter and cpu_exec_


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] cffe7b: qom: Add cpu_exec_enter and cpu_exec_exit hooks
Date: Fri, 26 Sep 2014 04:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cffe7b3249319003d776481b8a4b72d35db71355
      
https://github.com/qemu/qemu/commit/cffe7b3249319003d776481b8a4b72d35db71355
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M include/qom/cpu.h
    M qom/cpu.c

  Log Message:
  -----------
  qom: Add cpu_exec_enter and cpu_exec_exit hooks

In preparation for removing a bunch of ifdefs from cpu_exec.

Cc: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 1039e1290feb03b331af55d939554bd03ffd3906
      
https://github.com/qemu/qemu/commit/1039e1290feb03b331af55d939554bd03ffd3906
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c

  Log Message:
  -----------
  cpu-exec: Remove do-nothing ifdef chains

Around the cpu_exec_enter/exit hooks contain many empty
ifdef blocks.  Delete all of these to highlight those
targets for which we actually need to do work.

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


  Commit: 374e0cd4db321d51ed5fa24498a974085e3f1b6d
      
https://github.com/qemu/qemu/commit/374e0cd4db321d51ed5fa24498a974085e3f1b6d
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: Use cpu_exec_enter/exit qom hooks

Note that the code that was within the "exit" ifdef block
was identical to the cpu_compute_eflags inline, so make that
simplification at the same time.

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


  Commit: 00f3fd63e13d9c35017f08a96528826e5ee9521f
      
https://github.com/qemu/qemu/commit/00f3fd63e13d9c35017f08a96528826e5ee9521f
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/helper.c

  Log Message:
  -----------
  target-m68k: Use cpu_exec_enter/exit qom hooks

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


  Commit: 774f0abeae3780db03e2ece61eb712e219b4511d
      
https://github.com/qemu/qemu/commit/774f0abeae3780db03e2ece61eb712e219b4511d
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Use cpu_exec_enter qom hook

Cc: address@hidden
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 9585db68c78b538e4d835372da3c5675fe0608da
      
https://github.com/qemu/qemu/commit/9585db68c78b538e4d835372da3c5675fe0608da
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M include/qom/cpu.h
    M qom/cpu.c

  Log Message:
  -----------
  qom: Add cpu_exec_interrupt hook

Continuing the removal of ifdefs from cpu_exec.

Cc: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Max Filippov <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 37f3616aa8644e539f9f7178c026d47a458bf2ab
      
https://github.com/qemu/qemu/commit/37f3616aa8644e539f9f7178c026d47a458bf2ab
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/helper.c

  Log Message:
  -----------
  target-xtensa: Use cpu_exec_interrupt qom hook

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


  Commit: 02bb9bbf1d41ef60a61722e2852392a3eca7f80a
      
https://github.com/qemu/qemu/commit/02bb9bbf1d41ef60a61722e2852392a3eca7f80a
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-s390x/cpu-qom.h
    M target-s390x/cpu.c
    M target-s390x/helper.c

  Log Message:
  -----------
  target-s390x: Use cpu_exec_interrupt qom hook

Cc: Alexander Graf <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: ab409bb3fea7e46bbce557ebda14e8eb420f5377
      
https://github.com/qemu/qemu/commit/ab409bb3fea7e46bbce557ebda14e8eb420f5377
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-m68k/cpu-qom.h
    M target-m68k/cpu.c
    M target-m68k/cpu.h
    M target-m68k/op_helper.c

  Log Message:
  -----------
  target-m68k: Use cpu_exec_interrupt qom hook

Since do_interrupt_m68k_hardirq is no longer used outside
op_helper.c, make it static.

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


  Commit: 5a1f7f44cf7a55b696859d09af1b18c8e40c8339
      
https://github.com/qemu/qemu/commit/5a1f7f44cf7a55b696859d09af1b18c8e40c8339
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-cris/cpu-qom.h
    M target-cris/cpu.c
    M target-cris/helper.c

  Log Message:
  -----------
  target-cris: Use cpu_exec_interrupt qom hook

Cc: Edgar E. Iglesias <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: dde7c241e3259f5a752e4fb7a638ee377ed0cad0
      
https://github.com/qemu/qemu/commit/dde7c241e3259f5a752e4fb7a638ee377ed0cad0
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/helper.c

  Log Message:
  -----------
  target-alpha: Use cpu_exec_interrupt qom hook

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


  Commit: f47ede195b1c7878504ca8aead6fa09ee05b585b
      
https://github.com/qemu/qemu/commit/f47ede195b1c7878504ca8aead6fa09ee05b585b
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-sh4/cpu-qom.h
    M target-sh4/cpu.c
    M target-sh4/helper.c

  Log Message:
  -----------
  target-sh4: Use cpu_exec_interrupt qom hook

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


  Commit: d8bb915972deaa58dc6ad6644d26ede04f78982a
      
https://github.com/qemu/qemu/commit/d8bb915972deaa58dc6ad6644d26ede04f78982a
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-unicore32/cpu-qom.h
    M target-unicore32/cpu.c
    M target-unicore32/helper.c

  Log Message:
  -----------
  target-unicore32: Use cpu_exec_interrupt qom hook

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


  Commit: e8925712e6dbf45dd68c86a1e9025ce12bf18aef
      
https://github.com/qemu/qemu/commit/e8925712e6dbf45dd68c86a1e9025ce12bf18aef
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-arm/cpu-qom.h
    M target-arm/cpu.c
    M target-arm/cpu64.c

  Log Message:
  -----------
  target-arm: Use cpu_exec_interrupt qom hook

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


  Commit: 87afe467e276f9a9cad2ad610d3d330da7fc7fd3
      
https://github.com/qemu/qemu/commit/87afe467e276f9a9cad2ad610d3d330da7fc7fd3
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-sparc/cpu.c

  Log Message:
  -----------
  target-sparc: Use cpu_exec_interrupt qom hook

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


  Commit: fbb96c4b7f57d3d0943b11ad2cfa0ed770c9cf66
      
https://github.com/qemu/qemu/commit/fbb96c4b7f57d3d0943b11ad2cfa0ed770c9cf66
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-openrisc/cpu.c
    M target-openrisc/cpu.h
    M target-openrisc/interrupt.c

  Log Message:
  -----------
  target-openrisc: Use cpu_exec_interrupt qom hook

Cc: Jia Liu <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Tested-by: Jia Liu <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: dfdb483454f8fcaab5ba55a0342cd5e3aec8815a
      
https://github.com/qemu/qemu/commit/dfdb483454f8fcaab5ba55a0342cd5e3aec8815a
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-tricore/cpu-qom.h
    M target-tricore/cpu.c
    M target-tricore/cpu.h
    M target-tricore/helper.c

  Log Message:
  -----------
  target-tricore: Remove the dummy interrupt boilerplate

It can go back in when it actually does something.

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


  Commit: fa4faba448046574c8c820098ed46c9a0b5589a6
      
https://github.com/qemu/qemu/commit/fa4faba448046574c8c820098ed46c9a0b5589a6
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/helper.c

  Log Message:
  -----------
  target-mips: Use cpu_exec_interrupt qom hook

Cc: Aurelien Jarno <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Leon Alrae <address@hidden>
Tested-by: Leon Alrae <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 29cd33d3c71afca157fed001d0cb3b5fe28bf632
      
https://github.com/qemu/qemu/commit/29cd33d3c71afca157fed001d0cb3b5fe28bf632
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-microblaze/cpu-qom.h
    M target-microblaze/cpu.c
    M target-microblaze/helper.c

  Log Message:
  -----------
  target-microblaze: Use cpu_exec_interrupt qom hook

Cc: Edgar E. Iglesias <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: e9854c39452b293f883c2e9e1d30c9930b5a2c49
      
https://github.com/qemu/qemu/commit/e9854c39452b293f883c2e9e1d30c9930b5a2c49
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-lm32/cpu-qom.h
    M target-lm32/cpu.c
    M target-lm32/helper.c

  Log Message:
  -----------
  target-lm32: Use cpu_exec_interrupt qom hook

Cc: Michael Walle <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 458dd766565dad8cbd01861bdb337b0d129b185e
      
https://github.com/qemu/qemu/commit/458dd766565dad8cbd01861bdb337b0d129b185e
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-ppc/cpu-qom.h
    M target-ppc/cpu.h
    M target-ppc/excp_helper.c
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Use cpu_exec_interrupt qom hook

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


  Commit: 42f53fea9f5c3f02e52bd781559f92cb58fbe8a7
      
https://github.com/qemu/qemu/commit/42f53fea9f5c3f02e52bd781559f92cb58fbe8a7
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c
    M target-i386/cpu-qom.h
    M target-i386/cpu.c
    M target-i386/seg_helper.c

  Log Message:
  -----------
  target-i386: Use cpu_exec_interrupt qom hook

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


  Commit: 6a0fcbdf2de908e6ef910aaee778abe987e49d52
      
https://github.com/qemu/qemu/commit/6a0fcbdf2de908e6ef910aaee778abe987e49d52
  Author: Richard Henderson <address@hidden>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M cpu-exec.c

  Log Message:
  -----------
  cpu-exec: Do CPU_INTERRUPT_HALT unconditionally

The signal is currently checked by 10 targets, but only actually
raised by Sparc and ARM.  For the sake of one test-and-branch,
we can handle this generic bit generically.

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


Compare: https://github.com/qemu/qemu/compare/1ba50f4ea01b...6a0fcbdf2de9

reply via email to

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