commit | f7d4cd07dca602c3bce1cc4dd64ec809f773b1ad | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Thu Jan 26 11:29:06 2023 +0000 |
committer | Fuad Tabba <tabba@google.com> | Thu Feb 08 14:22:53 2024 +0000 |
tree | 43053f8fa0a4a2551d3db078b62795ff72ed5c7e | |
parent | deafb813379184b2f470c91c8ce1c9b787fe942f [diff] |
KVM: arm64: Ensure that SME controls are disabled in protected mode KVM (and pKVM) do not support SME guests. Therefore KVM ensures that the host's SME state is flushed and that SME controls for enabling access to ZA storage and for streaming are disabled. pKVM needs to protect against a buggy/malicious host. Ensure that it wouldn't run a guest when protected mode is enabled should any of the SME controls be enabled. Signed-off-by: Fuad Tabba <tabba@google.com>