devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data.
       [not found] <588626A5.7090603@huawei.com>
@ 2017-01-24 13:53 ` Shameerali Kolothum Thodi
  2017-01-24 14:00   ` Mark Rutland
  0 siblings, 1 reply; 2+ messages in thread
From: Shameerali Kolothum Thodi @ 2017-01-24 13:53 UTC (permalink / raw)
  To: marc.zyngier, mark.rutland, will.deacon
  Cc: linux-arm-kernel, linuxarm, linux-kernel, devicetree, john.garry,
	guohanjun

This enables the acpi based workaround for HiSilicon erratum 161010801.

Signed-off-by: shameer <shameerali.kolothum.thodi@huawei.com>
---
 drivers/irqchip/irq-gic-v3-its.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 9fa12b7..d0f5099 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -1868,7 +1868,10 @@ struct acpi_madt_its_quirks {

 /*Upadate as per the board OEM ID and TABLE ID*/
 struct acpi_madt_its_quirks acpi_its_quirks[] __initdata = {
-
+#ifdef CONFIG_HISILICON_ERRATUM_161010801
+	{"HISI  ", "HIP06   ", 0, 0, "hisilicon,erratum-161010801"},
+	{"HISI  ", "HIP07   ", 0, 0, "hisilicon,erratum-161010801"},
+#endif
 };

 static void acpi_its_enable_erratum(const char  *erratum)
-- 
1.9.1

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

* Re: [RFC 4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data.
  2017-01-24 13:53 ` [RFC 4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data Shameerali Kolothum Thodi
@ 2017-01-24 14:00   ` Mark Rutland
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Rutland @ 2017-01-24 14:00 UTC (permalink / raw)
  To: Shameerali Kolothum Thodi
  Cc: marc.zyngier, will.deacon, linux-arm-kernel, linuxarm,
	linux-kernel, devicetree, john.garry, guohanjun

On Tue, Jan 24, 2017 at 01:53:09PM +0000, Shameerali Kolothum Thodi wrote:
> This enables the acpi based workaround for HiSilicon erratum 161010801.
> 
> Signed-off-by: shameer <shameerali.kolothum.thodi@huawei.com>
> ---
>  drivers/irqchip/irq-gic-v3-its.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
> index 9fa12b7..d0f5099 100644
> --- a/drivers/irqchip/irq-gic-v3-its.c
> +++ b/drivers/irqchip/irq-gic-v3-its.c
> @@ -1868,7 +1868,10 @@ struct acpi_madt_its_quirks {
> 
>  /*Upadate as per the board OEM ID and TABLE ID*/
>  struct acpi_madt_its_quirks acpi_its_quirks[] __initdata = {
> -
> +#ifdef CONFIG_HISILICON_ERRATUM_161010801
> +	{"HISI  ", "HIP06   ", 0, 0, "hisilicon,erratum-161010801"},
> +	{"HISI  ", "HIP07   ", 0, 0, "hisilicon,erratum-161010801"},
> +#endif
>  };

Similarly to the arch timer patch, NAK to bodging ACPI match data to DT
property names.

Thanks,
Mark.

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

end of thread, other threads:[~2017-01-24 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <588626A5.7090603@huawei.com>
2017-01-24 13:53 ` [RFC 4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data Shameerali Kolothum Thodi
2017-01-24 14:00   ` Mark Rutland

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).