mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
hv_exc: Enable SErrors in the hypervisor
This finally works properly now Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
78cf104b1f
commit
56c3d93787
1 changed files with 4 additions and 0 deletions
|
@ -244,6 +244,10 @@ static void hv_exc_entry(struct exc_info *ctx)
|
|||
ctx->cpu_id = smp_id();
|
||||
ctx->mpidr = mrs(MPIDR_EL1);
|
||||
|
||||
sysop("isb");
|
||||
|
||||
sysop("msr daifclr, 4"); // Enable SErrors in the HV
|
||||
|
||||
__atomic_sub_fetch(&hv_cpus_in_guest, 1, __ATOMIC_ACQUIRE);
|
||||
spin_lock(&bhl);
|
||||
hv_wdt_breadcrumb('X');
|
||||
|
|
Loading…
Reference in a new issue