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

[RFC PATCH v1 06/12] Arm: GICv3: Emulate of ICC_SGI1R on AArch32


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Fri, 21 Oct 2022 16:31:22 +0100
  • 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=qLgWVOt1DQu03UMiS7oEpaPHJ6p9hu7nypVok0V2YKI=; b=lWnw82peHetD5cfrEB8KlJaRMnQjUv8TTLPe7HxWmVIsY7IF0vbrFy7x4bR3O5Ik02R0lBLlcRMjXM2ILdGPO10JTQqmDzqzu/VqMQMvNnijZemcY3rHxD+njLIhf7PAdQlzuX7nDxP1/1mBtXnUuAIEcJphtA7qff/tCVWy+m/u4q8W3VScdgIUXwNFsz5FuBFtL7N1rn2D/K8tOW3PR9tF+EhM6y5UubLA3yFq24w8iyvgrlst9b9U3IRx8jOwioC4iH68TcXuILkjNOKXh3Qk3WVgTu+HZCui+zOLADLieOj4Fx/s/5my3BeeO7ohWCZdmRCIR924V7mTQEOpdg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n9UYVDfYKLN7hUjEzZdFXyB5fc48PmkoSwhgjhT3vz05q8JOvXGAsEseA7c3xJbcl481KHAj+YTLCRj7lOakU7oGCWeZz9jsgz6kRPI349iWq20oQ+NctiIbMKE6dihza3v444V8CkHTr7GXtrE80CQlY+Ej3gJDQvzg7OawlpkVtPjhZ7P6HLyKNsxKoGb1Z10tH4u54wWzipmfT9A9YW7D/Qwy2PwjZvjtpJS/0qJ5MuuAnyieIlk89WlnPOnYLZPxilJ7liwswzfXIr8fds89ehr8hE29EXzj4DXgSodc/YYhE9ubTB+UqvWN3QC8nFfbrRlORFTlYiw01AVEvg==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefanos@xxxxxxxxxx>, <julien@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <bertrand.marquis@xxxxxxx>, Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Delivery-date: Fri, 21 Oct 2022 15:32:20 +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.

Signed-off-by: Ayan Kumar Halder <ayankuma@xxxxxxx>
---
 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 9f31360f56..48e8ef95d2 100644
--- a/xen/arch/arm/vgic-v3.c
+++ b/xen/arch/arm/vgic-v3.c
@@ -1482,7 +1482,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®.