[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] target-arm: mark up cpregs for no-migrate o
From: |
Christoffer Dall |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] target-arm: mark up cpregs for no-migrate or raw access |
Date: |
Thu, 30 May 2013 15:13:54 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, May 17, 2013 at 02:23:53PM +0100, Peter Maydell wrote:
> Mark up coprocessor register definitions to add raw access
> functions or mark the register as non-migratable where necessary.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target-arm/helper.c | 94
> ++++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 63 insertions(+), 31 deletions(-)
>
> diff --git a/target-arm/helper.c b/target-arm/helper.c
> index 2585d59..e5e4ed2 100644
> --- a/target-arm/helper.c
> +++ b/target-arm/helper.c
> @@ -155,13 +155,17 @@ static const ARMCPRegInfo cp_reginfo[] = {
> * the unified TLB ops but also the dside/iside/inner-shareable variants.
> */
> { .name = "TLBIALL", .cp = 15, .crn = 8, .crm = CP_ANY,
> - .opc1 = CP_ANY, .opc2 = 0, .access = PL1_W, .writefn = tlbiall_write,
> },
> + .opc1 = CP_ANY, .opc2 = 0, .access = PL1_W, .writefn = tlbiall_write,
> + .type = ARM_CP_NO_MIGRATE },
[...]
What happens with registers which don't have the raw_write function set
(even though the write function imposes some access checks or has side
effects) and also is not marked as ARM_CP_NO_MIGRATE, CONTEXTIDR seems
to be such an example. ?
-Christoffer
[Qemu-devel] [PATCH 1/7] target-arm: Allow special cpregs to have flags set, Peter Maydell, 2013/05/17
[Qemu-devel] [PATCH 4/7] target-arm: Convert TCG to using (index, value) list for cp migration, Peter Maydell, 2013/05/17
[Qemu-devel] [PATCH 5/7] target-arm: Initialize cpreg list from KVM when using KVM, Peter Maydell, 2013/05/17
Re: [Qemu-devel] [PATCH 0/7] target-arm: cpregs list for migration, kvm reset, Christoffer Dall, 2013/05/31