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;
+