From: Ian Campbell Subject: Re: [PATCH 4/4] xen/arm: enable switch to hyper mode for sun6i Date: Tue, 18 Jun 2013 11:45:43 +0100 Message-ID: <1371552343.9810.36.camel@zakaz.uk.xensource.com> References: <1370004814-30686-1-git-send-email-bjzhang@suse.com> <1370004814-30686-5-git-send-email-bjzhang@suse.com> <1371032262.24512.409.camel@zakaz.uk.xensource.com> <51C07103020000300005524D@soto.provo.novell.com> <1371549614.9810.28.camel@zakaz.uk.xensource.com> <51C0A9490200003000055327@soto.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51C0A9490200003000055327@soto.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bamvor Jian Zhang Cc: andre.przywara@calxeda.com, xen-devel@lists.xen.org, julien.grall@linaro.org, Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, 2013-06-18 at 04:39 -0600, Bamvor Jian Zhang wrote: > Ian Campbell wrote: > > On Tue, 2013-06-18 at 00:38 -0600, Bamvor Jian Zhang wrote: > > > > I don't know which one applies to the sun6i platform -- it looks to me > > > > like upstream u-boot support is well under way and the presence of FEL > > > > mode makes unbricking the system pretty easy (I've had to use it on my > > > > own A31 based tablet and it seems OK). > > > > > i will investigate it. do i have change to got other part of my patch ack > > > without this bootwrapper or u-boot support? > > > > Not sure what you are asking but if it is "can patches #1-#3 be accepted > > without this change" then the answer is yes IMHO. > yes, this is what i mean. sorry for the typo. > > > > In the meantime while we work on bootwrapper/u-boot support generally we > > should also patch this code to not fallback to the vexpress for > > everything, if the platform isn't explicitly either Arndale or vexpress > > it should do nothing. > So, i could check the vexpress machine id in enter_hyp_mode when it is not > Arndale. then raise error and hang if both check fails. It should return without doing anything rather than raising an error, but otherwise yes. Ian.