Re: [git pull] x86 PAT changes

Linus Torvalds
2008-04-25T23:44:43Z

On Fri, 25 Apr 2008, Ingo Molnar wrote:
> Linus, please pull the x86-pat git tree from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-pat.git for-linus
>
> this adds the second (and final) phase of the x86 PAT changes. Due to
> generic impact (the drivers/char/mem.c and include/asm-generic/iomap.h
> changes) this is offered as a separate tree.

So why is PAT dependent on NONPROMISC_DEVMEM here?

It seems pointless and wrong. Somebody might want to have both the full
/dev/mem and PAT.

Also, it causes this message for me on one of my machines:

EXT3-fs: mounted filesystem with ordered data mode.
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
mtrr: no more MTRRs available
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
EXT3 FS on dm-0, internal journal
...
eth0: no IPv6 routers present
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xd0000000-0xd0020000
mtrr: no more MTRRs available
Overlap at 0xd0000000-0xe0000000
Overlap at 0xe0300000-0xe0400000
Overlap at 0xe0300000-0xe0380000

which is a bit annoying. Forgotten debug printk, perhaps?

Linus