qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/32] target-arm: refactor copro register imple


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 00/32] target-arm: refactor copro register implementation
Date: Fri, 27 Apr 2012 12:13:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120328 Thunderbird/11.0.1

Am 27.04.2012 12:09, schrieb Peter Maydell:
> On 15 April 2012 14:45, Peter Maydell <address@hidden> wrote:
>> This patchseries refactors the target-arm handling of coprocessor
>> registers so that you define each register with a struct (and
>> possibly some read/write/reset functions), rather than having
>> huge nested switch statements in get_cp15()/set_cp15().
>>
>> My main aim here was to get rid of the unmaintainable switch
>> statements. The series also removes all the "behaviour depends
>> on value of main ID register" code by a combination of defining
>> implementation-specific cp15 regs in the implementation subclass
>> instance init functions, and some extra feature bits.
>>
>> As well as get/set_cp15, we also can remove the rather limited
>> existing effort at "define a cp register" used by the pxa2xx
>> boards, and the framework has 64 bit register support which should
>> provide a nice clean base to implement LPAE registers.
>>
>> Patch 1 defines all the new infrastructure/framework, while leaving
>> the old functions in place. The remaining patches convert small
>> subsets of the cp registers, until everything has moved over and
>> the old functions can be deleted.
> 
> ...so is anybody interested in reviewing this series? I'd like
> to have some feedback on at least the general shape of it and
> whether the patch 1 infrastructure is OK.

Sorry, haven't found the time yet... is this for 1.1 or for 1.2?

/-F

> (There are a few nits I've noticed myself so there will be
> a v2 at some point.)

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]