+12
−5
Loading
Merge Pull Request from: @xisme 1. The Hygon platform indirectly accesses the `sev_cmd_mutex` variable through `hygon_psp_hooks`. However, on non-Hygon platforms (such as AMD), `hygon_psp_hooks` is not initialized, so `sev_cmd_mutex` should be accessed directly. issue: https://gitee.com/openeuler/kernel/issues/IAYIA8 2. TKM uses gfn_to_pfn to obtain HPA from GPA. Each call will increase the ref_count of the page corresponding to pfn by 1, so the ref_count count needs to be restored after the call is successful. issue: https://gitee.com/openeuler/kernel/issues/IAYITA Link:https://gitee.com/openeuler/kernel/pulls/12280 Reviewed-by:Zhang Peng <zhangpeng362@huawei.com> Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>