Re: Magic Page in e500v2

2012-05-21 Thread Aashish Mittal
Hi Alex > > Hi Aashish, > > > > On 05/21/2012 01:51 PM, Aashish Mittal wrote: > >> Hi > >> I'm working on KVM optimizations on Powerpc e500v2 embedded > >> architecture. For my > >> project i'm trying to increase the size of shared r

Re: Magic Page in e500v2

2012-05-21 Thread Aashish Mittal
Hi Alex > Hi Aashish, > > On 05/21/2012 01:51 PM, Aashish Mittal wrote: >> Hi >> I'm working on KVM optimizations on Powerpc e500v2 embedded >> architecture. For my >> project i'm trying to increase the size of shared region mapped my Magic >&g

Magic Page in e500v2

2012-05-21 Thread Aashish Mittal
Hi I'm working on KVM optimizations on Powerpc e500v2 embedded architecture. For my project i'm trying to increase the size of shared region mapped my Magic Page between host and guest for paravirtual support. I was expecting this would possible since we are using a TLB1 entry to map the magic

Re: Emulating lwarx and stwcx instructions in PowerPc BOOKE e500

2012-03-06 Thread Aashish Mittal
; >>   return; >> } >> >> The guest just hangs once it encounters a stwcx instruction. Does anybody >> have any idea why this is not working and what's wrong about the >> emulation code. >> >> Also i'm working on linux-3.0-rc4 kern

Emulating lwarx and stwcx instructions in PowerPc BOOKE e500

2012-03-05 Thread Aashish Mittal
Hi I'm working on powerpc booke architecture and my project requires me to remove read and write privileges on some pages. Due to this any instruction accessing these pages traps and i'm trying to emulate the behavior of these instructions. I've emulated lwarx and stwcx instruction but i think stw

Exit stats using kvm_stats_debugfs

2011-12-07 Thread Aashish Mittal
ct for the whole process or does it gives you the count for a limited time period or something else ? Thanks in advance Aashish Mittal -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

Re: Booting host on a P2020RDB freescale board

2011-12-05 Thread Aashish Mittal
Aashish Mittal gmail.com> writes: Hi The issue has been fixed. The issue was that the mount point set in bootargs was wrong, it should have been /dev/ram . Sorry for all the trouble. Thanks Aashish Mittal -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" i

Booting host on a P2020RDB freescale board

2011-12-05 Thread Aashish Mittal
Hi I'm working on kvm for booke architecture for my project. I tried direct mapping the guest kernel on the board by setting the setenv othbootargs mem=512M on the board but due to this my host(linux-3.0-rc4) started getting crashed giving me this dump. After this i have reverted back to my origin

Mapping of Shared Page in e500 Powerpc kvm

2011-10-23 Thread Aashish Mittal
this situation if i'm understanding something wrong or is it a bug ? Thanks Aashish Mittal -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Emulating LWZU Instruction for e500 powerpc

2011-08-25 Thread Aashish Mittal
Alexander Graf suse.de> writes: > > > On 19.08.2011, at 06:45, Aashish Mittal wrote: > > > Hi > > I'm trying to emulate the lwzu instruction in e500 powerpc kvm for my project . > > I've removed the read and write privileges from the tlb entries

Emulating LWZU Instruction for e500 powerpc

2011-08-19 Thread Aashish Mittal
RAM EXCEPTION immediately in the next instruction ? -- Thanks and regards Aashish Mittal -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Emulating lwz instruction powerpc e500

2011-07-08 Thread Aashish Mittal
Scott Wood freescale.com> writes: > On Fri, 8 Jul 2011 20:33:18 +0000 > Aashish Mittal gmail.com> wrote: > > Were they saved in the first place? What trap type did you enter on -- > is it listed in NEED_INST_MASK? What kernel version? > > Any reason not to use

Emulating lwz instruction powerpc e500

2011-07-08 Thread Aashish Mittal
Hi I'm trying to emulate the lwz instruction in powerpc e500 kvm for my project . And the instruction can modify any of the 32 gpr's . So i'm resuming the guest using RESUME_GUEST_NV Flag so that all the gpr's can be updated . But somehow the the guest OS doesn't boots after that. I took the vc