All of lore.kernel.org
 help / color / mirror / Atom feed
From: grundler@dsl2.external.hp.com (Grant Grundler)
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: Matthew Wilcox <willy@debian.org>, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: [parisc-linux-cvs] linux grundler
Date: Sat, 8 Feb 2003 20:27:05 -0700	[thread overview]
Message-ID: <20030209032705.GE19683@dsl2.external.hp.com> (raw)
In-Reply-To: <200302090035.h190ZJYC012838@hiauly1.hia.nrc.ca>

On Sat, Feb 08, 2003 at 07:35:18PM -0500, John David Anglin wrote:
> > +#define spin_unlock(x) \
> > +		__asm__ __volatile__ ("stw,o  %%sp,0(%0)" : : "r" (x) : "memory" )
> 
> If you change the above to
> 
>   __asm__ __volatile__ ("stw,ma  %%sp,0(%0)" : : "r" (x) : "memory")
> 
> it should work on both PA11 and PA20.  The ordered completer is only
> PA 2.

Excellent idea.

In case it's not obvious to others, "stw,o" is an alias
for "stw,ma" with a Zero index value. But PA11 assembler
will grok the stw,ma properly.

I'll look at getting this into the kernel this week if someone
else doesn't beat me to it.  I'd like to test what I've got a bit
more now and get the binutils .deb availability issue resolved.

thanks,
grant

  parent reply	other threads:[~2003-02-09  3:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030208222242.AA3554829@dsl2.external.hp.com>
     [not found] ` <20030208222746.GB19683@dsl2.external.hp.com>
2003-02-08 23:23   ` [parisc-linux] Re: [parisc-linux-cvs] linux grundler Matthew Wilcox
2003-02-09  0:35     ` John David Anglin
2003-02-09  0:49       ` Randolph Chung
2003-02-09  0:56         ` Randolph Chung
2003-02-09  2:03           ` Matthew Wilcox
2003-02-09  2:18             ` John David Anglin
2003-02-09 14:55             ` James Bottomley
2003-02-09  2:11           ` John David Anglin
2003-02-09  3:27       ` Grant Grundler [this message]
2003-02-09  4:06         ` John David Anglin
2003-02-09  3:10     ` Grant Grundler
2003-02-09 12:29       ` Matthew Wilcox
2003-02-09 14:35         ` Matthew Wilcox
2003-02-09 19:14         ` Grant Grundler
2003-02-09 21:24           ` Aaron St. Pierre
2003-02-10 16:47             ` Grant Grundler
2003-02-09 23:56           ` Randolph Chung
2003-02-09  8:11     ` Grant Grundler
2003-02-09 12:21       ` Matthew Wilcox
2003-07-09 10:35 Joel Soete
     [not found] <20030708022259.B62B849404E@palinux.hppa>
2003-07-08 15:06 ` Carlos O'Donell
  -- strict thread matches above, loose matches on Subject: below --
2003-02-10  8:38 John Marvin
2003-02-09  8:55 [parisc-linux] " John Marvin
2003-02-09  7:40 John Marvin
2003-02-09  8:26 ` [parisc-linux] " Grant Grundler
     [not found] <20020804011707.2B9164860@dsl2.external.hp.com>
2002-08-04  2:03 ` Grant Grundler

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=20030209032705.GE19683@dsl2.external.hp.com \
    --to=grundler@dsl2.external.hp.com \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=willy@debian.org \
    /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.