@@ -163,7 +163,7 @@ static void print_pstate(struct pt_regs *regs)
163
163
u64 pstate = regs -> pstate ;
164
164
165
165
if (compat_user_mode (regs )) {
166
- printk ("pstate: %08llx (%c%c%c%c %c %s %s %c%c%c)\n" ,
166
+ printk ("pstate: %08llx (%c%c%c%c %c %s %s %c%c%c %cDIT %cSSBS )\n" ,
167
167
pstate ,
168
168
pstate & PSR_AA32_N_BIT ? 'N' : 'n' ,
169
169
pstate & PSR_AA32_Z_BIT ? 'Z' : 'z' ,
@@ -174,12 +174,14 @@ static void print_pstate(struct pt_regs *regs)
174
174
pstate & PSR_AA32_E_BIT ? "BE" : "LE" ,
175
175
pstate & PSR_AA32_A_BIT ? 'A' : 'a' ,
176
176
pstate & PSR_AA32_I_BIT ? 'I' : 'i' ,
177
- pstate & PSR_AA32_F_BIT ? 'F' : 'f' );
177
+ pstate & PSR_AA32_F_BIT ? 'F' : 'f' ,
178
+ pstate & PSR_AA32_DIT_BIT ? '+' : '-' ,
179
+ pstate & PSR_AA32_SSBS_BIT ? '+' : '-' );
178
180
} else {
179
181
const char * btype_str = btypes [(pstate & PSR_BTYPE_MASK ) >>
180
182
PSR_BTYPE_SHIFT ];
181
183
182
- printk ("pstate: %08llx (%c%c%c%c %c%c%c%c %cPAN %cUAO %cTCO BTYPE=%s)\n" ,
184
+ printk ("pstate: %08llx (%c%c%c%c %c%c%c%c %cPAN %cUAO %cTCO %cDIT %cSSBS BTYPE=%s)\n" ,
183
185
pstate ,
184
186
pstate & PSR_N_BIT ? 'N' : 'n' ,
185
187
pstate & PSR_Z_BIT ? 'Z' : 'z' ,
@@ -192,6 +194,8 @@ static void print_pstate(struct pt_regs *regs)
192
194
pstate & PSR_PAN_BIT ? '+' : '-' ,
193
195
pstate & PSR_UAO_BIT ? '+' : '-' ,
194
196
pstate & PSR_TCO_BIT ? '+' : '-' ,
197
+ pstate & PSR_DIT_BIT ? '+' : '-' ,
198
+ pstate & PSR_SSBS_BIT ? '+' : '-' ,
195
199
btype_str );
196
200
}
197
201
}
0 commit comments