Commit 3f1e072
KVM: arm64: Allow userspace to write ID_AA64MMFR0_EL1.TGRAN*_2
Allow userspace to write the safe (NI) value for ID_AA64MMFR0_EL1.TGRAN*_2.
Disallow to change these fields for NV since kvm provides a sanitized view
for them based on the PAGE_SIZE.
Signed-off-by: Sebastian Ott <[email protected]>
Link: https://lore.kernel.org/kvmarm/[email protected]/
Signed-off-by: Oliver Upton <[email protected]>1 parent 8b0b98e commit 3f1e072
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
1942 | 1957 | | |
1943 | 1958 | | |
1944 | 1959 | | |
| |||
2662 | 2677 | | |
2663 | 2678 | | |
2664 | 2679 | | |
2665 | | - | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
| 2680 | + | |
| 2681 | + | |
2669 | 2682 | | |
2670 | 2683 | | |
2671 | 2684 | | |
| |||
0 commit comments