diff options
author | Zenghui Yu <yuzenghui@huawei.com> | 2022-12-18 17:29:42 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-20 17:54:50 +0000 |
commit | daac835347a52d9d141be281e4657cc08a360e97 (patch) | |
tree | a1ed621868703f9771f21c7669bba6f9e4394fd6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 00598857e38f56963116a6d70f7d64a29959bce9 (diff) |
kselftest/arm64: Correct buffer size for SME ZA storage
It looks like a copy-paste error to describe the ZA buffer size using (the
number of P registers * the maximum size of a Z register). This doesn't
have practical impact though as we're always allocating enough space even
for the architectural maximum ZA storage, with SVL equals to 2048 bits.
Switch to use ZA_SIG_REGS_SIZE(SVE_VQ_MAX). setup_za() will need to
initialize two 64MB arraies with this change and can be optimized later (if
someone complain).
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221218092942.1940-2-yuzenghui@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions