ARCv2: [plat-hsdk]: Save accl reg pair by default
authorVineet Gupta <vgupta@synopsys.com>
Tue, 17 Jul 2018 22:21:56 +0000 (15:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jul 2018 09:25:07 +0000 (11:25 +0200)
commitedb5e3eeb14a5260e19010d0e3bb4cd0ebb3ca82
treea859e384dfb8fa389cf5501205982d3b0ed30975
parenta82d4478337a366dc2f95ac961a81260c6b4589e
ARCv2: [plat-hsdk]: Save accl reg pair by default

commit af1fc5baa724c63ce1733dfcf855bad5ef6078e3 upstream.

This manifsted as strace segfaulting on HSDK because gcc was targetting
the accumulator registers as GPRs, which kernek was not saving/restoring
by default.

Cc: stable@vger.kernel.org #4.14+
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/Kconfig
arch/arc/plat-hsdk/Kconfig