Re: [Qemu-devel] [PATCH v4 0/4] MIPS64 user mode emulation in QEMU

2012-02-14 Thread Khansa Butt
Ping? On Tue, Jan 3, 2012 at 9:54 AM, kha...@kics.edu.pk wrote: From: Khansa Butt kha...@kics.edu.pk [sorry version missed in previous set] This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. In previous patch set we were including

[Qemu-devel] [PATCH v4 0/4] MIPS64 user mode emulation in QEMU

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. In previous patch set we were including Cavium specific instructions along with Cavium specifc registers in UME. Because of these register fields we

[Qemu-devel] [PATCH 2/4] target-mips: Enable 64 bit user mode

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not get treated as 32 bit code, see gen_op_addr_add() in translate.c. Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |3 +++ 1

[Qemu-devel] [PATCH v4 0/4] MIPS64 user mode emulation in QEMU

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk [sorry version missed in previous set] This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. In previous patch set we were including Cavium specific instructions along with Cavium specifc registers in UME

[Qemu-devel] [PATCH v4 1/4] linux-user: Add support for MIPS64

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This patch incorporates 1)default configs for mips64 2)updated target-list with mips64-linux-user 3)syscall differences: Linux 64-bit syscalls have different number range and because of n64 ABI, 8 argument registers are suffient for do_syscall() 4)define

[Qemu-devel] [PATCH v4 3/4] target-mips: Fix FPU reset

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk in translate_init.c fpu_init() initializes active_fpu for given cpu model afterwards cpu_reset() resets all the members upto breakpoints due to this whatever the value of cpu_model-CR1_fcr0 was , the value of env-active_fpu.fcr0 is zero now. This patch

[Qemu-devel] [PATCH 3/4] target-mips: Fix FPU reset

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk in translate_init.c fpu_init() initializes active_fpu for given cpu model afterwards cpu_reset() resets all the members upto breakpoints due to this whatever the value of cpu_model-CR1_fcr0 was , the value of env-active_fpu.fcr0 is zero now. This patch

[Qemu-devel] [PATCH 1/4] linux-user: Add support for MIPS64

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This patch incorporates 1)default configs for mips64 2)updated target-list with mips64-linux-user 3)syscall differences: Linux 64-bit syscalls have different number range and because of n64 ABI, 8 argument registers are suffient for do_syscall() 4)define

[Qemu-devel] [PATCH v4 2/4] target-mips: Enable 64 bit user mode

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not get treated as 32 bit code, see gen_op_addr_add() in translate.c. Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |3 +++ 1

[Qemu-devel] [PATCH v4 4/4] linux-user: Implement signal handling for mips64

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This patch includes sigcontext for mips64 suggested by Andreas Färber and sa_flags byte swap fix by Richard Henderson setup_frame() and do_sigreturn need non RT syscall numbers which do not exist in linux 64 bit syscalls. so both function should have

[Qemu-devel] [PATCH 4/4] linux-user: Implement signal handling for mips64

2012-01-02 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This patch includes sigcontext for mips64 suggested by Andreas Färber and sa_flags byte swap fix by Richard Henderson setup_frame() and do_sigreturn need non RT syscall numbers which do not exist in linux 64 bit syscalls. so both function should have

Re: [Qemu-devel] [PATCH 2/3] target-mips:enabling of 64 bit user mode and floating point operations MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not

2011-12-29 Thread Khansa Butt
On Wed, Dec 14, 2011 at 10:05 PM, Richard Henderson r...@twiddle.net wrote: On 12/08/2011 04:04 PM, Andreas Färber wrote: +    /* if cpu has FPU, MIPS_HFLAG_F64 must be included in env-hflags +       so that floating point operations can be emulated */ +    env-active_fpu.fcr0 =

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-29 Thread Khansa Butt
On Wed, Dec 14, 2011 at 9:20 PM, Richard Henderson r...@twiddle.net wrote: On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: +#if defined(TARGET_MIPS64) +        /* tswapal() do 64 bit swap in case of MIPS64 but +           we need 32 bit swap as sa_flags is 32 bit */ +        k-sa_flags =

[Qemu-devel] [PATCH 2/3] target-mips:enabling of 64 bit user mode and floating point operations MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not tre

2011-12-29 Thread Khansa Butt
On Thu, Dec 29, 2011 at 4:17 PM, Andreas Färber andreas.faer...@web.de wrote: Am 29.12.2011 08:55, schrieb Khansa Butt: On Fri, Dec 9, 2011 at 5:04 AM, Andreas Färber andreas.faer...@web.de wrote: +    /* if cpu has FPU, MIPS_HFLAG_F64 must be included in env-hflags +       so that floating

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-28 Thread Khansa Butt
On Wed, Dec 14, 2011 at 9:20 PM, Richard Henderson r...@twiddle.net wrote: On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: +#if defined(TARGET_MIPS64) +        /* tswapal() do 64 bit swap in case of MIPS64 but +           we need 32 bit swap as sa_flags is 32 bit */ +        k-sa_flags =

Re: [Qemu-devel] [PATCH 2/3] target-mips:enabling of 64 bit user mode and floating point operations MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not

2011-12-28 Thread Khansa Butt
after target-mips:). Am 08.12.2011 06:25, schrieb kha...@kics.edu.pk: From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Abdul Qadeer qad...@kics.edu.pk ---  target-mips/translate.c |    4  1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target

[Qemu-devel] MIIPS64el compiler

2011-12-26 Thread Khansa Butt
hi any one of you know about MIPS64el cross compiler? I would appreciate your response.. Thanks

[Qemu-devel] [PATCH 0/3] MIPS64 user mode emulation in QEMU

2011-12-07 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. In previous patch set we were including Cavium specific instructions along with Cavium specifc registers in UME. Because of these register fields we

[Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-12-07 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH 2/3] target-mips:enabling of 64 bit user mode and floating point operations MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not tre

2011-12-07 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Abdul Qadeer qad...@kics.edu.pk --- target-mips/translate.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..452a63b 100644 --- a/target-mips

[Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-07 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Ehsan Ul Haq ehsan.ul...@kics.edu.pk --- linux-user/signal.c | 429 +-- 1 files changed, 417 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 78e3380

[Qemu-devel] [PATCH 0/3] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-11-30 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21

[Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-11-30 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH 2/3] target-mips:enabling of 64 bit user mode and floating point operations MIPS_HFLAG_UX is included in env-hflags so that the address computation for LD instruction does not tre

2011-11-30 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..452a63b 100644 --- a/target-mips

[Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-11-30 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/signal.c | 429 +-- 1 files changed, 417 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 78e3380

Re: [Qemu-devel] [PATCH v3 5/6] target-mips: Adding support for Cavium specific instructions

2011-11-30 Thread Khansa Butt
On Wed, Nov 30, 2011 at 4:54 PM, Andreas Färber andreas.faer...@web.de wrote: Am 22.11.2011 09:31, schrieb Khansa Butt: On Tue, Nov 1, 2011 at 1:24 AM, Andreas Färber andreas.faer...@web.de wrote: Am 28.10.2011 06:42, schrieb Khansa Butt: On Sat, Oct 22, 2011 at 4:36 PM, Andreas Färber

Re: [Qemu-devel] [PATCH v3 5/6] target-mips: Adding support for Cavium specific instructions

2011-11-22 Thread Khansa Butt
On Tue, Nov 1, 2011 at 1:24 AM, Andreas Färber andreas.faer...@web.de wrote: Am 28.10.2011 06:42, schrieb Khansa Butt: On Sat, Oct 22, 2011 at 4:36 PM, Andreas Färber andreas.faer...@web.de mailto:andreas.faer...@web.de wrote:     Am 22.10.2011 12:11, schrieb kha...@kics.edu.pk

Re: [Qemu-devel] [PATCH v3 5/6] target-mips: Adding support for Cavium specific instructions

2011-10-27 Thread Khansa Butt
On Sat, Oct 22, 2011 at 4:36 PM, Andreas Färber andreas.faer...@web.dewrote: Am 22.10.2011 12:11, schrieb kha...@kics.edu.pk: From: Khansa Butt kha...@kics.edu.pk Commit message should mention here at least that new registers are introduced and that load/save format is being changed

[Qemu-devel] [PATCH v3 2/6] target-mips:enabling of 64 bit user mode and floating point operations

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..0550333 100644 --- a/target-mips/translate.c

[Qemu-devel] [PATCH v3 3/6] linux-user:Signal handling for MIPS64

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/signal.c | 438 +-- 1 files changed, 426 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 59c3c88

[Qemu-devel] [PATCH v3 1/6] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH v3 6/6] Addition of Cavium instructions in disassembler

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- mips-dis.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/mips-dis.c b/mips-dis.c index e3a6e0b..96ab1e8 100644 --- a/mips-dis.c

[Qemu-devel] [PATCH v3 5/6] target-mips: Adding support for Cavium specific instructions

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk Signed-off-by: Ehsan Ul Haq ehsan.ul...@kics.edu.pk Signed-off-by: Abdul Qadeer qad...@kics.edu.pk Signed-off-by: Abdul Waheed awah...@kics.edu.pk --- target-mips/cpu.h |7 + target-mips/helper.h

[Qemu-devel] [PATCH v3 0/6] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. Sorry Richard! gen_set was missed. v1 contains: * SEQI and SEQ related changes specified by Richard Henderson * Fix issues related to coding style

[Qemu-devel] [PATCH v3 4/6] target-mips:Octeon cpu definition

2011-10-22 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/mips-defs.h |2 ++ target-mips/translate_init.c | 24 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/target-mips/mips-defs.h b/target-mips/mips

[Qemu-devel] [PATCH v2 0/6] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. v1 contains: * SEQI related changes specified by Richard Henderson * Fix issues related to coding style, typos and misleading comments * Cavium

[Qemu-devel] [PATCH v2 3/6] linux-user:Signal handling for MIPS64

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/signal.c | 438 +-- 1 files changed, 426 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 59c3c88

[Qemu-devel] [PATCH v2 6/6] Addition of Cavium instructions in disassembler

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- mips-dis.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/mips-dis.c b/mips-dis.c index e3a6e0b..96ab1e8 100644 --- a/mips-dis.c

[Qemu-devel] [PATCH v2 1/6] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH v2 5/6] target-mips: Support for Cavium specific instructions

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk Signed-off-by: Ehsan Ul Haq ehsan.ul...@kics.edu.pk Signed-off-by: Abdul Qadeer qad...@kics.edu.pk Signed-off-by: Abdul Waheed awah...@kics.edu.pk --- target-mips/cpu.h |7 + target-mips/helper.h

[Qemu-devel] [PATCH v2 0/6] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. v1 contains: * SEQI related changes specified by Richard Henderson * Fix issues related to coding style, typos and misleading comments * Cavium

[Qemu-devel] [PATCH v2 4/6] target-mips:Octeon cpu definition

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/mips-defs.h |2 ++ target-mips/translate_init.c | 24 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/target-mips/mips-defs.h b/target-mips/mips

[Qemu-devel] [PATCH v2 2/6] target-mips:enabling of 64 bit user mode and floating point operations

2011-10-21 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..0550333 100644 --- a/target-mips/translate.c

[Qemu-devel] [PATCH v1 0/6] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. v1 contains: * SEQI related changes specified by Richard Henderson * Fix issues related to coding style, typos and misleading comments * Cavium

[Qemu-devel] [PATCH v1 1/6] linux-user: Support for MIPS64 user mode emulation in QEMU

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH v1 3/6] linux-user: Signal handling for MIPS64

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/signal.c | 438 +-- 1 files changed, 426 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 59c3c88

[Qemu-devel] [PATCH v1 2/6] target-mips: Enabling of 64 bit user mode and floating point operations

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..0550333 100644 --- a/target-mips/translate.c

[Qemu-devel] [PATCH v1 4/6] target-mips: Octeon cpu definition

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/mips-defs.h |2 ++ target-mips/translate_init.c | 24 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/target-mips/mips-defs.h b/target-mips/mips

[Qemu-devel] [PATCH v1 5/6] target-mips: Support for Cavium specific instructions

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk Signed-off-by: Ehsan Ul Haq ehsan.ul...@kics.edu.pk Signed-off-by: Abdul Qadeer qad...@kics.edu.pk Signed-off-by: Abdul Waheed awah...@kics.edu.pk --- target-mips/cpu.h |7 + target-mips/helper.h

[Qemu-devel] [PATCH v1 6/6] Addition of Cavium instructions in disassembler

2011-10-01 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- mips-dis.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/mips-dis.c b/mips-dis.c index e3a6e0b..96ab1e8 100644 --- a/mips-dis.c

[Qemu-devel] [PATCH 7/7] Enable fork and MIPS64 specific changes in mq_open syscall

2011-09-27 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure|1 + linux-user/syscall.c | 11 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 5e45a43..8d39fda 100755 --- a/configure

[Qemu-devel] [PATCH 0/7] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. This Patch series add support of MIPS64 user mode emulation in QEMU. Along with we implemented Cavium specific instructions which We will use in SME

[Qemu-devel] [PATCH 1/7] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH 2/7] target-mips:enabling of 64 bit user mode and floating point operations

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/translate.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d5b1c76..0550333 100644 --- a/target-mips/translate.c

[Qemu-devel] [PATCH 3/7] linux-user:Signal handling for MIPS64

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/signal.c | 438 +-- 1 files changed, 426 insertions(+), 12 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 59c3c88

[Qemu-devel] [PATCH 4/7] target-mips:Octeon cpu definition

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/mips-defs.h |2 ++ target-mips/translate_init.c | 24 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/target-mips/mips-defs.h b/target-mips/mips

[Qemu-devel] [PATCH 5/7] target-mips:Support for Cavium specific instructions

2011-09-26 Thread khansa
From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/cpu.h |7 + target-mips/helper.h|5 + target-mips/machine.c | 12 ++ target-mips/op_helper.c | 72 target-mips

[Qemu-devel] [PATCH 6/7] Addition of Cavium instructions in disassembler

2011-09-26 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- mips-dis.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/mips-dis.c b/mips-dis.c index e3a6e0b..96ab1e8 100644 --- a/mips-dis.c

[Qemu-devel] cross compiler for MIPS64

2011-09-09 Thread Khansa Butt
Hi I'm working on MIPS64 emulation and I need cross compiler for MIPS64. would you please guide me in this regard?. Is there any cross compiler exist or I have to make it from scratch? thanks

Re: [Qemu-devel] [PATCH 4/4] Addition of Cavium instruction in disassembler

2011-08-17 Thread Khansa Butt
On Mon, Aug 15, 2011 at 9:37 PM, Richard Henderson r...@twiddle.net wrote: On 08/15/2011 04:25 AM, kha...@kics.edu.pk wrote: index 1334b8e..0137657 100644 --- a/disas.c +++ b/disas.c @@ -140,6 +140,7 @@ print_insn_thumb1(bfd_vma pc, disassemble_info *info) i386 - nonzero means 16

Re: [Qemu-devel] [PATCH 2/4] Octeon cpu definitions in target-mips and Octeon specific changes in set_thread_area syscall

2011-08-17 Thread Khansa Butt
On Mon, Aug 15, 2011 at 8:43 PM, Richard Henderson r...@twiddle.net wrote: On 08/15/2011 04:25 AM, kha...@kics.edu.pk wrote: ((CPUMIPSState *) cpu_env)-tls_value = arg1; + if (((CPUMIPSState *) cpu_env)-insn_flags CPU_OCTEON) { + /* tls entry is moved to k0 so that

[Qemu-devel] [PATCH 0/4] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-08-15 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. Cavium Networks's Octeon processors are based on MIPS64r2 We have Implemented 27 user mode Cavium specific instructions. Richard Henderson told me

[Qemu-devel] [PATCH 1/4] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-08-15 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH 2/4] Octeon cpu definitions in target-mips and Octeon specific changes in set_thread_area syscall

2011-08-15 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- linux-user/syscall.c |5 + target-mips/mips-defs.h |2 ++ target-mips/translate_init.c | 24 3 files changed, 31 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 3/4] target-mips:Support for Cavium specific instructions

2011-08-15 Thread khansa
From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/cpu.h |7 + target-mips/helper.h|5 + target-mips/machine.c | 12 ++ target-mips/op_helper.c | 72 target-mips

[Qemu-devel] [PATCH 4/4] Addition of Cavium instruction in disassembler

2011-08-15 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- disas.c |4 +++ mips-dis.c | 61 +++ target-mips/translate.c |3 ++ 3 files changed, 68 insertions(+), 0 deletions(-) diff

Re: [Qemu-devel] [PATCH 3/3] target-mips:Support for Cavium specific instructions

2011-08-13 Thread Khansa Butt
On Thu, Aug 4, 2011 at 4:22 PM, Peter Maydell peter.mayd...@linaro.orgwrote: On 5 July 2011 10:19, kha...@kics.edu.pk wrote: --- host-utils.c|1 + target-mips/cpu.h |7 + target-mips/helper.h|5 + target-mips/op_helper.c | 67 +++

Re: [Qemu-devel] Looking for MIPS Maintainer

2011-08-03 Thread Khansa Butt
For Cavium Specific instructions, please see notes in patch 0 and give your comments on target-mips patches. Thanks. On Wed, Aug 3, 2011 at 6:20 PM, Rhonda Wittels rho...@codesourcery.comwrote: On 8/3/2011 6:20 AM, Khansa Butt wrote: Hi! we are waiting for approval of our Patches for MIPS64

Re: [Qemu-devel] [PATCH 0/3] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-07-12 Thread Khansa Butt
, Riku, Nathan and other friends and send the patches on Jul 5. Please review the patch series and give your feedback in the form of comments and suggestions Thanks On Tue, Jul 5, 2011 at 2:19 PM, kha...@kics.edu.pk wrote: From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq

[Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-07-05 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- configure |1 + default-configs/mips64-linux-user.mak |1 + linux-user/main.c | 21 +++-- linux-user/mips64/syscall.h |2

[Qemu-devel] [PATCH 0/3] MIPS64 user mode emulation in QEMU with Cavium specific instruction support

2011-07-05 Thread khansa
From: Khansa Butt kha...@kics.edu.pk This is the team work of Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt from HPCN Lab KICS UET Lahore. Cavium Networks's Octeon processors are based on MIPS64r2 We have Implemented 27 user mode Cavium specific instructions. Richard Henderson told

[Qemu-devel] [PATCH 2/3] target-mips:Adding Octeon cpu definitions

2011-07-05 Thread khansa
From: Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- target-mips/mips-defs.h |2 ++ target-mips/translate.c |1 + target-mips/translate_init.c | 24 3 files changed, 27 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 3/3] target-mips:Support for Cavium specific instructions

2011-07-05 Thread khansa
From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Signed-off-by: Khansa Butt kha...@kics.edu.pk --- host-utils.c|1 + target-mips/cpu.h |7 + target-mips/helper.h|5 + target-mips/op_helper.c | 67 +++ target-mips/translate.c

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-06-16 Thread Khansa Butt
This is the case for 64 bit guest user mode static binary on 32 bit host. Dynamically linked binary has not this problem see in elfload.c:load_elf_image() for (i = 0; i ehdr-e_phnum; ++i) { if(phdr[i].p_type == PT_INTERP) dyn_link = 1; if (phdr[i].p_type == PT_LOAD) {

[Qemu-devel] [Bug 796480] [NEW] Addresses with 4GB differences are consider as one single address in QEMU

2011-06-13 Thread Khansa Butt
Public bug reported: THIS IS THE ISSUE OF USER MODE EMULATION Information about guest and host ** guest: 64 bit x86 user mode binary host: 32 bit Linux OS uname -a :Linux KICS-HPCNL-32blue 2.6.33.3-85.fc13.i686.PAE #1 SMP architecture: intel64 Bug Description

[Qemu-devel] [Bug 796480] Re: Addresses with 4GB differences are consider as one single address in QEMU

2011-06-13 Thread Khansa Butt
** Description changed: THIS IS THE ISSUE OF USER MODE EMULATION Information about guest and host ** guest: 64 bit x86 user mode binary host: 32 bit Linux OS uname -a :Linux KICS-HPCNL-32blue 2.6.33.3-85.fc13.i686.PAE #1 SMP architecture: intel64

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-06-08 Thread Khansa Butt
please see inline comments at the end. On Fri, Apr 29, 2011 at 2:01 PM, Aurelien Jarno aurel...@aurel32.netwrote: On Mon, Apr 25, 2011 at 04:54:19PM +0500, Khansa Butt wrote: please see inline comments highlighted in red color. On Wed, Apr 13, 2011 at 2:32 AM, Aurelien Jarno aurel

[Qemu-devel] Cavium-Octeon support in QEMU

2011-05-05 Thread Khansa Butt
hi I have sent corrected patches regarding MIPS64 user mode emulation with Octeon support. But i got no further review on these Patches the date of mailed patches is 29th of April. the subjects of my mails are as follow *[PATCH 1/3](Corrected version) linux-user:Support for MIPS64 user mode

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-05-03 Thread Khansa Butt
condition of for loop some how so that one more iteration will run for the last address. On Fri, Apr 29, 2011 at 2:01 PM, Aurelien Jarno aurel...@aurel32.netwrote: On Mon, Apr 25, 2011 at 04:54:19PM +0500, Khansa Butt wrote: please see inline comments highlighted in red color. On Wed, Apr 13

[Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-04-29 Thread Khansa Butt
From fbd2b81503b1f55368b83903ded723f60de8aea7 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Date: Fri, 29 Apr 2011 11:17:56 +0500 Subject: [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU Signed-off-by: Khansa Butt

[Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-04-29 Thread Khansa Butt
From 1ab1973118d9e676fcaaf234d153c8c7056aa82a Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Date: Fri, 29 Apr 2011 10:52:38 +0500 Subject: [PATCH 3/3] linux-user:Signal handling for MIPS64 Signed-off-by: Khansa Butt kha...@kics.edu.pk

[Qemu-devel] [PATCH 1/3](Corrected version) linux-user:Support for MIPS64 user mode emulation in QEMU

2011-04-29 Thread Khansa Butt
From 52cca3fab46f65b493cd21096389ee459279cbb2 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha...@kics.edu.pk Date: Fri, 29 Apr 2011 11:48:54 +0500 Subject: [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU Signed-off-by: Khansa Butt

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-04-29 Thread Khansa Butt
Please see comments highlighted in green. On Fri, Apr 29, 2011 at 2:01 PM, Aurelien Jarno aurel...@aurel32.netwrote: On Mon, Apr 25, 2011 at 04:54:19PM +0500, Khansa Butt wrote: please see inline comments highlighted in red color. On Wed, Apr 13, 2011 at 2:32 AM, Aurelien Jarno aurel

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-04-25 Thread Khansa Butt
, Khansa Butt wrote: From e96e20e50cada1c9e1b65de5925281cdd5659746 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq Khansa Butt kha...@kics.edu.pk Date: Sat, 9 Apr 2011 10:51:22 +0500 Subject: [PATCH 1/2] Support for MIPS64 user mode emulation Signed-off-by: Ehsan-ul-Haq, Abdul Qadeer

Re: [Qemu-devel] [PATCH 2/2] Support for Cavium-Octeon specific instruction

2011-04-13 Thread Khansa Butt
We ported MIPS64 r2 user mode emulation. When a binary is given to qemu-mips64, our code first check whether it is Octeon binary or not if yes it enable Octeon specific Instructions for. The following code snippet do this job: diff --git a/linux-user/elfload.c b/linux-user/elfload.c index

[Qemu-devel] Patch1 for Mips64 usermode

2011-04-09 Thread Khansa Butt
*commands for patch apply* git apply --ignore-whitespace --ignore-space-change --check ~/patch1 git am --ignore-whitespace --ignore-space-change ~/patch1 *Patch* From e96e20e50cada1c9e1b65de5925281cdd5659746 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq Khansa Butt kha...@kics.edu.pk Date: Sat, 9

Re: [Qemu-devel] MIPS64 user mode emulation Patch

2011-04-09 Thread Khansa Butt
Please see the online comments highlighted in red. I'll be sending corrected Patches to the mailing list. On Wed, Mar 30, 2011 at 9:38 PM, Nathan Froyd froy...@codesourcery.comwrote: On Sat, Mar 26, 2011 at 11:58:37AM +0500, Khansa Butt wrote: Subject: [PATCH] MIPS64 user mode emulation

Re: [Qemu-devel] QEMU development for MIPS64 user mode

2011-04-09 Thread Khansa Butt
Please see inline comments highlighted in red. On Wed, Mar 30, 2011 at 12:04 AM, Andreas Färber andreas.faer...@web.dewrote: Hi, Am 29.03.2011 um 08:49 schrieb Khansa Butt: I have added support for MIPS64 user mode emulation in QEMU and email git patch to the qemu-devel mailing list

[Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-04-09 Thread Khansa Butt
From e96e20e50cada1c9e1b65de5925281cdd5659746 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq Khansa Butt kha...@kics.edu.pk Date: Sat, 9 Apr 2011 10:51:22 +0500 Subject: [PATCH 1/2] Support for MIPS64 user mode emulation Signed-off-by: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt kha

[Qemu-devel] QEMU development for MIPS64 user mode

2011-03-29 Thread Khansa Butt
hi I have added support for MIPS64 user mode emulation in QEMU and email git patch to the qemu-devel mailing list but I got no any response yet. My Patch mail has the following subject line MIPS64 user mode emulation Patch please verify that this patch mail is not neglected or guide me towards the