Files
linux/arch/arc/kernel
Vineet Gupta 4422ef3886 ARC: show_regs: fix r12 printing and simplify
[ Upstream commit e5c388b4b9 ]

when working on ARC64, spotted an issue in ARCv2 reg file printing.
print_reg_file() assumes contiguous reg-file whereas in ARCv2 they are
not: r12 comes before r0-r11 due to hardware auto-save. Apparently this
issue has been present since v2 port submission.

To avoid bolting hacks for this discontinuity while looping through
pt_regs, just ditching the loop and print pt_regs directly.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-17 13:55:34 +02:00
..
2020-01-17 16:53:44 -08:00
2020-01-15 16:08:12 -08:00