Re: [PATCH v2] Make instruction dumping work in real mode.

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 3:19 PM, Scott Wood wrote: > On non-book-E-or-4xx, exceptions execute in real mode. If a fault > happens > that leads to a register dump, the kernel currently prints > because > it doesn't realize that PC is a physical address. > > This patch checks the state of

[PATCH v2] Make instruction dumping work in real mode.

2007-09-25 Thread Scott Wood
On non-book-E-or-4xx, exceptions execute in real mode. If a fault happens that leads to a register dump, the kernel currently prints because it doesn't realize that PC is a physical address. This patch checks the state of the IMMU, and if necessary converts PC into a virtual address. Si