Re: NMI for ARC

2016-09-30 Thread Peter Zijlstra
On Thu, Sep 29, 2016 at 12:48:03PM -0700, Vineet Gupta wrote: > > [1] There's an exception on 64-bit AMD CPUs because AMD blew it. > > Also, x86 NMI return is itself severely overcomplicated because we don't > > have good control over NMI nesting. > > For ARC (HS38 cores), there are 16 interrupt p

[PATCH] ARCv2: fix local_save_flags

2016-09-30 Thread Vineet Gupta
Commit d9676fa152c83b ("ARCv2: Enable LOCKDEP"), changed local_save_flags() to not return raw STATUS32 but encoded in the form such that it could be fed directly to CLRI/SETI instructions. However the STATUS32.E[] was not captured correctly as it corresponds to bits [4:1] in the register and not [3

Re: [PATCH] ARCv2: intc: Use kflag if STATUS32.IE must be reset

2016-09-30 Thread Vineet Gupta
On 09/12/2016 08:55 AM, Yuriy Kolerov wrote: > In the end of "arc_init_IRQ" STATUS32.IE flag is going to be affected by > "flag" instruction but "flag" never touches IE flag on ARCv2. So "kflag" > instruction must be used instead of "flag". > > Signed-off-by: Yuriy Kolerov > --- > arch/arc/kerne

kisskb: OK linus/axs101_defconfig/arcompact Sat Oct 01, 15:56

2016-09-30 Thread noreply
OK linus/axs101_defconfig/arcompact Sat Oct 01, 15:56 http://kisskb.ellerman.id.au/kisskb/buildresult/12818575/ Commit: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2161a2a644a6d33a29d68395518d103ed805758f Compiler: arc-buildroot-linux-uclibc-g