Message ID | 20220930212622.108363-10-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1755925pvb; Fri, 30 Sep 2022 14:38:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4FBWU0as9qKFT0Tz9pArOTcRgtdkijymaBcyyaaFeewD+bm0VgfA5usKpjjMqkn6mKS86y X-Received: by 2002:a05:622a:d6:b0:35d:49f3:1f6f with SMTP id p22-20020a05622a00d600b0035d49f31f6fmr8860322qtw.408.1664573899435; Fri, 30 Sep 2022 14:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664573899; cv=none; d=google.com; s=arc-20160816; b=A7YhMVejHWjT85y35nadTnWh+HyjtfMh+9UfOfU57z56k5rxnwsgJRCjwVvazXqxQI 9mBE9w8HWhjW6YnD5Gy9/d2/WvdlUe3GO6eXQV4BBJm3hAp1vA9tF/hgo43h5mxwDuwy hTpLaH3vlWu4mCAiqKybnODNnYIkdQ4tQwEMKK2O1vtbE/MHVwm24ELUmNPBS7QKtzq+ pvR6Vlc1xMf8+4bL80EwwyuQhwgOX/lOEN1nGlFi43hlSWqSr+2XA4OaRDfQeEN6885j uMu8vjLtqU6ZJ9Wq7sjMRrbydS/Ft7S6pTb74ojJmHZ04pAd1FrVEYWx09Q9KLv14V9t NrVg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pPZ5BGim//7jDbDR7RtfT/BbVdLxSz70QtZLu4dhW0s=; b=PWa+Xq38mFmg1mg258u3+vMnppocJA7rWPmrZYifvU9Z4PiHG4qq+SHXmruhPcBUnJ O2qcqPoxn5icbypDi/WNo5FII7xKGHY0FbvQfPSECqncdS0GapW7H9yq5r0uwP9lqjw9 H436xpeWxfq+R9pr2/0lAb25PxDFVxb5wj+TNTs0Rbg8iXWB8ZqIsvAXx1CsXSnS/WLk 7WWTgFlKjvGPvdVZBrLjnZJjpaKD/e2xTX+qUZtZhVm8wjzKKSOfWxL1NcZkMEzKTIOl dCk+onWGgLLVXM/Xr3H1b6xZeHNYHoNqxaP4QyZNjNzLQdGNAqzU+HC25fyGxKsdmwow LiGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=prbHZS2F; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g14-20020a05620a278e00b006bb286a68d5si1928373qkp.111.2022.09.30.14.38.19 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Sep 2022 14:38:19 -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=prbHZS2F; 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]:32998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1oeNi5-0003nT-T3 for patch@linaro.org; Fri, 30 Sep 2022 17:38:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oeNWz-0006Ye-OJ for qemu-devel@nongnu.org; Fri, 30 Sep 2022 17:26:49 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:43830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oeNWy-0005PB-7X for qemu-devel@nongnu.org; Fri, 30 Sep 2022 17:26:49 -0400 Received: by mail-qk1-x731.google.com with SMTP id o7so3611241qkj.10 for <qemu-devel@nongnu.org>; Fri, 30 Sep 2022 14:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=pPZ5BGim//7jDbDR7RtfT/BbVdLxSz70QtZLu4dhW0s=; b=prbHZS2FnkFrvu/FG/97FvMy2MOeK9IFnU5C4synr+hbKxZApVc4z8OncYHCIdBwfU /JMqWmAAVvbw+qHT8XFXXvl7SMmBPl7RI+O586GtjYiRBI08FUy63djdzqANeS1ObTyf 8yYzE1s3MmlUvuya13D/7umNshpNAgvJ2r7NtiIUXe4Wu9Isz5iPu3Z8z8Tcw/+K7smv 8XtbkO8e/Gqra/OTHthUfQxr4UkScKIOmh0+onGSbqFb+TtTkE0i6/EIvuUFThxCewfR +J2LxsFsWGyutOLuBBxiXkxZfGrpjbOBjDd7AAvGZ5BBEEDv3/R1Q6EsJfbnAnk9yYCT klnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=pPZ5BGim//7jDbDR7RtfT/BbVdLxSz70QtZLu4dhW0s=; b=lBYeX9ho1fyA5qf/IcKrM4dg5+K9sN39kQAULxzITWM5766/aq6EK59sD0TNnhTWe6 78k/eiY+RNgMQyoTOl5uUPZ48+jOcC5weu0TPFqLqzge/4NBUtgFYCsYUaiLBlqSSmZP XGD6Pz31ILk4VYoMowGAEdXDBAKG7GRSMLPqpX7w+QIG74hsY0ueWpYmYHmFUsZHkJ1G vaF5nCaX7Fr3FoBY7sqvj7jQ6zuY8om5MMH0E/3oGifNvkRw/BzGE/ILrF1DzaFDZHNg SyFtFwh7kJjbbe/jGdnnhwAEq9uy8lyQ+A4GHG4/FYcYHzGUnlDF0EHq/NcqyEQeb01H KG7w== X-Gm-Message-State: ACrzQf2FGKfKtMdTMvZlvP9Ueq2VoOAkvJ6JfIjP1uPxc8zq3WZVFxdi LvFsop5KHZMYHiq14y+YQqLG+EGprnBRgw== X-Received: by 2002:a05:620a:2605:b0:6ce:1509:e9f7 with SMTP id z5-20020a05620a260500b006ce1509e9f7mr7628039qko.379.1664573207329; Fri, 30 Sep 2022 14:26:47 -0700 (PDT) Received: from stoup.. ([2605:ef80:80a1:5a60:d0d7:468b:5667:114b]) by smtp.gmail.com with ESMTPSA id l18-20020a05620a28d200b006ce813bb306sm3696370qkp.125.2022.09.30.14.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 14:26:46 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: peter.maydell@linux.org, alex.bennee@linux.org, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= <alex.bennee@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <f4bug@amsat.org> Subject: [PATCH v6 09/18] include/exec: Introduce TARGET_PAGE_ENTRY_EXTRA Date: Fri, 30 Sep 2022 14:26:13 -0700 Message-Id: <20220930212622.108363-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220930212622.108363-1-richard.henderson@linaro.org> References: <20220930212622.108363-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x731.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg: CPUTLBEntryFull and TARGET_TB_PCREL
|
expand
|
diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index 5e12cc1854..67239b4e5e 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -163,6 +163,15 @@ typedef struct CPUTLBEntryFull { /* @lg_page_size contains the log2 of the page size. */ uint8_t lg_page_size; + + /* + * Allow target-specific additions to this structure. + * This may be used to cache items from the guest cpu + * page tables for later use by the implementation. + */ +#ifdef TARGET_PAGE_ENTRY_EXTRA + TARGET_PAGE_ENTRY_EXTRA +#endif } CPUTLBEntryFull; /*