Signed-off-by: Xue Liu <liuxue@loongson.cn> (cherry picked from commit 4f97277029574b386291a8c9a87d479a147d179e)