linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Print correct PC in trace dump after NMI exception

To: <thomas.langer@lantiq.com>, <linux-mips@linux-mips.org>
Subject: Re: [PATCH] MIPS: Print correct PC in trace dump after NMI exception
From: Markos Chandras <Markos.Chandras@imgtec.com>
Date: Tue, 8 Oct 2013 13:21:07 +0100
Cc: <Leonid.Yegoshin@imgtec.com>
In-reply-to: <593AEF6C47F46446852B067021A273D6D990182F@MUCSE039.lantiq.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1381232371-25017-1-git-send-email-markos.chandras@imgtec.com> <593AEF6C47F46446852B067021A273D6D990182F@MUCSE039.lantiq.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
On 10/08/13 12:48, thomas.langer@lantiq.com wrote:
Hello Markos,

If this is a YAMON specific fix, why is it done in a common file?

Hi Thomas,

I can see how the commit message can be a bit misleading. However, it's not YAMON specific. The NMI was just delivered by YAMON because we patch the default NMI location in YAMON (see mti-malta/malta-init.c). NMI, Reset and Cache Error exceptions use ErrorEPC instead of EPC so this patch is platform independent.


<Prev in Thread] Current Thread [Next in Thread>