From patchwork Fri Jun 9 05:37:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9777245 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 D7EE160393 for ; Fri, 9 Jun 2017 05:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8B382625B for ; Fri, 9 Jun 2017 05:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAE85284D2; Fri, 9 Jun 2017 05:44:47 +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 233B72625B for ; Fri, 9 Jun 2017 05:44:46 +0000 (UTC) Received: from localhost ([::1]:52754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJCiz-0003UH-NU for patchwork-qemu-devel@patchwork.kernel.org; Fri, 09 Jun 2017 01:44:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJCby-0006Ay-JC for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJCbx-0001ds-Rw for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:30 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJCbx-0001dm-Np for qemu-devel@nongnu.org; Fri, 09 Jun 2017 01:37:29 -0400 Received: by mail-qt0-x242.google.com with SMTP id w1so12993154qtg.0 for ; Thu, 08 Jun 2017 22:37:29 -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=Wv729DiBRB6cyuzX6RVRDeanxFhSZu8AOH4LqddOIqlSegv6KZ+MOflEVTdC7owIt6 OCd/JRipbHA8nmoC7DrX3fgk7hDwYveN8jR3XxsobPcnOweYAxW2k8/Jn0nNBYlA8htv gkAk3U+FDX7gYWVCeS68tifOZzKoth9HIYV7egDoZ7Rwrp1pIFwDyXu/o2+pDubGvTkj NdPCJF99HFCBmA2UuznLAn8FQw8Cs7mriGGMtLX/zHSqqQlP/jz1/ypEVxtmwj0Cn1tT A6cQt+y9+0dgnaE3MvRbfWGduq2A93L5mIJkxosxlL0XeKVRW31vTQ4N+koFxcv3NnFm rZog== 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=aJUSZGqPlKhZZgOstWjavyyhsabtha100seglZ8rEs6cjBU1Ufn+i7R91P+3/Ng2D2 mLni2PFakKYrLZoN2CjRJqK2wdNti0F7zJo+trBKNEoan2Xfjx7Wo8YeyNbqM3hiKY1G DHjX5t3KjVEDgOcrIlHUlwSg3U+svhhZEwfWg4wXD25M5hVqPI+cLuH/X4Z9kp7JRGAF qYm4EvDsDZr9CbLB/jk/QglWSrfYYK6kmL4HH+xPJJhCV1VMew134ty6Jm1hqSBQjApB kqrxY0OuGYCeTrDx1RZ8k6Z+XPL5q9fAnnw/Qhbi32Ypc23ksE6mJWSRJgVeOf3Hhy2u l4iQ== X-Gm-Message-State: AODbwcBtgRbTmUN8xNRpeNMcLiaQyzQxbjy2fYpyp6UpkEgQHljMkGix XRxoVd6Sxa2ukffFngY= X-Received: by 10.200.50.68 with SMTP id y4mr29627212qta.108.1496986649083; Thu, 08 Jun 2017 22:37:29 -0700 (PDT) Received: from bigtime.twiddle.net.com (97-113-165-157.tukw.qwest.net. [97.113.165.157]) by smtp.gmail.com with ESMTPSA id q41sm61161qtc.8.2017.06.08.22.37.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 22:37:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 8 Jun 2017 22:37:17 -0700 Message-Id: <20170609053719.26251-6-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170609053719.26251-1-rth@twiddle.net> References: <20170609053719.26251-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 v5 5/7] tcg/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)