Thread (36 messages) 36 messages, 4 authors, 2020-03-03

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

flat view

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2020-02-28 02:00:45

Jordan Niethe's on February 27, 2020 9:52 am:
On Wed, Feb 26, 2020 at 5:53 PM Nicholas Piggin [off-list ref] wrote:
quoted
Jordan Niethe's on February 26, 2020 2:07 pm:
quoted
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 <redacted>
Oh you've got it here, I would just squash this together with the first
patch.
Sure, I'll put them together. When you mentioned a couple more things
to do in traps.c, was it just this? Or is there still more to be done
adding an FSCR?
Hmm... maybe it's just that one.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help