From patchwork Mon Jan 28 02:18:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10783193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5F10813B5 for ; Mon, 28 Jan 2019 02:19:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B79A2A679 for ; Mon, 28 Jan 2019 02:19:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AEFD2A67D; Mon, 28 Jan 2019 02:19:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D1A342A679 for ; Mon, 28 Jan 2019 02:19:53 +0000 (UTC) Received: from localhost ([127.0.0.1]:52877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnwWe-0000e0-MF for patchwork-qemu-devel@patchwork.kernel.org; Sun, 27 Jan 2019 21:19:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnwVd-0008Vu-89 for qemu-devel@nongnu.org; Sun, 27 Jan 2019 21:18:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnwVc-00015c-Fe for qemu-devel@nongnu.org; Sun, 27 Jan 2019 21:18:49 -0500 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:43623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnwVc-00014z-8h for qemu-devel@nongnu.org; Sun, 27 Jan 2019 21:18:48 -0500 Received: by mail-lf1-x142.google.com with SMTP id u18so10666447lff.10 for ; Sun, 27 Jan 2019 18:18:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ThriJTg57zJq2OSTFDrC42ykl5UOPhvYXoiUBxWqqSo=; b=bxD5jG+ITunJIExG1BaE+mXUWf5MH1sVUeUa3IlzvwIs8K8yVdEzaUCWW5rLMtHETZ 6zWc7FSSKGc62FApnGC6wPwK/H2r1hcc6BdhithXbxcCAZzzbRgStJNC4+c2zT5fATFo 8C5nlUv36J7OckMurAgq8rn6ebg1E51wGEr8KG26bMkGcHgcdXPQxo/WZKJ+eEspmrWu xTNKRGNdASLefKsoz9e4xHspuQOa2pZXvTwZKYNo9y2L0A3S1MoPdq/WQnq4qamQ13yY LgpfSgb6dURB5yIjZf2RiXNpRv96jjR2GhFNdh4riTr182Jgt7WWiHmN1wNKpuKJM0Pb /5ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ThriJTg57zJq2OSTFDrC42ykl5UOPhvYXoiUBxWqqSo=; b=DS/sqPOy3TOJBSoy2gggT7Q07bPBGYWyLnuqSPYhkOvmthiFOlNFbYPAinxQfu1eJY f/A+xZXAhmZkIWRz3siCQi5WiU+K1zzAX7jXo4gm7cgDf4XCvromO9Fhaag617UzT5F6 2h0XPQDZh60ihFVrBIM905iQk3OBSyHdEy8G3zzTsAM6mkuEUNxobqKKh7ozU6NyVtmC NlcDXYDQSO/OKcjEjVcBr01FG0iQXL2T5DW4Wr/sbFLPFEOZBImCcZaNPS1OJ43xwAgO TiiDpmxlea4GjqQoeHqEwlOIa9udBuGWtSK2WhhovCvmkg60BKAZjfozdXkm+nBSYfVt +Nkg== X-Gm-Message-State: AJcUukfJs+XUGH3ymfPU44wrJAo5nX3PnsxfTTVW5AhMty92+jSyDozg K351N+A9JtTDsAKks0FxcmQXVdWET/4= X-Google-Smtp-Source: ALg8bN7at+kX2LG8drkmdzDhCYYIf3F5bQds7WBst+HmvxDNzRrK7NWaQz80uGEbKCn6ZYVuGipjgg== X-Received: by 2002:a19:f89:: with SMTP id 9mr14785198lfp.10.1548641926467; Sun, 27 Jan 2019 18:18:46 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id x29-v6sm2788219ljb.97.2019.01.27.18.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 18:18:45 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Sun, 27 Jan 2019 18:18:35 -0800 Message-Id: <20190128021835.24451-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 Subject: [Qemu-devel] [PATCH] hw/xtensa: xtfpga: raise CPU number limit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP MX PIC can support up to 32 CPUs on xtfpga boards, raise per-board limit accordingly. Signed-off-by: Max Filippov --- hw/xtensa/xtfpga.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index 792a225e03a2..1d21162a2773 100644 --- a/hw/xtensa/xtfpga.c +++ b/hw/xtensa/xtfpga.c @@ -599,7 +599,7 @@ static void xtfpga_lx60_class_init(ObjectClass *oc, void *data) mc->desc = "lx60 EVB (" XTENSA_DEFAULT_CPU_MODEL ")"; mc->init = xtfpga_lx60_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE; mc->default_ram_size = 64 * MiB; } @@ -616,7 +616,7 @@ static void xtfpga_lx60_nommu_class_init(ObjectClass *oc, void *data) mc->desc = "lx60 noMMU EVB (" XTENSA_DEFAULT_CPU_NOMMU_MODEL ")"; mc->init = xtfpga_lx60_nommu_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE; mc->default_ram_size = 64 * MiB; } @@ -633,7 +633,7 @@ static void xtfpga_lx200_class_init(ObjectClass *oc, void *data) mc->desc = "lx200 EVB (" XTENSA_DEFAULT_CPU_MODEL ")"; mc->init = xtfpga_lx200_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE; mc->default_ram_size = 96 * MiB; } @@ -650,7 +650,7 @@ static void xtfpga_lx200_nommu_class_init(ObjectClass *oc, void *data) mc->desc = "lx200 noMMU EVB (" XTENSA_DEFAULT_CPU_NOMMU_MODEL ")"; mc->init = xtfpga_lx200_nommu_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE; mc->default_ram_size = 96 * MiB; } @@ -667,7 +667,7 @@ static void xtfpga_ml605_class_init(ObjectClass *oc, void *data) mc->desc = "ml605 EVB (" XTENSA_DEFAULT_CPU_MODEL ")"; mc->init = xtfpga_ml605_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE; mc->default_ram_size = 512 * MiB - XTFPGA_MMU_RESERVED_MEMORY_SIZE; } @@ -684,7 +684,7 @@ static void xtfpga_ml605_nommu_class_init(ObjectClass *oc, void *data) mc->desc = "ml605 noMMU EVB (" XTENSA_DEFAULT_CPU_NOMMU_MODEL ")"; mc->init = xtfpga_ml605_nommu_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE; mc->default_ram_size = 256 * MiB; } @@ -701,7 +701,7 @@ static void xtfpga_kc705_class_init(ObjectClass *oc, void *data) mc->desc = "kc705 EVB (" XTENSA_DEFAULT_CPU_MODEL ")"; mc->init = xtfpga_kc705_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_TYPE; mc->default_ram_size = 1 * GiB - XTFPGA_MMU_RESERVED_MEMORY_SIZE; } @@ -718,7 +718,7 @@ static void xtfpga_kc705_nommu_class_init(ObjectClass *oc, void *data) mc->desc = "kc705 noMMU EVB (" XTENSA_DEFAULT_CPU_NOMMU_MODEL ")"; mc->init = xtfpga_kc705_nommu_init; - mc->max_cpus = 4; + mc->max_cpus = 32; mc->default_cpu_type = XTENSA_DEFAULT_CPU_NOMMU_TYPE; mc->default_ram_size = 256 * MiB; }