Commit f5e6ebf
KVM: arm64: Clarify the check for reset callback in check_sysreg_table()
check_sysreg_table() has a wonky 'is_32" parameter, which is really
an indication that we should enforce the presence of a reset helper.
Clean this up by naming the variable accordingly and inverting the
condition. Contrary to popular belief, system instructions don't
have a reset value (duh!), and therefore do not need to be checked
for reset (they escaped the check through luck...).
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Sebastian Ott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>1 parent 0f3046c commit f5e6ebf
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4304 | 4304 | | |
4305 | 4305 | | |
4306 | 4306 | | |
4307 | | - | |
| 4307 | + | |
4308 | 4308 | | |
4309 | 4309 | | |
4310 | 4310 | | |
4311 | 4311 | | |
4312 | | - | |
| 4312 | + | |
4313 | 4313 | | |
4314 | 4314 | | |
4315 | 4315 | | |
| |||
5303 | 5303 | | |
5304 | 5304 | | |
5305 | 5305 | | |
5306 | | - | |
5307 | | - | |
5308 | | - | |
5309 | | - | |
5310 | | - | |
| 5306 | + | |
| 5307 | + | |
| 5308 | + | |
| 5309 | + | |
| 5310 | + | |
5311 | 5311 | | |
5312 | 5312 | | |
5313 | 5313 | | |
| |||
0 commit comments