[PATCH v3 07/14] powerpc/traps: Check for prefixed instructions in facility_unavailable_exception()

Nicholas Piggin npiggin at gmail.com
Wed Feb 26 17:49:43 AEDT 2020


Jordan Niethe's on February 26, 2020 2:07 pm:
> If prefixed instructions are made unavailable by the [H]FSCR, attempting
> to use them will cause a facility unavailable exception. Add "PREFIX" to
> the facility_strings[].
> 
> Currently there are no prefixed instructions that are actually emulated
> by emulate_instruction() within facility_unavailable_exception().
> However, when caused by a prefixed instructions the SRR1 PREFIXED bit is
> set. Prepare for dealing with emulated prefixed instructions by checking
> for this bit.
> 
> Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>

Oh you've got it here, I would just squash this together with the first
patch.

Thanks,
Nick


More information about the Linuxppc-dev mailing list