Commit 989fce6
Marc Zyngier
KVM: arm64: Simplify handling of CNTKCTL_EL12
We go trough a great deal of effort to map CNTKCTL_EL12 to CNTKCTL_EL1
while hidding this mapping from userspace via a special visibility helper.
However, it would be far simpler to just provide an accessor doing the
mapping job, removing the need for a visibility helper.
With that done, we can also remove the EL12_REG() macro which serves
no purpose.
Reviewed-by: Oliver Upton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>1 parent 7c626ce commit 989fce6
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2095 | 2095 | | |
2096 | 2096 | | |
2097 | 2097 | | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | 2098 | | |
2108 | 2099 | | |
2109 | 2100 | | |
| |||
2211 | 2202 | | |
2212 | 2203 | | |
2213 | 2204 | | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
2214 | 2217 | | |
2215 | 2218 | | |
2216 | 2219 | | |
| |||
2798 | 2801 | | |
2799 | 2802 | | |
2800 | 2803 | | |
2801 | | - | |
| 2804 | + | |
2802 | 2805 | | |
2803 | 2806 | | |
2804 | 2807 | | |
| |||
0 commit comments