Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-12 Thread Vineet Gupta
On 06/08/2017 08:17 PM, Noam Camus wrote: *> From:*Vineet Gupta *> Sent:* Thursday, June 8, 2017 10:00 PM >> With EZsim we try to simulate NPS400 CTOP core and not ARC core, and as such we >> strive to have similar echo system for both silicon and its simulator. >Right, but if you are usin

Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-08 Thread Vineet Gupta
On 06/08/2017 11:23 AM, Noam Camus wrote: *> From:* Vineet Gupta *> Sent:* Thursday, June 8, 2017 7:38 PM >> >> With simulator we just turn this configuration on, so we redirect the Legacy >> Synopsys L2 ISR from nSIM into machine check. >> This way we end up just like with silicon 😊 >This

Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-08 Thread Vineet Gupta
On 06/07/2017 08:29 PM, Noam Camus wrote: *From:* Noam Camus *Sent:* Wednesday, June 7, 2017 8:06:17 PM *To:* Vineet Gupta; linux-snps-...@lists.infradead.org *Cc:* linux-kernel@vger.kernel.org; Elad Kanfi *Subject:* Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-07 Thread Vineet Gupta
On 06/07/2017 04:14 AM, Noam Camus wrote: +config EZNPS_MEM_ERROR + bool "ARC-EZchip Memory error as an exception" + depends on ARC_PLAT_EZNPS + default n So you set default to "n" - thus by default it works for the simulator not silicon ? Correct, this way I "align" Sim envi

RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-07 Thread Noam Camus
> From: Noam Camus > Sent: Wednesday, June 7, 2017 9:08 AM >To: 'Vineet Gupta' ; >linux-snps-...@lists.infradead.org >Cc: linux-kernel@vger.kernel.org; Elad Kanfi >Subject: RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an >exception >>

RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-06 Thread Noam Camus
>From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] >Sent: Wednesday, June 7, 2017 1:11 AM ... >> + >> +config EZNPS_MEM_ERROR >> + bool "ARC-EZchip Memory error as an exception" >> + depends on ARC_PLAT_EZNPS >> + default n >So you set default to "n" - thus by default it wo

Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-06 Thread Vineet Gupta
On 05/27/2017 11:52 PM, Noam Camus wrote: From: Noam Camus This commit adds the configuration CONFIG_EZNPS_MEM_ERROR. If set, it will cause the kernel to handle user memory error as a machine check exception. It is required in order to align the NPS simulator memory error handling to the one of

RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-03 Thread Noam Camus
> From: Vineet Gupta [mailto:vineet.gup...@synopsys.com] > Sent: Friday, June 2, 2017 22:04 PM >> diff --git a/arch/arc/plat-eznps/Kconfig b/arch/arc/plat-eznps/Kconfig >> index feaa471..c5f946c 100644 >> --- a/arch/arc/plat-eznps/Kconfig >> +++ b/arch/arc/plat-eznps/Kconfig >> @@ -32,3 +32,14 @

Re: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-06-02 Thread Vineet Gupta
On 05/27/2017 11:52 PM, Noam Camus wrote: From: Noam Camus This commit adds the configuration CONFIG_EZNPS_MEM_ERROR. If set, it will cause the kernel to handle user memory error as a machine check exception. It is required in order to align the NPS simulator memory error handling to the one of

[PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-05-27 Thread Noam Camus
From: Noam Camus This commit adds the configuration CONFIG_EZNPS_MEM_ERROR. If set, it will cause the kernel to handle user memory error as a machine check exception. It is required in order to align the NPS simulator memory error handling to the one of the NPS400 real chip behavior. We override