Received: from eggs.gnu.org ([208.118.235.92]:43391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTVMx-0005PQ-Tl for qemu-devel@nongnu.org; Sat, 20 Apr 2013 06:50:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTVMw-00028P-IM for qemu-devel@nongnu.org; Sat, 20 Apr 2013 06:50:11 -0400 Message-ID: <517272D8.5060305@ilande.co.uk> Date: Sat, 20 Apr 2013 11:50:00 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 References: <5167FE3A.2090005@ilande.co.uk> <5E6BE311-29AF-4BA1-92D2-414E5D3629AB@suse.de> In-Reply-To: <5E6BE311-29AF-4BA1-92D2-414E5D3629AB@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] Is FW_CFG_PPC_CPUFREQ deprecated? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-ppc@nongnu.org" , qemu-devel On 19/04/13 16:31, Alexander Graf wrote: >> Hi everyone, >> >> Has FW_CFG_PPC_CPUFREQ been removed from QEMU for some reason? I noticed that the value always comes back as 0 in OpenBIOS, and it looks as if the FW_CFG_PPC_CPUFREQ constant (FW_CFG_ARCH_LOCAL + 0x4) has been removed from hw/ppc.h? > > In fact, it simply never got introduced :) Yes - I see now from the archives that there was disagreement as to how to obtain the CPU frequency to pass to OpenBIOS, and while the FW_CFG_PPC_CPUFREQ value was removed from the final QEMU commit, it still remains in the related OpenBIOS commit. Well at least it explains why when booting an PPC OS in QEMU/OpenBIOS all the CPU speeds appear as 0MHz ;) ATB, Mark.