-----Original Message----- From: Huacai Chen <chenhuacai@xxxxxxxxx> Sent: Tuesday, March 08, 2022 9:30 PM To: Rafael J. Wysocki <rafael@xxxxxxxxxx> Cc: Huacai Chen <chenhuacai@xxxxxxxxxxx>; Rafael J . Wysocki <rjw@xxxxxxxxxxxxx>; Len Brown <lenb@xxxxxxxxxx>; Moore, Robert <robert.moore@xxxxxxxxx>; Erik Kaneda <erik.kaneda@xxxxxxxxx>; ACPI Devel Maling List <linux-acpi@xxxxxxxxxxxxxxx>; open list:ACPI COMPONENT ARCHITECTURE (ACPICA) <devel@xxxxxxxxxx>; Xuefeng Li <lixuefeng@xxxxxxxxxxx>; Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>; Jianmin Lv <lvjianmin@xxxxxxxxxxx> Subject: Re: [PATCH V2 0/2] ACPI: Add LoongArch-related definitions Hi, Rafael, On Wed, Mar 9, 2022 at 2:49 AM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote: > > On Sun, Mar 6, 2022 at 12:17 PM Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote: > > > > LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. > > LoongArch includes a reduced 32-bit version (LA32R), a standard > > 32-bit version (LA32S) and a 64-bit version (LA64). LoongArch use > > ACPI as its boot protocol LoongArch-specific interrupt controllers > > (similar to APIC) are already added in the next revision of ACPI > > Specification (current revision is 6.4). > > > > This patchset are preparing to add LoongArch support in mainline > > kernel, we can see a snapshot here: > > https://github.com/loongson/linux/tree/loongarch-next > > > > Cross-compile tool chain to build kernel: > > https://github.com/loongson/build-tools/releases > > > > Loongson and LoongArch documentations: > > https://github.com/loongson/LoongArch-Documentation > > > > ECR for LoongArch-specific interrupt controllers: > > https://mantis.uefi.org/mantis/view.php?id=2203 > > https://mantis.uefi.org/mantis/view.php?id=2313 > > > > ACPI changes of LoongArch have been approved in the last year, but > > the new version of ACPI SPEC hasn't been made public yet. > > > > V2: Remove merged patches and update commit messages. > > > > Huacai Chen and Jianmin Lv(2): > > ACPICA: MADT: Add LoongArch APICs support. > > ACPICA: Events: Support fixed pcie wake event. > > Both patches in this series are mostly ACPICA material which needs to > be submitted to the upstream ACPICA project via > https://github.com/acpica/acpica > > It will be pulled by the Linux kernel from there. I found that you are also a maintainer of the ACPICA project, do you mean I should submit by github PR, not by maillist? Yes. > > > > > Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx> > > Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx> > > --- > > drivers/acpi/acpica/evevent.c | 17 ++++-- > > drivers/acpi/acpica/hwsleep.c | 12 ++++ > > drivers/acpi/acpica/utglobal.c | 4 ++ > > drivers/acpi/tables.c | 10 ++++ > > This tables.c change can be submitted as a separate patch when the > ACPICA changes get integrated. Do you mean split the first patch into .h parts and .c parts, then submit the .h parts and the second patch by github PR, then submit the .c parts of the first patch by maillist? No, that is not necessary. Huacai > > > include/acpi/actbl2.h | 125 ++++++++++++++++++++++++++++++++++++++++- > > include/acpi/actypes.h | 3 +- > > 6 files changed, 163 insertions(+), 8 deletions(-) > > -- > > 2.27.0 > >