Commit 6fb7573
Marc Zyngier
KVM: arm64: nv: Add userspace and guest handling of VNCR_EL2
Plug VNCR_EL2 in the vcpu_sysreg enum, define its RES0/RES1 bits,
and make it accessible to userspace when the VM is configured to
support FEAT_NV2.
Reviewed-by: Oliver Upton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>1 parent ea8d3cf commit 6fb7573
3 files changed
+20
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| 565 | + | |
| 566 | + | |
565 | 567 | | |
566 | 568 | | |
567 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1403 | 1406 | | |
1404 | 1407 | | |
1405 | 1408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
2290 | | - | |
2291 | | - | |
2292 | | - | |
2293 | 2284 | | |
2294 | 2285 | | |
2295 | 2286 | | |
| |||
2299 | 2290 | | |
2300 | 2291 | | |
2301 | 2292 | | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
2302 | 2296 | | |
2303 | 2297 | | |
2304 | 2298 | | |
| |||
2446 | 2440 | | |
2447 | 2441 | | |
2448 | 2442 | | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
2449 | 2453 | | |
2450 | 2454 | | |
2451 | 2455 | | |
| |||
3263 | 3267 | | |
3264 | 3268 | | |
3265 | 3269 | | |
| 3270 | + | |
| 3271 | + | |
3266 | 3272 | | |
3267 | 3273 | | |
3268 | 3274 | | |
| |||
0 commit comments