xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3] arm/gic-v3: Fix ACPI probe fail on GICv4 hardware
@ 2016-05-27 18:32 Shanker Donthineni
  2016-05-31 11:10 ` Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: Shanker Donthineni @ 2016-05-27 18:32 UTC (permalink / raw)
  To: xen-devel
  Cc: Philip Elcan, Julien Grall, Stefano Stabellini,
	Shanker Donthineni, Vikram Sethi

The current driver ACPI probe fails on hardware which has GICv4
version, even though it is fully compatible to GICv3. This patch
fixed the issue by registering the same probe function for GICv4
hardware.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
---
Changes since v2:
    - Keep it the GICv4 version number inside driver and export outside as GICv3.

Changes since v1:
    - Edit commit text.
    - Fix BUG() in xen/arch/arm/domain.c 

 xen/arch/arm/gic-v3.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/xen/arch/arm/gic-v3.c b/xen/arch/arm/gic-v3.c
index a095064..982c632 100644
--- a/xen/arch/arm/gic-v3.c
+++ b/xen/arch/arm/gic-v3.c
@@ -1608,6 +1608,11 @@ ACPI_DEVICE_START(agicv3, "GICv3", DEVICE_GIC)
         .class_type = ACPI_MADT_GIC_VERSION_V3,
         .init = gicv3_acpi_preinit,
 ACPI_DEVICE_END
+
+ACPI_DEVICE_START(agicv4, "GICv4", DEVICE_GIC)
+        .class_type = ACPI_MADT_GIC_VERSION_V4,
+        .init = gicv3_acpi_preinit,
+ACPI_DEVICE_END
 #endif
 
 /*
-- 
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
a Linux Foundation Collaborative Project


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH V3] arm/gic-v3: Fix ACPI probe fail on GICv4 hardware
  2016-05-27 18:32 [PATCH V3] arm/gic-v3: Fix ACPI probe fail on GICv4 hardware Shanker Donthineni
@ 2016-05-31 11:10 ` Julien Grall
  2016-06-01  9:36   ` Stefano Stabellini
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2016-05-31 11:10 UTC (permalink / raw)
  To: Shanker Donthineni, xen-devel
  Cc: Philip Elcan, Stefano Stabellini, Vikram Sethi

Hi Shanker,

On 27/05/16 19:32, Shanker Donthineni wrote:
> The current driver ACPI probe fails on hardware which has GICv4
> version, even though it is fully compatible to GICv3. This patch
> fixed the issue by registering the same probe function for GICv4
> hardware.
>
> Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>

Acked-by: Julien Grall <julien.grall@arm.com>

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH V3] arm/gic-v3: Fix ACPI probe fail on GICv4 hardware
  2016-05-31 11:10 ` Julien Grall
@ 2016-06-01  9:36   ` Stefano Stabellini
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2016-06-01  9:36 UTC (permalink / raw)
  To: Julien Grall
  Cc: Vikram Sethi, Philip Elcan, xen-devel, Stefano Stabellini,
	Shanker Donthineni

On Tue, 31 May 2016, Julien Grall wrote:
> Hi Shanker,
> 
> On 27/05/16 19:32, Shanker Donthineni wrote:
> > The current driver ACPI probe fails on hardware which has GICv4
> > version, even though it is fully compatible to GICv3. This patch
> > fixed the issue by registering the same probe function for GICv4
> > hardware.
> > 
> > Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
> 
> Acked-by: Julien Grall <julien.grall@arm.com>

Queued in my next-4.8 branch

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2016-06-01  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 18:32 [PATCH V3] arm/gic-v3: Fix ACPI probe fail on GICv4 hardware Shanker Donthineni
2016-05-31 11:10 ` Julien Grall
2016-06-01  9:36   ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).