in km_drm/ati_pcigart.h, there's assembly code to call the wbinvd (write back cache flush and invalidate) assembly insn on i386 and x86-64. The kernel offers to do this with the macro wbinvd() just as well. The advantage is that it would still even work on Xen which redefines the wbinvd() call according to it's needs.
Created attachment 1505 [details] [review] ati-pcigart.diff
Dave, could you have a look at this one, please?
Looks fine to me, how urgent is it? I'll push it to Linus after 2.6.10 is released (with the drm re-organisation..) if not, if it is I can probably push it now...
Sorry, I need to ask the author of the patch (Kurt Garloff) first ...
Just got a response by Kurt. He told me that it's not urgent at all. We would like to have it upstream in early 2005, so we can get rid of the the hack for our kernel-xen specfile for the next SuSE release.
This is already fixed in current kernel sources (2.6.11 ATM). ==> FIXED
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.