RE: [Bug 10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer



Frans Pop wrote:
On Saturday 14 June 2008, Rafael J. Wysocki wrote:
The following bug entry is on the current list of known regressions
from 2.6.25. Please verify if it still should be listed.

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10843
Subject : Display artifacts on XOrg logout with PAT kernel and VESA
framebuffer
Submitter : Frans Pop <elendil@xxxxxxxxx>
Date : 2008-05-31 14:04 (15 days old)
References : http://lkml.org/lkml/2008/6/7/206

Yes. See also: http://lkml.org/lkml/2008/6/13/159

Frans, With or with out pat, in the recent kernels (like 2.6.26-rc4/rc5 etc), ioremap()
uses UC- and PCI mmap of /sys/devices/pci.../resource (used by X) uses UC-

And fb_mmap() also uses UC-.

It's interesting that you don't see this artifact with "nopat". Essentially with
or with out pat enabled, we use the same memory attributes. So depending on the
MTRR setup (set by X server), effective memory attribute across different mappings
should be same (which is UC- or WC with mtrr).

Can you also check, if there is any impact with kernel boot param for vesafb "mtrr:3"?

thanks,
suresh
--
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

  • [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)
  • [patch 36/96] Fix fixpoint divide exception in acct_update_integrals
    ... Frans Pop reported the crash below when running an s390 kernel under Hercules: ... In order to fix this just always disable interrupts while accessing any ...
    (Linux-Kernel)