GithubHelp home page GithubHelp logo

Comments (7)

jaidTw avatar jaidTw commented on July 30, 2024

Hi, I'm not sure my implementation were correct, but welcome to discuss with me :)

from linux-kvm-arm-instrumentation.

jaidTw avatar jaidTw commented on July 30, 2024

According to the manual, I think there's only data and instructions abort are related to IO and mem fault, and both of them are using the same handler kvm_handle_guest_abort(), and the comment of the handler tells that there are two type of faults, which is IO memory fault and main memory fault,.
I guess the if section which calls the io_mem_abort() is for dealing with MMIO fault, and the statements below calls the user_mem_abort is for mem fault

from linux-kvm-arm-instrumentation.

poweihuang17 avatar poweihuang17 commented on July 30, 2024

Hi, JaidTw. Thank you. We are studying what you said. But we found that for mem, the trap count is pretty small.

from linux-kvm-arm-instrumentation.

jaidTw avatar jaidTw commented on July 30, 2024

Hi, You can compare your trap count to the screenshot provided by TA in the HW description.
The mem count in our experiments is ~ 23K, which is almost same as in the screenshot.

from linux-kvm-arm-instrumentation.

poweihuang17 avatar poweihuang17 commented on July 30, 2024

Yes, I know. But when you execute mem, did you get any additional memory trap?

from linux-kvm-arm-instrumentation.

jaidTw avatar jaidTw commented on July 30, 2024

There were some, but stop growing soon, we guess that only some memory falut will trap to EL2, you can refer to the MMU faults and Virtual Memory section in the manual.

from linux-kvm-arm-instrumentation.

poweihuang17 avatar poweihuang17 commented on July 30, 2024

OK. Thank you!

from linux-kvm-arm-instrumentation.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.