]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
KVM: PPC: Remove comment saying SPRG1 is used for vcpu pointer
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Fri, 25 Jul 2014 06:02:43 +0000 (11:32 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:15 +0000 (15:23 +0200)
Scott Wood pointed out that We are no longer using SPRG1 for vcpu pointer,
but using SPRN_SPRG_THREAD <=> SPRG3 (thread->vcpu). So this comment
is not valid now.

Note: SPRN_SPRG3R is not supported (do not see any need as of now),
and if we want to support this in future then we have to shift to using
SPRG1 for VCPU pointer.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/reg.h

index c8f33816a3812bad3468e63e9246401c5ad649cc..0ef17ade7730438dc2b407550cd3f9cbeeccdc2d 100644 (file)
  *      readable variant for reads, which can avoid a fault
  *      with KVM type virtualization.
  *
- *      (*) Under KVM, the host SPRG1 is used to point to
- *      the current VCPU data structure
- *
  * 32-bit 8xx:
  *     - SPRG0 scratch for exception vectors
  *     - SPRG1 scratch for exception vectors