• Marc Zyngier's avatar
    arm64: KVM: Handle Set/Way CMOs as NOPs if FWB is present · 09605e94
    Marc Zyngier authored
    Set/Way handling is one of the ugliest corners of KVM. We shouldn't
    have to handle that, but better safe than sorry.
    
    Thankfully, FWB fixes this for us by not requiering any maintenance
    (the guest is forced to use cacheable memory, no matter what it says,
    and the whole system is garanteed to be cache coherent), which means
    we don't have to emulate S/W CMOs, and don't have to track VM ops either.
    
    We still have to trap S/W though, if only to prevent the guest from
    doing something bad.
    Reviewed-by: default avatarChristoffer Dall <christoffer.dall@arm.com>
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    09605e94
sys_regs.c 69.2 KB