[Top][All Lists]
[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
- [Qemu-devel] [PATCH 28/32] target-arm: Convert final ID registers, (continued)
- [Qemu-devel] [PATCH 28/32] target-arm: Convert final ID registers, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 30/32] target-arm: Move block cache ops to new cp15 framework, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 18/32] target-arm: Convert cp15 crn=15 registers, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 03/32] hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 32/32] target-arm: Remove ARM_CPUID_* macros, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 12/32] target-arm: Convert generic timer cp15 regs, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 13/32] target-arm: Convert cp15 c3 register, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 07/32] target-arm: Convert debug registers to cp_reginfo, Peter Maydell, 2012/04/15
- [Qemu-devel] [PATCH 09/32] target-arm: Convert WFI/barriers special cases to cp_reginfo, Peter Maydell, 2012/04/15
- Re: [Qemu-devel] [PATCH 00/32] target-arm: refactor copro register implementation, Peter Maydell, 2012/04/27
- Re: [Qemu-devel] [PATCH 00/32] target-arm: refactor copro register implementation,
Andreas Färber <=