]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Pass on SVE mapping failures
authorJames Clark <james.clark@linaro.org>
Tue, 12 Nov 2024 10:56:03 +0000 (10:56 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 12 Nov 2024 19:04:39 +0000 (11:04 -0800)
commit60ad25e14ab5a4e56c8bf7f7d6846eacb9cd53df
tree34fcc59e8dc2f2721d52474be6136018bb6c190e
parent9d0bee66f7398c3c81df613de2e246fbb6a04a86
KVM: arm64: Pass on SVE mapping failures

This function can fail but its return value isn't passed onto the
caller. Presumably this could result in a broken state.

Fixes: 66d5b53e20a6 ("KVM: arm64: Allocate memory mapped at hyp for host sve state in pKVM")
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Fuad Tabba <tabba@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241112105604.795809-1-james.clark@linaro.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/nvhe/setup.c