linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Kaneda <erik.kaneda@intel.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Cc: Colin Ian King <colin.king@canonical.com>,
	Bob Moore <robert.moore@intel.com>,
	Erik Kaneda <erik.kaneda@intel.com>
Subject: [PATCH 1/9] ACPICA: Add support for 64 bit risc-v compilation.
Date: Wed,  7 Oct 2020 19:53:55 -0700	[thread overview]
Message-ID: <20201008025403.2401736-2-erik.kaneda@intel.com> (raw)
In-Reply-To: <20201008025403.2401736-1-erik.kaneda@intel.com>

From: Colin Ian King <colin.king@canonical.com>

ACPICA commit 0def627be286620c64a5d4d60ce2373f119169a9

Add 64 bit risc-v architecture.  Useful for acpica tools and
incorporating ACPICA into the Firmware Test Suite.

Link: https://github.com/acpica/acpica/commit/0def627b
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
---
 include/acpi/platform/aclinux.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 4151c76141fa..72f52a1342a0 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -194,7 +194,8 @@
 
 #if defined(__ia64__)    || (defined(__x86_64__) && !defined(__ILP32__)) ||\
 	defined(__aarch64__) || defined(__PPC64__) ||\
-	defined(__s390x__)
+	defined(__s390x__) ||\
+	(defined(__riscv) && (defined(__LP64__) || defined(_LP64)))
 #define ACPI_MACHINE_WIDTH          64
 #define COMPILER_DEPENDENT_INT64    long
 #define COMPILER_DEPENDENT_UINT64   unsigned long
-- 
2.25.1


  reply	other threads:[~2020-10-08  3:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08  2:53 [PATCH 0/9] ACPICA release 20200925 Erik Kaneda
2020-10-08  2:53 ` Erik Kaneda [this message]
2020-10-08  2:53 ` [PATCH 2/9] ACPICA: Drop the repeated word "an" in a comment Erik Kaneda
2020-10-08  2:53 ` [PATCH 3/9] ACPICA: Tree-wide: fix various typos and spelling mistakes Erik Kaneda
2020-10-08  2:53 ` [PATCH 4/9] ACPICA: Add predefined names found in the SMBus sepcification Erik Kaneda
2020-10-08  2:53 ` [PATCH 5/9] ACPICA: acpi_help: Update UUID list Erik Kaneda
2020-10-08  2:54 ` [PATCH 6/9] ACPICA: iASL: Return exceptions for string-to-integer conversions Erik Kaneda
2020-10-08  2:54 ` [PATCH 7/9] ACPICA: Debugger: Add a new command: "ALL <NameSeg>" Erik Kaneda
2020-10-08  2:54 ` [PATCH 8/9] ACPICA: Remove unnecessary semicolon Erik Kaneda
2020-10-08  2:54 ` [PATCH 9/9] ACPICA: Update version to 20200925 Version 20200925 Erik Kaneda
2020-10-08 16:06 ` [PATCH 0/9] ACPICA release 20200925 Rafael J. Wysocki
2020-10-08 17:40   ` Kaneda, Erik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201008025403.2401736-2-erik.kaneda@intel.com \
    --to=erik.kaneda@intel.com \
    --cc=colin.king@canonical.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).