All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Scott Wood <scottwood@freescale.com>
Cc: Alexander Graf <agraf@suse.de>,
	Stuart Yoder <stuart.yoder@freescale.com>,
	kvm-ppc@vger.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH v11 8/8] PPC: Don't use hardcoded opcode for ePAPR hcall invocation
Date: Mon, 02 Jul 2012 17:34:40 +0000	[thread overview]
Message-ID: <4FF1DBB0.1080909@freescale.com> (raw)
In-Reply-To: <4FF1D988.3040602@freescale.com>

Scott Wood wrote:

> Hmm.  The comment says, "XER, CTR, and LR are currently listed as
> clobbers because it's uncertain whether they will be clobbered."  Maybe
> it dates back to when the ABI was still being discussed?  Timur, do you
> recall?

Nope, sorry.  I'm sure we discussed this and looked at the code.  My guess
is that we weren't certain what the compiler was going to do at the time.

I'm still a little confused.  Which inline assembly code is clobbering LR?
 Are you talking about the "BL" instruction, which wasn't there before?

-- 
Timur Tabi
Linux kernel developer at Freescale


WARNING: multiple messages have this Message-ID (diff)
From: Timur Tabi <timur@freescale.com>
To: Scott Wood <scottwood@freescale.com>
Cc: Alexander Graf <agraf@suse.de>,
	Stuart Yoder <stuart.yoder@freescale.com>,
	<kvm-ppc@vger.kernel.org>, <kvm@vger.kernel.org>
Subject: Re: [PATCH v11 8/8] PPC: Don't use hardcoded opcode for ePAPR hcall invocation
Date: Mon, 2 Jul 2012 12:34:40 -0500	[thread overview]
Message-ID: <4FF1DBB0.1080909@freescale.com> (raw)
In-Reply-To: <4FF1D988.3040602@freescale.com>

Scott Wood wrote:

> Hmm.  The comment says, "XER, CTR, and LR are currently listed as
> clobbers because it's uncertain whether they will be clobbered."  Maybe
> it dates back to when the ABI was still being discussed?  Timur, do you
> recall?

Nope, sorry.  I'm sure we discussed this and looked at the code.  My guess
is that we weren't certain what the compiler was going to do at the time.

I'm still a little confused.  Which inline assembly code is clobbering LR?
 Are you talking about the "BL" instruction, which wasn't there before?

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2012-07-02 17:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 20:06 [PATCH v11 8/8] PPC: Don't use hardcoded opcode for ePAPR hcall invocation Stuart Yoder
2012-06-22 20:06 ` Stuart Yoder
2012-07-02 12:30 ` Alexander Graf
2012-07-02 12:30   ` Alexander Graf
2012-07-02 17:10   ` Scott Wood
2012-07-02 17:10     ` Scott Wood
2012-07-02 17:13     ` Alexander Graf
2012-07-02 17:13       ` Alexander Graf
2012-07-02 17:16       ` Scott Wood
2012-07-02 17:16         ` Scott Wood
2012-07-02 17:17         ` Alexander Graf
2012-07-02 17:17           ` Alexander Graf
2012-07-02 17:25           ` Scott Wood
2012-07-02 17:25             ` Scott Wood
2012-07-02 17:34             ` Timur Tabi [this message]
2012-07-02 17:34               ` Timur Tabi
2012-07-02 17:43               ` Scott Wood
2012-07-02 17:43                 ` Scott Wood
2012-07-02 17:53                 ` Timur Tabi
2012-07-02 17:53                   ` Timur Tabi
2012-07-02 17:57                   ` Scott Wood
2012-07-02 17:57                     ` Scott Wood
2012-07-02 18:02                     ` Timur Tabi
2012-07-02 18:02                       ` Timur Tabi
2012-07-03 15:22             ` Yoder Stuart-B08248
2012-07-03 15:22               ` Yoder Stuart-B08248

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=4FF1DBB0.1080909@freescale.com \
    --to=timur@freescale.com \
    --cc=agraf@suse.de \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=scottwood@freescale.com \
    --cc=stuart.yoder@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.