• Marc Zyngier's avatar
    arm64: cpufeatures: Restrict NV support to FEAT_NV2 · 2bfc654b
    Marc Zyngier authored
    To anyone who has played with FEAT_NV, it is obvious that the level
    of performance is rather low due to the trap amplification that it
    imposes on the host hypervisor. FEAT_NV2 solves a number of the
    problems that FEAT_NV had.
    
    It also turns out that all the existing hardware that has FEAT_NV
    also has FEAT_NV2. Finally, it is now allowed by the architecture
    to build FEAT_NV2 *only* (as denoted by ID_AA64MMFR4_EL1.NV_frac),
    which effectively seals the fate of FEAT_NV.
    
    Restrict the NV support to NV2, and be done with it. Nobody will
    cry over the old crap. NV_frac will eventually be supported once
    the intrastructure is ready.
    Reviewed-by: default avatarOliver Upton <oliver.upton@linux.dev>
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    2bfc654b
cpufeature.c 118 KB