[PATCH v5 0/2] xen/domain: updates to hardware emulation flags

dmkhn@proton.me posted 2 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250602191717.148361-1-dmukhin@ford.com
xen/arch/x86/domain.c             | 93 ++++++++++++++++++++++++-------
xen/arch/x86/domctl.c             |  2 +-
xen/arch/x86/include/asm/domain.h | 25 ++++-----
xen/common/keyhandler.c           |  1 +
xen/include/xen/sched.h           |  2 +
5 files changed, 89 insertions(+), 34 deletions(-)
[PATCH v5 0/2] xen/domain: updates to hardware emulation flags
Posted by dmkhn@proton.me 5 months ago
Patch 1 introduces emulation_flags in common domain struct for enabling domain
emulation features on non-x86 platforms.

Patch 2 rewrites emulation_flags_ok() on x86 with a goal of improving
readability and maintainability of the code.

Originally, the code was part of [1], part of NS16550 emulator v3 series.

[1] https://lore.kernel.org/xen-devel/20250103-vuart-ns8250-v3-v1-6-c5d36b31d66c@ford.com/
[2] Link to v4: https://lore.kernel.org/xen-devel/20250530220242.63175-1-dmukhin@ford.com/
[3] Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1849512714

Denis Mukhin (2):
  xen/domain: introduce common hardware emulation flags
  xen/domain: rewrite emulation_flags_ok()

 xen/arch/x86/domain.c             | 93 ++++++++++++++++++++++++-------
 xen/arch/x86/domctl.c             |  2 +-
 xen/arch/x86/include/asm/domain.h | 25 ++++-----
 xen/common/keyhandler.c           |  1 +
 xen/include/xen/sched.h           |  2 +
 5 files changed, 89 insertions(+), 34 deletions(-)

-- 
2.34.1