From patchwork Mon Jul 5 12:42:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huacai Chen X-Patchwork-Id: 12359033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D146C07E99 for ; Mon, 5 Jul 2021 12:41:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1BEBD613B6 for ; Mon, 5 Jul 2021 12:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230273AbhGEMoE (ORCPT ); Mon, 5 Jul 2021 08:44:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:48946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbhGEMoE (ORCPT ); Mon, 5 Jul 2021 08:44:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BE42B613B1; Mon, 5 Jul 2021 12:41:24 +0000 (UTC) From: Huacai Chen To: "Rafael J . Wysocki" , Len Brown , Robert Moore , Erik Kaneda Cc: linux-acpi@vger.kernel.org, devel@acpica.org, Xuefeng Li , Jiaxun Yang , Huacai Chen , Jianmin Lv Subject: [PATCH 0/3] ACPI: Add LoongArch-related definitions Date: Mon, 5 Jul 2021 20:42:03 +0800 Message-Id: <20210705124206.1228958-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 Huacai Chen and Jianmin Lv(3): ACPI: Add LoongArch support for ACPI_PROCESSOR/ACPI_NUMA. ACPICA: MADT: Add LoongArch APICs support. ACPICA: Events: Support fixed pcie wake event. Signed-off-by: Huacai Chen Signed-off-by: Jianmin Lv --- drivers/acpi/Kconfig | 4 +- drivers/acpi/acpica/evevent.c | 17 ++++-- drivers/acpi/acpica/hwsleep.c | 12 ++++ drivers/acpi/acpica/utglobal.c | 4 ++ drivers/acpi/numa/Kconfig | 2 +- drivers/acpi/numa/srat.c | 2 +- drivers/acpi/tables.c | 10 ++++ include/acpi/actbl2.h | 123 ++++++++++++++++++++++++++++++++++++++++- include/acpi/actypes.h | 3 +- include/linux/acpi.h | 2 +- 10 files changed, 166 insertions(+), 13 deletions(-) -- 2.27.0