The patch titled i915: fix invalid opcode exception on cpus without clflush has been removed from the -mm tree. Its filename was i915-fix-invalid-opcode-exception-on-cpus-without-clflush.patch
This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: i915: fix invalid opcode exception on cpus without clflush From: Kyle McMartin <[EMAIL PROTECTED]> i915_flush_ttm was unconditionally executing a clflush instruction to (obviously) flush the cache. Instead, check if the cpu supports clflush, and if not, fall back to calling wbinvd to flush the entire cache. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> Cc: Dave Airlie <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/char/drm/i915_buffer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff -puN drivers/char/drm/i915_buffer.c~i915-fix-invalid-opcode-exception-on-cpus-without-clflush drivers/char/drm/i915_buffer.c --- a/drivers/char/drm/i915_buffer.c~i915-fix-invalid-opcode-exception-on-cpus-without-clflush +++ a/drivers/char/drm/i915_buffer.c @@ -169,7 +169,18 @@ void i915_flush_ttm(struct drm_ttm *ttm) return; DRM_MEMORYBARRIER(); + +#ifdef CONFIG_X86_32 + /* Hopefully nobody has built an x86-64 processor without clflush */ + if (!cpu_has_clflush) { + wbinvd(); + DRM_MEMORYBARRIER(); + return; + } +#endif + for (i = ttm->num_pages - 1; i >= 0; i--) drm_cache_flush_page(drm_ttm_get_page(ttm, i)); + DRM_MEMORYBARRIER(); } _ Patches currently in -mm which might be from [EMAIL PROTECTED] are git-drm.patch git-kbuild.patch parisc-new-termios-definitions.patch kill-warnings-in-mptbaseh-on-parisc64.patch git-x86.patch iommu-sg-merging-parisc-make-iommu-respect-the-segment-size-limits.patch alpha-parisc-removing-config-variable-debug_rwlock.patch documentation-about-unaligned-memory-access.patch add-cmpxchg_local-to-parisc.patch modules-make-module_address_lookup-safe.patch modules-make-module_address_lookup-safe-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html