Signed-off-by: ticat_fp <fanpeng@loongson.cn> (cherry picked from commit fd8447e5f44da8f89a1f9e7440fb0f4d2e43e77f)