[PATCH] ARCv2: intc: Disable all core interrupts by default

2017-02-07 Thread Yuriy Kolerov
The kernel emits a lot of warnings about unexpected IRQs when an appropriate driver is not presented. It happens because all interrupts in the core controller are enabled by default after reset. It would be wise to keep all interrupts masked by default. Thus disable all local and common interrupts

[PATCH] ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup

2017-02-07 Thread Vineet Gupta
Reported-by: Jo-Philipp Wich Fixes: 9aed02feae57bf7 ("ARC: [arcompact] handle unaligned access delay slot") Cc: linux-ker...@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org Cc: sta...@vger.kernel.org Signed-off-by: Vineet Gupta --- arch/arc/kernel/unaligned.c | 2 +- 1 file changed, 1 ins

[PATCH] ARC: [arcompact] fix handling of unaligned access in delay slot

2017-02-07 Thread Alexey Brodkin
Commit 9aed02feae5 ("ARC: [arcompact] handle unaligned access delay slot corner case") was meant to fix one corner-case of unaligned access fixup. But for some reason real implementation has an important spello which prevents kernel to be built with enabled CONFIG_ARC_EMUL_UNALIGNED: --