Message ID | 20180529105011.1914-31-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="co7qhY3w"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40w9mP059Nz9s0W for <incoming@patchwork.ozlabs.org>; Tue, 29 May 2018 21:02:29 +1000 (AEST) Received: from localhost ([::1]:60147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fNcOY-0002L3-Nj for incoming@patchwork.ozlabs.org; Tue, 29 May 2018 07:02:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDZ-0001oW-At for qemu-devel@nongnu.org; Tue, 29 May 2018 06:51:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDY-0004GS-JL for qemu-devel@nongnu.org; Tue, 29 May 2018 06:51:05 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:39229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDY-0004G3-DV for qemu-devel@nongnu.org; Tue, 29 May 2018 06:51:04 -0400 Received: by mail-wm0-x22c.google.com with SMTP id f8-v6so39343918wmc.4 for <qemu-devel@nongnu.org>; Tue, 29 May 2018 03:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LwBwLfcHpDJ7rBwThy7deL0DHLaHXyc+u0rR66zJs3o=; b=co7qhY3wSKDL93+VjprYtr7FbTZcC+zW1whyViTmHMF3K3Caj/Ja9aVTwIaDSc2Q48 cEZ7VwVnrB/V/Dwj8cEd+Fz6+8PcaMUF7RqiJfYUZ1qXK3dNKfjuQN157Zj4l4zFazLI fW9QafDMkX9Q7fGg76A8y7F7d6n/maNGuCoqWWxqOf0hFp3v8P+NdcrLhFNFOwIh4o3J 7EJVoAj8xDYsQxDoFi3ED7RGZpPLeWkQS7ghcxIMrmd380O2q+X02khK2gu8eOY1rDKD ESDtCjhqUuY+b3IE6rQkXycZ4lBm5yBBNim0Z+VXtRZ9xfsIW8DNymFQceZO4yuiNg91 HNWw== 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:in-reply-to :references; bh=LwBwLfcHpDJ7rBwThy7deL0DHLaHXyc+u0rR66zJs3o=; b=TBmZL6NqfmI1bZNp2IEQYwgbveHwBBRoCeVPuRShdMHgCvR51iUX0B4r/FNjXg215l CcBiNChB3l/Qbi9eGMQjPGZtzW6jnmHZNEsGr2zYwOUcJSKIpRVKtL1bdpWVq5fmz7Zv Hlm8OCG9B4TDbTSjfcWv5eopiduKjxeESCEb0Zv8IzytYi0wGzIS91enG5oodnQ0y8F5 pFCXDXejne0U/xeB8UuuP10uqriE3PEIySJTxdgZDQ7OjIFlDahF13Xm7RMY9KTqY9gw 6pHYiVa9eQlKZPXvtgJdP4znjUaXujHqa6tM3QVJ8wdsp92cwdmXS12CXvK2plfgdKqW c1Vg== X-Gm-Message-State: ALKqPwdTh7VoagXtvGJvQQii7Tcl5/FCRxCxp6+BPWomwVZ/EF3ds/nY evISy225SQRCNHA3EJ/PF92sVg== X-Google-Smtp-Source: ADUXVKJNZSZuNZQI5YV3c6JnpfttLxAnsbucStdvYtpO5LeyGFutiTmu2VPV8iLrVx+PEXAMag1qFw== X-Received: by 2002:a2e:2286:: with SMTP id i128-v6mr2018623lji.47.1527591063112; Tue, 29 May 2018 03:51:03 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id i6-v6sm5451677lfc.12.2018.05.29.03.51.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 03:51:02 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Tue, 29 May 2018 12:50:03 +0200 Message-Id: <20180529105011.1914-31-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180529105011.1914-1-edgar.iglesias@gmail.com> References: <20180529105011.1914-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c Subject: [Qemu-devel] [PULL v1 30/38] target-microblaze: Allow address sizes between 32 and 64 bits X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Xilinx queue
|
expand
|
diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 71fc8d09fe..9b546a2c18 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -155,9 +155,8 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp) return; } - if (cpu->cfg.addr_size != 32) { - error_setg(errp, "addr-size %d is out of range. " - "Only 32bit is supported.", + if (cpu->cfg.addr_size < 32 || cpu->cfg.addr_size > 64) { + error_setg(errp, "addr-size %d is out of range (32 - 64)", cpu->cfg.addr_size); return; }