From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW7Z9-0001X4-CP for qemu-devel@nongnu.org; Tue, 15 Oct 2013 12:33:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW7Z4-0002cE-1z for qemu-devel@nongnu.org; Tue, 15 Oct 2013 12:33:51 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 15 Oct 2013 18:33:35 +0200 Message-Id: <1381854817-19552-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 0/2] target-ppc: Tidy sPAPR device tree CPU nodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Thomas Huth , aik@ozlabs.ru, Alexander Graf , qemu-ppc@nongnu.org, Anthony Liguori , Prerna Saxena , =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello Alexey and Alex, This series cleans up the fdt CPU nodes for -M pseries as attempted by Pr= erna. v3 uses DeviceClass::fw_name for name storage exclusively, with "PowerPC,= UNKNOWN" as fallback. Regards, Andreas v2 -> v3: * Drop any type-based model name mangling and default to PowerPC,UNKNOWN = (Alex). preview -> v2: * Set fw_name at family level rather than model level, saving macro exten= sions. * Appended patch stripping underscores (Prerna). v1 / Prerna's v3 -> preview: * Instead of overwriting cpu_model with parent's type name for -cpu host, set fw_name for some models and read type / parent's types otherwise. * Don't pass cpu_model to functions, determine name per CPU iterated. * Avoid walking alias list by taking fw_name or model part of type name. Cc: Prerna Saxena Cc: Alexander Graf Cc: Alexey Kardashevskiy Cc: Benjamin Herrenschmidt Cc: Thomas Huth Cc: Anthony Liguori Cc: qemu-ppc@nongnu.org Andreas F=C3=A4rber (2): target-ppc: Fill in OpenFirmware names for some PowerPCCPU families spapr: Use DeviceClass::fw_name for device tree CPU node hw/ppc/spapr.c | 26 ++++++-------------------- include/hw/ppc/spapr.h | 1 - target-ppc/translate_init.c | 5 +++++ 3 files changed, 11 insertions(+), 21 deletions(-) --=20 1.8.1.4