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

[XEN v2 06/12] xen/Arm: vGICv3: Fix emulation of ICC_SGI1R on AArch32


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Mon, 31 Oct 2022 15:13:20 +0000
  • 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
  • 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=/p5jkWoda03qGdQLpQMhA6Pfpa9oQEXMii4oL6oeQfo=; b=U4oPUJfOtdvW2Oa9WicG4Zky2xfKt+/t/uVkjBzytdnxqkSxRArx+t5kxz40OrJgPMeJJG9d0zZI6Zm4iJdK4LL0Uu9f3FN4h4LKYehnaNO+Br7PeiKXsPyz8Dv9bT5iCZcZQKmSeQiaS1wi7ZquMHW5xKkO+yJpKB4u8NNUsPNQuDkxcNX+y+7RD9X1XQ8040CdKBawpvQyR+M/hQ15+dkVLI50Ry9242doHQ4n3spf+Y65PB67wijcJR/8Vpzr+bahKBREeJemaKgeu0w4RvGNtcjqsMMO5pIpKtgn9qX9qJyf84R8AM42UaVNXeEyuPEPghVQlSaD2PLYK4KFxg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OeKhL96Zw7e7L9eZ/5IZAaQasBSl4JgavTTGCOKYoaTTt5vAdtlX8o1GD8LfcvbiglShgC95vt8PBjOjNLMuMsmlPioNPwUPgzU7rwIPWBUvLOxMV9E5EwHgHYErv88gqglMJQG53SgUhsCsHseg3NefLjp1ggpXgTfr6mqJA7WSy2AJmOykQnK8m/PdPA1m7ncXM/So013wTjHJi6gts0K9v9Et5nZDYFk5AMpxuzhkXFgPqaqdBQ+azM/bo7JJMdQbOskby0xD6bchr0HgaNMarjlwkYA+LXXi/G3OrFJCfUR1KJHH588yWQiy6lSaCUywVIiVQjB5BqEd5VKWrA==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefanos@xxxxxxxxxx>, <julien@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <bertrand.marquis@xxxxxxx>, <burzalodowa@xxxxxxxxx>, Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Delivery-date: Mon, 31 Oct 2022 15:14:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Refer Arm IHI 0069H ID020922, 12.5.23, ICC_SGI1R is a 64 bit register on
Aarch32 systems. Thus, the prototype needs to change to reflect this.
The reason being 'register_t' is defined as 'u32' on AArch32.

Signed-off-by: Ayan Kumar Halder <ayankuma@xxxxxxx>
---

Changes from :-
v1 - 1. Updated the commit message.

 xen/arch/arm/vgic-v3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/arm/vgic-v3.c b/xen/arch/arm/vgic-v3.c
index e5e6f2c573..1bae76a1e1 100644
--- a/xen/arch/arm/vgic-v3.c
+++ b/xen/arch/arm/vgic-v3.c
@@ -1477,7 +1477,7 @@ write_reserved:
     return 1;
 }
 
-static bool vgic_v3_to_sgi(struct vcpu *v, register_t sgir)
+static bool vgic_v3_to_sgi(struct vcpu *v, uint64_t sgir)
 {
     int virq;
     int irqmode;
-- 
2.17.1




 


Rackspace

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