Skip to contentSkip to conversation

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

PATCH In review Huacai Chen 4 participants 5 messages Apr 19, 2016 – Apr 20, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

---
 include/drm/drm_cache.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_cache.h +2 -0
index 461a055..cebecff 100644
@@ -39,6 +39,8 @@ static inline bool drm_arch_can_wc_memory(void)
 {
 #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
Signature · 1 line
2.7.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Huacai Chen
Quoted 22 lines
---
 include/drm/drm_cache.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_cache.h +2 -1
index 461a055..cebecff 100644
@@ -39,6 +39,8 @@ static inline bool drm_arch_can_wc_memory(void)
 {
 #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
--

2.7.0

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 35 lines · Alex Deucher
Quoted 1 line · Huacai Chen
Quoted 22 lines
---
 include/drm/drm_cache.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_cache.h +2 -1
index 461a055..cebecff 100644
@@ -39,6 +39,8 @@ static inline bool drm_arch_can_wc_memory(void)
 {
 #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
--

2.7.0

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 1 line · Huacai Chen

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>

#4 lore raw
Quoted 10 lines · Greg KH
Quoted 1 line · Huacai Chen

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>

Not sure what exactly your script latched onto, but at least in the drm subsystem it's pretty common to remind maintainers with a reply just containing

that they need to add that to the patch when applying. Often combined with an r-b/a-b tag. And Damien is working to teach patchwork to auto-add those, so yeah it's indeed the right way to submit a patch for stable. At least here ;-)

Cheers, Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel