tmp_suning_uos_patched/arch/powerpc
Paul Mackerras 5d5b99cd68 KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken
We can tell when a secondary thread has finished running a guest by
the fact that it clears its kvm_hstate.kvm_vcpu pointer, so there
is no real need for the nap_count field in the kvmppc_vcore struct.
This changes kvmppc_wait_for_nap to poll the kvm_hstate.kvm_vcpu
pointers of the secondary threads rather than polling vc->nap_count.
Besides reducing the size of the kvmppc_vcore struct by 8 bytes,
this also means that we can tell which secondary threads have got
stuck and thus print a more informative error message.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-04-21 15:21:32 +02:00
..
boot
configs
crypto
include KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken 2015-04-21 15:21:32 +02:00
kernel KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken 2015-04-21 15:21:32 +02:00
kvm KVM: PPC: Book3S HV: Get rid of vcore nap_count and n_woken 2015-04-21 15:21:32 +02:00
lib
math-emu
mm
net
oprofile
perf
platforms KVM: PPC: Book3S HV: Add fast real-mode H_RANDOM implementation. 2015-04-21 15:21:29 +02:00
sysdev
xmon
Kconfig
Kconfig.debug
Makefile
relocs_check.pl