From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrOZs-0003ZK-MO for qemu-devel@nongnu.org; Tue, 07 Apr 2009 23:35:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrOZq-0003YV-QR for qemu-devel@nongnu.org; Tue, 07 Apr 2009 23:35:52 -0400 Received: from [199.232.76.173] (port=41506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrOZq-0003YP-Lg for qemu-devel@nongnu.org; Tue, 07 Apr 2009 23:35:50 -0400 Received: from yx-out-1718.google.com ([74.125.44.155]:25167) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrOZq-00087e-Ci for qemu-devel@nongnu.org; Tue, 07 Apr 2009 23:35:50 -0400 Received: by yx-out-1718.google.com with SMTP id 34so1827434yxf.82 for ; Tue, 07 Apr 2009 20:35:48 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 7 Apr 2009 22:35:25 -0500 Message-ID: <31014a580904072035u7215ab93m41d2205d42c22be@mail.gmail.com> From: "Mark A. Miller" Content-Type: multipart/alternative; boundary=0016e640d0f6cef750046702d3ef Subject: [Qemu-devel] Versatile PB Board Support for ARMv6 and ARMv7 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: linux-kernel@vger.kernel.org Cc: qemu-devel@nongnu.org, Embedded Linux mailing list --0016e640d0f6cef750046702d3ef Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In late October 2008, according to the git logs, the methodology for selecting a processor on several boards, at least the Versatile PB board was changed so that it automatically selects CPU_ARM926T as a hidden symbol. The reason I have a question, is since QEMU currently can emulate a Versatile PB board with other processors than just the ARM926T (Such as the ARM1136 (ARMv6) and Cortex-A8 (ARMv7), is there a good way to allow that in the mainstream kernel? Previously the patch was to just add extra potential dependencies on CPU_V6 and CPU_V7, so that by selecting MACH_VERSATILE_PB, you could select ARMv6/v7 support. Currently I'm just deleting the select statement, and having all the CPUs appear, as no longer hidden symbols. My question is, what is the best way to allow for other processors for this board in Kconfig, so it could be submitted to the mainstream kernel? -- Mark A. Miller mark@mirell.org "My greatest strength, I guess it would be my humility. My greatest weakness, it's possible that I'm a little too awesome" - Barack Obama --0016e640d0f6cef750046702d3ef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In late October 2008, according to the git logs, the methodology for select= ing a processor on several boards, at least the Versatile PB board was chan= ged so that it automatically selects CPU_ARM926T as a hidden symbol.=A0
The reason I have a question, is since QEMU currently can em= ulate a Versatile PB board with other processors than just the ARM926T (Suc= h as the ARM1136 (ARMv6) and Cortex-A8 (ARMv7), is there a good way to allo= w that in the mainstream kernel? Previously the patch was to just add extra= potential dependencies on CPU_V6 and CPU_V7, so that by selecting=A0MACH_V= ERSATILE_PB, you could select ARMv6/v7 support.=A0

Currently I'm just deleting the select statement, a= nd having all the CPUs appear, as no longer hidden symbols. My question is,= what is the best way to allow for other processors for this board in Kconf= ig, so it could be submitted to the mainstream kernel?

--
Mark A. Miller
mark@mirell.org

"My greatest strength, I guess it woul= d be my humility. My greatest weakness, it's possible that I'm a li= ttle too awesome" - Barack Obama
--0016e640d0f6cef750046702d3ef--