[git head] Should X86_PAT really default to yes?



With X86_PAT enabled, when X is started I get about 40 lines (with varying
addresses) like:
kernel: Xorg:3358 /dev/mem expected mapping type write-back for
807bf000-81000000, got uncached-minus

And when X exits I get a bunch of lines like:
kernel: Xorg:3349 freeing invalid memtype 80020000-8002a000

I also noticed artifacts (a band of about 2 cm high across the screen) after
X goes to black but before the switch to VT1.

When I unset X86_PAT all this disappeared.

Apparently this has been seen before:
http://lkml.org/lkml/2008/5/2/139

The author of that mail also points to:
http://marc.info/?l=linux-kernel&m=120612742217604&w=2

Is this a bug in PAT or not. If it is, should PAT really be recommended to
be enabled by default?

System: Intel desktop with D945GCZ mainboard
Intel(R) Pentium(R) D CPU 3.20GHz
x86_64 kernel; Debian unstable
Video: 00:02.0 VGA compatible controller [0300]:
Intel Corporation 82945G/GZ Integrated Graphics Controller
[8086:2772] (rev 02)

Cheers,
FJP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • RE: [git head] Should X86_PAT really default to yes?
    ... kernel: Xorg:3349 freeing invalid memtype 80020000-8002a000 ... I also noticed artifacts (a band of about 2 cm high across the ... Is this a bug in PAT or not. ... Intel desktop with D945GCZ mainboard ...
    (Linux-Kernel)
  • [GIT PULL] x86 fixes
    ... I wanted to wait one more day with the PAT bits ... ... Also note the kernel might malfunction if you disable ... This parameter disables that behavior, ... extern int kernel_map_sync_memtype(u64 base, unsigned long size, ...
    (Linux-Kernel)
  • Re: Where do we stand with the Xen patches?
    ... A query about when Xen can support PAT. ... You queried the value of "extending" this interface, ... The patches that dont affect any native kernel fast path are ...
    (Linux-Kernel)
  • Re: [git head] Should X86_PAT really default to yes?
    ... [git head] Should X86_PAT really default to yes? ... They're coming from the kernel it looks like, ... This is just a transient issue during VT switch or server exit though, ... I really think PAT should be on by default; ...
    (Linux-Kernel)
  • Re: FreeBSD vs. OSX
    ... pat> kernel, in the kernel space. ... pat> drivers are not userland. ... some oses solve this issue by placing drivers in userland ...
    (comp.unix.bsd.freebsd.misc)