All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] TriCore exception patches
@ 2016-02-19 13:43 Bastian Koppelmann
  2016-02-19 13:43 ` [Qemu-devel] [PATCH v3 1/4] target-tricore: Add trap handling & SOVF/OVF traps Bastian Koppelmann
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bastian Koppelmann @ 2016-02-19 13:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: rth

Hi,

this series add the infrastructure to generate and handle tricore exceptions
and adds three types of exceptions (context management,illegal opcodes, and
register-pair) which I tested so far. However more patches will follow that add
the missing exceptions that make sense to QEMU.

Cheers,
Bastian 

v2 -> v3:
     - raise_exception_sync_internal now directly modifies PC without
       using the do_interrupt hook
     - remove do_interrupt hook
     - add fcd_pc to raise_exception_sync_internal to be used by
       FCD traps
     - add raise_exception_sync_helper wrapper to be used by
       helper function that generate traps such that
       raise_exception_sync_internal is only directly called for FCD traps
     - add the generation of SOVF/OVF traps such that generate_trap()
       is used to avoid a unused function compiler warning.

v1 -> v2:
    - replace helper raise_exception_error by raise_exception_sync,
      that takes care of saving the pre-interrupt state for synchronous
      exceptions.
    - rewrite of generate_trap() in translate.c. It directly
      calls the raise_exception_sync helper instead of saving the
      pre-interrupt state itself.    
    - drop PATCH[2/5]: target-tricore: Save the pc before CSA operations for exceptions


Bastian Koppelmann (4):
  target-tricore: Add trap handling & SOVF/OVF traps
  target-tricore: add context managment trap generation
  target-tricore: add illegal opcode trap generation
  target-tricore: add opd trap generation

 target-tricore/cpu.h       |   1 +
 target-tricore/helper.h    |   3 +
 target-tricore/op_helper.c | 155 ++++++++++++++-
 target-tricore/translate.c | 483 ++++++++++++++++++++++++++++++++++++++++++---
 4 files changed, 610 insertions(+), 32 deletions(-)

-- 
2.7.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-23 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-19 13:43 [Qemu-devel] [PATCH v3 0/4] TriCore exception patches Bastian Koppelmann
2016-02-19 13:43 ` [Qemu-devel] [PATCH v3 1/4] target-tricore: Add trap handling & SOVF/OVF traps Bastian Koppelmann
2016-02-19 13:43 ` [Qemu-devel] [PATCH v3 2/4] target-tricore: add context managment trap generation Bastian Koppelmann
2016-02-19 13:43 ` [Qemu-devel] [PATCH v3 3/4] target-tricore: add illegal opcode " Bastian Koppelmann
2016-02-19 13:43 ` [Qemu-devel] [PATCH v3 4/4] target-tricore: add opd " Bastian Koppelmann
2016-02-23 19:53 ` [Qemu-devel] [PATCH v3 0/4] TriCore exception patches Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.