]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
authorJames Morse <james.morse@arm.com>
Tue, 16 Nov 2021 15:00:51 +0000 (15:00 +0000)
committerJames Morse <james.morse@arm.com>
Tue, 15 Feb 2022 17:38:09 +0000 (17:38 +0000)
commitbabd263d6c893927d992b53d36bb50823937cd79
treef015c9ea5e4150971dc59cf4458f860cdefafa7c
parent5e9eb77876a0b21e67e526ecd4ba305e9e108b91
arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit

The spectre-v4 sequence includes an SMC from the assembly entry code.
spectre_v4_patch_fw_mitigation_conduit is the patching callback that
generates an HVC or SMC depending on the SMCCC conduit type.

As this isn't specific to spectre-v4, rename it
smccc_patch_fw_mitigation_conduit so it can be re-used.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
arch/arm64/kernel/entry.S
arch/arm64/kernel/proton-pack.c