Unverified Commit 8be5c086 authored by Anup Patel's avatar Anup Patel Committed by GitHub
Browse files

Fix VSSTATUS bits updation (#568)



This patch fixes VSSTATUS bits updations as follows:
1. set_csr() should not allow writs to VSSTATUS.SD bit instead
   VSSTATUS.SD bit should be derived again after VSSTATUS is updated
2. set_virt() should copy FS, VS and XS bits when transitioning
   from virt=on (VS/VU-mode) to virt=off (HS/M-mode)

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent e2e83c06
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment