Searched hist:"892 c608a7d7380b9a7c8f0d6aab99b763fd6fd3f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm/kernel/ |
H A D | entry-common.S | diff 892c608a7d7380b9a7c8f0d6aab99b763fd6fd3f Wed Apr 20 03:57:45 CDT 2022 Ard Biesheuvel <ardb@kernel.org> ARM: 9199/1: spectre-bhb: use local DSB and elide ISB in loop8 sequence
The loop8 mitigation for Spectre-BHB only requires a CPU local DSB rather than a systemwide one, which is much more costly. And by the same reasoning as why it is justified to omit the ISB after BPIALL, we can also elide the ISB and rely on the exception return for the context synchronization.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
|
H A D | entry-armv.S | diff 892c608a7d7380b9a7c8f0d6aab99b763fd6fd3f Wed Apr 20 03:57:45 CDT 2022 Ard Biesheuvel <ardb@kernel.org> ARM: 9199/1: spectre-bhb: use local DSB and elide ISB in loop8 sequence
The loop8 mitigation for Spectre-BHB only requires a CPU local DSB rather than a systemwide one, which is much more costly. And by the same reasoning as why it is justified to omit the ISB after BPIALL, we can also elide the ISB and rely on the exception return for the context synchronization.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
|