From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, eduardo@habkost.net
Subject: [PATCH 06/14] include/exec: Introduce TARGET_PAGE_ENTRY_EXTRA
Date: Mon, 22 Aug 2022 16:57:55 -0700 [thread overview]
Message-ID: <20220822235803.1729290-7-richard.henderson@linaro.org> (raw)
In-Reply-To: <20220822235803.1729290-1-richard.henderson@linaro.org>
Allow the target to cache items from the guest page tables.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/cpu-defs.h | 9 +++++++++
1 file changed, 9 insertions(+)
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;
/*
--
2.34.1
next prev parent reply other threads:[~2022-08-23 0:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 23:57 [PATCH 00/14] target/i386: Use atomic operations for pte updates Richard Henderson
2022-08-22 23:57 ` [PATCH 01/14] accel/tcg: Rename CPUIOTLBEntry to CPUTLBEntryFull Richard Henderson
2022-08-22 23:57 ` [PATCH 02/14] accel/tcg: Drop addr member from SavedIOTLB Richard Henderson
2022-08-22 23:57 ` [PATCH 03/14] accel/tcg: Suppress auto-invalidate in probe_access_internal Richard Henderson
2022-08-23 9:19 ` David Hildenbrand
2022-08-23 15:19 ` Richard Henderson
2022-08-23 16:09 ` Richard Henderson
2022-08-22 23:57 ` [PATCH 04/14] accel/tcg: Introduce probe_access_full Richard Henderson
2022-08-22 23:57 ` [PATCH 05/14] accel/tcg: Introduce tlb_set_page_full Richard Henderson
2022-08-22 23:57 ` Richard Henderson [this message]
2022-08-22 23:57 ` [PATCH 07/14] target/i386: Use MMUAccessType across excp_helper.c Richard Henderson
2022-08-22 23:57 ` [PATCH 08/14] target/i386: Direct call get_hphys from mmu_translate Richard Henderson
2022-08-22 23:57 ` [PATCH 09/14] target/i386: Introduce structures for mmu_translate Richard Henderson
2022-08-22 23:57 ` [PATCH 10/14] target/i386: Reorg GET_HPHYS Richard Henderson
2022-08-22 23:58 ` [PATCH 11/14] target/i386: Add MMU_PHYS_IDX and MMU_NESTED_IDX Richard Henderson
2022-08-22 23:58 ` [PATCH 12/14] target/i386: Use MMU_NESTED_IDX for vmload/vmsave Richard Henderson
2022-08-22 23:58 ` [PATCH 13/14] target/i386: Combine 5 sets of variables in mmu_translate Richard Henderson
2022-08-22 23:58 ` [PATCH 14/14] target/i386: Use atomic operations for pte updates Richard Henderson
2022-08-23 2:05 ` [PATCH 00/14] " Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220822235803.1729290-7-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=eduardo@habkost.net \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).