All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 00/38] target-microblaze: Add support for Extended Addressing
@ 2018-05-16 18:51 Edgar E. Iglesias
  2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 01/38] target-microblaze: dec_load: Use bool instead of unsigned int Edgar E. Iglesias
                   ` (36 more replies)
  0 siblings, 37 replies; 63+ messages in thread
From: Edgar E. Iglesias @ 2018-05-16 18:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, richard.henderson, frederic.konrad, alistair,
	frasse.iglesias, sstabellini, sai.pavan.boddu, edgar.iglesias

From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

This series adds support for Extended Addressing to our MicroBlaze
models. It adds both the non-MMU load/store EA and the extended MMU
addressing.

There are several ways to implement this but since there are further
64-bit extensions in the pipe, I've chosen to convert the cpu_SR
special regs to 64-bit. Both non-EA and EA enabled cores run out of
the same build with TARGET_LONG_BITS=64.

Comments?

The following lacks review:
$ grep -L Reviewed v3/patches/*
v3/patches/0000-cover-letter.patch
v3/patches/0028-target-microblaze-dec_msr-Plug-a-temp-leak.patch
v3/patches/0029-target-microblaze-Add-support-for-extended-access-to.patch
v3/patches/0035-target-microblaze-Convert-env_btarget-to-i64.patch
v3/patches/0036-target-microblaze-Use-tcg_gen_movcond-in-eval_cond_j.patch
v3/patches/0037-target-microblaze-cpu_mmu_index-Fixup-indentation.patch
v3/patches/0038-target-microblaze-Consolidate-MMU-enabled-checks.patch

Thanks & Best regards,
Edgar

ChangeLog:

v2 -> v3:
* Add patch to consolidate MMU enabled checks
* Remove patch to convert env_btaken to 64bits
* Add patch to plug tcg_const leakage
* Fix TLBLO access patch to avoid leaking tcg consts

v1 -> v2:
* Add patch to simplify address computation using tcg_gen_addi_i32()
* Add patches to cleanup eval_cond_jmp using tcg_gen_movcond_i32()
* Add patch to cleanup microblaze MMU logs
* Correct trap_userspace() usage when adding Extended Addressing
* Correct name for special register sr13 to redr


Edgar E. Iglesias (38):
  target-microblaze: dec_load: Use bool instead of unsigned int
  target-microblaze: dec_store: Use bool instead of unsigned int
  target-microblaze: compute_ldst_addr: Use bool instead of int
  target-microblaze: Fallback to our latest CPU version
  target-microblaze: Correct special register array sizes
  target-microblaze: Correct the PVR array size
  target-microblaze: Tighten up TCGv_i32 vs TCGv type usage
  target-microblaze: Remove USE_MMU PVR checks
  target-microblaze: Conditionalize setting of PVR11_USE_MMU
  target-microblaze: Bypass MMU with MMU_NOMMU_IDX
  target-microblaze: Make compute_ldst_addr always use a temp
  target-microblaze: Remove pointer indirection for ld/st addresses
  target-microblaze: Use TCGv for load/store addresses
  target-microblaze: Name special registers we support
  target-microblaze: Break out trap_userspace()
  target-microblaze: Break out trap_illegal()
  target-microblaze: dec_msr: Use bool and extract32
  target-microblaze: dec_msr: Reuse more code when reg-decoding
  target-microblaze: dec_msr: Fix MTS to FSR
  target-microblaze: Make special registers 64-bit
  target-microblaze: Setup for 64bit addressing
  target-microblaze: Add Extended Addressing
  target-microblaze: Implement MFSE EAR
  target-microblaze: mmu: Add R_TBLX_MISS macros
  target-microblaze: mmu: Remove unused register state
  target-microblaze: mmu: Prepare for 64-bit addresses
  target-microblaze: mmu: Add a configurable output address mask
  target-microblaze: dec_msr: Plug a temp leak
  target-microblaze: Add support for extended access to TLBLO
  target-microblaze: Allow address sizes between 32 and 64 bits
  target-microblaze: Simplify address computation using
    tcg_gen_addi_i32()
  target-microblaze: mmu: Cleanup debug log messages
  target-microblaze: Use table based condition-codes conversion
  target-microblaze: Remove argument b in eval_cc()
  target-microblaze: Convert env_btarget to i64
  target-microblaze: Use tcg_gen_movcond in eval_cond_jmp
  target-microblaze: cpu_mmu_index: Fixup indentation
  target-microblaze: Consolidate MMU enabled checks

 configure                        |   1 +
 linux-user/microblaze/cpu_loop.c |   4 +-
 target/microblaze/cpu.c          |  30 +-
 target/microblaze/cpu.h          |  34 +-
 target/microblaze/helper.c       |  32 +-
 target/microblaze/helper.h       |   8 +-
 target/microblaze/mmu.c          |  81 ++--
 target/microblaze/mmu.h          |  17 +-
 target/microblaze/op_helper.c    |  30 +-
 target/microblaze/translate.c    | 930 +++++++++++++++++++--------------------
 10 files changed, 598 insertions(+), 569 deletions(-)

-- 
2.14.1

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

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

Thread overview: 63+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16 18:51 [Qemu-devel] [PATCH v3 00/38] target-microblaze: Add support for Extended Addressing Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 01/38] target-microblaze: dec_load: Use bool instead of unsigned int Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 02/38] target-microblaze: dec_store: " Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 03/38] target-microblaze: compute_ldst_addr: Use bool instead of int Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 04/38] target-microblaze: Fallback to our latest CPU version Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 05/38] target-microblaze: Correct special register array sizes Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 06/38] target-microblaze: Correct the PVR array size Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 07/38] target-microblaze: Tighten up TCGv_i32 vs TCGv type usage Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 08/38] target-microblaze: Remove USE_MMU PVR checks Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 09/38] target-microblaze: Conditionalize setting of PVR11_USE_MMU Edgar E. Iglesias
2018-05-17 17:26   ` Richard Henderson
2018-05-17 18:00     ` Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 10/38] target-microblaze: Bypass MMU with MMU_NOMMU_IDX Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 11/38] target-microblaze: Make compute_ldst_addr always use a temp Edgar E. Iglesias
2018-05-17 14:39   ` Philippe Mathieu-Daudé
2018-05-17 16:41     ` Edgar E. Iglesias
2018-05-17 17:14       ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 12/38] target-microblaze: Remove pointer indirection for ld/st addresses Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 13/38] target-microblaze: Use TCGv for load/store addresses Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 14/38] target-microblaze: Name special registers we support Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 15/38] target-microblaze: Break out trap_userspace() Edgar E. Iglesias
2018-05-17 14:52   ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 16/38] target-microblaze: Break out trap_illegal() Edgar E. Iglesias
2018-05-17 14:56   ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 17/38] target-microblaze: dec_msr: Use bool and extract32 Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 18/38] target-microblaze: dec_msr: Reuse more code when reg-decoding Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 19/38] target-microblaze: dec_msr: Fix MTS to FSR Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 20/38] target-microblaze: Make special registers 64-bit Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 21/38] target-microblaze: Setup for 64bit addressing Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 23/38] target-microblaze: Implement MFSE EAR Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 24/38] target-microblaze: mmu: Add R_TBLX_MISS macros Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 25/38] target-microblaze: mmu: Remove unused register state Edgar E. Iglesias
2018-05-17 15:15   ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 26/38] target-microblaze: mmu: Prepare for 64-bit addresses Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 27/38] target-microblaze: mmu: Add a configurable output address mask Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 28/38] target-microblaze: dec_msr: Plug a temp leak Edgar E. Iglesias
2018-05-17 13:58   ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 29/38] target-microblaze: Add support for extended access to TLBLO Edgar E. Iglesias
2018-05-16 23:48   ` Alistair Francis
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 30/38] target-microblaze: Allow address sizes between 32 and 64 bits Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 31/38] target-microblaze: Simplify address computation using tcg_gen_addi_i32() Edgar E. Iglesias
2018-05-17 18:19   ` Philippe Mathieu-Daudé
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 32/38] target-microblaze: mmu: Cleanup debug log messages Edgar E. Iglesias
2018-05-16 23:42   ` Alistair Francis
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 33/38] target-microblaze: Use table based condition-codes conversion Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 34/38] target-microblaze: Remove argument b in eval_cc() Edgar E. Iglesias
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 35/38] target-microblaze: Convert env_btarget to i64 Edgar E. Iglesias
2018-05-17 14:28   ` Philippe Mathieu-Daudé
2018-05-17 17:34   ` Richard Henderson
2018-05-17 18:03     ` Edgar E. Iglesias
2018-05-17 20:48       ` Richard Henderson
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 36/38] target-microblaze: Use tcg_gen_movcond in eval_cond_jmp Edgar E. Iglesias
2018-05-17 14:22   ` Philippe Mathieu-Daudé
2018-05-17 14:48     ` Philippe Mathieu-Daudé
2018-05-17 16:42       ` Edgar E. Iglesias
2018-05-17 17:24         ` Philippe Mathieu-Daudé
2018-05-17 17:36   ` Richard Henderson
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 37/38] target-microblaze: cpu_mmu_index: Fixup indentation Edgar E. Iglesias
2018-05-16 23:49   ` Alistair Francis
2018-05-17 17:38   ` Richard Henderson
2018-05-16 18:51 ` [Qemu-devel] [PATCH v3 38/38] target-microblaze: Consolidate MMU enabled checks Edgar E. Iglesias
2018-05-16 23:51   ` Alistair Francis
2018-05-17 17:39   ` 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.