From patchwork Mon Sep 5 20:22:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 602751 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp3956120mae; Mon, 5 Sep 2022 13:24:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR5974rVDp31/tRr1V3OCSWpYzXHb2z1W6aMGJnM6wBDeoelq7V0L6i90fiCDBXrRZY8dSzg X-Received: by 2002:ac8:5948:0:b0:342:f500:2eb7 with SMTP id 8-20020ac85948000000b00342f5002eb7mr40784359qtz.483.1662409463687; Mon, 05 Sep 2022 13:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662409463; cv=none; d=google.com; s=arc-20160816; b=hASTUt2V6RSzHKtxKcehbC3vbVl8TWBYAzRLVC9dchmagZF6wT0PH6Wk62OtfvgwBi CwlmxcJgDcGYh8+ky5pXg/zEdzBXNlKcSgC8gyHnPaJskmaJYQPlxNY6D3mu7dJgzws5 ADiZ0eQgiGRnKXiCi8uJ2RvvpmMjRFZgNLDknbtxn+la3pZ1S5lCFDtnLofinkfuPmcT XQaX1SGcxu9CK5uvYW8Zh17RSPKzkal29I0xeDlJgsYdD4f8DSlFUjEQMT8f5GEZkfaM CO+t+siOEmFl1qCKkJInrmdxYBganXYZx59c0nlfeUtss+f2GSTPZGSn2kIBCBY70tnG uIMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=eoRH/oMXskc9uVLihLPCU4BVLnfjM0NMaLk7vE7BhNg=; b=ljC9NRA3aJKcQ4UqBdlDjzH2LIq6ki0KogH7ppaPTS8lTlWYlNPWvqFmiGtwRWsfr7 lmEaG3gHJ7sso4XlPwl6CG/GG0+SyXNLvGjnM5NsGgEa2cV6ZLHU3xeBF5qTEIbGJXd5 UMPmFBfq6BkcITBxtsO8TAluS88LN15sq433HATMP4CZ5DMCmwFkgMjqp04m6X+yfAWs amFPsYQpFaSV804bWPyDiuCMuL/woU6U8jH6q1d2qAzHksytmOtJP/da7GxaQgX4cHwP ot8Nnf7l0yBMP/8rhv8PD71nh1OxsLukSsqjmosJPIQn0veGxNcJ1Lzq+G2DQb1bCQXf gVZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YkT42yzU; 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 5-20020ac85605000000b003445dcb3b9esi6872921qtr.328.2022.09.05.13.24.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Sep 2022 13:24:23 -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=YkT42yzU; 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]:52286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVIdr-00073w-9p for patch@linaro.org; Mon, 05 Sep 2022 16:24:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVIcc-00073Q-3P for qemu-devel@nongnu.org; Mon, 05 Sep 2022 16:23:06 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:45630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVIcZ-0004Wo-6O for qemu-devel@nongnu.org; Mon, 05 Sep 2022 16:23:04 -0400 Received: by mail-wr1-x42f.google.com with SMTP id w5so12599752wrn.12 for ; Mon, 05 Sep 2022 13:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=eoRH/oMXskc9uVLihLPCU4BVLnfjM0NMaLk7vE7BhNg=; b=YkT42yzU2Vj7MBwlqZA4h9gw8jT3ixkJzpKqtTkINdo6Zk65E07X5VOc96fDqP8AbN pZdTmuNhyYyIFIRrzbxP0ZP0YuiQextAVduj0YCPdn9PSGKJPogqFJwdrwKh0U8oGqdn himJGWLEvJOUBW9Y0QJk0yhhGkJAXrXjQciEk6Go9RTZh9UZOAMDeVN+nWyuZ/aQQVzN yFT+kISPuS4xIqdgAUS5Tv37jb1FKhPPG3127dFkQ49xctGQazQkDRJN+Z6PCuoYfvx2 YD6ho2VEhHOjS8gwZwhtuee3KdCFQ1x4+Y2d0pIRaYnZEKelE0W3yuYV/PAgWy5h0ew3 L2Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=eoRH/oMXskc9uVLihLPCU4BVLnfjM0NMaLk7vE7BhNg=; b=6rcmVpbVL56yqjLqvg0g4CmJvxpD/DeZoTqiKySLG2DXnJ7zAn3BQ4x9zyOdxLo224 NlalAGdFn0+HtpwSiSdZp9+ndG+hTY8y4e5er31fK2YqAlgFnQ/81VvS6Jl4wnH/1f4a JZjIvrAlKZjEdN0/YI7VyjExREP121Ec+kxh9H8zPUMpQL6m7UPfvYZt0gF0o4xxvqs3 hxYmKxXgB24z2VPeOMz9Zzt1oIPNR1DEZZELwkoXA/ZCrhV7NwJJ1JoPxDaP3F52sMJP wfF2ck/QZJO6LCeXVqQsTQ390CVh1XTOSJhwctxbcfH2AIgo8TRknX5rB1JC/3uYByWi sdFA== X-Gm-Message-State: ACgBeo1anlKlilekR3aFuNduuk9G+4atKviIacO0PEYgOANCQ6p98e78 qRm+/4ydbqbYGhQKgHkLJad26u8QKPX9PQyR X-Received: by 2002:a5d:5232:0:b0:228:6bb8:e985 with SMTP id i18-20020a5d5232000000b002286bb8e985mr4565346wra.10.1662409381357; Mon, 05 Sep 2022 13:23:01 -0700 (PDT) Received: from localhost.localdomain ([2a02:8084:a5c0:5a80:d0ad:82b5:d7a4:c0a9]) by smtp.gmail.com with ESMTPSA id m14-20020a5d56ce000000b00226d238be98sm9472404wrw.82.2022.09.05.13.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 13:23:00 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: f4bug@amsat.org, qemu-arm@nongnu.org, pbonzini@redhat.com Subject: [PATCH v3 0/6] tcg: Introduce CPUTLBEntryFull Date: Mon, 5 Sep 2022 21:22:53 +0100 Message-Id: <20220905202259.189852-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is split out of two patch sets that I have in flight that allow atomic updates of guest page tables. v3 fixes some trivial conflicts with the current tcg-next PR: https://patchew.org/QEMU/20220904002317.60158-1-richard.henderson@linaro.org/ r~ Richard Henderson (6): accel/tcg: Rename CPUIOTLBEntry to CPUTLBEntryFull accel/tcg: Drop addr member from SavedIOTLB accel/tcg: Suppress auto-invalidate in probe_access_internal accel/tcg: Introduce probe_access_full accel/tcg: Introduce tlb_set_page_full include/exec: Introduce TARGET_PAGE_ENTRY_EXTRA include/exec/cpu-defs.h | 45 +++++-- include/exec/exec-all.h | 33 +++++ include/hw/core/cpu.h | 1 - accel/tcg/cputlb.c | 218 ++++++++++++++++++++-------------- target/arm/mte_helper.c | 14 +-- target/arm/sve_helper.c | 4 +- target/arm/translate-a64.c | 2 +- target/s390x/tcg/mem_helper.c | 4 - 8 files changed, 207 insertions(+), 114 deletions(-)