All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Bharat Bhushan <r65777@freescale.com>
Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, agraf@suse.de,
	Bharat Bhushan <Bharat.Bhushan@freescale.com>
Subject: Re: [PATCH 2/2] KVM: PPC: booke: Added debug handler
Date: Tue, 31 Jul 2012 00:55:05 +0000	[thread overview]
Message-ID: <50172CE9.5000309@freescale.com> (raw)
In-Reply-To: <1343646694-19665-2-git-send-email-Bharat.Bhushan@freescale.com>

On 07/30/2012 06:11 AM, Bharat Bhushan wrote:
> +1:	/* debug interrupt happened in guest */
> +	mfspr   r4, \scratch
> +	mtcr	r3
> +	mr	r3, r4
> +	mfspr	r4, SPRN_SPRG_THREAD
> +	lwz	r4, THREAD_KVM_VCPU(r4)
> +	stw	r3, VCPU_GPR(r4)(r4)
> +	stw	r5, VCPU_GPR(r5)(r4)
> +	stw	r6, VCPU_GPR(r6)(r4)

You're not working on the latest tree -- all this stuff is
"VCPU_GPR(R6)(r4)" now.

-Scott



WARNING: multiple messages have this Message-ID (diff)
From: Scott Wood <scottwood@freescale.com>
To: Bharat Bhushan <r65777@freescale.com>
Cc: <kvm-ppc@vger.kernel.org>, <kvm@vger.kernel.org>, <agraf@suse.de>,
	Bharat Bhushan <Bharat.Bhushan@freescale.com>
Subject: Re: [PATCH 2/2] KVM: PPC: booke: Added debug handler
Date: Mon, 30 Jul 2012 19:55:05 -0500	[thread overview]
Message-ID: <50172CE9.5000309@freescale.com> (raw)
In-Reply-To: <1343646694-19665-2-git-send-email-Bharat.Bhushan@freescale.com>

On 07/30/2012 06:11 AM, Bharat Bhushan wrote:
> +1:	/* debug interrupt happened in guest */
> +	mfspr   r4, \scratch
> +	mtcr	r3
> +	mr	r3, r4
> +	mfspr	r4, SPRN_SPRG_THREAD
> +	lwz	r4, THREAD_KVM_VCPU(r4)
> +	stw	r3, VCPU_GPR(r4)(r4)
> +	stw	r5, VCPU_GPR(r5)(r4)
> +	stw	r6, VCPU_GPR(r6)(r4)

You're not working on the latest tree -- all this stuff is
"VCPU_GPR(R6)(r4)" now.

-Scott

  reply	other threads:[~2012-07-31  0:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 11:11 [PATCH 1/2] KVM: PPC: booke: Allow multiple exception types Bharat Bhushan
2012-07-30 11:23 ` Bharat Bhushan
2012-07-30 11:11 ` [PATCH 2/2] KVM: PPC: booke: Added debug handler Bharat Bhushan
2012-07-30 11:23   ` Bharat Bhushan
2012-07-31  0:55   ` Scott Wood [this message]
2012-07-31  0:55     ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2012-07-26  5:32 [PATCH 1/2] KVM: PPC: booke: Allow multiple exception types Bharat Bhushan
2012-07-26  5:44 ` Bharat Bhushan
2012-07-26  5:32 ` [PATCH 2/2] KVM: PPC: booke/bookehv: Add guest debug support Bharat Bhushan
2012-07-26  5:44   ` Bharat Bhushan
2012-07-27  1:29   ` Scott Wood
2012-07-27  1:29     ` Scott Wood
2012-07-30  7:37     ` Bhushan Bharat-R65777
2012-07-30  7:37       ` Bhushan Bharat-R65777
2012-07-30 22:00       ` Scott Wood
2012-07-30 22:00         ` Scott Wood
2012-08-16  8:48         ` Bhushan Bharat-R65777
2012-08-16  8:48           ` Bhushan Bharat-R65777
2012-08-20 23:53           ` Scott Wood
2012-08-20 23:53             ` Scott Wood
2012-08-16 15:12         ` Bhushan Bharat-R65777
2012-08-16 15:12           ` Bhushan Bharat-R65777
2012-08-20 23:55           ` Scott Wood
2012-08-20 23:55             ` Scott Wood
2012-07-26 23:01 ` [PATCH 1/2] KVM: PPC: booke: Allow multiple exception types Scott Wood
2012-07-26 23:01   ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50172CE9.5000309@freescale.com \
    --to=scottwood@freescale.com \
    --cc=Bharat.Bhushan@freescale.com \
    --cc=agraf@suse.de \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=r65777@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.