[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Bringing up sequence for non-boot CPU fails
Ian, this handler is implemented by ROM code, and this is the common OMAP sequence to switch to HYP mode. On our side we decided to leave switch to hyp in XEN for now.
Do you have any hardware debugging tools which could give some insight? Yep, we have one (TI's Code Composer Studio with STM560v2 JTAG) but it has no proper HYP mode debug support yet, TI says it will have in 6 months or so :( So we the only thing we can do with it is stop CPU at some moment and see some registers, no breakpoints or stepping.
What we discovered yet is that the last command executed by CPU1 before hang is After this PC contains 0x00000004, CPSR.M is b11010 what is HYP mode, not abort.
It looks like we have broken MMU translation. Usually these things are down to either missing cache flushes or barriers, but tracking them down has historically been a total pain. I suspected missing flushes during CPU1 MMU tables preparation but that code looks correct, I do not see any issues there.
Andrii Anisov | Software Engineer GlobalLogic Kyiv, 03038, Protasov Business Park, M.Grinchenka, 2/1
P +38.044.492.9695x3664 M +380505738852 S andriyanisov www.globallogic.com http://www.globallogic.com/email_disclaimer.txt On Tue, Feb 18, 2014 at 2:14 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |