Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754724AbbGTMs6 (ORCPT ); Mon, 20 Jul 2015 08:48:58 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:35267 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752423AbbGTMs4 (ORCPT ); Mon, 20 Jul 2015 08:48:56 -0400 Message-ID: <55ACEE2D.3000503@linaro.org> Date: Mon, 20 Jul 2015 20:48:45 +0800 From: Hanjun Guo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Timur Tabi CC: Marc Zyngier , Jason Cooper , Will Deacon , Catalin Marinas , "Rafael J. Wysocki" , Wei Huang , Lorenzo Pieralisi , Arnd Bergmann , linaro-acpi@lists.linaro.org, lkml , Tomasz Nowicki , linux-acpi@vger.kernel.org, Mark Brown , Grant Likely , Thomas Gleixner , Jiang Liu , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 2/8] ACPI / irqchip: Add self-probe infrastructure to initialize IRQ controller References: <1436525114-14425-1-git-send-email-hanjun.guo@linaro.org> <1436525114-14425-3-git-send-email-hanjun.guo@linaro.org> <55ACC022.1000800@linaro.org> <55ACE596.10709@codeaurora.org> In-Reply-To: <55ACE596.10709@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 24 On 07/20/2015 08:12 PM, Timur Tabi wrote: > Hanjun Guo wrote: >>> Should we display an error message if we don't find a matching table? >>> That can happen if the ACPI tables shows a GIC version number that is >>> not listed in __irqchip_acpi_table[]? >> >> Hmm, did you get the error message like: "Invalid GIC version 5 in >> MADT"? or just use ACPI_MADT_GIC_VERSION_V1 as the gic_version? if >> the later one, it will show everything is fine, but failed to probe >> the GIC. > > We had a bug in our ACPI tables that listed the GIC version as 1, and it > failed to probe and then the kernel panicked. It took me a while to > figure out what was wrong, so I think it should print an error message > that says that version X is unsupported. OK, will do in next version, thanks for testing those patches! Hanjun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/