]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic: Make quirks matching conditional on init return value
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 17 Oct 2017 16:55:55 +0000 (17:55 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 19 Oct 2017 10:22:38 +0000 (11:22 +0100)
commit4e6a3c85501815bff7a8ce5d72f777e5a3ba2b8d
treea094c133a7f1d0d453791e950ec10e0b6b2ec805
parentd276d589540bf5f832ac2db47ba7896155cb648b
irqchip/gic: Make quirks matching conditional on init return value

As it turns out, the IIDR is not sufficient to distinguish between GICv3
implementations when it comes to enabling quirks. So update the prototype
of the init() hook to return a bool, and interpret a 'false' return value
as no match, in which case the 'enabling workaround' log message should
not be printed.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-common.c
drivers/irqchip/irq-gic-common.h
drivers/irqchip/irq-gic-v3-its.c