Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Justin Carlson <carlson@sibyte.com>
To: Ralf Baechle <ralf@oss.sgi.com>
Cc: linux-cvs@oss.sgi.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: CVS Update@oss.sgi.com: linux
Date: Sat, 18 Nov 2000 10:13:34 -0800	[thread overview]
Message-ID: <0011181020063F.11653@baton.sibyte.com> (raw)
In-Reply-To: <20001118182114.A19710@bacchus.dhis.org>

On Sat, 18 Nov 2000, Ralf Baechle wrote:
> > Log message:
> >       New configuration option CONFIG_MIPS_UNCACHED.  Not yet selectable due
> >       to the manuals documenting ll/sc operation as undefined for uncached
> >       memory.
> 
> > Wouldn't it make sense then to disable CONFIG_CPU_HAS_LLSC as well?
> 
> I'm waiting for authoritative answer from silicon guys before I deciede.
> In the past I ran kernel entirely uncached and they seemed to work even
> though the documentation made me assume the opposite.
> 

I'd be very, VERY surprised if ll-sc were guaranteed to work in uncached space,
for any implementation.  It certainly wouldn't in the SB1.

The easiest way to implement the ops on a cache-coherent system is to keep track
of whether or not you've lost a line in the cache between  the ll and the sc. 
Then, in the sc, you convert the line to dirty (if necessary), do the write,
and go on your merry way.  Or, if you've lost the line at some point between the
ll and the sc, you fail the sc.

I've never heard of anyone implementing it in a significantly different manner,
on MIPS or on Alpha.  To keep track of who's written what in an uncached space
would be nightmarish at best, in hardware. 

Doesn't mean someone hasn't done it, but it would certainly be news to me.

-Justin

  reply	other threads:[~2000-11-18 18:20 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20001118132233Z553804-494+838@oss.sgi.com>
     [not found] ` <XFMail.001118180639.Harald.Koerfgen@home.ivm.de>
2000-11-18 17:21   ` CVS Update@oss.sgi.com: linux Ralf Baechle
2000-11-18 18:13     ` Justin Carlson [this message]
2000-11-18 18:36     ` Kevin D. Kissell
2000-11-18 18:36       ` Kevin D. Kissell
2000-11-19 15:16     ` Dominic Sweetman
2000-11-21  3:39       ` Ralf Baechle
     [not found] <200208230950.g7N9o0fq016617@oss.sgi.com>
2002-08-23 10:13 ` Jan-Benedict Glaw
2002-08-23 10:41   ` Maciej W. Rozycki
     [not found] <200208130138.g7D1cYk3010974@oss.sgi.com>
2002-08-19 12:35 ` Maciej W. Rozycki
2002-08-19 12:57   ` Alan Cox
2002-08-19 13:22     ` Maciej W. Rozycki
2002-08-19 13:56       ` Alan Cox
2002-08-19 13:42   ` Ralf Baechle
2002-08-20 14:10     ` Maciej W. Rozycki
     [not found] <200208151925.g7FJPbfD009802@oss.sgi.com>
     [not found] ` <20020815193340.GB10730@lug-owl.de>
2002-08-15 19:46   ` Ralf Baechle
2002-08-19 12:32     ` Maciej W. Rozycki
     [not found] <200206301157.g5UBvrwF019470@oss.sgi.com>
2002-07-01 19:15 ` Guido Guenther
     [not found] <200202022138.g12LcZU24388@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1020203191613.20409B-100000@delta.ds2.pg.gda.pl>
2002-02-03 18:37   ` Ralf Baechle
2002-02-04 11:32     ` Maciej W. Rozycki
2002-02-04 19:03       ` Jun Sun
     [not found] <200112171934.fBHJYx328839@oss.sgi.com>
     [not found] ` <Pine.GSO.4.21.0112181044300.15364-100000@vervain.sonytel.be>
2001-12-19  2:30   ` Ralf Baechle
     [not found] <200111180324.fAI3Ob928062@oss.sgi.com>
     [not found] ` <20011118092625.B23198@lug-owl.de>
     [not found]   ` <001801c17019$56f562a0$0deca8c0@Ulysses>
2001-11-21 23:25     ` Ralf Baechle
2001-11-21 23:36       ` Matthew Dharm
2001-11-21 23:36         ` Matthew Dharm
2001-11-22  8:56       ` Jan-Benedict Glaw
2001-11-22 10:18         ` Geert Uytterhoeven
     [not found] <200111060055.fA60tX331454@oss.sgi.com>
2001-11-06  1:46 ` Florian Lohoff
     [not found] <200109300029.f8U0TZv12410@oss.sgi.com>
     [not found] ` <Pine.GSO.3.96.1011003125730.15867A-100000@delta.ds2.pg.gda.pl>
2001-10-03 17:50   ` Ralf Baechle
2001-10-03 21:13     ` Jun Sun
2001-10-03 21:27       ` Ralf Baechle
     [not found] <200104102242.f3AMgmc19116@oss.sgi.com>
2001-04-11  7:35 ` Ralf Baechle
2001-04-11 18:00   ` Kanoj Sarcar
2001-04-11 18:00     ` Kanoj Sarcar
2001-04-16 17:43     ` Quinn Jensen
2001-04-16 17:43       ` Quinn Jensen
2001-04-17 17:12       ` Ralf Baechle
     [not found] <20000906233636Z42230-31375+649@oss.sgi.com>
2000-09-06 23:45 ` Ralf Baechle
2000-09-06 23:51   ` Kanoj Sarcar
2000-09-06 23:51     ` Kanoj Sarcar
2000-09-07  0:02     ` Ralf Baechle
2000-09-07  0:05       ` Kanoj Sarcar
2000-09-07  0:05         ` Kanoj Sarcar
2000-09-07  0:26         ` Ralf Baechle
     [not found] <20000823172400Z42326-31375+197@oss.sgi.com>
2000-08-23 19:56 ` Ralf Baechle
2000-08-23 23:12   ` Kanoj Sarcar
2000-08-23 23:12     ` Kanoj Sarcar
     [not found] <20000702193011Z42202-29274+369@oss.sgi.com>
     [not found] ` <XFMail.000704192753.Harald.Koerfgen@home.ivm.de>
2000-07-04 21:22   ` Ralf Baechle
2000-07-05 18:24     ` Harald Koerfgen
     [not found] <20000524012413.A5507@spock>
2000-05-24 16:50 ` Harald Koerfgen
2000-05-24 23:58   ` Ralf Baechle
2000-05-25 17:14     ` Harald Koerfgen
2000-05-25 17:19       ` Ulf Carlsson
2000-05-25 18:00         ` Ralf Baechle
2000-05-25 18:02           ` Ulf Carlsson
2000-05-25 18:17             ` Ralf Baechle
     [not found] <20000519083237Z305155-391+603@oss.sgi.com>
2000-05-19 11:18 ` Ralf Baechle
     [not found] <20000327210518Z305163-3992+178@oss.sgi.com>
2000-03-28  0:29 ` Ralf Baechle
     [not found] <20000219003324Z305163-11638+186@oss.sgi.com>
     [not found] ` <Pine.GSO.4.10.10002211054270.29481-100000@dandelion.sonytel.be>
2000-02-21 11:58   ` Ralf Baechle
     [not found]     ` <Pine.GSO.4.10.10002211634260.4234-100000@dandelion.sonytel.be>
2000-02-21 18:03       ` Ralf Baechle
2000-02-22  2:45     ` Geert Uytterhoeven

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=0011181020063F.11653@baton.sibyte.com \
    --to=carlson@sibyte.com \
    --cc=linux-cvs@oss.sgi.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    --cc=ralf@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox