ARC: Enable fatal signals on boot for dev platforms
authorAlexey Brodkin <abrodkin@synopsys.com>
Thu, 18 Jan 2018 13:48:47 +0000 (16:48 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 18 Jan 2018 18:51:27 +0000 (10:51 -0800)
commit8ff3afc159f26e44471e174077e6d16cd2a2bb91
tree61073b3f16a48c6c6caf8c51fbe7549e2d38dbbb
parenta3142792f79884b867b7bf4c7d5a126a0f913332
ARC: Enable fatal signals on boot for dev platforms

It's very convenient to have fatal signals enabled on developemnt
platform as this allows to catch problems that happen early in
user-space (like crashing init or dynamic loader).

Otherwise we may either enable it later from alive taregt console
by "echo 1 > /proc/sys/kernel/print-fatal-signals" but:
 1. We might be unfortunate enough to not reach working console
 2. Forget to enable fatal signals and miss something interesting

Given we're talking about development platforms here it shouldn't
be a problem if a bit more data gets printed to debug console.

Moreover this makes behavior of all our dev platforms predictable
as today some platforms already have it enabled and some don't -
which is way too inconvenient.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/axs101.dts
arch/arc/boot/dts/haps_hs_idu.dts
arch/arc/boot/dts/nsim_700.dts
arch/arc/boot/dts/nsim_hs.dts
arch/arc/boot/dts/nsim_hs_idu.dts
arch/arc/boot/dts/nsimosci.dts
arch/arc/boot/dts/nsimosci_hs.dts
arch/arc/boot/dts/nsimosci_hs_idu.dts