From patchwork Wed Jun 7 15:55:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9771837 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3595B60364 for ; Wed, 7 Jun 2017 15:59:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2372128456 for ; Wed, 7 Jun 2017 15:59:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16B4428479; Wed, 7 Jun 2017 15:59:33 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C22E028456 for ; Wed, 7 Jun 2017 15:59:32 +0000 (UTC) Received: from localhost ([::1]:44792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIdMp-0002sk-Ts for patchwork-qemu-devel@patchwork.kernel.org; Wed, 07 Jun 2017 11:59:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIdJU-0000i2-8r for qemu-devel@nongnu.org; Wed, 07 Jun 2017 11:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIdJR-0005cV-3w for qemu-devel@nongnu.org; Wed, 07 Jun 2017 11:56:04 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIdJQ-0005cM-Vg for qemu-devel@nongnu.org; Wed, 07 Jun 2017 11:56:01 -0400 Received: by mail-qt0-x242.google.com with SMTP id w1so1993202qtg.0 for ; Wed, 07 Jun 2017 08:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=gtx8v0a7RDShL/b6uJTCkn6FjFgPVuofukKKY2oheps=; b=YSyTreQDQ1AugR55sIb3KQ+TneBfmhTXYw0n4OBA3MoXypFgYCBkvOTyiXt3KHG/og zM9I458ljfgNNjG+euTFJi20L+Q7efivGel07yflQOoGtfNrEsTnHiEIvVFZS664NgCR mdCLxSbgfXkYxnluS0pcBxmJGYpMTOGslg5zxS1LLKRqoqyjB6Rgzj6lGBzFc8Qu4LSD hjo4qV2mAeGLzKLu/uBkCJdPwoUUnQ3AWCF1h/xlRkhk6kvPgA6/xjbRVADjIF2FLvtA VbaWMZexgmHk23jdk8ELZ//pmEhUBciKWfgYKqgiO82Azk1Aay8UUL+eJ6qtDpjiEh/L DeDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=gtx8v0a7RDShL/b6uJTCkn6FjFgPVuofukKKY2oheps=; b=unSYJXzY9N8RBIRP1W0wgn7pSE9lBuYrgSg6g/q8w8jjwbYfSqhaKO+V3oW+OGSIyC jZt5Au8Tq5QaP8E7Xwx7oK89Su/nDIZLeBGS4R1H1AL8yr3ZCYOFDpDOc4HDnIgM/0l6 FZsq0DT6ansvatCA5ljUXxvmzYi3ifeFPt4GYHxRs6szyq3bp73bmp3YEAvHYNNlAhOL d+hXrRO1JfKtBbomg6bJU8rTxZUDDCOu+12yUMO3kvNIWqgP0PPvi+6E4AH4EIXqY1ld SCZm7HoESIiOqfYYyUtYtSRXUNndpZ6F+vQrSZfaqo2m5KCX13R6WvQ4QYOci7Cl4z00 XU7Q== X-Gm-Message-State: AKS2vOySn8zfeZ3hYkb3ld3U0IypoqRr1TpofhE8kzH9XWkfnoZ9Txhl 73GpJmH3IvY4T+kXHE4= X-Received: by 10.237.42.99 with SMTP id k32mr25241431qtf.58.1496850960113; Wed, 07 Jun 2017 08:56:00 -0700 (PDT) Received: from bigtime.twiddle.net.com (184-217-116-168.pools.spcsdns.net. [184.217.116.168]) by smtp.gmail.com with ESMTPSA id i28sm1272525qta.52.2017.06.07.08.55.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 08:55:59 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 7 Jun 2017 08:55:34 -0700 Message-Id: <20170607155536.1193-6-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170607155536.1193-1-rth@twiddle.net> References: <20170607155536.1193-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH v4 5/7] target/arm: Remove limit on code buffer size 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: cota@braap.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Since we're no longer using a direct branch, we have no limit on the branch distance. Signed-off-by: Richard Henderson --- translate-all.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/translate-all.c b/translate-all.c index bb094ad..966747a 100644 --- a/translate-all.c +++ b/translate-all.c @@ -523,8 +523,6 @@ static inline PageDesc *page_find(tb_page_addr_t index) # define MAX_CODE_GEN_BUFFER_SIZE (32u * 1024 * 1024) #elif defined(__aarch64__) # define MAX_CODE_GEN_BUFFER_SIZE (128ul * 1024 * 1024) -#elif defined(__arm__) -# define MAX_CODE_GEN_BUFFER_SIZE (16u * 1024 * 1024) #elif defined(__s390x__) /* We have a +- 4GB range on the branches; leave some slop. */ # define MAX_CODE_GEN_BUFFER_SIZE (3ul * 1024 * 1024 * 1024)