Trying to enable backside on a G4

Benjamin Herrenschmidt bh40 at calva.net
Mon Jul 10 06:34:37 EST 2000


>
>So I attached a correct (I think) user-space script called L2BS_enable.sh
>which I'm going to
>propagate on linuxppc-users, tell me what you think about. I will try to
>work on kernel space then.
>
>I'm just unsure of the behaviour of :
>while test 1 = $((`cat /proc/sys/kernel/l2cr | awk -F : '{print
>$1}'`&0x00000001)); do wait; done

I'd rather fix the kernel code. The set_L2CR function in the kernel is
supposed to already handle all that work of waiting for the cache,
invalidating, etc...

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list