Re: Emulating lwz instruction powerpc e500

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 9 Jul 2011 02:54:21 +0530
Aashish Mittal <aashish.mittal4u@xxxxxxxxx> wrote:

> Hi Scot
> I'm working on kvm version 2.6.39 . So my project requires that i put a
> trace on a page in booke architecture (i.e removing the read and write
> privileges of that page) which causes all the instructions that try to read
> or write to this page to trap under DATA_STORAGE exit where i'm emulating
> them. Also the same problem appears when i try to use the existing MMIO
> mechnism since it resumes with the flag RESUME_HOST_NV . And iam saving the
> register using kvmppc_set_gpr(vcpu,register # ) and the DATA_STORAGE exit is
> listed in NEED_ESR_MASK .

You'll need to add DATA_STORAGE to NEED_INST_MASK -- or just invalidate the
TLB entry rather than clear read/write, so you take a DTLB miss instead.

-Scott

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux