[PATCH v3] arc: Re-enable MMU upon a Machine Check exception

Vineet Gupta Vineet.Gupta1 at synopsys.com
Fri Sep 1 09:55:46 PDT 2017


Hi Jose,

Some very minor nit picks to keep in mind for future patches.

1. all arc patches start with uppercase ARC:

On 09/01/2017 09:05 AM, Jose Abreu wrote:
> I recently came upon a scenario where I would get a double fault
> after a machine check error. It turns out that for Ksymbol lookup
> to work with modules we need to have MMU enabled because module
> address is mapped in the cached space.
> 
> This patch re-enables the MMU before calling die() so that
> stacktracing of modules work when a machine check exception happens.
> 
> Signed-off-by: Jose Abreu <joabreu at synopsys.com>
> Cc: Vineet Gupta <vgupta at synopsys.com>
> Cc: Alexey Brodkin <abrodkin at synopsys.com>
> 
> Changes from v2:
> 	- Rephrased commit title and description
> Changes from v1:
> 	- Moved MMU re-enable to machine check exception handler
> ---

2. The patch revision history needs to be added *after* the line with ---, that 
way git am automatically strips them off when patch is applied.

-Vineet



More information about the linux-snps-arc mailing list