From: Chen Baozi <baozich@gmail.com>
To: linux-omap@vger.kernel.org
Subject: Question about mmc4 initialization on OMAP5432
Date: Wed, 09 Oct 2013 00:29:06 +0800 [thread overview]
Message-ID: <525432D2.9010907@gmail.com> (raw)
Hi all,
I have got a problem when booting dom0 kernel for Xen on OMAP5432 uEVM.
With a recent patch, Xen hypervisor is avoid to map "disabled" device
memory for dom0. In omap5-uevm.dts, we have got the &mmc4 node marked as
"disabled". So the Xen won't populate <0x480d1000 0x400> memory region
to the dom0. If dom0 is trying to access any memory address in this
area, the hypervisor would be panic with a tranlation fault. However, it
turns out that even the mmc4 is disabled in omap5-uevm.dts, Linux kernel
is trying to access the 0x480d1010 when booting, which then leads a
hypervisor panic as mentioned.
The only point I know right now is that the 0x480d1010 is accessed by
the omap_hwmod_read(). However, what makes me confused is how the dom0
kernel called omap_hwmod_read() to access 0x480d1010 while the mmc4 is
disabled. I guess it might relate to hard coded omap_hwmod structure but
have no idea what happen exactly when dom0 access the address due to the
lack of calling stack information when booting Xen hypervisor.
Thanks a lot.
Chen Baozi
next reply other threads:[~2013-10-08 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 16:29 Chen Baozi [this message]
2013-10-08 16:48 ` Question about mmc4 initialization on OMAP5432 Santosh Shilimkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525432D2.9010907@gmail.com \
--to=baozich@gmail.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox