Re: [RESEND] Fix BUG_ON() reporting in real mode on PPC
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-02-29 11:05:25
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-02-29 11:05:25
On Thu, 2016-18-02 at 02:48:01 UTC, Balbir Singh wrote:
Changelog:
Don't use REGION_ID, breaks on some platforms
Don't blindly add PAGE_OFFSET to bugaddr
I ran into this issue while debugging an early boot problem.
The system hit a BUG_ON() but report bug failed to print the
line number and file name. The reason being that the system
was running in real mode and report_bug() searches for
addresses in the PAGE_OFFSET+ region
Suggested-by: Paul Mackerras <redacted>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a4c3f909b4d9bb9430bf42ad58 cheers