diff options
| author | 2022-07-04 17:01:50 +0100 | |
|---|---|---|
| committer | 2022-07-17 11:55:33 +0100 | |
| commit | e48407ff9796529a1e5048b9e4d6ea8a0334468e (patch) | |
| tree | 537a4673270b63605fd31c89afa0d6d89b9429b6 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: arm64: Introduce generic get_user/set_user helpers for system registers (diff) | |
| download | linux-dev-e48407ff9796529a1e5048b9e4d6ea8a0334468e.tar.xz linux-dev-e48407ff9796529a1e5048b9e4d6ea8a0334468e.zip | |
KVM: arm64: Rely on index_to_param() for size checks on userspace access
index_to_param() already checks that we use 64bit accesses for all
registers accessed from userspace.
However, we have extra checks in other places (such as index_to_params),
which is pretty confusing. Get rid off these redundant checks.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
