arc770: backport upstream fix for unaligned access
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 8 Feb 2017 14:01:00 +0000 (17:01 +0300)
committerJohn Crispin <john@phrozen.org>
Thu, 9 Feb 2017 08:15:17 +0000 (09:15 +0100)
commitf25d9cbe48a68bef7d818b9969c0dda0bbc92c05
treedd9848be3ac73650ff034a07d46fbb4a5a2126fc
parentbd64568d27681d2a3d9fe469863a251bb0cb1f75
arc770: backport upstream fix for unaligned access

This commit reverts 42f3c1f ("arc770: fix broken upstream change")
and simultaneously adds back-ported fix from Linus' tree:
a524c218bc94 ("ARC: [arcompact] brown paper bag bug in unaligned
access delay slot fixup").

Note mentioned patch will appear in stable trees soon as well so
IMHO there's not much sense in adding this separate patch in lede/master branch.
As well as we will get rid of it here in 17.01 once we bump 4.4 kernel here
later down the line.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@nbd.name>
Cc: John Crispin <john@phrozen.org>
Cc: Jo-Philipp Wich <jo@mein.io>
target/linux/arc770/patches-4.4/001-ARC-arcompact-brown-paper-bag-bug-in-unaligned-access-delay-slot-fixup.patch [new file with mode: 0644]
target/linux/arc770/patches-4.4/900-revert-unaligned-access-delay-corner-case.patch [deleted file]