Re: [PATCH] alpha: fix FEN fault handling

From: Richard Henderson
Date: Sat Jan 07 2023 - 18:03:51 EST


On 1/7/23 13:28, Al Viro wrote:
On Sat, Jan 07, 2023 at 02:46:26AM +0000, Al Viro wrote:

Not sure it's worth bothering with in palcode-clipper - for Linux it's
useless (run out of timeslice and FEN will end up set, no matter what),
nothing in NetBSD or OpenBSD trees generates that call_pal, current
FreeBSD doesn't support alpha and their last version to do so hadn't
generated that call_pal either... What else is out there? OSF?

BTW, out of curiosity - what was
case 5: /* illoc */
default: /* unexpected instruction-fault type */
about in that switch in do_entIF()?

All documentation I'd been able to find had only 0..4 as expected
values (bpt/bugcheck/gentrap/fen/opdec)...

No idea.

Historical git (cd52cb6178a7, v2.4.8 -> v2.4.8.1) suggests it's related to shark_mv, so perhaps a later revision of DEC PALcode. But I have no corresponding documentation.


r~