linux_dsm_epyc7002/arch/arm64/include
Robin Murphy 022620eed3 arm64: Implement array_index_mask_nospec()
Provide an optimised, assembly implementation of array_index_mask_nospec()
for arm64 so that the compiler is not in a position to transform the code
in ways which affect its ability to inhibit speculation (e.g. by introducing
conditional branches).

This is similar to the sequence used by x86, modulo architectural differences
in the carry/borrow flags.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2018-02-06 22:53:30 +00:00
..
asm arm64: Implement array_index_mask_nospec() 2018-02-06 22:53:30 +00:00
uapi/asm arm64: v8.4: Support for new floating point multiplication instructions 2018-01-05 11:29:48 +00:00