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

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

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] 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

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

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