[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: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 00/32] target-arm: refactor copro register implementation |
Date: |
Fri, 27 Apr 2012 11:09:31 +0100 |
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.
(There are a few nits I've noticed myself so there will be
a v2 at some point.)
thanks
-- PMM
- [Qemu-devel] [PATCH 14/32] target-arm: Convert MMU fault status cp15 registers, (continued)
- [Qemu-devel] [PATCH 14/32] target-arm: Convert MMU fault status cp15 registers, Peter Maydell, 2012/04/15
- [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 <=