Thread (13 messages) 13 messages, 1 author, 2016-09-05

[RFC PATCH v5 01/12] powerpc: Add #defs for paca->soft_enabled flags

flat view
STALE3703d SUPERSEDED

From: Madhavan Srinivasan <hidden>
Date: 2016-09-05 17:13:32
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

Status: Superseded by v10 (posted 2017-08-20). [go to v10]

Revision v5 (11 revisions archived).

Revisions (11)
  1. rfc
  2. v2 [diff against previous] re-posted go to this post
  3. v3 [diff against previous] re-posted go to this post
  4. v4 [diff against previous] re-posted go to this post
  5. v5 current [diff against previous] re-posted go to this post
  6. v1 [diff against previous]
  7. v6 [diff against previous]
  8. v7 [diff against previous]
  9. v8 [diff against previous]
  10. v9 [diff against previous]
  11. v10 [diff against previous]
Two #defs IRQ_DISABLE_LEVEL_NONE and IRQ_DISABLE_LEVEL_LINUX
are added to be used when updating paca->soft_enabled.

Signed-off-by: Madhavan Srinivasan <redacted>
---
 arch/powerpc/include/asm/hw_irq.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h
index c7d82ff62a33..df5def1f635a 100644
--- a/arch/powerpc/include/asm/hw_irq.h
+++ b/arch/powerpc/include/asm/hw_irq.h
@@ -27,6 +27,12 @@
 #define PACA_IRQ_EE_EDGE	0x10 /* BookE only */
 #define PACA_IRQ_HMI		0x20
 
+/*
+ * flags for paca->soft_enabled
+ */
+#define IRQ_DISABLE_MASK_NONE		1
+#define IRQ_DISABLE_MASK_LINUX		0
+
 #endif /* CONFIG_PPC64 */
 
 #ifndef __ASSEMBLY__
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help