qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] support 1176, 1136r1's v6k features
@ 2011-07-20 20:32 Peter Maydell
  2011-07-20 20:32 ` [Qemu-devel] [PATCH 1/2] target-arm: support for ARM1176JZF-s cores Peter Maydell
  2011-07-20 20:32 ` [Qemu-devel] [PATCH 2/2] target-arm: Mark 1136r1 as a v6K core Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Maydell @ 2011-07-20 20:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jamie Iles, Paul Brook, Aurelien Jarno, patches

This patchset is Jamie's 1176 patch plus one which sits on top of it
and adds support for the v6k features in the 1136r1. (I've included
Jamie's patch (a) as a convenience to clean the commit comment up
and (b) because of this dependency.)

Specifically the 1136r1 is a v6K core and supports TLS registers,
CLREX and half and byte wide exclusives. TLS in particular is needed
for recent Linux kernels to boot.

(This patch is rowing back a bit from the position I took in earlier
discussion of ARM11 feature flags, following some further investigation
I did into what cores have what. I haven't bothered to make the WFI
instruction actually NOP for 1136r1/1176 as we don't seem to do anything
to make it NOP on any core, but we could always add that later if it
really seems necessary.)

The other point of note about the 1136r1 is that it doesn't have
the VA-to-PA registers, so I've added a new feature flag which
splits that out of v6K.

Ideally I'd like to sneak these patches into 0.15, given the "kernel
doesn't boot any more" effect of not supporting the 1136r1 TLS
registers...

Jamie Iles (1):
  target-arm: support for ARM1176JZF-s cores

Peter Maydell (1):
  target-arm: Mark 1136r1 as a v6K core

 target-arm/cpu.h    |    2 ++
 target-arm/helper.c |   45 +++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 45 insertions(+), 2 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-20 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 20:32 [Qemu-devel] [PATCH 0/2] support 1176, 1136r1's v6k features Peter Maydell
2011-07-20 20:32 ` [Qemu-devel] [PATCH 1/2] target-arm: support for ARM1176JZF-s cores Peter Maydell
2011-07-20 20:32 ` [Qemu-devel] [PATCH 2/2] target-arm: Mark 1136r1 as a v6K core Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).