diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2020-01-13 23:30:18 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-14 17:11:21 +0000 |
commit | 0cd82feb017e282b29e725801b7c90da69316734 (patch) | |
tree | 8fa671cbbfc5b22230e56e80c0b23de3b6753455 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b51c6ac220f77eb246e940442d970b4065c197b0 (diff) |
arm64: fpsimd: Make sure SVE setup is complete before SIMD is used
In-kernel users of NEON rely on may_use_simd() to check if the SIMD
can be used. However, we must initialize the SVE before SIMD can
be used. Add a sanity check to make sure that we have completed the
SVE setup before anyone uses the SIMD.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions