Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Julien Grall
On 11/09/15 12:09, Marc Zyngier wrote: > On 11/09/15 11:59, Julien Grall wrote: >> >> >> On 11/09/2015 11:54, Ian Campbell wrote: >>> On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: I applied the two patches on top of linus/master and I'm able to boot correctly on X-gene. Thank

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Marc Zyngier
On 11/09/15 11:59, Julien Grall wrote: > > > On 11/09/2015 11:54, Ian Campbell wrote: >> On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: >>> I applied the two patches on top of linus/master and I'm able to boot >>> correctly on X-gene. Thank you! >> >> Perhaps we should replicate this

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Julien Grall
On 11/09/2015 11:54, Ian Campbell wrote: On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: I applied the two patches on top of linus/master and I'm able to boot correctly on X-gene. Thank you! Perhaps we should replicate this approach in Xen and get rid of

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Ian Campbell
On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: > I applied the two patches on top of linus/master and I'm able to boot > correctly on X-gene. Thank you! Perhaps we should replicate this approach in Xen and get rid of PLATFORM_QUIRK_GIC_64K_STRIDE? Ian. -- To unsubscribe from this list:

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Julien Grall
On 11/09/2015 11:54, Ian Campbell wrote: On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: I applied the two patches on top of linus/master and I'm able to boot correctly on X-gene. Thank you! Perhaps we should replicate this approach in Xen and get rid of

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Marc Zyngier
On 11/09/15 11:59, Julien Grall wrote: > > > On 11/09/2015 11:54, Ian Campbell wrote: >> On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: >>> I applied the two patches on top of linus/master and I'm able to boot >>> correctly on X-gene. Thank you! >> >> Perhaps we should replicate this

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Ian Campbell
On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: > I applied the two patches on top of linus/master and I'm able to boot > correctly on X-gene. Thank you! Perhaps we should replicate this approach in Xen and get rid of PLATFORM_QUIRK_GIC_64K_STRIDE? Ian. -- To unsubscribe from this list:

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-11 Thread Julien Grall
On 11/09/15 12:09, Marc Zyngier wrote: > On 11/09/15 11:59, Julien Grall wrote: >> >> >> On 11/09/2015 11:54, Ian Campbell wrote: >>> On Thu, 2015-09-10 at 17:23 +0100, Julien Grall wrote: I applied the two patches on top of linus/master and I'm able to boot correctly on X-gene. Thank

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Julien Grall
On 10/09/15 17:30, Marc Zyngier wrote: > On 10/09/15 17:23, Julien Grall wrote: >> On 10/09/15 10:54, Marc Zyngier wrote: > > [...] > >>> In the meantime, can you give the following patch a shot? My Mustang is >>> wired to a 4kB CPU interface, so I'll need your help to test it. >> >> I applied

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
On 10/09/15 17:23, Julien Grall wrote: > On 10/09/15 10:54, Marc Zyngier wrote: [...] >> In the meantime, can you give the following patch a shot? My Mustang is >> wired to a 4kB CPU interface, so I'll need your help to test it. > > I applied the two patches on top of linus/master and I'm able

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Julien Grall
On 10/09/15 10:54, Marc Zyngier wrote: > Hi Julian, Hi Marc, > On 09/09/15 20:23, Julien Grall wrote: >> Hi, >> >> I've been trying the latest linus/master (a794b4f), which include this >> patch, as baremetal kernel on X-gene. This is failing on early boot >> without much log. >> >> After

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
On 10/09/15 10:54, Marc Zyngier wrote: > Hi Julian, > > On 09/09/15 20:23, Julien Grall wrote: >> Hi, >> >> I've been trying the latest linus/master (a794b4f), which include this >> patch, as baremetal kernel on X-gene. This is failing on early boot >> without much log. >> >> After bisecting the

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
Hi Julian, On 09/09/15 20:23, Julien Grall wrote: > Hi, > > I've been trying the latest linus/master (a794b4f), which include this > patch, as baremetal kernel on X-gene. This is failing on early boot > without much log. > > After bisecting the tree, I found the error coming from this patch. >

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
Hi Julian, On 09/09/15 20:23, Julien Grall wrote: > Hi, > > I've been trying the latest linus/master (a794b4f), which include this > patch, as baremetal kernel on X-gene. This is failing on early boot > without much log. > > After bisecting the tree, I found the error coming from this patch. >

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
On 10/09/15 10:54, Marc Zyngier wrote: > Hi Julian, > > On 09/09/15 20:23, Julien Grall wrote: >> Hi, >> >> I've been trying the latest linus/master (a794b4f), which include this >> patch, as baremetal kernel on X-gene. This is failing on early boot >> without much log. >> >> After bisecting the

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Julien Grall
On 10/09/15 10:54, Marc Zyngier wrote: > Hi Julian, Hi Marc, > On 09/09/15 20:23, Julien Grall wrote: >> Hi, >> >> I've been trying the latest linus/master (a794b4f), which include this >> patch, as baremetal kernel on X-gene. This is failing on early boot >> without much log. >> >> After

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Julien Grall
On 10/09/15 17:30, Marc Zyngier wrote: > On 10/09/15 17:23, Julien Grall wrote: >> On 10/09/15 10:54, Marc Zyngier wrote: > > [...] > >>> In the meantime, can you give the following patch a shot? My Mustang is >>> wired to a 4kB CPU interface, so I'll need your help to test it. >> >> I applied

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-10 Thread Marc Zyngier
On 10/09/15 17:23, Julien Grall wrote: > On 10/09/15 10:54, Marc Zyngier wrote: [...] >> In the meantime, can you give the following patch a shot? My Mustang is >> wired to a 4kB CPU interface, so I'll need your help to test it. > > I applied the two patches on top of linus/master and I'm able

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-09 Thread Julien Grall
Hi, I've been trying the latest linus/master (a794b4f), which include this patch, as baremetal kernel on X-gene. This is failing on early boot without much log. After bisecting the tree, I found the error coming from this patch. While this patch is valid, it made me remembered that X-Gene (at

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-09 Thread Julien Grall
Hi, I've been trying the latest linus/master (a794b4f), which include this patch, as baremetal kernel on X-gene. This is failing on early boot without much log. After bisecting the tree, I found the error coming from this patch. While this patch is valid, it made me remembered that X-Gene (at

[PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-08-26 Thread Marc Zyngier
So far, GICv2 has been used with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a single priority), it causes issues when an interrupt is forwarded to a guest, and

[PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-08-26 Thread Marc Zyngier
So far, GICv2 has been used with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a single priority), it causes issues when an interrupt is forwarded to a guest, and