[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/13] target/openrisc: Add VR2 and AVR special
From: |
Stafford Horne |
Subject: |
Re: [Qemu-devel] [PATCH 06/13] target/openrisc: Add VR2 and AVR special processor registers |
Date: |
Tue, 27 Aug 2019 13:36:24 +0900 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Mon, Aug 26, 2019 at 05:07:38PM -0700, Richard Henderson wrote:
> Update the CPUCFG bits to arch v1.3.
> Include support for AVRP for cpu "any".
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/openrisc/cpu.h | 11 +++++++----
> target/openrisc/cpu.c | 8 ++++++--
> target/openrisc/sys_helper.c | 6 ++++++
> 3 files changed, 19 insertions(+), 6 deletions(-)
>
> diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h
> index 18d7445e74..71c5959828 100644
> --- a/target/openrisc/cpu.h
> +++ b/target/openrisc/cpu.h
> @@ -96,11 +96,12 @@ enum {
> CPUCFGR_OF32S = (1 << 7),
> CPUCFGR_OF64S = (1 << 8),
> CPUCFGR_OV64S = (1 << 9),
> - /* CPUCFGR_ND = (1 << 10), */
> - /* CPUCFGR_AVRP = (1 << 11), */
> + CPUCFGR_ND = (1 << 10),
> + CPUCFGR_AVRP = (1 << 11),
> CPUCFGR_EVBARP = (1 << 12),
> - /* CPUCFGR_ISRP = (1 << 13), */
> - /* CPUCFGR_AECSRP = (1 << 14), */
> + CPUCFGR_ISRP = (1 << 13),
> + CPUCFGR_AECSRP = (1 << 14),
> + CPUCFGR_OF64A32S = (1 << 15),
> };
>
> /* DMMU configure register */
> @@ -280,6 +281,8 @@ typedef struct CPUOpenRISCState {
>
> /* Fields from here on are preserved across CPU reset. */
> uint32_t vr; /* Version register */
> + uint32_t vr2; /* Version register 2 */
> + uint32_t avr; /* Architecture version register */
Do you need to update the serialization in machine.c?
- Re: [Qemu-devel] [PATCH 01/13] target/openrisc: Add DisasContext parameter to check_r0_write, (continued)
- [Qemu-devel] [PATCH 03/13] target/openrisc: Cache R0 in DisasContext, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 04/13] target/openrisc: Make VR and PPC read-only, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 05/13] target/openrisc: Move VR, UPR, DMMCFGR, IMMCFGR to cpu init, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 02/13] target/openrisc: Replace cpu register array with a function, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 06/13] target/openrisc: Add VR2 and AVR special processor registers, Richard Henderson, 2019/08/26
- Re: [Qemu-devel] [PATCH 06/13] target/openrisc: Add VR2 and AVR special processor registers,
Stafford Horne <=
- [Qemu-devel] [PATCH 07/13] target/openrisc: Fix lf.ftoi.s, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 08/13] target/openrisc: Check CPUCFG_OF32S for float insns, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 11/13] target/openrisc: Implement move to/from FPCSR, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 12/13] target/openrisc: Implement l.adrp, Richard Henderson, 2019/08/26
- [Qemu-devel] [PATCH 10/13] target/openrisc: Implement unordered fp comparisons, Richard Henderson, 2019/08/26