Hi, all, On Sun, Jun 6, 2021 at 4:14 PM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote: > > > > 在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 Yes, LoongArch is a new RISC ISA, it is not compatible with MIPS. Loongson processors before 3A4000 is compatible with MIPS, and 3A5000 is based on LoongArch. Part of LoongArch documentations are available in English (as listed above by Jiaxun), others are being translated. There will be a new directoy arch/loongarch, and I hope it can be coming soon. Huacai > -- > - Jiaxun