Message ID | 20221004195241.46491-10-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 8c6953cf034cec0998815961e5ec70c9de15da6e |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp397515pvb; Tue, 4 Oct 2022 12:59:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM62ZBBmHQR00iW6/oGzeK5wwb2wxrmM6vsHCtBA91/ZPTSIxp/FpVYXSwshgmy+aQ8rTJba X-Received: by 2002:a05:622a:190b:b0:35b:b5a2:eceb with SMTP id w11-20020a05622a190b00b0035bb5a2ecebmr20851655qtc.529.1664913582915; Tue, 04 Oct 2022 12:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664913582; cv=none; d=google.com; s=arc-20160816; b=TFv4nseKfjx/3oiJytITYzK2PQwkDwGtdfI8mt7lVTlzaoxAXAWiEwF2sDBv1mDqpY tBWV13ATeTRVWS/ewHKV3nVYMY989LQSefidY76coWvzbxGa1IaX6fEPB1+P3hdyABxz PzU6e8Yv3/lY6dWgAD7jXVSKPAuIJFDltftGfGgimF5npnADtJjQ9YtEPwTlKvF3g8Na sEVC/tAXAlfe4gy3uzzfBQQsHF2CLuECP55hoJcuwqryac172cKT92ldcMno/DP+P6nk kTLQYcpv1mvF2ua0TQ8rsjw7BMGm9J+I/GxcfCVFbwq43u8+xc6+kTS+RbLkpjcHssOq ZV4Q== 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=lYH+JDW9y1xKu70wu0uW5CDtRZ8YcB5FnFT/ER8kxqKwbk0b38LP5ROg2j9VFN8j4c vnZzBwcS8Ca+Uf8kcvVFwlSeQcbdwJlsN4oHWHiQ9gyomBTkllT7dD5mGJJbbZhTs6Mk C9FBlbw3YPS71b4zo51tSHeOF0NqFt/yg2ckmpB0fHP0MO1qp8+sPGwNXn1RDaHi8l5C 3AQe5h2ppZYr3YJSY+VfuSiFBoHaVb3Svzo8UPGOhMJyMLgrbX5eMGunpahwvLg4KxAN f7tmz7tT/++uITqDn3RUygVtXCL1g/5FvHYWx04rSxxw6cbQzxHOdp1ESncOJ6szesMB wsKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nzkdx8wM; 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 im6-20020a056214246600b0049911d2abf6si1520680qvb.64.2022.10.04.12.59.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2022 12:59:42 -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=Nzkdx8wM; 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]:51454 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 1ofo4s-0008BR-EJ for patch@linaro.org; Tue, 04 Oct 2022 15:59:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41274) 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 1ofnyI-0001jM-Lv for qemu-devel@nongnu.org; Tue, 04 Oct 2022 15:52:54 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:33661) 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 1ofnyG-0000F3-SK for qemu-devel@nongnu.org; Tue, 04 Oct 2022 15:52:54 -0400 Received: by mail-pj1-x1034.google.com with SMTP id bu5-20020a17090aee4500b00202e9ca2182so1954939pjb.0 for <qemu-devel@nongnu.org>; Tue, 04 Oct 2022 12:52:52 -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=Nzkdx8wMab2FC3EoOBOi6eRGllfgeMx1ZGIOPQOawZEnNIIL/+N3ZXTCX2MTICzW2w IkqV586uT9MYbLN0G1UVQacrg+4CnXO3uINDrVF+Kx7W+TK6Eg5GkVzi7t/QWLt8aEro /Ceb8Il+mLSmx32l0COkXdYMl3kGZLNRB26K56gMhmL4k0nJYcg0Hc7g17m1aOuXoUFk u4hiRsDSFlwHFkWMN/R726vC60FmcKL4Mlp3GIdyNvVQ2Ulinvxz6Kwh4kOiszOhYt+B 2M+V4D9x0dxdPsS26QFrUt4E3GicEdbdqrb786++ylENHc7oHxOdZngX/XUJk1TfyTgi boFg== 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=hrxMCocgjeq6lP/nQ5I+61HjQB6nLzW2euGxwGmWrK034v9U0mx8wG43sU2qSOThV7 MyjfZQlQvp55FXkIIdge+DgzHCxRzPfOl18r2fTRcZnROnpWJVM+yj0uUt9D1qohmPY8 CyqjzJwLmPwUCaYNhsh6Xo9tYRRlDWYCdsl+uhYNOMJNlUiaJ5e4YWPhPxVBxhQIWbCm fu00J3Xt4BXeMxuck3zJ22LPA2DyEihdgVJOx23CCuUXMfcA9FU0gvmj1cMLMAg8peTy fSnQlZCWh0J8DJRJOTQ49jk7Xa2UUYrnnaZXuPdwLzzs8ZHFLYuq6XvTIRcAbOIWHAjE vXXw== X-Gm-Message-State: ACrzQf2xyzmUU+OMMQ+WA86S9nrz2y4JvOzoqwzs1xn8tiwD+Vdv2VVQ ntwVodqr/hVBqa1+i3C07LNbcNt/fcm0pg== X-Received: by 2002:a17:90b:4b47:b0:20a:cfcb:8561 with SMTP id mi7-20020a17090b4b4700b0020acfcb8561mr1256480pjb.55.1664913172092; Tue, 04 Oct 2022 12:52:52 -0700 (PDT) Received: from stoup.. ([2602:47:d49d:ec01:526e:3326:a84e:e5e3]) by smtp.gmail.com with ESMTPSA id u23-20020a1709026e1700b00172973d3cd9sm9293406plk.55.2022.10.04.12.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 12:52:51 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, =?utf-8?q?Alex_Benn=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: [PULL 09/20] include/exec: Introduce TARGET_PAGE_ENTRY_EXTRA Date: Tue, 4 Oct 2022 12:52:30 -0700 Message-Id: <20221004195241.46491-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221004195241.46491-1-richard.henderson@linaro.org> References: <20221004195241.46491-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::1034; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1034.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 |
[PULL,01/20] cpu: cache CPUClass in CPUState for hot code paths
|
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; /*