From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757315AbcH3Iuq (ORCPT ); Tue, 30 Aug 2016 04:50:46 -0400 Received: from foss.arm.com ([217.140.101.70]:33942 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755802AbcH3Iu1 (ORCPT ); Tue, 30 Aug 2016 04:50:27 -0400 Subject: Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt To: MaJun , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, dingtianhong@huawei.com, guohanjun@huawei.com References: <1472530639-21616-1-git-send-email-majun258@huawei.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: <57C548D0.3090700@arm.com> Date: Tue, 30 Aug 2016 09:50:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <1472530639-21616-1-git-send-email-majun258@huawei.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > > During system booting, if the interrupt which has no action registered > is triggered, it would cause system panic when try to access the > action member. And why would that interrupt be enabled? If you enable a PPI before registering a handler, you're doing something wrong. Thanks, M. -- Jazz is not dead. It just smells funny...