[PATCH OLK-6.6 0/3] LoongArch: backport 3 patches from upstream