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
..
2014-02-02 22:09:16 +05:30
2014-02-24 10:42:09 +01:00
2014-02-25 10:50:11 +00:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-02-14 16:22:32 +01:00
2014-02-14 16:22:31 +01:00
2014-02-14 16:22:32 +01:00
2014-02-14 16:22:31 +01:00
2014-02-27 11:31:52 +00:00
2014-03-05 03:06:46 +01:00
2014-03-05 03:06:46 +01:00
2013-09-03 12:31:07 -05:00
2014-02-20 15:25:05 +00:00