From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCFCg-0007s3-E6 for qemu-devel@nongnu.org; Mon, 06 Jul 2015 18:49:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCFCc-0003cQ-7g for qemu-devel@nongnu.org; Mon, 06 Jul 2015 18:49:34 -0400 Received: from mail-vn0-f41.google.com ([209.85.216.41]:41785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCFCc-0003cJ-3q for qemu-devel@nongnu.org; Mon, 06 Jul 2015 18:49:30 -0400 Received: by vnbf62 with SMTP id f62so9265242vnb.8 for ; Mon, 06 Jul 2015 15:49:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1436208832-17651-1-git-send-email-meadori@codesourcery.com> From: Peter Maydell Date: Mon, 6 Jul 2015 23:49:09 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 0/2] target-arm: "any" CPUs for system-mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Meador Inge , QEMU Developers On 6 July 2015 at 23:42, Peter Crosthwaite wrote: > On Mon, Jul 6, 2015 at 3:29 PM, Peter Maydell wrote: >> On 6 July 2015 at 19:53, wrote: >>> From: Meador Inge >>> >>> This patch series opens up the "any" CPU for system-mode and >>> adds a new "any" variant named "anyvfp" that initializes the >>> FP coprocessors as well. >> >> We deliberately removed cpu "any" for system mode in >> commit f5f6d38b7458b8a back in 2013; I think the rationale >> for its removal still holds. If you're emulating a system >> you're emulating a specific system and you get a real >> CPU. A CPU with no impdef sysregs or initialized feature >> and ID registers is broken... > > You can still have a CPU+RAM only machine model, load elfs and get > meaningful result on a debugger. Yeah, but what does "any" get you over just going ahead and specifying your CPU type? What interrupt controller should the "any" CPU type have? Generic timers? Etc. There isn't zero utility there, but I don't really think there's enough to justify cluttering up QEMU with when "-cpu cortex-a15" is not very much more to type, and has the advantage of being something that actually exists in reality. -- PMM