From nobody Thu Apr 25 00:15:15 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1559578184; cv=none; d=zoho.com; s=zohoarc; b=EBmIvi9i3OaXMtTE6TG9NJO3Qor7+NG/EqDys2J78mILnaK2siFThL1ff3frKfe9xVr50U4zTNDG7zQ/VfLsDnmWVdWYlcDZ9/r23WzjPkVa7nWb/1aY0K4ReTutca9YT2vb+W/PTwhAmL/3TAMSKb9Z8via+BOhRetiCpq4Kvk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559578184; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=OE4oi3ALCp2DAiP5TUM+SOgUaw9krNIufPdt7dx+SR0=; b=HLvCA+vmfmEW2pzy6oVuvYsye3cogNepNrh1lu1RwQa9FqXAMXBC6XKZ9V8+B+ra77nPJXcG1zvbmiKzsVgJFSbz868de7aPoMId3rx9Fj7vzAzP8jwZYsqRwjgBIx7nWeLt73XleDePdPIu1g1OxFwpYu7ESHFqMDC6HVxw7c4= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1559578184031410.4740391194907; Mon, 3 Jun 2019 09:09:44 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hXpVk-0003Ns-OG; Mon, 03 Jun 2019 16:08:36 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hXpVj-0003Nn-So for xen-devel@lists.xenproject.org; Mon, 03 Jun 2019 16:08:35 +0000 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id d6ab9909-8619-11e9-8980-bc764e045a96; Mon, 03 Jun 2019 16:08:34 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 68E1780D; Mon, 3 Jun 2019 09:08:34 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 581493F246; Mon, 3 Jun 2019 09:08:33 -0700 (PDT) X-Inumbo-ID: d6ab9909-8619-11e9-8980-bc764e045a96 From: Julien Grall To: xen-devel@lists.xenproject.org Date: Mon, 3 Jun 2019 17:08:29 +0100 Message-Id: <20190603160829.31912-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH] xen/public: arch-arm: Use xen_mk_ullong instead of suffixing value with ULL X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Oleksandr_Tyshchenko@epam.com, Julien Grall , sstabellini@kernel.org, Andrii_Anisov@epam.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" There are a few places in include/public/arch-arm.h that are still suffixing immediate with ULL instead of using xen_mk_ullong. The latter allows a consumer to easily tweak the header if ULL is not supported. So switch the remaining users of ULL to xen_mk_ullong. Signed-off-by: Julien Grall Acked-by: Stefano Stabellini Reviewed-by: Alexandru Isaila --- xen/include/public/arch-arm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h index eb424e8286..f550137089 100644 --- a/xen/include/public/arch-arm.h +++ b/xen/include/public/arch-arm.h @@ -407,12 +407,12 @@ typedef uint64_t xen_callback_t; #define GUEST_GICV3_GICR0_SIZE xen_mk_ullong(0x01000000) =20 /* ACPI tables physical address */ -#define GUEST_ACPI_BASE 0x20000000ULL -#define GUEST_ACPI_SIZE 0x02000000ULL +#define GUEST_ACPI_BASE xen_mk_ullong(0x20000000) +#define GUEST_ACPI_SIZE xen_mk_ullong(0x02000000) =20 /* PL011 mappings */ -#define GUEST_PL011_BASE 0x22000000ULL -#define GUEST_PL011_SIZE 0x00001000ULL +#define GUEST_PL011_BASE xen_mk_ullong(0x22000000) +#define GUEST_PL011_SIZE xen_mk_ullong(0x00001000) =20 /* * 16MB =3D=3D 4096 pages reserved for guest to use as a region to map its --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel