[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] Incorrect segment 0 initialization for PMAC G5
On 03/31/2013 03:12 AM, Michael wrote:
Patches please! ;)
Will do, first i wanted to get interrupts working else the system is
pretty unusable. At least Ethernet should work properly and then we
could SSH to it :)
Just pointing openpic_init() at it doesn't work?
Yeah, i reused openpic code, just changed the base address of the PIC.
The kernel configures it properly and everything seems to work fine,
interrupts get configured and enabled.
But i have very odd issues with it. For now only Ethernet and USB
interrupts are enabled at boot, IRQs 66, 67 and 70. I checked and
IRQ lines are correct, the same lines are used on Linux and FreeBSD too.
As soon as the kernel enables external interrupts and drivers
establish their interrupts, i'm getting spurious interrupt storms for
IRQ 66, 67 and 70. OpenPIC acks it but i still get them again.
Currently i'm taking a look at Linux and FreeBSD kernel code and
trying to figure out what i'm doing wrong.
I noticed that the Linux kernel has a lot of ugly workarounds for G5's
Main Index |
Thread Index |