commit | 34b4d20399e6fad2e3379b11e68dff1d1549274e | [log] [tgz] |
---|---|---|
author | Oliver Upton <oliver.upton@linux.dev> | Tue Sep 13 09:44:34 2022 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Wed Sep 14 11:36:16 2022 +0100 |
tree | 8cbe74d778decea2f3a643afa8f3ffae76e5112f | |
parent | b90cb1053190353cc30f0fef0ef1f378ccc063c5 [diff] |
KVM: arm64: Use visibility hook to treat ID regs as RAZ The generic id reg accessors already handle RAZ registers by way of the visibility hook. Add a visibility hook that returns REG_RAZ unconditionally and throw out the RAZ specific accessors. Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220913094441.3957645-2-oliver.upton@linux.dev