From patchwork Mon Jun 3 16:08:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 165675 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp4666611ili; Mon, 3 Jun 2019 09:10:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzm3kQUK7gXG7YFk54TZSn4eYODBCIeHXcEZ+470AqkvU3Y/sC2wr/qigDWNTX28fxYjpo X-Received: by 2002:a6b:901:: with SMTP id t1mr10692909ioi.42.1559578201714; Mon, 03 Jun 2019 09:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559578201; cv=none; d=google.com; s=arc-20160816; b=o8CHIqfREqKiPfw1uC4xd7Jbdxv0ke8rJkJd4dGI/SNOu9l7TB7V0R1jjeEVWR/HYf ZRywuBH/Fd1xbks3Xy6YMYAyCsew0/T4R4+qHVVAmpaPfk5Q9TzCnQ3F2A/obghOLBYM 3XjEuHEUydgKozdAoXOnWA4IkxlTrwdBsl4PlfQyJl8jySgw+L19cce2YFFoyJjyjfZT aSjzBTfgIc20h8wjXoG0yXHRW2Z75TkGyXnda0vhCLHbMawBaStM86RxPVwhydqNJ671 P8NM4qIVhbydiaXz7KqM7L+0t37CKZ72HqZBNcqk668konuentqNO49r66cxSfFLycK5 ZwXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=OE4oi3ALCp2DAiP5TUM+SOgUaw9krNIufPdt7dx+SR0=; b=mYWRvjSPLMA/I7JqgoFCWdggk9rqI8PNk8ODWRV1DKcHi3iDOjkUdj7R4kBW5fKTXe ockF05YfDpcty6a4pQIuZqJa33lgdSIKZ6yLj4LwOpqXAMqmE3vv+dpqVVfwLJ3U4/cv fksH1CtfgWrVRUcTysRTd2GqhJo1xGySYnQxvH96jHhPJX/UTXhf+DpoXU9ZFm5GnCju RcH6kLirtb7yxQyMwgi3RyCYLOnwZTAnVQ6UZCbPKAUDwBN+fDpy89bd1L9fbt0Zw3gd RDpps4ttM/I7mmVwFDa5bldHYXwcmOMqS79g6QDeACGsD87FIZi9YHMHpyUgTcTQrdMN J1ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id u75si1987130jau.108.2019.06.03.09.10.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jun 2019 09:10:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org 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 X-Inumbo-ID: d6ab9909-8619-11e9-8980-bc764e045a96 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) 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 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 Reviewed-by: Alexandru Isaila Acked-by: Stefano Stabellini --- 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) /* 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) /* 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) /* * 16MB == 4096 pages reserved for guest to use as a region to map its