User Details
- User Since
- May 10 2014, 2:21 PM (610 w, 6 d)
Yesterday
Tue, Jan 20
Mon, Jan 19
Can you send ma a git patch with this change? e.g. the output of git format-patch
Thu, Jan 15
Wed, Jan 14
Mon, Jan 12
Fri, Jan 9
Thu, Jan 8
xregs_sig doesn't follow the ABI so it is valid to trash these registers.
I tested a patch to move vfp_save_state & haven't hit the KASSERT, even when loading the system down to try cause more context switching.
After the first call to vfp_save_state from get_arm64_sve with buf == NULL the PCB_FP_SVEVALID flag will be set correctly based on if pcb_svesaved contains valid data or not (it may be clear if called while in a syscall). If we then context switch then vfp_save_state_switch will exit early as VFP is disabled so PCB_FP_SVEVALID isn't changed & later calls to vfp_save_state will also not change the state.
Can this be more specific to GCE? There are systems where the kernel may enter in EL1, but not be under a hypervisor, e.g. the. Windows Dev Kit 2023. Setting vm_guest = VM_GUEST_VM also changes things like hz to 100.
Tue, Jan 6
There should be a followup change to sys/arm64/include/ifunc.h to update DEFINE_UIFUNC. We can also use this to simplify the ifunc handlers in sys/crypto/sha2/sha512c.c and sys/crypto/sha2/sha256c.c
Just a minor style suggestion
Would it be enough to move the td == curthread .. check & call to vfp_save_state before checking for PCB_FP_SVEVALID in line 942?
