Commit 570d666
KVM: arm64: Use __gfn_to_page() when copying MTE tags to/from userspace
Use __gfn_to_page() instead when copying MTE tags between guest and
userspace. This will eventually allow removing gfn_to_pfn_prot(),
gfn_to_pfn(), kvm_pfn_to_refcounted_page(), and related APIs.
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-78-seanjc@google.com>1 parent f42e289 commit 570d666
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
1054 | | - | |
| 1054 | + | |
1055 | 1055 | | |
1056 | 1056 | | |
1057 | | - | |
1058 | 1057 | | |
1059 | | - | |
| 1058 | + | |
1060 | 1059 | | |
1061 | 1060 | | |
1062 | 1061 | | |
1063 | 1062 | | |
1064 | | - | |
1065 | | - | |
| 1063 | + | |
1066 | 1064 | | |
1067 | | - | |
| 1065 | + | |
1068 | 1066 | | |
1069 | 1067 | | |
1070 | 1068 | | |
| |||
1078 | 1076 | | |
1079 | 1077 | | |
1080 | 1078 | | |
1081 | | - | |
| 1079 | + | |
1082 | 1080 | | |
1083 | 1081 | | |
1084 | 1082 | | |
| |||
1093 | 1091 | | |
1094 | 1092 | | |
1095 | 1093 | | |
1096 | | - | |
1097 | | - | |
| 1094 | + | |
1098 | 1095 | | |
1099 | 1096 | | |
1100 | 1097 | | |
| |||
0 commit comments