Commit 56d77aa
committed
KVM: arm64: Allow userspace to change ID_AA64ISAR{0-2}_EL1
Almost all of the features described by the ISA registers have no KVM
involvement. Allow userspace to change the value of these registers with
a couple exceptions:
- MOPS is not writable as KVM does not currently virtualize FEAT_MOPS.
- The PAuth fields are not writable as KVM requires both address and
generic authentication be enabled.
Co-developed-by: Jing Zhang <[email protected]>
Signed-off-by: Jing Zhang <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>1 parent 9f9917b commit 56d77aa
1 file changed
+26
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
1854 | | - | |
1855 | | - | |
| 1854 | + | |
1856 | 1855 | | |
1857 | 1856 | | |
1858 | | - | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
1859 | 1862 | | |
1860 | 1863 | | |
1861 | 1864 | | |
| |||
1864 | 1867 | | |
1865 | 1868 | | |
1866 | 1869 | | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
| 1870 | + | |
1870 | 1871 | | |
1871 | 1872 | | |
1872 | 1873 | | |
1873 | 1874 | | |
1874 | 1875 | | |
1875 | 1876 | | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
1876 | 1886 | | |
1877 | 1887 | | |
1878 | 1888 | | |
| |||
1894 | 1904 | | |
1895 | 1905 | | |
1896 | 1906 | | |
1897 | | - | |
1898 | | - | |
1899 | | - | |
| 1907 | + | |
1900 | 1908 | | |
1901 | 1909 | | |
1902 | 1910 | | |
| |||
2075 | 2083 | | |
2076 | 2084 | | |
2077 | 2085 | | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
2081 | 2095 | | |
2082 | 2096 | | |
2083 | 2097 | | |
| |||
0 commit comments