Message ID | 20180508173152.29327-30-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="swncNagK"; 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 40gS1p5BSjz9rxs for <incoming@patchwork.ozlabs.org>; Wed, 9 May 2018 03:59:58 +1000 (AEST) Received: from localhost ([::1]:52716 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 1fG6u4-0002vc-Ct for incoming@patchwork.ozlabs.org; Tue, 08 May 2018 13:59:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6Th-0000EW-Dc for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6Tg-0005a5-PW for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:41 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:46696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6Tg-0005Zj-IK for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:40 -0400 Received: by mail-lf0-x243.google.com with SMTP id x7-v6so12048149lff.13 for <qemu-devel@nongnu.org>; Tue, 08 May 2018 10:32:40 -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=+YJnD3ADtPzHx7QtyVmBJ2lTti2ReOc4v5mUlbVLsEM=; b=swncNagKUQgH0rEkfE3N4HL72+rTF2KR3xagtYQyAdGCxQb2XdVRuIT01AbeKw/ch5 PaAowlv4MGqAxHIxQxNYcORTiiR7sHnulzDUaW3NHYBw+0zaDMDhvdDS1+qdXXGi/ed9 YyftsQksqRD/n4oJisIhzLPcXr9MpLcYi+XeutXgm+w1YaU+SAMJyaTRudaIKCDI82vN vSG7yHxe/bERajmW0PPD8NE3Be/BRwI31JtUOr1OYM0etSOtv2bGmDejJvSMwje8fRV0 ARBkXqQ59ri8sB//PUQWL3zAiiVn82sAMEoQ/lx2Qv7r0IKc6o0ckstDgGV12WMTmW6V H+iA== 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=+YJnD3ADtPzHx7QtyVmBJ2lTti2ReOc4v5mUlbVLsEM=; b=OHQhTzx5kpiHwRgT/pScjHHF3m7yQj4DdwGqpBjrkm75PE/rz/8R3AFKfCxWGZFIuO bVTcNT0OHScfJjs+v7G99cqBqqGFzbYzG6LTVqdLetl6Mu1HjdFGOOXDi2pC+yFPMiO3 jJzdYdzMaZ8OB4LiF6E3Zj8Ng05d6HQSDGc3BsBqIDfkQnT9sg2jMNLT3H7bxvnHdbg0 fFWQwXKUk2gIMTuUGl5w9o2wEw1SQDjVs6xI4nQJhBlMCCx4w4ORwX9sy1QaTra3kotb 3O4xUDh+Nk2jR2y3JgBlOLWfxZckDHEVfj5cI4/bLPCTfwOOP9EI1tpkjLTRn144SXc3 nSFg== X-Gm-Message-State: ALKqPwcFlzGu26JEsMwwKCGt2BPewK9jRzqXK19Gcvc9eWZSOY2y0vJW v+hc7U2ub0SF8dnO9YaSkn1tRQ== X-Google-Smtp-Source: AB8JxZq+basZSnQy1BzwmayxwRx34wgVytdfh1AAsaofUAF7cRvKr+Z5gJXWt4mOTj0+WPhwZfTewQ== X-Received: by 2002:a19:2501:: with SMTP id l1-v6mr8093606lfl.69.1525800759022; Tue, 08 May 2018 10:32:39 -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 p88-v6sm4862236lja.0.2018.05.08.10.32.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 10:32:38 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Tue, 8 May 2018 19:31:45 +0200 Message-Id: <20180508173152.29327-30-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180508173152.29327-1-edgar.iglesias@gmail.com> References: <20180508173152.29327-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 Subject: [Qemu-devel] [PATCH v2 29/36] 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, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
target-microblaze: Add support for Extended Addressing
|
expand
|
diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index d0649fdaaa..8c1f850ab1 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; }