https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next
commit cdfe896c18ca08e9d2633caa7f7692a7ee154ff2, with a minor fix by me,
rebased on v5.18.
