mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Cédric Augonnet" <cedric.augonnet@gmail.com>
To: "Andi Kleen" <andi@firstfloor.org>
Cc: "Loic Prylli" <loic@myri.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Andrew Morton" <akpm@osdl.org>,
	brice@myri.com, cedric.augonnet@ens-lyon.org
Subject: Re: PAT support for i386 and x86_64
Date: Wed, 8 Aug 2007 11:52:23 -0400	[thread overview]
Message-ID: <f56c1ba00708080852p5a87a106gdb5d1be6ce247638@mail.gmail.com> (raw)
In-Reply-To: <20070808101441.GA12861@one.firstfloor.org>

[Apologize for the double-post, messed up with my mailer... ]

2007/8/8, Andi Kleen <andi@firstfloor.org>:
> > I don't see why we have to worry about cache corruption in the case at
> > hand. Write-combining is needed to map io (typically pci-mem regions)
> > which are never mapped cachable anywhere, including in the linear map.
>
> If we WC them using PAT then there would be a UC<->WC conflict with
> the direct mapping and possibly others. That's already undefined
> and not allowed.
>
> After some very bad experiences in the past I'm not going to take
> chances on this.
>
> We really need to keep all possible mappings synchronized.
>
> -Andi
>
>

Hi,

First thanks for your reactions.

Andi, what i don't understand is, if we only put a minimal patch, like only
modifying the register, perhaps we may avoid having all vendors doing
their own recipe, possibly all messing the one the other. As you said ,
changing this register is absolutely not the actual issue with PAT, but don't
you think such a first step is needed to avoid conflicts since people _do_
already set that register from their driver.

I agree there is work for a comprehensive support of PAT, especially when
dealing with ioremap, but even though we only handle a smallish portion
of the problem yet, perhaps it's time to at least modify that register ?

Of course there is no problem for that being dependant on a CONFIG_PAT.

Kind regards,
Cédric

  reply	other threads:[~2007-08-08 15:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07  2:03 [PATCH 0/2] " Cédric Augonnet
2007-08-07  8:30 ` Andi Kleen
2007-08-08  8:26   ` Loic Prylli
2007-08-08 10:14     ` Andi Kleen
2007-08-08 15:52       ` Cédric Augonnet [this message]
     [not found]       ` <f56c1ba00708080842i1eaa00kef5071d9a1f01f04@mail.gmail.com>
2007-08-08 16:00         ` Andi Kleen
2007-08-07 12:34 Daniel J Blueman
2007-08-07 14:10 ` Andi Kleen
2007-08-07 15:26   ` Daniel J Blueman
2007-08-07 15:33     ` Andi Kleen

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=f56c1ba00708080852p5a87a106gdb5d1be6ce247638@mail.gmail.com \
    --to=cedric.augonnet@gmail.com \
    --cc=akpm@osdl.org \
    --cc=andi@firstfloor.org \
    --cc=brice@myri.com \
    --cc=cedric.augonnet@ens-lyon.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic@myri.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

all inboxes | Powered by JetHome®