• Mark Rutland's avatar
    arm: spectre-v2: use arm_smccc_1_1_get_conduit() · 6848253d
    Mark Rutland authored
    Now that we have arm_smccc_1_1_get_conduit(), we can hide the PSCI
    implementation details from the arm spectre-v2 code, so let's do so.
    
    As arm_smccc_1_1_get_conduit() implicitly checks that the SMCCC version
    is at least SMCCC_VERSION_1_1, we no longer need to check this
    explicitly where switch statements have a default case.
    
    There should be no functional change as a result of this patch.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: Russell King <linux@armlinux.org.uk>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    6848253d
proc-v7-bugs.c 3.79 KB