All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] xen/domain: updates to hardware emulation flags
@ 2025-05-16  2:29 dmkhn
  2025-05-16  2:29 ` [PATCH v2 1/2] xen/domain: introduce non-x86 " dmkhn
  2025-05-16  2:29 ` [PATCH v2 2/2] xen/domain: rewrite emulation_flags_ok() dmkhn
  0 siblings, 2 replies; 15+ messages in thread
From: dmkhn @ 2025-05-16  2:29 UTC (permalink / raw)
  To: xen-devel
  Cc: andrew.cooper3, anthony.perard, jbeulich, julien, michal.orzel,
	roger.pau, sstabellini, dmukhin

Patch 1 introduces use of d->arch.emulation_flags for non-x86 platforms and
hooks emulation_flags to 'q' keyhandler for debugging. emulation_flags on
non-x86 systems can be used for enabling domain emulation features.

Patch 2 rewrites emulation_flags_ok() on x86 with a goal of improving
readability 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 v1: https://lore.kernel.org/xen-devel/20250401005224.461325-1-dmukhin@ford.com/
[3] Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1820121879 

Denis Mukhin (2):
  xen/domain: introduce non-x86 hardware emulation flags
  xen/domain: rewrite emulation_flags_ok()

 xen/arch/arm/include/asm/domain.h   |  1 +
 xen/arch/ppc/include/asm/domain.h   |  1 +
 xen/arch/riscv/include/asm/domain.h |  1 +
 xen/arch/x86/domain.c               | 29 +++++++++++------------------
 xen/arch/x86/include/asm/domain.h   |  6 ++++++
 xen/common/keyhandler.c             |  1 +
 6 files changed, 21 insertions(+), 18 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-05-28 21:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16  2:29 [PATCH v2 0/2] xen/domain: updates to hardware emulation flags dmkhn
2025-05-16  2:29 ` [PATCH v2 1/2] xen/domain: introduce non-x86 " dmkhn
2025-05-20 15:21   ` Jan Beulich
2025-05-20 21:39     ` dmkhn
2025-05-21  6:01       ` Jan Beulich
2025-05-21 14:05   ` Roger Pau Monné
2025-05-28 21:17     ` dmkhn
2025-05-16  2:29 ` [PATCH v2 2/2] xen/domain: rewrite emulation_flags_ok() dmkhn
2025-05-20 15:24   ` Jan Beulich
2025-05-20 22:38     ` dmkhn
2025-05-20 23:00       ` Stefano Stabellini
2025-05-21  6:51         ` Jan Beulich
2025-05-21  6:04       ` Jan Beulich
2025-05-21 15:07   ` Roger Pau Monné
2025-05-22  0:26     ` dmkhn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.