Skip to content
  • Alexandru Elisei's avatar
    KVM: arm64: Handle SPE buffer misprogramming when profiling only at EL0 · c853c45d
    Alexandru Elisei authored
    Exceptions caused by misprogramming the SPE buffer are reported only
    after profiling has been enabled. SPE can be programmed to profile EL0
    only, in which case KVM cannot determine the exact moment when profiling
    becomes enabled to inject the interrupt. Instead, keep track of when
    such an exception is pending and check before each VCPU enter if the
    VCPU is resuming at EL0.
    c853c45d