mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: "Mathias Fröhlich" <Mathias.Froehlich@web.de>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] linux-2.6.0-test2_mtrr-race-fix_A0
Date: 06 Aug 2003 10:15:05 -0700	[thread overview]
Message-ID: <1060190104.10732.52.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <200308061052.18550.Mathias.Froehlich@web.de>

On Wed, 2003-08-06 at 01:52, Mathias Fröhlich wrote:
> Hi,
> 
> You should not remove the barrier past mtrr change. If you do that, it is 
> possible that cpu's run with inconsistent mtrrs. This can have bad 
> sideeffects since at least the cache snooping protocol used by intel uses 
> assumptions about the cachability of memory regions. Those information about 
> the cachability is also taken from the mtrrs as far as I remember.
> This intel cpu developer manual, which documented the early PII and PPro 
> chips, recommended this algorithm. Since actual intel cpus use the same old 
> cpu to chipset bus protocol, this old documentation most propably still 
> applies.

Hmm. I should dig up that doc. Its a little hazy in my mind, but I think
I understand your description. I'm glad you caught this, as I can't
imagine the subtle bugs that might have popped up. 

Well, let me look at it again and see if I can come up with a proper
fix. 

Thanks for the knowledgeable feedback and sanity checking!
-john


  reply	other threads:[~2003-08-06 17:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-06  8:52 Mathias Fröhlich
2003-08-06 17:15 ` john stultz [this message]
2003-08-06 18:05   ` Mark Haverkamp
2003-08-06 18:02     ` john stultz
2003-08-07 14:38       ` [PATCH] linux-2.6.0-test2_mtrr-race-fix_A0 Mark Haverkamp
2003-08-06 18:31   ` [RFC][PATCH] linux-2.6.0-test2_mtrr-race-fix_A0 Zwane Mwaikambo
2003-08-06 20:24     ` john stultz
2003-08-07  5:06       ` Zwane Mwaikambo
  -- strict thread matches above, loose matches on Subject: below --
2003-08-06  2:17 john stultz
2003-08-06 17:02 ` Mark Haverkamp

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=1060190104.10732.52.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=Mathias.Froehlich@web.de \
    --cc=linux-kernel@vger.kernel.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®