[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] arm/vpci: make prefetchable mem 64 bit


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Wed, 24 Apr 2024 12:27:22 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8lea7rpiXbySq5b28kViv384nbu2rzhSNZO83KIpiL0=; b=elwlvvqAyHDuFOnKdFRaYNVJg5Fda/L3KxhsnfY3LsNriGCD90qLGxdLhMUHguyqRld0+OiNJGWKOZFzDEFRgws3BEsf1v0BkhQGdo6S7kjhyvKV+ukkk5ha4hequ3JqC20zHmDFdT60/7jYxn4p9xtLC/QihWzsiOpnY5rJg0xJ0ckBbFYwj8eOGvmqb53QlquSlwpvlzNy6wTH/Enk5/B058hnafpgsR5mV8B/ZHZ3Nnxcf7O8O7Tu7AythAbHNt+F6DKJxrKCSqTrNKlQ2mqGj0Mr+zgSzFMTE19w50kAuLVxxn+61TXleMa/W4UdF7SK1z/No0MkJIOpjQpbbA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F4PZ0asnfjOot9VZc5WlCJq0bJM6mTBRVYwA+VlWVvhZ5jTj8hiGyz82XgW4swExYjhbfqTYswc/NRGjDD/rkIVHpfH406R+6BVB+3k2HQMS9iXQVOmXOXwyy4uAFUf3q2DERTOoEtZuPSkzYDVMovMNeyJz1PslX9tDJv2uuSpa2COjby/HyygLxi3Fe4AqthGPPRy0uTS+/CbBhB9/Wnuu86su81/jZx8DLrheum/3kjWMVo6QmhRYO+dBNbrRz2+4rcQDbrCar/UZCD1yqYlgFlquPS6Xo0ht6BKNZFdus7ZyXob+ZTe8FSayhIrQwO3RVNVZfUQ9OjuZAv3y6w==
  • Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 24 Apr 2024 16:28:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The vPCI prefetchable memory range is >= 4GB, so the memory space flags
should be set to 64-bit. See IEEE Std 1275-1994 [1] for a definition of
the field.

[1] https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf

Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
---
 xen/include/public/arch-arm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
index e167e14f8df9..289af81bd69d 100644
--- a/xen/include/public/arch-arm.h
+++ b/xen/include/public/arch-arm.h
@@ -487,7 +487,7 @@ typedef uint64_t xen_callback_t;
 #define GUEST_RAM0_SIZE   xen_mk_ullong(0xc0000000)
 
 /* 4GB @ 4GB Prefetch Memory for VPCI */
-#define GUEST_VPCI_ADDR_TYPE_PREFETCH_MEM   xen_mk_ullong(0x42000000)
+#define GUEST_VPCI_ADDR_TYPE_PREFETCH_MEM   xen_mk_ullong(0x43000000)
 #define GUEST_VPCI_PREFETCH_MEM_ADDR        xen_mk_ullong(0x100000000)
 #define GUEST_VPCI_PREFETCH_MEM_SIZE        xen_mk_ullong(0x100000000)
 

base-commit: 410ef3343924b5a3928bbe8e392491992b322cf0
-- 
2.43.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.