From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Baozi Subject: Re: Problems when using latest git tree to boot xen on OMAP5 Date: Tue, 15 Oct 2013 16:41:45 +0800 Message-ID: References: <936C837B-7005-4CE0-8265-7B7ACA7C78FD@gmail.com> <91879A6F-B459-4D10-A691-4A04915D82AA@gmail.com> <1381135195.21562.56.camel@kazak.uk.xensource.com> <525285B3.8010902@gmail.com> <52529404.8030909@linaro.org> <20131009074627.GA6342@cbz-workstation> <1381306276.9920.21.camel@kazak.uk.xensource.com> <52553AE2.6070806@linaro.org> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52553AE2.6070806@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Ian Campbell , List Xen Developer List-Id: xen-devel@lists.xenproject.org On Oct 9, 2013, at 7:15 PM, Julien Grall wrote: > On 10/09/2013 09:11 AM, Ian Campbell wrote: >> Rather than whitelisting and mapping disabled devices through perhaps we >> should implement them as read 0xf (or 0x0) and write ignore? > > We can't assume that these values (0x0 or 0xf) won't affect dom0 behaviour. > > What about a new quirk to map all disabled device in dom0 > (PLATFORM_QUIRK_DOM0_MAP_DISABLED_DEVICE)? I've implemented the PLATFORM_QUIRK_DOM0_MAP_DISABLED_DEVICE quirk in my own working tree. It seems to work very well on fixing this issue. +1 to this idea. Then I finished new smp initialization callbacks for omap5. However, the new xen version still has some issues to boot dom0 on OMAP5. Right now, Dumping cpu0 guest state shows that PC stays at __loop_delay, while cpu1 stays at cpu_relax() line of ipi_cpu_stop(), using addr2line to translate PC to the C code location. Any ideas? Cheers, Baozi