Received: from eggs.gnu.org ([140.186.70.92]:45169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZQ6x-0003Or-3F for qemu-devel@nongnu.org; Wed, 22 Jun 2011 12:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZQ6t-0002yY-SN for qemu-devel@nongnu.org; Wed, 22 Jun 2011 12:17:02 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:35360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZQ6t-0002yL-EG for qemu-devel@nongnu.org; Wed, 22 Jun 2011 12:16:59 -0400 Received: by wwf26 with SMTP id 26so893121wwf.10 for ; Wed, 22 Jun 2011 09:16:57 -0700 (PDT) Date: Wed, 22 Jun 2011 17:16:53 +0100 From: Jamie Iles Message-ID: <20110622161653.GF2704@pulham.picochip.com> References: <1308660911-9840-1-git-send-email-jamie.iles@picochip.com> <20110621161300.GK2647@pulham.picochip.com> <20110622154555.GE2704@pulham.picochip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] target-arm: support for ARM1176JZ-s cores List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Jamie Iles , Jamie Iles , qemu-devel@nongnu.org, Aurelien Jarno , Paul Brook On Wed, Jun 22, 2011 at 05:01:30PM +0100, Peter Maydell wrote: > On 22 June 2011 16:45, Jamie Iles wrote: > > On Wed, Jun 22, 2011 at 10:40:12AM +0100, Peter Maydell wrote: > >> Mostly what I'd like is for the actual code implementing things to > >> be gated on a fairly fine-grained set of flags, so that we can confine > >> the "what does this core have? what things imply what other things?" > >> code to a single place where it's easy to tweak if we get it wrong. > > > > OK, I don't think I can object to that!  I'll submit a patch to fix up > > the v7 VMSA ap/remap dependency to be v6K rather than v7.  Given that, > > do you have any objection to adding 1167 as a v6K?  I'm happy to help > > with/test some of the feature cleanup. > > I think the question is, if you mark the 1176 as a v6K then how do > you gate the "working WFI from WFI instruction", which otherwise > could reasonably be marked as one of the features implied by v6K? The ARM1176 technically is a v6K core, but the actual definition of v6K seems a bit vague on required features. As wfi is a valid encoding on 1176 I personally don't see this as being a blocking issue (though technically incorrect, though most code targeted for this CPU presumably wouldn't emit a wfi instruction?). Jamie