Re: [Qemu-devel] [PATCH v2 1/4] target-mips: add CPU definition for MIPS32R5

2014-02-07 Thread Eric Johnson
Reviewed-by: Eric Johnson eric.john...@imgtec.com From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org [qemu-devel-bounces+eric.johnson=imgtec@nongnu.org] on behalf of Petar Jovanovic [petar.jovano...@rt-rk.com] Sent: Friday, January 24, 2014 8

Re: [Qemu-devel] [PATCH v2 2/4] target-mips: add support for CP0_Config4

2014-02-07 Thread Eric Johnson
Reviewed-by: Eric Johnson eric.john...@imgtec.com From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org [qemu-devel-bounces+eric.johnson=imgtec@nongnu.org] on behalf of Petar Jovanovic [petar.jovano...@rt-rk.com] Sent: Friday, January 24, 2014 8

Re: [Qemu-devel] [PATCH v2 4/4] target-mips: add user-mode FR switch support for MIPS32r5

2014-02-07 Thread Eric Johnson
Reviewed-by: Eric Johnson eric.john...@imgtec.com From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org [qemu-devel-bounces+eric.johnson=imgtec@nongnu.org] on behalf of Petar Jovanovic [petar.jovano...@rt-rk.com] Sent: Friday, January 24, 2014 8

Re: [Qemu-devel] [PATCH v2 3/4] target-mips: add support for CP0_Config5

2014-02-07 Thread Eric Johnson
Reviewed-by: Eric Johnson eric.john...@imgtec.com From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org [qemu-devel-bounces+eric.johnson=imgtec@nongnu.org] on behalf of Petar Jovanovic [petar.jovano...@rt-rk.com] Sent: Friday, January 24, 2014 8

Re: [Qemu-devel] [PATCH 2/3] target-mips: add support for CP0_Config5

2014-01-22 Thread Eric Johnson
Hi Petar, When Config5 exists, Config4 must exist. So it wouldn't be reserved anymore. You change does not seem to set Config3.M or Config4.M either. They must be set when Config5 is present. Eric -Original Message- From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org

Re: [Qemu-devel] [PATCH] target-mips: fix 34Kf configuration for DSP ASE

2013-08-01 Thread Eric Johnson
Hi Yongbok, You need to make Status.MX writeable as well. - .CP0_Status_rw_bitmask = 0x3678FF1F, + .CP0_Status_rw_bitmask = 0x3778FF1F, -Eric -Original Message- From: qemu-devel-bounces+eric.johnson=imgtec@nongnu.org [mailto:qemu-devel-

Re: [Qemu-devel] [ANNOUNCE] 1.5 development tree is now open

2013-02-15 Thread Eric Johnson
On 02/15/2013 03:41 PM, Anthony Liguori wrote: Happy hacking! Regards, Anthony Liguori We might want to update the planning section of http://wiki.qemu.org/Contribute/StartHere to link to 1.4 and 1.5. I don't think I have a Wiki account otherwise I would just fix it myself. -Eric

Re: [Qemu-devel] [PATCH] target-mips: Replace macros by inline functions

2013-01-07 Thread Eric Johnson
= FP_TO_INT32_OVERFLOW; Reviewed-by: Eric Johnson er...@mips.com

Re: [Qemu-devel] [PATCH qom-cpu 2/7] target-mips: Clean up mips_cpu_map_tc() documentation

2013-01-07 Thread Eric Johnson
by walking the list of CPUMIPSStates. */ static CPUMIPSState *mips_cpu_map_tc(CPUMIPSState *env, int *tc) Reviewed-by: Eric Johnson er...@mips.com

Re: [Qemu-devel] [PATCH] target-mips: Fix helper and tests for dot/cross-dot product instructions

2013-01-07 Thread Eric Johnson
; -resultl = 0xD751F050; +resulth = 0x05; +resultl = 0xE72F050; __asm (mthi %0, $ac1\n\t mtlo %1, $ac1\n\t Reviewed-by: Eric Johnson er...@mips.com

[Qemu-devel] [PATCH] target-mips: Allow DSP access to be disabled once enabled.

2013-01-07 Thread Eric Johnson
Clear the DSP hflags at the start of compute_hflags. Otherwise access is not properly disabled once enabled. Signed-off-by: Eric Johnson er...@mips.com --- target-mips/cpu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-mips/cpu.h b/target-mips/cpu.h index

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Eric Johnson
On 01/03/2013 09:24 AM, Alexander Graf wrote: On 03.01.2013, at 18:19, Peter Maydell wrote: On 3 January 2013 13:17, Alexander Grafag...@suse.de wrote: MIPS only supports 31 bits of virtual address space for user space, so let's make sure we stay within that limit with our preallocated

Re: [Qemu-devel] [PATCH] linux-user: fix mips 32-on-64 prealloc case

2013-01-03 Thread Eric Johnson
On 01/03/2013 10:50 AM, Richard Henderson wrote: On 01/03/2013 10:39 AM, Eric Johnson wrote: While making this change please keep in mind that newer MIPS32 processors allow more than 31 bits of user address space (up to 3.5 GiB) if they have Enhanced Virtual Address support. Interesting. Well

[Qemu-devel] [PATCH] target-mips: Fix seg fault for LUI when MIPS_DEBUG_DISAS==1.

2012-11-09 Thread Eric Johnson
The call to gen_logic_imm for OPC_LUI passes -1 for rs. This causes the MIPS_DEBUG statement to seg fault due to the deference of regnames[rs]. This patch fixes that. Signed-off-by: Eric Johnson er...@mips.com --- target-mips/translate.c | 18 +++--- 1 files changed, 11

[Qemu-devel] [PATCH] Allow microMIPS SWP and SDP to have RD equal to BASE.

2011-09-17 Thread Eric Johnson
The microMIPS SWP and SDP instructions do not modify GPRs. So their behavior is well defined when RD equals BASE. The MIPS Architecture Verification Programs (AVPs) check that they work as expected. This is required for AVPs to pass. Signed-off-by: Eric Johnson er...@mips.com --- target-mips

[Qemu-devel] [PATCH] Fix compile when MIPS_DEBUG_DISAS is defined.

2011-09-17 Thread Eric Johnson
When MIPS_DEBUG_DISAS is defined the gen_logic_imm, gen_slt_imm, gen_cond_move, gen_logic and gen_slt functions cause errors because ctx is not defined. Fixed the functions by passing in the DisasContext. Signed-off-by: Eric Johnson er...@mips.com --- target-mips/translate.c | 72