From patchwork Wed Feb 26 18:10:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 183917 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp3454434ile; Wed, 26 Feb 2020 10:11:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxJBbpovv6wZK0Q6yYpwTSu1GbVlFjU6lGwAawJwssowYzbLbRsDZp5V6FHZrk8OsEQfq9j X-Received: by 2002:ac8:130c:: with SMTP id e12mr18774qtj.233.1582740696329; Wed, 26 Feb 2020 10:11:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582740696; cv=none; d=google.com; s=arc-20160816; b=Xpmi49sg+dGZznJ5KhtOT+UoWoB6bJTInqJXo36Na9kDQr+Yy7EdodItnQThjHsSqg X6RdEyt8eTtTIJXgNeDPiSfe1whTBT574mzHR4VWOYzBick38l1g5NAE9qUOIj7LrAgU Orss7R27amT36apUbagqTKGeik2NzzsEM31jR1fKELuhzyHVDFDIMVC1Ue6isEIU38Zb iQozebTEPYEMZu5jumyiYgGU6+ti7ykI61tBCQPqlyAyYHPHTNKHT7I8VE0WnG1YuvIj OcVI/KPC31W5X3d9QdIPRvzrhKvXvwQPsunrnL7DijA8X2vGb/ekzbFGHMGn+KMHh4Kh M2yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=LsCWnhAvrs83gaBRDHbiIWQXeBQ4TuQ1uQ9PFAxp7z4=; b=SUr38qD24WHTBRZtF3AmNbugB+jnjJsSEtEhLQpehldYsq2P2wDllUB4FnnVh0iYsi HWBzUV/0n3zzl7Jk+zjaQ46GyJKaZb0iYO6gotpabCFd1If1TVDTOdfzZK+Qpu8ppedR c/IpsWXeqU2McJ335RIXrHe74u9KllDjpsEufiXnH4G8frKEgJrRNrYvjkA7N6fjc9I+ deA90ZdQ4dK2XEtI34PNTwVfwG219QSoDWHPFIS/bTzhsmc1OE4eg8iJ20euYT6+B6Vq aP/psGyiTwEMY2byGWCmTJJNYCk9eybSx9/jD4fusvwu/m92C7r16XgOipq2wPNpvb1p bivA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uF3WhlzW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z22si131632qka.114.2020.02.26.10.11.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Feb 2020 10:11:36 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uF3WhlzW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j719j-0000eM-SM for patch@linaro.org; Wed, 26 Feb 2020 13:11:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j718b-00076L-86 for qemu-devel@nongnu.org; Wed, 26 Feb 2020 13:10:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j718a-00062f-CI for qemu-devel@nongnu.org; Wed, 26 Feb 2020 13:10:25 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:40713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j718a-00061Q-5V for qemu-devel@nongnu.org; Wed, 26 Feb 2020 13:10:24 -0500 Received: by mail-wm1-x32b.google.com with SMTP id t14so231635wmi.5 for ; Wed, 26 Feb 2020 10:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LsCWnhAvrs83gaBRDHbiIWQXeBQ4TuQ1uQ9PFAxp7z4=; b=uF3WhlzWVCjqrIqpflQhsnA6ZK6SaoPi4D9E2LBPf0kyUBT8k5BxkZ4kCdMPcFv6M1 Ru3nhY1X0bB2kO7eVFKRUxd8OJRRZA4xvJz5j4y/lcjNa+c7MbDhUXjkvC0qzgk2ZaG+ 4jVd4XrXotm5iLG3O29kv2mReWBZjEbwdec4wjrLUxwoUPv+JftiFTRo6r37V/eOxK8e AZU2YBsObz3H3Hh2OgWS91M21jG7+zJiRIMVemxg4deVK9Tqzd/NTw4WLXgJCKLrzv1M FWUQKdEyty2/0/GxAr0+pRiu8xNufuTW1tpu2wCTgiKBmoD/odVCYkjgIyHj9sZIPps4 jWEg== 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:mime-version :content-transfer-encoding; bh=LsCWnhAvrs83gaBRDHbiIWQXeBQ4TuQ1uQ9PFAxp7z4=; b=G8WACrx9itml1ITwjYI0Iq/rRgamf5D4FIHDEndBUomRm4fSFHck2lLffay/hUg50P BkvCWTxEAQfbnknVkKdS/zXjGUDYVpqYEn0+RdM0gSWJksNYz826ta8OasyHuTR92idG 2y5na6O4dNo23t9L6q3QTKol8LoYgGUEpS0GuJg1ztx+8WzR7YGYX0H6XVIeM5z5PeK3 ULziY1iKQ9KTK5UWQY8hPzKq5CpRMjGvH38M95yf/dQVbOi4O0g3n/vaUNpPADpaOvNj eTCS9LO0Uu0joofC6+NjcZqwr10MzYZhjs38t55R70D9TEAo/Yxqpq1cxdJhd5CfOyBR zpWQ== X-Gm-Message-State: APjAAAXfD+FpMcW4klOckTAABMtEn3kIjICW/YGx/DiEiw5xl0NhmHCs PqJylWWy0gadx3sK6HdhMzwMdw== X-Received: by 2002:a7b:cf12:: with SMTP id l18mr143843wmg.66.1582740622977; Wed, 26 Feb 2020 10:10:22 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j14sm4405876wrn.32.2020.02.26.10.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 10:10:21 -0800 (PST) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D5CD91FF87; Wed, 26 Feb 2020 18:10:20 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 0/4] Fix codegen translation cache size Date: Wed, 26 Feb 2020 18:10:16 +0000 Message-Id: <20200226181020.19592-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32b X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, Slightly more cleaned up series based on what I sent earlier today to fix the recent slowdown in emulation caused by an overly small translation cache. Please review. Alex Bennée (4): accel/tcg: use units.h for defining code gen buffer sizes accel/tcg: remove link between guest ram and TCG cache size accel/tcg: only USE_STATIC_CODE_GEN_BUFFER on 32 bit hosts accel/tcg: increase default code gen buffer size for 64 bit accel/tcg/translate-all.c | 42 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 22 deletions(-) -- 2.20.1