+29
−0
Loading
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBGDLQ CVE: NA --------------------------- Even though most of the GPRs is zero at reset state, we should explicitly set these before LAUNCH_ENCRYPT_VMCB. The DR6 register is not zero at reset state, we should explicitly set DR6 before LAUNCH_ENCRYPT_VMCB. The PKRU currently is unsupported on Hygon CPUs, this register is zero at reset state, nevertheless explicitly set PKRU before LAUNCH_ENCRYPT_VMCB. Signed-off-by:hanliyang <hanliyang@hygon.cn>