From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjwGj-0007Tf-PF for qemu-devel@nongnu.org; Sun, 08 Jan 2012 12:10:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjwGj-0000gb-0Y for qemu-devel@nongnu.org; Sun, 08 Jan 2012 12:10:53 -0500 Received: from mail-qy0-f173.google.com ([209.85.216.173]:41331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjwGi-0000gX-UR for qemu-devel@nongnu.org; Sun, 08 Jan 2012 12:10:52 -0500 Received: by qcsd15 with SMTP id d15so1857226qcs.4 for ; Sun, 08 Jan 2012 09:10:52 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <201201081757.42171.marek.vasut@gmail.com> References: <1325967077-10130-1-git-send-email-marek.vasut@gmail.com> <201201081702.59630.marek.vasut@gmail.com> <201201081757.42171.marek.vasut@gmail.com> Date: Sun, 8 Jan 2012 17:10:51 +0000 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] PL011: Fix ID reporting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marek Vasut Cc: qemu-devel@nongnu.org On 8 January 2012 16:57, Marek Vasut wrote: >Peter Maydell wrote: >> Does the hardware give the ID registers the same values as stock >> PL011 or are the part number/designer/etc fields different? > > Slightly different, but compatible with Linux: > > 80075fe0: 00000011 00000010 00000024 00000000 =C2=A0 =C2=A0........$.....= .. > 80075ff0: 0000000d 000000f0 00000005 000000b1 =C2=A0 =C2=A0..............= .. OK, that's just the patchlevel -- QEMU currently reports itself as r1p1 (0x14 in UARTPeriphID2), and mx28 is r1p3 or r1p4 (0x24). The manual describes no functional differences between r1p0 up to r1p4 (r1p5 has a different fifo size) so I'd be inclined not to worry about the ID registers here. -- PMM