diff mbox series

[RFC,4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data.

Message ID 58875C45.50108@huawei.com
State New
Headers show
Series None | expand

Commit Message

Shameerali Kolothum Thodi Jan. 24, 2017, 1:53 p.m. UTC
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(-)

-- 
1.9.1

Comments

Mark Rutland Jan. 24, 2017, 2 p.m. UTC | #1
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.
diff mbox series

Patch

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)