All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH] xen/arm: vgic-v3: Fix the typo of GICD IRQ active status range
@ 2019-12-28  2:08 Wei Xu
  2019-12-28  8:09 ` Julien Grall
  0 siblings, 1 reply; 18+ messages in thread
From: Wei Xu @ 2019-12-28  2:08 UTC (permalink / raw)
  To: Stefano Stabellini, Julien Grall, Volodymyr Babchuk, xen-devel
  Cc: prime.zeng, shameerali.kolothum.thodi, xuwei5, linuxarm

This patch fixes the typo about the active status range of an IRQ
via GICD. Otherwise it will be failed to handle the mmio access and
inject a data abort.

Fixes: a2b83f95bfad ("xen/arm: vgic: Properly emulate the full register")

Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
---
 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 422b94f..e802f20 100644
--- a/xen/arch/arm/vgic-v3.c
+++ b/xen/arch/arm/vgic-v3.c
@@ -706,7 +706,7 @@ static int __vgic_v3_distr_common_mmio_read(const char *name, struct vcpu *v,
         goto read_as_zero;
 
     /* Read the active status of an IRQ via GICD/GICR is not supported */
-    case VRANGE32(GICD_ISACTIVER, GICD_ISACTIVER):
+    case VRANGE32(GICD_ISACTIVER, GICD_ISACTIVERN):
     case VRANGE32(GICD_ICACTIVER, GICD_ICACTIVERN):
         goto read_as_zero;
 
-- 
2.8.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-01-20  4:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-28  2:08 [Xen-devel] [PATCH] xen/arm: vgic-v3: Fix the typo of GICD IRQ active status range Wei Xu
2019-12-28  8:09 ` Julien Grall
2019-12-28  8:57   ` Wei Xu
2020-01-06 22:01     ` Stefano Stabellini
2020-01-07  8:39       ` Wei Xu
2020-01-07  9:10         ` Julien Grall
2020-01-07  9:28           ` Wei Xu
2020-01-07 10:51             ` Julien Grall
2020-01-07 10:56               ` Wei Xu
2020-01-07 11:13                 ` Julien Grall
2020-01-07 11:45                   ` Wei Xu
2020-01-07  9:48           ` Wei Xu
2020-01-07 11:42             ` Julien Grall
2020-01-07 12:55               ` Wei Xu
2020-01-07 15:12                 ` Julien Grall
2020-01-17  9:06                   ` Wei Xu
2020-01-17 20:41                     ` [Xen-devel] Interaction between ACPI and dt_unreserved_regions() (WAS: Re: [PATCH] xen/arm: vgic-v3: Fix the typo of GICD IRQ active status range) Julien Grall
2020-01-20  4:05                       ` Wei Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.