Thread (122 messages) 122 messages, 5 authors, 2026-09-02

Re: [RFC PATCH v2 10/45] arm64: irqflags: Introduce arm64-specific irqflags type

flat view

From: Vladimir Murzin <hidden>
Date: 2026-08-03 09:31:04

On 7/27/26 17:34, Vladimir Murzin wrote:
quoted hunk ↗ jump to hunk
 
+ /*
+  * Internally, we want to independently manipulate and track the different
+  * interrupt masking mechanisms.
+  * Externally, the generic irqflags API expects unsgined longs to represent
+  * the state of interrupts, which are treated as obscure arch-specific data.
+  */
+typedef union arm64_exc_hwstate {
+	struct {
+		u16 daif;
+		u8 pmr;
+		u8 __padding[5];
This padding hurts code generation. It is better expressed as:

 u8 __pad0;
 u32 __pad1;

quoted hunk ↗ jump to hunk
+	};
+	unsigned long flags;
+} arm64_exc_hwstate_t;
+
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help