kvm_hyptrace.h 451 B

123456789101112131415161718192021
  1. #ifndef __ARM64_KVM_HYPTRACE_H_
  2. #define __ARM64_KVM_HYPTRACE_H_
  3. #include <asm/kvm_hyp.h>
  4. #include <linux/ring_buffer_ext.h>
  5. /*
  6. * Host donations to the hypervisor to store the struct hyp_buffer_page.
  7. */
  8. struct hyp_buffer_pages_backing {
  9. unsigned long start;
  10. size_t size;
  11. };
  12. struct hyp_trace_pack {
  13. struct hyp_buffer_pages_backing backing;
  14. struct kvm_nvhe_clock_data trace_clock_data;
  15. struct trace_buffer_pack trace_buffer_pack;
  16. };
  17. #endif