File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,6 +211,16 @@ static void print_prmd(unsigned long x)
211211 pr_cont (")\n" );
212212}
213213
214+ static void print_euen (unsigned long x )
215+ {
216+ printk (" EUEN: %08lx (" , x );
217+ print_bool_fragment ("FPE" , FIELD_GET (CSR_EUEN_FPEN , x ), true);
218+ print_bool_fragment ("SXE" , FIELD_GET (CSR_EUEN_LSXEN , x ), false);
219+ print_bool_fragment ("ASXE" , FIELD_GET (CSR_EUEN_LASXEN , x ), false);
220+ print_bool_fragment ("BTE" , FIELD_GET (CSR_EUEN_LBTEN , x ), false);
221+ pr_cont (")\n" );
222+ }
223+
214224static void __show_regs (const struct pt_regs * regs )
215225{
216226 const int field = 2 * sizeof (unsigned long );
@@ -254,7 +264,7 @@ static void __show_regs(const struct pt_regs *regs)
254264 /* Print saved important CSRs */
255265 print_crmd (regs -> csr_crmd );
256266 print_prmd (regs -> csr_prmd );
257- printk ( " EUEN: %08lx\n" , regs -> csr_euen );
267+ print_euen ( regs -> csr_euen );
258268 printk (" ECFG: %08lx\n" , regs -> csr_ecfg );
259269 printk ("ESTAT: %08lx\n" , regs -> csr_estat );
260270
You can’t perform that action at this time.
0 commit comments