diff options
| author | Sascha Bischoff <Sascha.Bischoff@arm.com> | 2025-12-08 15:28:23 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-01-27 14:06:26 +0000 |
| commit | 28e505d81766dcbe25c60d57ab9fc941cd3d38bf (patch) | |
| tree | 5707e180800571a2395668f9016ffd1023bddb41 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | da63758c1876d899031066a9d4b8050af767ceb8 (diff) | |
KVM: arm64: Correct test for ICH_HCR_EL2_TDIR cap for GICv5 hosts
The original order of checks in the ICH_HCR_EL2_TDIR test returned
with false early in the case where the native GICv3 CPUIF was not
present. The result was that on GICv5 hosts with legacy support -
which do not have the GICv3 CPUIF - the test always returned false.
Reshuffle the checks such that support for GICv5 legacy is checked
prior to checking for the native GICv3 CPUIF.
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Fixes: 2a28810cbb8b2 ("KVM: arm64: GICv3: Detect and work around the lack of ICV_DIR_EL1 trapping")
Link: https://patch.msgid.link/20251208152724.3637157-4-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
