diff options
| author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-01-13 12:35:34 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-01-13 12:35:34 +0000 |
| commit | 132f8ec799cea261ad6b60ac8ae86f17cc98b9a1 (patch) | |
| tree | 09fbf258c6cdf3e7d67fa27b9ab045a960da548a /docs/system/introduction.rst | |
| parent | 39d70016d9abe15967f7051741dd5621c659b1f4 (diff) | |
| download | focaccia-qemu-132f8ec799cea261ad6b60ac8ae86f17cc98b9a1.tar.gz focaccia-qemu-132f8ec799cea261ad6b60ac8ae86f17cc98b9a1.zip | |
target/arm: change default pauth algorithm to impdef
Pointer authentication on aarch64 is pretty expensive (up to 50% of execution time) when running a virtual machine with tcg and -cpu max (which enables pauth=on). The advice is always: use pauth-impdef=on. Our documentation even mentions it "by default" in docs/system/introduction.rst. Thus, we change the default to use impdef by default. This does not affect kvm or hvf acceleration, since pauth algorithm used is the one from host cpu. This change is retro compatible, in terms of cli, with previous versions, as the semantic of using -cpu max,pauth-impdef=on, and -cpu max,pauth-qarma3=on is preserved. The new option introduced in previous patch and matching old default is -cpu max,pauth-qarma5=on. It is retro compatible with migration as well, by defining a backcompat property, that will use qarma5 by default for virt machine <= 9.2. Tested by saving and restoring a vm from qemu 9.2.0 into qemu-master (10.0) for cpus neoverse-n2 and max. Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241219183211.3493974-3-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs/system/introduction.rst')
| -rw-r--r-- | docs/system/introduction.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/system/introduction.rst b/docs/system/introduction.rst index 746707eb00..338d3745c3 100644 --- a/docs/system/introduction.rst +++ b/docs/system/introduction.rst @@ -169,7 +169,7 @@ would default to it anyway. .. code:: - -cpu max,pauth-impdef=on \ + -cpu max \ -smp 4 \ -accel tcg \ |