Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable GDB support on AArch64 #4519

Merged
merged 5 commits into from Aug 21, 2022

Commits on Aug 20, 2022

  1. Cargo.lock: Update kvm-ioctls

    Signed-off-by: Michael Zhao <michael.zhao@arm.com>
    michael2012z committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    e7666ea View commit details
    Browse the repository at this point in the history
  2. vmm: Enable gdbstub on AArch64

    The `gva_translate` function is still missing, it will be added with a
    separate commit.
    
    Signed-off-by: Michael Zhao <michael.zhao@arm.com>
    michael2012z committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b1721e3 View commit details
    Browse the repository at this point in the history
  3. vmm: Implement translate_gva on AArch64

    On AArch64, `translate_gva` API is not provided by KVM. We implemented
    it in VMM by walking through translation tables.
    
    Address translation is big topic, here we only focus the scenario that
    happens in VMM while debugging kernel. This `translate_gva`
    implementation is restricted to:
     - Exception Level 1
     - Translate high address range only (kernel space)
    
    This implementation supports following Arm-v8a features related to
    address translation:
     - FEAT_LPA
     - FEAT_LVA
     - FEAT_LPA2
    
    The implementation supports page sizes of 4KiB, 16KiB and 64KiB.
    
    Signed-off-by: Michael Zhao <michael.zhao@arm.com>
    michael2012z committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    4872dde View commit details
    Browse the repository at this point in the history
  4. hypervisor: Enable gdb HW breakpoint on AArch64

    Signed-off-by: Michael Zhao <michael.zhao@arm.com>
    michael2012z committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    ddf6dba View commit details
    Browse the repository at this point in the history
  5. vmm: Extend seccomp rules for GDB

    Add 'KVM_SET_GUEST_DEBUG' ioctl to seccomp filter rules.
    
    Signed-off-by: Michael Zhao <michael.zhao@arm.com>
    michael2012z committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6326db6 View commit details
    Browse the repository at this point in the history