Re: prep machine kernel PGM trap by cpu_get_dfs()

Frank Wille <[email protected]> Fri, 5 Nov 2010 09:39:33 +0100
Newsgroups gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.prep
Organization Privates Internet Ostwestfalen/Lippe
Message-ID <[email protected]>
On Fri, 05 Nov 2010 14:29:58 +0900 (JST)
KIYOHARA Takashi <[email protected]> wrote:

> My prep machine(RS/6000 43P 7248-133) panics by kernel PGM trap.
> [...]
>   00000030 <cpu_get_dfs>:
>       30:       94 21 ff f0     stwu    r1,-16(r1)
>       34:       7d 7f 42 a6     mfpvr   r11
>       38:       7d 51 fa a6     mfspr   r10,1009
> 
> 
> hmm...
> I know such a function did not exist until last month.  Does 604
> support mfspr(SPR_HID1)?

Sorry, that's my fault! cpu_get_dfs() is called from cpu_probe_speed(),
and I was missing that it also happens for 604 CPUs.

Fixed. Please update cpu_subr.c.

-- 
Frank Wille