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

2017-06-06 Thread Vineet Gupta
On 05/25/2017 04:30 AM, Alexey Brodkin wrote: Hi Noam, On Thu, 2017-05-25 at 11:26 +, Noam Camus wrote: From: Alexey Brodkin [mailto:alexey.brod...@synopsys.com] Sent: Thursday, May 25, 2017 14:15 PM diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry-compact.S index f285

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

2017-05-25 Thread Alexey Brodkin
Hi Noam, On Thu, 2017-05-25 at 12:03 +, Noam Camus wrote: > > > > From: Alexey Brodkin [mailto:alexey.brod...@synopsys.com]  > > Sent: Thursday, May 25, 2017 14:31 PM > ... > > > > > > > > > > > > > Why don't you just make simulator behaving exactly as your real chip? > > > I can't change

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

2017-05-25 Thread Noam Camus
>From: Alexey Brodkin [mailto:alexey.brod...@synopsys.com] >Sent: Thursday, May 25, 2017 14:31 PM ... >> > Why don't you just make simulator behaving exactly as your real chip? >> I can't change simulator core behavior. nSIM is a Synopsys proprietary code. >Well probably it worth discussing with

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

2017-05-25 Thread Alexey Brodkin
Hi Noam, On Thu, 2017-05-25 at 11:26 +, Noam Camus wrote: > > > > From: Alexey Brodkin [mailto:alexey.brod...@synopsys.com]  > > Sent: Thursday, May 25, 2017 14:15 PM > > > > > > > > > > > > diff --git a/arch/arc/kernel/entry-compact.S  > > > b/arch/arc/kernel/entry-compact.S index f285db

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

2017-05-25 Thread Noam Camus
> From: Alexey Brodkin [mailto:alexey.brod...@synopsys.com] > Sent: Thursday, May 25, 2017 14:15 PM >> >> diff --git a/arch/arc/kernel/entry-compact.S >> b/arch/arc/kernel/entry-compact.S index f285dbb..d152d36 100644 >> --- a/arch/arc/kernel/entry-compact.S >> +++ b/arch/arc/kernel/entry-compa

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

2017-05-25 Thread Alexey Brodkin
Hi Noam, On Thu, 2017-05-25 at 05:34 +0300, 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 memo

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

2017-05-24 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. Signed-off-