Thread (36 messages) 36 messages, 8 authors, 2007-02-19

Re: [linux-pm] [RFC 08/10] powerpc: dart iommu suspend

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2007-02-07 11:42:58
Also in: linux-pm

On Tue, 2007-02-06 at 13:40 +0100, Pavel Machek wrote:
quoted
+		SetPageNosave(virt_to_page((void*)((unsigned long)dart_tablebase + i)));
+
80 columns rule?
Good point. Changed according to Olof's comment anyway so it should be
shorter now.
quoted
--- mb-wireless.orig/include/asm-powerpc/iommu.h	2007-02-05 14:24:05.014526864 +0100
+++ mb-wireless/include/asm-powerpc/iommu.h	2007-02-05 14:24:40.684526864 +0100
@@ -108,6 +108,10 @@ static inline void pci_iommu_init(void) 
 #endif
 
 extern void alloc_dart_table(void);
+#if defined(CONFIG_SOFTWARE_SUSPEND) && defined(CONFIG_U3_DART)
+extern void iommu_dart_save(void);
+extern void iommu_dart_restore(void);
+#endif
You can go without the ifdef; extra prototype does not do any harm.
Changed as well anyway to introduce powerpc iommu suspend ops, though I
introduced two static inlines that are still ifdefed.

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help