[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] irqchip/gic: Handle non-standard SGI deactivation on Samsung's Franken-GIC
On 2020-09-15 15:06, Marek Szyprowski wrote:
> On 15.09.2020 15:39, Marc Zyngier wrote:
>> The GIC available on some of Samsung's A9-based platform is
>> thankfully one of a kind. On top of not presenting a banked
>> programing model (each CPU has its own base addresses for both
>> distributor and CPU interface), it also encodes the source CPU
>> for SGIs in the INTID read from IAR, and requires this exact
>> value to be written back to EOI.
>> Without this, interrupts are never deactivated, and the kernel
>> grinds to a halt.
>> Work around it by stashing the INTID for in-flight SGIs, and
>> using that value on EOI. This only works because we don't nest
>> SGIs.
>> Reported-by: Marek Szyprowski <>
>> Fixes: ac063232d4b0 ("irqchip/gic: Configure SGIs as standard
>> interrupts")
>> Signed-off-by: Marc Zyngier <>
> Works fine, thanks!
> Tested-by: Marek Szyprowski <>

Thanks for having reported the failure, and your patience with testing
all kind of random things! ;-)

Jazz is not dead. It just smells funny...

 \ /
  Last update: 2020-09-15 17:23    [W:0.061 / U:6.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site