Upstreamed for the Linux 6.18 kernel is supporting the Loongson Security Engine chip found on modern versions of these Chinese computing platforms.
The Loongson Security Engine is a chip that allows offloading random number generation (RNG), trusted platform module (TPM2), SM2, SM3 and SM4 acceleration.
The Loongson Security Engine drivers for the upstream Linux kernel were mainlined for Linux 6.18 via the MFD pull request. The MFD pull in addition to the Loongson Security Engine drivers also added the TI’s TPS6594 Power Button and BQ257xx Charger IC drivers.