]> Git Repo - J-linux.git/commitdiff
arm64: proton-pack: Update comment to reflect new function name
authorStephen Boyd <[email protected]>
Tue, 20 Oct 2020 21:45:44 +0000 (14:45 -0700)
committerWill Deacon <[email protected]>
Wed, 21 Oct 2020 10:07:27 +0000 (11:07 +0100)
The function detect_harden_bp_fw() is gone after commit d4647f0a2ad7
("arm64: Rewrite Spectre-v2 mitigation code"). Update this comment to
reflect the new state of affairs.

Fixes: d4647f0a2ad7 ("arm64: Rewrite Spectre-v2 mitigation code")
Signed-off-by: Stephen Boyd <[email protected]>
Cc: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
arch/arm64/kernel/proton-pack.c

index 5029ef14fb27e32a316a0945db3195330648a507..25f3c80b5ffe454782c646b4fe5fa7e5681a87e6 100644 (file)
@@ -205,8 +205,8 @@ static void install_bp_hardening_cb(bp_hardening_cb_t fn)
                                   __SMCCC_WORKAROUND_1_SMC_SZ;
 
        /*
-        * detect_harden_bp_fw() passes NULL for the hyp_vecs start/end if
-        * we're a guest. Skip the hyp-vectors work.
+        * Vinz Clortho takes the hyp_vecs start/end "keys" at
+        * the door when we're a guest. Skip the hyp-vectors work.
         */
        if (!is_hyp_mode_available()) {
                __this_cpu_write(bp_hardening_data.fn, fn);
This page took 0.052478 seconds and 4 git commands to generate.