在2021年6月6日六月 上午5:15,Bjorn Helgaas写道: +linux-arch and Arnd for arch related discussions > > If you're moving these from device-specific file to a generic file, > these #defines now need to have device-specific names. > > But these appear to be for built-in hardware that can only be present > in Loongson (I assume mips?) systems. If that's the case, maybe they > should go to a mips-specific file like arch/mips/pci/quirks.c? > > But I see you see you mention LoongArch above, so I don't know if > that's part of arch/mips, or if there's an arch/loongson coming, or > what. As far as I read LoongArch should be a brand new RISC architecture. I saw Loongson release some documents[1] and code[2] regarding this new architecture. Huacai, as you are submitting these code, does it mean Loongson intends to mainline LoongArch kernel? If so, I'm certain that there is a lot of drivers and other code can be reused between MIPS part and LoongArch part for Loongson chips. Could you please make an announcement about your plans? Thanks. [1]: https://github.com/loongson/LoongArch-Documentation [2]: https://github.com/loongarch64 -- - Jiaxun