• Andy Lutomirski's avatar
    x86/asm: Tidy up TSS limit code · b7ceaec1
    Andy Lutomirski authored
    In an earlier version of the patch ("x86/kvm/vmx: Defer TR reload
    after VM exit") that introduced TSS limit validity tracking, I
    confused which helper was which.  On reflection, the names I chose
    sucked.  Rename the helpers to make it more obvious what's going on
    and add some comments.
    
    While I'm at it, clear __tss_limit_invalid when force-reloading as
    well as when contitionally reloading, since any TR reload fixes the
    limit.
    Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    b7ceaec1
ioport.c 3.38 KB