[OpenBIOS] [PATCH] sparc64 add cpuid to cpu node

Igor Kovalenko igor.v.kovalenko at gmail.com
Sun Dec 7 22:45:59 CET 2008

On Sat, Sep 27, 2008 at 10:51 PM, Blue Swirl <blauwirbel at gmail.com> wrote:
> On 9/27/08, Igor Kovalenko <igor.v.kovalenko at gmail.com> wrote:
>> Hi!
>>  Linux kernel expects at least "cpuid" property in cpu device node, or
>>  it halts execution. This patch adds one with dummy "1" value. This
>>  allows to make some progress into booting the kernel.
>>  Please apply.
> Thanks, applied. The real implementation would be to probe the real ID
> from various registers but as we don't have SMP yet this is sufficient
> for now.

Small correction: cpuid property of qemu cpu should be "0" for the
linux kernel to boot on qemu. This is because kernel is reading cpu
registers to find out current smp processor ID and it happens to find
out "0" cpuid because corresponding register is zeroed by qemu.
Currently kernel fails since there is no "0" cpu node in tree.

Please apply the following patch: openbios-sparc64-cpuid.patch

Kind regards,
Igor V. Kovalenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbios-sparc64-cpuid.patch
Type: application/octet-stream
Size: 364 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20081208/9d78d6ca/attachment.dmg>

More information about the OpenBIOS mailing list