Thread (4 messages) 4 messages, 2 authors, 2000-07-28

Altivec on 2.4.xx?

flat view

From: Dan Malek <hidden>
Date: 2000-07-28 01:15:27

Anyone out there using Altivec with a 2.4.0 kernel?  Maybe this
is the wrong list to ask....suggestions welcome.

There is a bug in the Instruction fault handler that interprets the
Altivec enabled flag in the MSR as a write attempt to a protected
instruction page.  It is because we commonly use the DSISR and SRR1,
and call it 'error_code' in do_page_fault.  The 0x02000000 is the
Altivec enabled flag in SRR1.

This should also break 2.2.xx (unless Altivec enabled is managed
differently and I don't know that).

Right now, I am just removing this as part of the exception handler,
so this function never finds this bit set for instruction faults.
Anyone else?


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help