From patchwork Tue Feb 19 23:34:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 158749 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4260403jaa; Tue, 19 Feb 2019 15:34:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ2/yYFFhc/xbHTBJbRMZtHlpHUkvLtEDA8FlE9SfHuL6byeuVZGeVBxtheFpXSAiFE4sld X-Received: by 2002:a5b:501:: with SMTP id o1mr25365650ybp.85.1550619285753; Tue, 19 Feb 2019 15:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550619285; cv=none; d=google.com; s=arc-20160816; b=t8O13s3ktFhc98Jodm5hTCjl+vq7lo4gdS0+Y7cS58mRqPqT38KRuv5kpH+HbZY320 hCKNDeOO8m0uldJ98LY8oekh2BkFvcLLj03+5NK5RUpkIZISlGSPOy1TFeLfbZPnO9ZC mS2SUNjwtT6VG5bNuP9SvBn2S4zk/+WAH291jmzFXqepPQHW+DT8nu6kmc4bToTz22qm picVcanf7n/kegQW//UwevZnCBhRZ6M9EhLGUIS9r4NusK1zTkSANeZqkeZwBD3Bvw4w Ny1JKIJZKA5Pv4tBSIN55qEfgI+gA5vH1tbQIZkaNkkJWMQY56aEGWmvzn4+gV9WQR76 9tqw== 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:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature; bh=AJ/oo5AiOqCk2zw6ldudMaWPZqG3t+sbQKK9AUw/HFk=; b=C24hYdLw5FHZF5w+36RT2v4qOpLOKQGCD7v06nK4CW2otUZl2AuqYCqBtAS5pmOmMJ Y+v8PS86l/d4Wj4J/XENgM3Dhfwb5W8rTr/sma1i6iYxi8UTAzRCsGByMzp7piV69skv N8K62/ITZdO6P9E7Fdiys+qeiKFOqhChRKde5DyAmxVv7s71t+0iIySjjIkSw87jxeSW re4QbyyTGRrQ9qBhw9sZZFkKY+RF+AUFp+WDuWZLGPVvNkMaSVXXv7JLs33FtQ/ZW6ZA fuBW2xOUBEgFf9vVqVfLFHO9bDE3gbwtIgAApUTImg7YlxdLi7PmLh1AyiHrfyn4dQme dj1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=H92JUIHZ; 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=fail (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 d139si10370422ywb.251.2019.02.19.15.34.45 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Feb 2019 15:34:45 -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=fail header.i=@linaro.org header.s=google header.b=H92JUIHZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:56551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwEuT-0007WA-9j for patch@linaro.org; Tue, 19 Feb 2019 18:34:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwEuF-0007Vz-CY for qemu-devel@nongnu.org; Tue, 19 Feb 2019 18:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwEuC-0001S9-FP for qemu-devel@nongnu.org; Tue, 19 Feb 2019 18:34:29 -0500 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:37473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwEu9-0001Qi-WA for qemu-devel@nongnu.org; Tue, 19 Feb 2019 18:34:26 -0500 Received: by mail-pl1-x641.google.com with SMTP id q3so3815169pll.4 for ; Tue, 19 Feb 2019 15:34:25 -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=AJ/oo5AiOqCk2zw6ldudMaWPZqG3t+sbQKK9AUw/HFk=; b=H92JUIHZDWR9JfhWESJThCG48Fc8SqFUTM0uQHIlNuYpVbs+vFubeybEni2a9LUkmW 7KaV8xayVv5s04dob9DSPDqZI9xgzv8PYZzVTv13XmkpKrhdHcmlIRP+w4J9aZP7Mlyt FbUMiFe1hdXkTyIWHTanLdUaHzxD8FyjO/trsv+4rn1oYnKkoU2yZWsR4cvackgkfTzO 60YYRNdcuQdDAXmgPECFstMESrqdVNrNq/KvMw6zMKeY/EXy9JtTKQtw7fW+u3GhNE5v WLwbL+E0yijL2KQyLIBYQH/Jl3033JDqO7eknsI9SN1fOmOAvuGYNBYlshJMvG7XaClN WOSg== 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=AJ/oo5AiOqCk2zw6ldudMaWPZqG3t+sbQKK9AUw/HFk=; b=WgugO1erMze1g1Mou7JcT0+62ByaVrBg2JgsfWwzKyipdsGTzNGJdcqB9sw7wfa5ay K8LdGUPKpCzy8ka2b6iXN0FQRalk++endxcIzQN2863btlVeHWdNmqM7hoB4KpOdUh+D 2Z1W9g1OQ7Rbk5XNxhT6HtEB9q1VazjfuxpcAJJ/K+Xockk16z47fT3C9f3xN+WtnEnK pvJI4PPFhGDM5ZZFaEiZeHTOXfW2OkCtVox67ogWCmv4tcC874kcWuy84j2o8AqcvZqz iwpRxWfbjRQ6Qa7JBshXH+wlTLuQK33rL+6HFgo09jXL76b2oDY4DZVc5sEF9jDtsPJD joHw== X-Gm-Message-State: AHQUAuaDxUOEWld3fA1v9MX+5j+IgVLkKgtHV/vF51VAVI4ShaiGU7L4 G7/CWEhPnnIuRo0/iyiPTbgWV8NxlLw= X-Received: by 2002:a17:902:e512:: with SMTP id ck18mr33066788plb.46.1550619263628; Tue, 19 Feb 2019 15:34:23 -0800 (PST) Received: from localhost.localdomain (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id l184sm24356988pfc.41.2019.02.19.15.34.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 15:34:22 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 19 Feb 2019 15:34:18 -0800 Message-Id: <20190219233421.388-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::641 Subject: [Qemu-devel] [PATCH v2 0/3] target/arm: Reduce overhead of cpu_get_tb_cpu_state 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: peter.maydell@linaro.org, cota@braap.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes since v1: * Apparently I had started a last-minute API change, and failed to covert all of the users, and also failed to re-test afterward. * Retain assertions for --enable-debug-tcg. r~ Richard Henderson (3): target/arm: Split out recompute_hflags et al target/arm: Rebuild hflags at el changes and MSR writes target/arm: Rely on hflags correct in cpu_get_tb_cpu_state target/arm/cpu.h | 22 ++- target/arm/helper.h | 3 + target/arm/internals.h | 4 + linux-user/syscall.c | 1 + target/arm/cpu.c | 1 + target/arm/helper-a64.c | 3 + target/arm/helper.c | 279 ++++++++++++++++++++++--------------- target/arm/machine.c | 1 + target/arm/op_helper.c | 1 + target/arm/translate-a64.c | 6 +- target/arm/translate.c | 14 +- 11 files changed, 216 insertions(+), 119 deletions(-) -- 2.17.1