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:14:45 +0000 (09:14 +0100)
commitaab344d227e013dafdb820298f4dbb7c4e0524ba
tree913476c12d13a7c320f59bf3ea20f2b56d3513f4
parent1f3de9954726353177d044a2435af373ca4d2e8e
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]