mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
x86/mm: correct PG_log_dirty definition again
The earlier change wasn't correct as far as shim-exclusive mode goes:
Shadow mode is still to be enabled permitted there, yet the generic
paging-log-dirty (and more generally domctl) part of the code still is
unwanted (and cannot be used anyway, as domctl_lock_acquire() isn't
available).
Fixes: 2ae8a68df2 ("x86/mm: correct PG_log_dirty definition")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-Acked-by: Oleksii Kurochko<oleksii.kurochko@gmail.com>
This commit is contained in:
1 parent
4b8a10e186
commit
816db17db1
2 files changed
+3
-3
No files matched your search
@@ -55,7 +55,7 @@
|
||||
#define PG_translate 0
|
||||
#define PG_external 0
|
||||
#endif
|
||||
#ifdef CONFIG_PAGING
|
||||
#if defined(CONFIG_PAGING) && !defined(CONFIG_PV_SHIM_EXCLUSIVE)
|
||||
/* Enable log dirty mode */
|
||||
#define PG_log_dirty (XEN_DOMCTL_SHADOW_ENABLE_LOG_DIRTY << PG_mode_shift)
|
||||
#else
|
||||
|
||||
@@ -197,7 +197,7 @@ dm_op(domid_t domid, unsigned int nr_bufs, xen_dm_op_buf_t *bufs)
|
||||
#ifdef CONFIG_SYSCTL
|
||||
sysctl(xen_sysctl_t *u_sysctl)
|
||||
#endif
|
||||
#if defined(CONFIG_X86) && defined(CONFIG_PAGING)
|
||||
#if defined(CONFIG_X86) && defined(CONFIG_PAGING) && !defined(CONFIG_PV_SHIM_EXCLUSIVE)
|
||||
paging_domctl_cont(xen_domctl_t *u_domctl)
|
||||
#endif
|
||||
#ifndef CONFIG_PV_SHIM_EXCLUSIVE
|
||||
@@ -298,7 +298,7 @@ dm_op compat do compat do do
|
||||
hypfs_op do do do do do
|
||||
#endif
|
||||
mca do do - - -
|
||||
#if defined(CONFIG_X86) && defined(CONFIG_PAGING)
|
||||
#if defined(CONFIG_X86) && defined(CONFIG_PAGING) && !defined(CONFIG_PV_SHIM_EXCLUSIVE)
|
||||
paging_domctl_cont do do do do -
|
||||
#endif
|
||||
|
||||
|
||||