mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	"H. Peter Anvin" <hpa@linux.intel.com>,
	Stefani Seibold <stefani@seibold.net>,
	Andy Lutomirski <luto@amacapital.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andreas Brief <Andreas.Brief@rohde-schwarz.com>,
	Martin Runge <Martin.Runge@rohde-schwarz.com>
Subject: Re: On trying to drop X86_PPRO_FENCE..
Date: Tue, 11 Mar 2014 21:25:44 +0000	[thread overview]
Message-ID: <20140311212544.27071674@alan.etchedpixels.co.uk> (raw)
In-Reply-To: <CA+55aFw_1Cw1hWVLB7HG_2SKW=7NXH8=DR3a96q4fqOhoOcdpQ@mail.gmail.com>

> (Although honestly, that whole thing is so long ago that my "dim
> memory" is very suspect, and it's possible the workaround actually
> came independently of that from Alan Cox. This all happened in
> v2.4.13-rc2 - late 2001 - and the PPro workaround came in together
> with the X86 OOSTORE code, which I *think* was Alan. Asking the gnomes
> in case they remember how it happened).

Because people were actually managing to hit both that and the "funny
area of broken memory" bug on the PPro. I think (but may be wrong) it was
an ALR 6 way that showed up the locking bug. The usual case you hit the
fencing errata on the PPro was MMIO writes to graphics cards. Several
drivers (notably the 3Dfx drivers) had special fencing workarounds for it.

OOSTORE was for the IDT WinChip which was an unrelated x86 processor
which had an interesting ability to run with slacker cache coherency. It
was a very simple minded CPU so wasn't good at speculation so you could
get *big* performance gains by putting it in out of order store mode.

It just happened that the feature and erratum looked similar so got dealt
with in the same basic way.

It's worth reading some of the other errata documents, fencing errata of
various kinds pop up in a wide range of x86 processors. It's up there
with "rep movs" for 'wtf' behaviour 8)

Alan

      reply	other threads:[~2014-03-11 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 17:43 Linus Torvalds
2014-03-11 21:25 ` One Thousand Gnomes [this message]

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=20140311212544.27071674@alan.etchedpixels.co.uk \
    --to=gnomes@lxorguk.ukuu.org.uk \
    --cc=Andreas.Brief@rohde-schwarz.com \
    --cc=Martin.Runge@rohde-schwarz.com \
    --cc=hpa@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mingo@kernel.org \
    --cc=stefani@seibold.net \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®