qemu-e2k/target-ppc
Alexey Kardashevskiy 0f20ba62c3 target-ppc: spapr: e500: fix to use cpu_dt_id
This makes use of @cpu_dt_id and related API in:
1. emulated XICS hypercall handlers as they receive fixed CPU indexes;
2. XICS-KVM to enable in-kernel XICS on right CPU;
3. device-tree renderer.

This removes @cpu_index fixup as @cpu_dt_id is used instead so QEMU monitor
can accept command-line CPU indexes again.

This changes kvm_arch_vcpu_id() to use ppc_get_vcpu_dt_id() as at the moment
KVM CPU id and device tree ID are calculated using the same algorithm.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Mike Day <ncmike@ncultra.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-03-05 03:07:04 +01:00
..
arch_dump.c
cpu-models.c
cpu-models.h
cpu-qom.h target-ppc: add PowerPCCPU::cpu_dt_id 2014-03-05 03:07:03 +01:00
cpu.h target-ppc: add PowerPCCPU::cpu_dt_id 2014-03-05 03:07:03 +01:00
excp_helper.c
fpu_helper.c target-ppc: Fix Compiler Warnings Due to 64-Bit Constants Declared as UL 2014-03-05 03:07:01 +01:00
gdbstub.c
helper_regs.h
helper.h target-ppc: Altivec 2.07: Vector Permute and Exclusive OR 2014-03-05 03:07:00 +01:00
int_helper.c target-ppc: Altivec 2.07: Vector Permute and Exclusive OR 2014-03-05 03:07:00 +01:00
kvm_ppc.c
kvm_ppc.h target-ppc: add PowerPCCPU::cpu_dt_id 2014-03-05 03:07:03 +01:00
kvm-stub.c
kvm.c target-ppc: spapr: e500: fix to use cpu_dt_id 2014-03-05 03:07:04 +01:00
machine.c target-ppc: Fix htab_mask calculation 2014-03-05 03:07:02 +01:00
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.c
misc_helper.c target-ppc: Fix htab_mask calculation 2014-03-05 03:07:02 +01:00
mmu_helper.c target-ppc: Fix htab_mask calculation 2014-03-05 03:07:02 +01:00
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab 2014-03-05 03:07:03 +01:00
mmu-hash64.h target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab 2014-03-05 03:07:03 +01:00
STATUS
timebase_helper.c
translate_init.c target-ppc: spapr: e500: fix to use cpu_dt_id 2014-03-05 03:07:04 +01:00
translate.c target-ppc: Use Additional Temporary in stqcx Case 2014-03-05 03:07:01 +01:00
user_only_helper.c