Commit d97e66f
committed
KVM: arm64: nv: Reinject traps that take effect in Host EL0
Wire up the other end of traps that affect host EL0 by actually
injecting them into the guest hypervisor. Skip over FGT entirely, as a
cursory glance suggests no FGT is effective in host EL0.
Note that kvm_inject_nested() is already equipped for handling
exceptions while the VM is already in a host context.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025182354.3364124-9-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>1 parent a4063b5 commit d97e66f
2 files changed
Lines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
2128 | 2131 | | |
2129 | 2132 | | |
2130 | 2133 | | |
2131 | | - | |
| 2134 | + | |
2132 | 2135 | | |
2133 | 2136 | | |
| 2137 | + | |
2134 | 2138 | | |
2135 | 2139 | | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
2136 | 2147 | | |
2137 | 2148 | | |
2138 | 2149 | | |
| |||
2209 | 2220 | | |
2210 | 2221 | | |
2211 | 2222 | | |
2212 | | - | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
2213 | 2232 | | |
2214 | 2233 | | |
2215 | 2234 | | |
| |||
2255 | 2274 | | |
2256 | 2275 | | |
2257 | 2276 | | |
2258 | | - | |
2259 | | - | |
| 2277 | + | |
2260 | 2278 | | |
2261 | 2279 | | |
2262 | 2280 | | |
2263 | 2281 | | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
2264 | 2285 | | |
2265 | 2286 | | |
2266 | 2287 | | |
| |||
0 commit comments