Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp733562rwl; Wed, 5 Apr 2023 07:05:56 -0700 (PDT) X-Google-Smtp-Source: AKy350YUgYEe7eMpuBJiVQ3w5inDVkaTVT6ft6iQJmlaDapgXcBkTySBH59W6JsientOWOzLT8DF X-Received: by 2002:a17:906:b755:b0:933:130e:e81a with SMTP id fx21-20020a170906b75500b00933130ee81amr2365408ejb.32.1680703556598; Wed, 05 Apr 2023 07:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680703556; cv=none; d=google.com; s=arc-20160816; b=Y3HRBOrQm1yK/BzRPk5z9ttbQ7Q1VuAvghphTdCIjdHEh59TDAMZ83nH8azN09SWlb AYq//EWyALtxIGBlnt7LYu6zc+lRizxiRWZ8i8wafxdGAqoDSYDjrHZ/NsyBtt5qGtMz RmKlJxxq0LzYR5rCtO2xCMWtUM5+2EZFc/LOFIVghKlctEXCZkcRoEV+n8pjnYDIsl0y x2wTYmtE6UBQl2/TgDp5IbSlXtjfmN4R8kJIvdgunAl5FYwA1q3tpfjwj8UJLO/yrjQH KWgntRpYrhwzc7n3JN8CxB0rd4yJwaUAzX4jTsg7uZYxpL8IWU3iMGkP26d4sKuC0eiV TawA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=I2ImebhGhlKTvHxvTGv19G/jykq1quAYCVB14fzFVc0=; b=BuewFebkE0KZydrVq3JvP+bY4JR9LWcOxF+YtmDJZNU+CEECEROvST27k6F9U60Nfj cK68PsnXkyVer9corCeIwK+7QMptth0jn09eNt3hVdTFJBgHx5YmCZaNEacCvKWT6RWP O2n45UUXNzhMd47AmPuMvLZLUL61sE/bKi8l08DKg5NUpELHkelbjcHTRB/Q2hSNGb4U xm1Ibc0jNVfNgQI0VqAIkEIUKikv236EhHjlnNBnqJ3IK3fbf8Aw5kYBh47lID8rTavK aPN/AIGBiXacKpMaq8prmSQcqstIMu7ygXYdVgz9fvQB2tQkbUeJBPTEHqemic/pyXdV +tew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i21-20020a50fc15000000b004fc68e7a3d1si1761438edr.206.2023.04.05.07.05.30; Wed, 05 Apr 2023 07:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238255AbjDEOEf (ORCPT + 99 others); Wed, 5 Apr 2023 10:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238403AbjDEODQ (ORCPT ); Wed, 5 Apr 2023 10:03:16 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3117972B5; Wed, 5 Apr 2023 07:01:39 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.1.0) id 16fa3e09ab760ded; Wed, 5 Apr 2023 16:01:23 +0200 Received: from kreacher.localnet (unknown [213.134.163.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 8710F1B4EA6F; Wed, 5 Apr 2023 16:01:22 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Bob Moore Subject: [PATCH 05/32] ACPICA: Add support for 64 bit loong_arch compilation Date: Wed, 05 Apr 2023 15:36:09 +0200 Message-ID: <10278375.nUPlyArG6x@kreacher> In-Reply-To: <4845957.31r3eYUQgx@kreacher> References: <4845957.31r3eYUQgx@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.163.219 X-CLIENT-HOSTNAME: 213.134.163.219 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejuddgjeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddufedrudefgedrudeifedrvdduleenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrdduieefrddvudelpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Huacai Chen ACPICA commit d809b69cf43c632c8fe5b42372a891216fdd9223 Add 64 bit loong_arch architecture by defining ACPI_MACHINE_WIDTH to 64. Useful for acpica tools and incorporating ACPICA into the Firmware Test Suite. Link: https://github.com/acpica/acpica/commit/d809b69c Signed-off-by: Huacai Chen Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- include/acpi/platform/aclinux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index a5550dd4d507..14ac657a7ded 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h @@ -199,7 +199,7 @@ #if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\ defined(__aarch64__) || defined(__PPC64__) ||\ - defined(__s390x__) ||\ + defined(__s390x__) || defined(__loongarch__) ||\ (defined(__riscv) && (defined(__LP64__) || defined(_LP64))) #define ACPI_MACHINE_WIDTH 64 #define COMPILER_DEPENDENT_INT64 long -- 2.35.3