Skip to content
  • Alexander Graf's avatar
    KVM: PPC: Don't flush PTEs on NX/RO hit · 2e602847
    Alexander Graf authored
    
    
    When hitting a no-execute or read-only data/inst storage interrupt we were
    flushing the respective PTE so we're sure it gets properly overwritten next.
    
    According to the spec, this is unnecessary though. The guest issues a tlbie
    anyways, so we're safe to just keep the PTE around and have it manually removed
    from the guest, saving us a flush.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    2e602847