Skip to contentSkip to conversation

Patch "drm: Loongson-3 doesn't fully support wc memory" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message May 1, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm: Loongson-3 doesn't fully support wc memory

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-loongson-3-doesn-t-fully-support-wc-memory.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 221004c66a58949a0f25c937a6789c0839feb530 Mon Sep 17 00:00:00 2001

From: Huacai Chen <[email protected]>
Date: Tue, 19 Apr 2016 19:19:11 +0800
Subject: drm: Loongson-3 doesn't fully support wc memory

From: Huacai Chen <[email protected]>

commit 221004c66a58949a0f25c937a6789c0839feb530 upstream.

---
 include/drm/drm_cache.h |    2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_cache.h +2 -0
@@ -39,6 +39,8 @@ static inline bool drm_arch_can_wc_memor
 {
 #if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE)
 	return false;
+#elif defined(CONFIG_MIPS) && defined(CONFIG_CPU_LOONGSON3)
+	return false;
 #else
 	return true;
 #endif

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/drm-loongson-3-doesn-t-fully-support-wc-memory.patch