From patchwork Tue Jan 24 13:53:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shameerali Kolothum Thodi X-Patchwork-Id: 92358 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1722726qgi; Tue, 24 Jan 2017 05:55:22 -0800 (PST) X-Received: by 10.98.81.6 with SMTP id f6mr16025075pfb.180.1485266122178; Tue, 24 Jan 2017 05:55:22 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y80si19285554pfb.7.2017.01.24.05.55.21; Tue, 24 Jan 2017 05:55:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751268AbdAXNzU (ORCPT + 25 others); Tue, 24 Jan 2017 08:55:20 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:34897 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbdAXNzS (ORCPT ); Tue, 24 Jan 2017 08:55:18 -0500 Received: from 172.24.1.137 (EHLO SZXEML429-HUB.china.huawei.com) ([172.24.1.137]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id COL24025; Tue, 24 Jan 2017 21:53:25 +0800 (CST) Received: from [127.0.0.1] (10.203.177.212) by SZXEML429-HUB.china.huawei.com (10.82.67.184) with Microsoft SMTP Server id 14.3.235.1; Tue, 24 Jan 2017 21:53:15 +0800 Subject: [RFC 4/4] irqchip, gicv3-its: Add HiSilicon acpi based erratum data. References: <588626A5.7090603@huawei.com> To: , , CC: , , , , , From: Shameerali Kolothum Thodi X-Forwarded-Message-Id: <588626A5.7090603@huawei.com> Message-ID: <58875C45.50108@huawei.com> Date: Tue, 24 Jan 2017 13:53:09 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <588626A5.7090603@huawei.com> X-Originating-IP: [10.203.177.212] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables the acpi based workaround for HiSilicon erratum 161010801. Signed-off-by: shameer --- drivers/irqchip/irq-gic-v3-its.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.9.1 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)