Files
linux/arch
Fuad Tabba a9a8ba7348 ANDROID: KVM: arm64: Fix vcpu sys_reg accessors when running with VHE
Commit 3f6536412f ("ANDROID: KVM: arm64: refactor vcpu_read_sys_reg
and vcpu_write_sys_reg for hyp use") predicated direct access to the
live vCPU registers on an is_vhe_hyp_code() check, neglecting the fact
that these functions are also used by the VHE *kernel* code.

Restore the old behaviour by changing the check so that only the nVHE
hyp code unconditionally uses the 'ctxt_sys_reg' table.

Reported-by: Marc Zyngier <mzyngier@google.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Bug: 209580772
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I17d4c12ffdbbd95e8e8d1820ebb6438b138361aa
2022-01-21 17:58:49 +00:00
..
2022-01-20 09:35:27 +01:00
2022-01-20 09:35:27 +01:00
2021-02-18 11:21:01 +01:00
2021-11-26 10:39:19 +01:00
2022-01-20 09:35:27 +01:00
2022-01-20 09:35:27 +01:00
2022-01-20 09:35:27 +01:00
2021-09-30 10:33:42 +02:00
2022-01-20 09:35:27 +01:00
2021-11-19 07:47:18 +01:00