From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qji3O-0002Fg-Vu for qemu-devel@nongnu.org; Wed, 20 Jul 2011 21:27:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qji3A-0003rc-N4 for qemu-devel@nongnu.org; Wed, 20 Jul 2011 21:27:54 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57998 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qji38-0003pu-My for qemu-devel@nongnu.org; Wed, 20 Jul 2011 21:27:39 -0400 From: Alexander Graf Date: Thu, 21 Jul 2011 03:27:14 +0200 Message-Id: <1311211654-14326-4-git-send-email-agraf@suse.de> In-Reply-To: <1311211654-14326-1-git-send-email-agraf@suse.de> References: <1311211654-14326-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 03/23] PPC: Add CPU definitions for up to 32 guest CPUs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Developers Cc: Scott Wood All guest CPUs need to be specified in the device trees. Since removing nodes is easy with FDT, but adding nodes is not, we just put 32 CPU nodes into the device tree and remove them later on init when not used. Signed-off-by: Alexander Graf --- pc-bios/mpc8544ds.dtb | Bin 2277 -> 9699 bytes pc-bios/mpc8544ds.dts | 437 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 437 insertions(+), 0 deletions(-) diff --git a/pc-bios/mpc8544ds.dtb b/pc-bios/mpc8544ds.dtb index ae318b1fe83846cc2e133951a3666fcfcdf87f79..18667f87588e390018149e548468e1a119433eea 100644 GIT binary patch literal 9699 zcmds7&5zqe6dzMaDNxwu`i>o!zg_+JFCnh|DTLS; z;_XAazC(4J>K0Wh&dx*Y z%n#Y;KDlK#;t{$yem3U-O1~Gy3k&Bky)E;@>phN7J299hTr;@MjYzum;PzXV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pc8544ds.dts +++ b/pc-bios/mpc8544ds.dts @@ -36,6 +36,443 @@ timebase-frequency = <0>; bus-frequency = <0>; clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1 { + device_type = "cpu"; + reg = <0x1>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@2 { + device_type = "cpu"; + reg = <0x2>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@3 { + device_type = "cpu"; + reg = <0x3>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@4 { + device_type = "cpu"; + reg = <0x4>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@5 { + device_type = "cpu"; + reg = <0x5>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@6 { + device_type = "cpu"; + reg = <0x6>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@7 { + device_type = "cpu"; + reg = <0x7>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@8 { + device_type = "cpu"; + reg = <0x8>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@9 { + device_type = "cpu"; + reg = <0x9>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@a { + device_type = "cpu"; + reg = <0xa>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@b { + device_type = "cpu"; + reg = <0xb>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@c { + device_type = "cpu"; + reg = <0xc>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@d { + device_type = "cpu"; + reg = <0xd>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@e { + device_type = "cpu"; + reg = <0xe>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@f { + device_type = "cpu"; + reg = <0xf>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@10 { + device_type = "cpu"; + reg = <0x10>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@11 { + device_type = "cpu"; + reg = <0x11>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@12 { + device_type = "cpu"; + reg = <0x12>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@13 { + device_type = "cpu"; + reg = <0x13>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@14 { + device_type = "cpu"; + reg = <0x14>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@15 { + device_type = "cpu"; + reg = <0x15>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@16 { + device_type = "cpu"; + reg = <0x16>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@17 { + device_type = "cpu"; + reg = <0x17>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@18 { + device_type = "cpu"; + reg = <0x18>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@19 { + device_type = "cpu"; + reg = <0x19>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1a { + device_type = "cpu"; + reg = <0x1a>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1b { + device_type = "cpu"; + reg = <0x1b>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1c { + device_type = "cpu"; + reg = <0x1c>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1d { + device_type = "cpu"; + reg = <0x1d>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1e { + device_type = "cpu"; + reg = <0x1e>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; + }; + PowerPC,8544@1f { + device_type = "cpu"; + reg = <0x1f>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x8000>; // L1, 32K + i-cache-size = <0x8000>; // L1, 32K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + status = "disabled"; + enable-method = "spin-table"; + cpu-release-addr = <0 0>; }; }; -- 1.6.0.2