[RESEND] Fix BUG_ON() reporting in real mode on PPC
Michael Ellerman
mpe at ellerman.id.au
Mon Feb 29 22:05:24 AEDT 2016
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 <paulus at samba.org>
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a4c3f909b4d9bb9430bf42ad58
cheers
More information about the Linuxppc-dev
mailing list