diff options
author | Will Deacon <will@kernel.org> | 2022-11-10 19:02:38 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-11 16:40:54 +0000 |
commit | 33bc332d4061e95db55594893c4f80105b1dd813 (patch) | |
tree | dc20f0faba45e33bd64701ba6f6934922e880acf /fs/Makefile | |
parent | 0d16d12eb26ef85602ef8a678d94825a66772774 (diff) | |
download | linux-33bc332d4061e95db55594893c4f80105b1dd813.tar.bz2 |
KVM: arm64: Unify identifiers used to distinguish host and hypervisor
The 'pkvm_component_id' enum type provides constants to refer to the
host and the hypervisor, yet this information is duplicated by the
'pkvm_hyp_id' constant.
Remove the definition of 'pkvm_hyp_id' and move the 'pkvm_component_id'
type definition to 'mem_protect.h' so that it can be used outside of
the memory protection code, for example when initialising the owner for
hypervisor-owned pages.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221110190259.26861-6-will@kernel.org
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions