unicorn/qemu/target/arm
Wei Huang 19335c32c9
target/arm: clear PMUVER field of AA64DFR0 when vPMU=off
The PMUv3 driver of linux kernel (in arch/arm64/kernel/perf_event.c)
relies on the PMUVER field of id_aa64dfr0_el1 to decide if PMU support
is present or not. This patch clears the PMUVER field under TCG mode
when vPMU=off. Without it, PMUv3 will init insider guest VMs even
with vPMU=off. This patch also removes a redundant line inside the
if-statement.

Backports commit 2b3ffa929249b15a75d8bde3e8e57a744f52aff0 from qemu
2018-03-02 18:59:12 -05:00
..
arm_ldst.h Fix Thumb-1 BE32 execution and disassembly. 2018-03-02 00:20:11 -05:00
arm-powerctl.c ARM: Factor out ARM on/off PSCI control functions 2018-03-01 23:31:47 -05:00
arm-powerctl.h ARM: Factor out ARM on/off PSCI control functions 2018-03-01 23:31:47 -05:00
cpu64.c target-arm: Enable EL2 feature bit on A53 and A57 2018-03-01 23:36:44 -05:00
cpu-qom.h
cpu.c target/arm: clear PMUVER field of AA64DFR0 when vPMU=off 2018-03-02 18:59:12 -05:00
cpu.h arm: Track M profile handler mode state in TB flags 2018-03-02 14:54:16 -05:00
crypto_helper.c
helper-a64.c
helper-a64.h
helper.c arm: Move excnames[] array into arm_log_exceptions() 2018-03-02 14:39:37 -05:00
helper.h
internals.h arm: Move excnames[] array into arm_log_exceptions() 2018-03-02 14:39:37 -05:00
iwmmxt_helper.c
kvm-consts.h arm: better stub version for MISMATCH_CHECK 2018-03-02 00:13:45 -05:00
Makefile.objs ARM: Factor out ARM on/off PSCI control functions 2018-03-01 23:31:47 -05:00
neon_helper.c
op_addsub.h
op_helper.c arm: Use the mmu_idx we're passed in arm_cpu_do_unaligned_access() 2018-03-02 18:59:12 -05:00
psci.c target/arm/psci.c: If EL2 implemented, start CPUs in EL2 2018-03-01 23:34:57 -05:00
translate-a64.c target/arm: Fix aa64 ldp register writeback 2018-03-02 14:35:46 -05:00
translate.c arm: Remove workarounds for old M-profile exception return implementation 2018-03-02 15:02:14 -05:00
translate.h arm: Implement M profile exception return properly 2018-03-02 14:58:14 -05:00
unicorn_aarch64.c
unicorn_arm.c
unicorn.h