From patchwork Wed Sep 25 18:45:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 174401 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1017374ill; Wed, 25 Sep 2019 11:48:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6+tdoKfYhFOcGRikqPLpIkgKT2+oDsEOLZ8FaUhDVc8Kgbk7aJcg4WdNfHwtCZLJqCqYl X-Received: by 2002:a17:906:6bd5:: with SMTP id t21mr677357ejs.128.1569437285745; Wed, 25 Sep 2019 11:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569437285; cv=none; d=google.com; s=arc-20160816; b=g5mtCC6wJRm9bd3p7pbUy68kMqIMdZ3pTUX+JF+IJ29bfJwF6OE3+N1JQfqbl+LW3l mO3MjcO2idjFRIq8D2xlIL9B9+jPbVZs/NSNPG4mSvNKNL2VtuIuna1sk8bRmXm3YIeA xagHWfufHO9g7GhX1jv+Kf1NgAZ8dDU2LTHVpZ+ao76e+WQzASXJ8nAF/u6RGuPaFcqE Ip2CxfM3g5HB4Gn07esPGZlgM4vgvvuS6x13sgu7vt31TlvwPzuH5APBJ5f47hBZ9V9Y UBVr/fca5g8+ZhgTGdGjlKPw6773jPbqHVmYhq784XCRgGz34WXcr698AHzDzWGoXi/g p7ng== 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=E/opTQx6WaD0jbTM2lFpAL80XVPTdHGWKhJl1a4TZDI=; b=HOFkj3QCVTVmJSnjZOMSUPm966YFAkcI5Ud6GQvZsDRejjqtD2DorEsFcXHgkEbG2Z JIr9syfE+TP4cB6sK60wbt66l/QMuXShOmGwhVbGwtJuReRLksiYInONXt4L0Tk1JFgf LuiAL6qjZrd4YAayZ/X0a2pAoi/WLA+Yn612L5OlhRNqiA9b6rCS28YfQ9kia2kZXQPh JHrXKBWdcNhiMM7dpYiclf9eP0U+Pks88purUwovUlcB4Nm1aHmaTQTA95uRi2LS4EX9 +qmAxyVFO74QMAjPq7kW8wNhWuZGaKANKOIv+1LqtzI76sdQfswVTIWAzDEuaaikakZq PEfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AonRu9B4; 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 h4si4307725edd.189.2019.09.25.11.48.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Sep 2019 11:48:05 -0700 (PDT) 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=AonRu9B4; 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]:55952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDCKZ-0001ew-Up for patch@linaro.org; Wed, 25 Sep 2019 14:48:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46892) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDCIU-0001ee-AA for qemu-devel@nongnu.org; Wed, 25 Sep 2019 14:45:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDCIS-00048P-SE for qemu-devel@nongnu.org; Wed, 25 Sep 2019 14:45:53 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:44040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDCIS-00047H-L2 for qemu-devel@nongnu.org; Wed, 25 Sep 2019 14:45:52 -0400 Received: by mail-pl1-x630.google.com with SMTP id q15so2907446pll.11 for ; Wed, 25 Sep 2019 11:45:52 -0700 (PDT) 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=E/opTQx6WaD0jbTM2lFpAL80XVPTdHGWKhJl1a4TZDI=; b=AonRu9B41EhiRgLn6WdTcpcbgqywbzlHz9el2CnIKYzoVs96uO23yA2sSIPVyw6jw+ p1iPwsI/ZwjdSs3YX3moh10B0eRG/wqjt5e+wAUrguDYgYcZTVzUV3XnMIMZ+cj984vA TcQEudXJcHnJ3FWxCbN3BcfQNKRL0obuoao0PCSUsbOOu/mAOKZnc6D6WR3iII77xrvo c7RMeakPYu9GiNbCwbLpcQuxYGc1uZOc1WoLzxUfyeXvd6uE3uzAlKOkbzaywQBD2IyX C+fHIoRFB1fExbOpQQVGv3kxSRZipnQ2RpslraWiKdoygDcD1Y1E8Q8lZIcvdZhQGKQb R/CA== 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=E/opTQx6WaD0jbTM2lFpAL80XVPTdHGWKhJl1a4TZDI=; b=F8BzcK1dyk1MH12+uEJ/r0L4wskeocnQCadgvAni6sl30ccnd10oHWZjiSmfRXsvSC ps8FaHp18fTSWG/zVKMXtDFsKNsTOIa7y9zMO3YXnjmHJnFOI2KCDFN12km0XrkvwE2s OyOVepKySdqtDhv17NHD9jXC7c0ny5xKMNyfT9NoOeXCZhZ+bJWuyY79jLTSXO9yZcKl 7/ettux0O7HjhvpCli9qSGSkNebE8X/jxsSJ7vjthlSTFUO1cBEMcUjTfkYhSCsDgaM4 AKsfb4T+S6iL/Dyx6nxa9tQ6Rq1PIHBsU/uQv63tkGG4JhiglfjbI153Bba0AyIW/fBf XwnA== X-Gm-Message-State: APjAAAXz1P5DzXbQ/QgDdVdwbueQiQBa6dzM1VNCv19Cv+xJEeRx7o0s RGo+0EpRZ9hJq7RbAnibLHOJXjkUJgM= X-Received: by 2002:a17:902:7615:: with SMTP id k21mr10524360pll.116.1569437150915; Wed, 25 Sep 2019 11:45:50 -0700 (PDT) Received: from localhost.localdomain ([12.206.46.61]) by smtp.gmail.com with ESMTPSA id l24sm6133229pff.151.2019.09.25.11.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 11:45:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/16] tcg patch queue Date: Wed, 25 Sep 2019 11:45:32 -0700 Message-Id: <20190925184548.30673-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::630 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is v4 of my notdirty + rom patch set with two suggested name changes (qemu_build_not_reached, TLB_DISCARD_WRITE) from David and Alex. r~ The following changes since commit 240ab11fb72049d6373cbbec8d788f8e411a00bc: Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190924' into staging (2019-09-24 15:36:31 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-tcg-20190925 for you to fetch changes up to ae57db63acf5a0399232f852acc5c1d83ef63400: cputlb: Pass retaddr to tb_check_watchpoint (2019-09-25 10:56:28 -0700) ---------------------------------------------------------------- Fixes for TLB_BSWAP Coversion of NOTDIRTY and ROM handling to cputlb Followup cleanups to cputlb ---------------------------------------------------------------- Richard Henderson (16): exec: Use TARGET_PAGE_BITS_MIN for TLB flags cputlb: Disable __always_inline__ without optimization qemu/compiler.h: Add qemu_build_not_reached cputlb: Use qemu_build_not_reached in load/store_helpers cputlb: Split out load/store_memop cputlb: Introduce TLB_BSWAP exec: Adjust notdirty tracing cputlb: Move ROM handling from I/O path to TLB path cputlb: Move NOTDIRTY handling from I/O path to TLB path cputlb: Partially inline memory_region_section_get_iotlb cputlb: Merge and move memory_notdirty_write_{prepare,complete} cputlb: Handle TLB_NOTDIRTY in probe_access cputlb: Remove cpu->mem_io_vaddr cputlb: Remove tb_invalidate_phys_page_range is_cpu_write_access cputlb: Pass retaddr to tb_invalidate_phys_page_fast cputlb: Pass retaddr to tb_check_watchpoint accel/tcg/translate-all.h | 8 +- include/exec/cpu-all.h | 23 ++- include/exec/cpu-common.h | 3 - include/exec/exec-all.h | 6 +- include/exec/memory-internal.h | 65 -------- include/hw/core/cpu.h | 2 - include/qemu/compiler.h | 26 +++ accel/tcg/cputlb.c | 348 +++++++++++++++++++++++++---------------- accel/tcg/translate-all.c | 51 +++--- exec.c | 158 +------------------ hw/core/cpu.c | 1 - memory.c | 20 --- trace-events | 4 +- 13 files changed, 288 insertions(+), 427 deletions(-)