All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/20] target/openrisc improvements
@ 2018-05-27 14:13 Richard Henderson
  2018-05-27 14:13 ` [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP Richard Henderson
                   ` (21 more replies)
  0 siblings, 22 replies; 38+ messages in thread
From: Richard Henderson @ 2018-05-27 14:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stafford Horne

This is almost a grab-bag of little improvements to the port.

patches 1-3:
  Fix singlestepping for gdbstub.  This has apparently never
  worked, as the first commit has the same bug of not advancing
  the pc when stepping.

patches 4-5:
  Exit the TB after l.mtspr insns.  In particular, storing to
  SR changes exception state so we want to return to the main
  loop to recognize any pending interrupts immediately.

patches 6-19:
  Reorganize TLB handling.  There is a fundamental bug that is
  fixed in patch 13.  However the bug has been hidden by extra
  TLB flushing elsewhere in the port.  I remove some unnecessary
  indirection that the port inherited from somewhere -- probably
  the MIPS port.  Finally, I present the QEMU TLB a unified view
  of the OpenRISC split I/D TLB.

patch 20:
  Split out disassembly from translation.

patch 21:
  Add qemu-or1k to qemu-binfmt-conf.sh.


r~


Richard Henderson (20):
  target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP
  target/openrisc: Use exit_tb instead of CPU_INTERRUPT_EXITTB
  target/openrisc: Fix singlestep_enabled
  target/openrisc: Link more translation blocks
  target/openrisc: Split out is_user
  target/openrisc: Exit the TB after l.mtspr
  target/openrisc: Form the spr index from tcg
  target/openrisc: Merge tlb allocation into CPUOpenRISCState
  target/openrisc: Remove indirect function calls for mmu
  target/openrisc: Merge mmu_helper.c into mmu.c
  target/openrisc: Reduce tlb to a single dimension
  target/openrisc: Fix tlb flushing in mtspr
  target/openrisc: Fix cpu_mmu_index
  target/openrisc: Use identical sizes for ITLB and DTLB
  target/openrisc: Stub out handle_mmu_fault for softmmu
  target/openrisc: Log interrupts
  target/openrisc: Increase the TLB size
  target/openrisc: Reorg tlb lookup
  target/openrisc: Add print_insn_or1k
  target/or1k: Add support in scripts/qemu-binfmt-conf.sh

 target/openrisc/cpu.h              |  61 +++---
 target/openrisc/helper.h           |   4 +-
 target/openrisc/cpu.c              |  16 +-
 target/openrisc/disas.c            | 171 +++++++++++++++++
 target/openrisc/interrupt.c        |  36 ++--
 target/openrisc/interrupt_helper.c |  35 +---
 target/openrisc/machine.c          |  39 +---
 target/openrisc/mmu.c              | 275 ++++++++++----------------
 target/openrisc/mmu_helper.c       |  40 ----
 target/openrisc/sys_helper.c       |  85 ++++----
 target/openrisc/translate.c        | 298 ++++++++++-------------------
 scripts/qemu-binfmt-conf.sh        |  10 +-
 target/openrisc/Makefile.objs      |   5 +-
 13 files changed, 492 insertions(+), 583 deletions(-)
 create mode 100644 target/openrisc/disas.c
 delete mode 100644 target/openrisc/mmu_helper.c

-- 
2.17.0

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

end of thread, other threads:[~2018-05-30 23:20 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-27 14:13 [Qemu-devel] [PATCH 00/20] target/openrisc improvements Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP Richard Henderson
2018-05-28  1:34   ` Philippe Mathieu-Daudé
2018-05-30 23:20   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 02/20] target/openrisc: Use exit_tb instead of CPU_INTERRUPT_EXITTB Richard Henderson
2018-05-30 23:13   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 03/20] target/openrisc: Fix singlestep_enabled Richard Henderson
2018-05-30 23:14   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 04/20] target/openrisc: Link more translation blocks Richard Henderson
2018-05-30 23:15   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 05/20] target/openrisc: Split out is_user Richard Henderson
2018-05-28  1:33   ` Philippe Mathieu-Daudé
2018-05-30 23:19   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 06/20] target/openrisc: Exit the TB after l.mtspr Richard Henderson
2018-05-30 23:15   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 07/20] target/openrisc: Form the spr index from tcg Richard Henderson
2018-05-28  1:31   ` Philippe Mathieu-Daudé
2018-05-28  2:56     ` Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 08/20] target/openrisc: Merge tlb allocation into CPUOpenRISCState Richard Henderson
2018-05-30 23:18   ` Stafford Horne
2018-05-27 14:13 ` [Qemu-devel] [PATCH 09/20] target/openrisc: Remove indirect function calls for mmu Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 10/20] target/openrisc: Merge mmu_helper.c into mmu.c Richard Henderson
2018-05-28  1:27   ` Philippe Mathieu-Daudé
2018-05-27 14:13 ` [Qemu-devel] [PATCH 11/20] target/openrisc: Reduce tlb to a single dimension Richard Henderson
2018-05-28  1:26   ` Philippe Mathieu-Daudé
2018-05-27 14:13 ` [Qemu-devel] [PATCH 12/20] target/openrisc: Fix tlb flushing in mtspr Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 13/20] target/openrisc: Fix cpu_mmu_index Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 14/20] target/openrisc: Use identical sizes for ITLB and DTLB Richard Henderson
2018-05-28  1:35   ` Philippe Mathieu-Daudé
2018-05-27 14:13 ` [Qemu-devel] [PATCH 15/20] target/openrisc: Stub out handle_mmu_fault for softmmu Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 16/20] target/openrisc: Log interrupts Richard Henderson
2018-05-28  1:24   ` Philippe Mathieu-Daudé
2018-05-27 14:13 ` [Qemu-devel] [PATCH 17/20] target/openrisc: Increase the TLB size Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 18/20] target/openrisc: Reorg tlb lookup Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 19/20] target/openrisc: Add print_insn_or1k Richard Henderson
2018-05-27 14:13 ` [Qemu-devel] [PATCH 20/20] target/or1k: Add support in scripts/qemu-binfmt-conf.sh Richard Henderson
2018-05-27 14:34 ` [Qemu-devel] [PATCH 00/20] target/openrisc improvements no-reply
2018-05-30 23:12 ` Stafford Horne

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.