linux-mips
[Top] [All Lists]

Re: [PATCH] Enable AT_PLATFORM for Loongson 2F CPU

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] Enable AT_PLATFORM for Loongson 2F CPU
From: Robert Millan <rmh@gnu.org>
Date: Tue, 9 Nov 2010 00:02:39 +0100
Cc: Aurelien Jarno <aurelien@aurel32.net>, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=AsXgKyn6YsVwqo2p8+ckF93ZRnVj/KqrGbaxj5OWIC4=; b=Id3AMXQie+9OXfFk7rKjS6sgIa3ked/qKRJE+EqisdHYC2CGusI+ens2M82L2ugLi6 OysZQij15eDstrXOw5adVR+nowia+MN8UGmc8IaesDiotQT2DoAFZnkGOpc+39aQoWsv Ha7+TxdI7PGsGNbY9AzcIc0DR6OZ5vLk+q6kk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ZNNI7FzLa63aAHCpxpxaLNzkCL+21WNZZ+f+D8JaEt5BPxj61NblMyWtfRTDQIl63g KAljvrjixfsrFBTAHf6tSfr0ry4rUf3OJqH3l7fddoi9kNiKYvdDykZeWwoR5MF7OXBH 7Xayiyh0FcEh3xKBnopQMFVgiFFfeQSj64V6A=
In-reply-to: <4CD87EC3.2060405@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1289133059.1547.0@thorin> <4CD84BEA.6010607@caviumnetworks.com> <AANLkTikCD_HjshMiP0ubyYZkPDoRb8nkFScUPE3GB2F4@mail.gmail.com> <4CD87EC3.2060405@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
2010/11/8 David Daney <ddaney@caviumnetworks.com>:
> Look at the description of the register in this document:
>
> http://dev.lemote.com/files/resource/documents/Loongson/ls2e/godson2e.user.manual.pdf
>
> On page 49, it says that bits 0-3 contain the minor version number and bits
> 4-7 are the major version number (according to a workmate that reads
> Chinese).
>
> I don't know for certain, but it seems plausible that the 2E and 2F will
> differ in bits 4-7, and bits 0-3 can be ignored.

Thanks for investigating, but ignoring bits 0-3 doesn't
really change anything.  Our problem was that bits 0-7
are the same on 2E and 2F (0x02).  If we ignore bits 0-3,
then our problem is that bits 4-7 are the same on 2E
and 2F (0x2).

-- 
Robert Millan

<Prev in Thread] Current Thread [Next in Thread>