Re: [PATCH 2/5] xen/io: provide helpers for multi size MMIO accesses

2025-04-11 Thread Denis Mukhin
On Friday, April 11th, 2025 at 3:54 AM, Roger Pau Monne wrote: > > > Several handlers have the same necessity of reading from an MMIO region > using 1, 2, 4 or 8 bytes accesses. So far this has been open-coded in the > function itself. Instead provide a new handler that encapsulates the > acce

Re: [PATCH 1/3] Rework rootfs generation to make a cpio archive

2025-04-11 Thread Denis Mukhin
cpio form under the new > artefact naming scheme. > > No functional change. > > Signed-off-by: Andrew Cooper andrew.coop...@citrix.com Reviewed-by: Denis Mukhin > > --- > CC: Anthony PERARD anthony.per...@vates.tech > > CC: Stefano Stabellini sstabell...@kernel.org >

Re: [PATCH 1/3] Rework rootfs generation to make a cpio archive

2025-04-11 Thread Denis Mukhin
On Friday, April 11th, 2025 at 10:50 AM, Andrew Cooper wrote: > > > On 11/04/2025 4:53 pm, Denis Mukhin wrote: > > > On Friday, April 11th, 2025 at 3:52 AM, Andrew Cooper > > andrew.coop...@citrix.com wrote: > > > > > Rename the script as we're

Re: [PATCH 1/3] Rework rootfs generation to make a cpio archive

2025-04-11 Thread Denis Mukhin
On Friday, April 11th, 2025 at 3:52 AM, Andrew Cooper wrote: > > > Rename the script as we're going to use it for ARM64 shortly, and have it take > a tar or cpio parameter to determine the output format. > > Turn it into a proper bash script, and provide the cpio form under the new > artefact

Re: [PATCH 2/4] Overhaul how Argo is built and packged

2025-04-10 Thread Denis Mukhin
On Thursday, April 10th, 2025 at 2:37 PM, Andrew Cooper wrote: > > > Right now, the argo artefacts are a pile of files which the test has to turn > back into something which resembles a filesystem. Furthermore, because we do > not build modules for the main kernel, it is extra important to mak

Re: [PATCH v3 10/16] x86/hyperlaunch: obtain cmdline from device tree

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Add support to read the command line from the hyperlauunch device tree. > The device tree command line is located in the "bootargs" property of the > "multiboot,k

Re: [PATCH v3 12/16] x86/hyperlaunch: add domain id parsing to domain config

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Introduce the ability to specify the desired domain id for the domain > definition. The domain id will be populated in the domid property of the > domain > node i

Re: [PATCH v3 16/16] x86/hyperlaunch: add capabilities to boot domain

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Introduce the ability to assign capabilities to a domain via its definition in > device tree. The first capability enabled to select is the control domain > capab

Re: [PATCH v3 15/16] x86/hyperlaunch: add max vcpu parsing of hyperlaunch device tree

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Introduce the `cpus` property, named as such for dom0less compatibility, that > represents the maximum number of vpcus to allocate for a domain. In the device > t

Re: [PATCH v3 14/16] x86/hyperlaunch: add memory parsing to domain config

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Add three properties, memory, mem-min, and mem-max, to the domain node device > tree parsing to define the memory allocation for a domain. All three fields > are

Re: [PATCH v3 13/16] x86/hyperlaunch: specify dom0 mode with device tree

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Enable selecting the mode in which the domain will be built and ran. This > includes: > > - whether it will be either a 32/64 bit domain > - if it will be run as

Re: [PATCH v3 11/16] x86/hyperlaunch: locate dom0 initrd with hyperlaunch

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Look for a subnode of type `multiboot,ramdisk` within a domain node and > parse via the fdt_read_multiboot_module() helper. After a successful > helper call, the

Re: [PATCH v3 09/16] x86/hyperlaunch: locate dom0 kernel with hyperlaunch

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Look for a subnode of type `multiboot,kernel` within a domain node. If > found, locate it using the multiboot module helper to generically ensure > it lives in th

Re: [PATCH v3 03/16] x86/boot: add cmdline to struct boot_domain

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Add a container for the "cooked" command line for a domain. This > provides for the backing memory to be directly associated with the > domain being constructed.

Re: [PATCH v3 06/16] x86/hyperlaunch: introduce the domain builder

2025-04-09 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo wrote: > > > From: "Daniel P. Smith" dpsm...@apertussolutions.com > > > Introduce the domain builder which is capable of consuming a device tree as > the > first boot module. If it finds a device tree as the first boot module, it wil

Re: [PATCH v3 04/16] kconfig: introduce option to independently enable libfdt

2025-04-09 Thread Denis Mukhin
m > > Signed-off-by: Jason Andryuk jason.andr...@amd.com Reviewed-by: Denis Mukhin > > --- > v3: > * Use CONFIG_LIBFDT instead of CONFIG_HAS_DEVICET_TREE > --- > xen/common/Kconfig | 4 > xen/common/Makefile | 2 +- > 2 files changed, 5 insertions(+), 1 d

Re: [PATCH v1] x86/vmx: Rework __vmread()/vmread_safe()/vmr()

2025-04-08 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 12:12 AM, Jan Beulich wrote: > > > On 08.04.2025 03:15, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Use `asm goto()` in vmread_safe() to simplify the error handling logic. > > > This can't

Re: [PATCH v2 2/7] xen/domain: introduce domid_alloc()

2025-04-08 Thread Denis Mukhin
On Tuesday, April 8th, 2025 at 7:26 AM, Jan Beulich wrote: > > > On 01.04.2025 01:05, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Move domain ID allocation during domain creation to a dedicated > > function domid_alloc(). >

Re: [PATCH v4] x86/domain: revisit logging in arch_domain_create()

2025-04-08 Thread Denis Mukhin
On Monday, April 7th, 2025 at 7:21 AM, Jan Beulich wrote: > > > On 05.04.2025 01:21, dm...@proton.me wrote: > > > --- a/xen/arch/x86/domain.c > > +++ b/xen/arch/x86/domain.c > > @@ -791,13 +791,14 @@ int arch_domain_create(struct domain *d, > > { > > if ( !opt_allow_unsafe ) > > { > > - printk(XE

Re: [PATCH v3] x86/vmx: Rework VMX wrappers using `asm goto()`

2025-04-07 Thread Denis Mukhin
On Monday, April 7th, 2025 at 2:46 AM, Andrew Cooper wrote: > > > On 05/04/2025 2:27 am, dm...@proton.me wrote: > > > diff --git a/xen/arch/x86/include/asm/hvm/vmx/vmx.h > > b/xen/arch/x86/include/asm/hvm/vmx/vmx.h > > index affb3a8bd6..6aa6e1f212 100644 > > --- a/xen/arch/x86/include/asm/hv

Re: [PATCH v3] x86/emulate: Remove HAVE_AS_RDRAND and HAVE_AS_RDSEED

2025-04-07 Thread Denis Mukhin
On Monday, April 7th, 2025 at 2:17 AM, Andrew Cooper wrote: > > > On 05/04/2025 2:25 am, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > The new toolchain baseline knows the rdrand/rdseed instructions, > > no need to carry the w

Re: [PATCH v1 0/8] xen/console: cleanup console input switch logic

2025-04-05 Thread Denis Mukhin
ical renames to fit the usage in the code. Patch 7 cleans up the console input switch logic. Patch 8 simplifies the existing vUART code by using newly introduced APIs. > > CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1723361248 > > [1]: > https://lore.kernel

Re: [PATCH v2 1/6] x86/vmx: remove HAVE_AS_{EPT,VMX}, GAS_VMX_OP() and *_OPCODE

2025-04-05 Thread Denis Mukhin
On Thursday, April 3rd, 2025 at 12:10 PM, Andrew Cooper wrote: > > > On 03/04/2025 7:23 pm, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > The new toolchain baseline knows the VMX instructions, > > no need to carry the workaroun

Re: [PATCH v2] x86/domain: revisit logging in arch_domain_create()

2025-04-04 Thread Denis Mukhin
On Tuesday, April 1st, 2025 at 2:10 PM, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > Use %pd in all logs issued from arch_domain_create(). > > Also, expand error message in arch_domain_create() under > !emulation_flags_ok() case to help

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-31 Thread Denis Mukhin
On Monday, March 24th, 2025 at 4:32 PM, Stefano Stabellini wrote: > > > On Mon, 24 Mar 2025, Denis Mukhin wrote: > > > On Monday, March 24th, 2025 at 6:51 AM, Andrew Cooper > > andrew.coop...@citrix.com wrote: > > > > > On 20/03/2025 11:05 pm, dm...@

Re: [PATCH v1 2/8] xen/console: introduce console input permission

2025-03-28 Thread Denis Mukhin
On Wednesday, March 26th, 2025 at 6:44 AM, Jan Beulich wrote: > > > On 19.03.2025 00:36, dm...@proton.me wrote: > > > @@ -564,10 +586,25 @@ static void __serial_rx(char c) > > /* Deliver input to the PV shim console. */ > > rc = consoled_guest_tx(c); > > > > - if ( rc ) > > + switch ( rc ) > > +

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-24 Thread Denis Mukhin
; open-coded value 16 in LAPIC and virtual LAPIC code and simplifies > > the code a bit. > > > > [1] Intel SDM volume 3A > > Chapter "ADVANCED PROGRAMMABLE INTERRUPT CONTROLLER" > > Section "Valid Interrupt Vectors" > > > > Signed-off-by:

Re: [PATCH v2] x86/irq: introduce APIC_VECTOR_VALID()

2025-03-24 Thread Denis Mukhin
en-coded value 16 in LAPIC and virtual LAPIC code and simplifies > > the code a bit. > > > > [1] Intel SDM volume 3A > > Chapter "ADVANCED PROGRAMMABLE INTERRUPT CONTROLLER" > > Section "Valid Interrupt Vectors" > > > > Signed-off-by

Re: [XEN PATCH v1 4/4] x86:hvm: make nestedhvm support optional

2025-03-20 Thread Denis Mukhin
onfig NESTEDHVM > + bool "Support nested virtualization" if EXPERT > + depends on HVM > + default y There's dedicated Kconfig for HVM build-time configuration on staging at: arch/x86/hvm/Kconfig Suggest plumbing new knob there. Thanks, Denis

Re: [PATCH v1 7/8] xen/console: introduce console_set_focus()

2025-03-19 Thread Denis Mukhin
domain identifier. > > Signed-off-by: Denis Mukhin dmuk...@ford.com > > --- > xen/drivers/char/console.c | 81 -- > 1 file changed, 34 insertions(+), 47 deletions(-) > > diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c >

Re: [PATCH 3/3] x86/irq: introduce APIC_VECTOR_VALID

2025-03-18 Thread Denis Mukhin
On Monday, March 17th, 2025 at 1:30 AM, Jan Beulich wrote: > > > On 15.03.2025 02:00, dm...@proton.me wrote: > > > Add new symbol APIC_VECTOR_VALID to replace open-coded value 16 in > > LAPIC and virtual LAPIC code. > > > First a good name is needed to make such a change. APIC_VECTOR_VALID > coul

Re: [PATCH] x86/irq: use NR_ISAIRQS instead of open-coded value

2025-03-14 Thread Denis Mukhin
On Friday, March 14th, 2025 at 1:51 AM, Jan Beulich wrote: > > > On 14.03.2025 02:20, dm...@proton.me wrote: > > > Replace the open-coded value 16 with the NR_ISAIRQS symbol to enhance > > readability. > > > > No functional changes. > > > &

Re: [PATCH v2] x86/hvm: add HVM-specific Kconfig

2025-03-14 Thread Denis Mukhin
On Friday, March 14th, 2025 at 1:20 PM, Andrew Cooper wrote: > > > On 13/03/2025 2:39 am, dm...@proton.me wrote: > > > diff --git a/xen/arch/x86/hvm/Kconfig b/xen/arch/x86/hvm/Kconfig > > new file mode 100644 > > index 00..2ca664f36f > > --- /dev/null > > +++ b/xen/arch/x86/hvm/Kconfi

Re: [PATCH] x86/irq: use NR_ISAIRQS instead of open-coded value

2025-03-14 Thread Denis Mukhin
On Friday, March 14th, 2025 at 2:14 AM, Andrew Cooper wrote: > > > On 14/03/2025 1:20 am, dm...@proton.me wrote: > > > Replace the open-coded value 16 with the NR_ISAIRQS symbol to enhance > > readability. > > > > No functional changes. > > > &

Re: [PATCH] x86/hvm: add HVM-specific Kconfig

2025-03-12 Thread Denis Mukhin
On Monday, March 10th, 2025 at 3:36 AM, Jan Beulich wrote: > > > On 07.02.2025 23:03, dm...@proton.me wrote: > > > Add separate menu for configuring HVM build-time settings to help organizing > > HVM-specific options. > > > > Signed-off-by: Denis Mukhin

Re: [PATCH] docs: add explanation for 'Resolved:'

2025-03-11 Thread Denis Mukhin
On Tuesday, March 11th, 2025 at 12:28 AM, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > 'Resolves:' tag may be used if the patch addresses one of the tickets > logged via Gitlab to auto-close such ticket when the patch got merged. >

Re: [PATCH v5] xen/consoled: clean up console handling for PV shim

2025-03-07 Thread Denis Mukhin
On Thursday, March 6th, 2025 at 8:35 AM, Jan Beulich wrote: > > > On 06.03.2025 08:59, dm...@proton.me wrote:> --- a/xen/include/xen/consoled.h > > > +++ b/xen/include/xen/consoled.h > > @@ -1,12 +1,23 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > #ifndef XEN_CONSOLED_H > > #define X

Re: [PATCH] x86/hvm: add HVM-specific Kconfig

2025-03-06 Thread Denis Mukhin
On Friday, February 7th, 2025 at 2:03 PM, dm...@proton.me wrote: > > > Add separate menu for configuring HVM build-time settings to help organizing > HVM-specific options. > > Signed-off-by: Denis Mukhin dmuk...@ford.com Can I get a review please? > > > --- &

Re: [PATCH v2] xen/console: make console buffer size configurable

2025-03-06 Thread Denis Mukhin
On Wednesday, March 5th, 2025 at 8:42 AM, Jan Beulich wrote: > > > On 05.03.2025 02:12, dm...@proton.me wrote: > > > --- a/docs/misc/xen-command-line.pandoc > > +++ b/docs/misc/xen-command-line.pandoc > > @@ -425,10 +425,13 @@ The following are examples of correct specifications: > > ### conri

Re: [PATCH] xen/console: make console buffer size configurable

2025-03-04 Thread Denis Mukhin
On Friday, February 21st, 2025 at 2:13 PM, Marek Marczykowski-Górecki wrote: > > > On Fri, Feb 21, 2025 at 08:52:47PM +0000, Denis Mukhin wrote: > > > Also, since there's a build-time configuration parameter along with the > > boot-time > > configuratio

Re: [PATCH] xen/console: make console buffer size configurable

2025-03-04 Thread Denis Mukhin
On Monday, February 24th, 2025 at 2:44 AM, Jan Beulich wrote: > > > On 21.02.2025 21:52, Denis Mukhin wrote: > > > On Tuesday, February 18th, 2025 at 8:05 AM, Jan Beulich jbeul...@suse.com > > wrote: > > > > > On 12.02.2025 23:31, dm...@proton.me

Re: [PATCH] xen/console: make console buffer size configurable

2025-03-04 Thread Denis Mukhin
On Monday, February 24th, 2025 at 11:23 PM, Jan Beulich wrote: > > > On 25.02.2025 03:45, Denis Mukhin wrote: > > > On Monday, February 24th, 2025 at 2:44 AM, Jan Beulich jbeul...@suse.com > > wrote: > > > > > On 21.02.2025 21:52, Denis Mukhin wro

Re: [PATCH] xen/console: introduce console_{get,put}_domain()

2025-02-26 Thread Denis Mukhin
On Wednesday, February 26th, 2025 at 3:30 AM, Jan Beulich wrote: > > > On 18.02.2025 09:31, dm...@proton.me wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > console_input_domain() takes an RCU lock to protect domain structure. > > That implies c

Re: [PATCH] xen/console: make console buffer size configurable

2025-02-24 Thread Denis Mukhin
On Monday, February 24th, 2025 at 2:44 AM, Jan Beulich wrote: > > > On 21.02.2025 21:52, Denis Mukhin wrote: > > > On Tuesday, February 18th, 2025 at 8:05 AM, Jan Beulich jbeul...@suse.com > > wrote: > > > > > On 12.02.2025 23:31, dm...@proton.me

Re: [PATCH v6] xen/console: print Xen version via keyhandler

2025-02-24 Thread Denis Mukhin
On Monday, February 24th, 2025 at 3:03 AM, Jan Beulich wrote: > > > On 21.02.2025 23:10, dm...@proton.me wrote: > > > --- a/xen/common/version.c > > +++ b/xen/common/version.c > > @@ -210,10 +210,29 @@ void __init xen_build_init(void) > > } > > } > > #endif /* CONFIG_X86 */ > > - if ( !rc )

Re: [PATCH v3 05/24] xen/console: introduce consoled_is_enabled()

2025-02-23 Thread Denis Mukhin
On Friday, January 3rd, 2025 at 5:58 PM, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > There are few places which check pv_shim console under CONFIG_PV_SHIM in xen > console driver. Instead of #ifdef-ing, use new consoled_is_enabled

Re: [PATCH] xen/consoled: clean up console handling for pv_shim

2025-02-22 Thread Denis Mukhin
d _serial_rx() (where pv_shim condition is now detected correctly). > > Signature of consoled_guest{rx,tx} has changed so the errors can be logged > on the callsites. > > Signed-off-by: Denis Mukhin dmuk...@ford.com Sorry, I posted too early, there's missing dependen

Re: [PATCH] xen/console: introduce console_{get,put}_domain()

2025-02-21 Thread Denis Mukhin
On Wednesday, February 19th, 2025 at 5:52 AM, Jan Beulich wrote: > > > On 18.02.2025 09:31, dm...@proton.me wrote: > > > @@ -546,31 +555,23 @@ static void __serial_rx(char c) > > * getting stuck. > > */ > > send_global_virq(VIRQ_CONSOLE); > > - break; > > - > > + } > > #ifdef CONFIG_SBSA_VUAR

Re: [PATCH] xen/console: introduce console_{get,put}_domain()

2025-02-21 Thread Denis Mukhin
On Friday, February 21st, 2025 at 4:04 PM, Stefano Stabellini wrote: > > > On Wed, 19 Feb 2025, Jan Beulich wrote: > > > On 18.02.2025 09:31, dm...@proton.me wrote: > > > > > @@ -546,31 +555,23 @@ static void __serial_rx(char c) > > > * getting stuck. > > > */ > > > send_global_virq(VIRQ_CON

Re: [PATCH v5] xen/console: print Xen version via keyhandler

2025-02-21 Thread Denis Mukhin
a long > > time. > > > > Signed-off-by: Denis Mukhin dmuk...@ford.com > > Reviewed-by: Jan Beulich jbeul...@suse.com > > > Hmm, wait - there's yet another issue: > > > --- a/xen/common/keyhandler.c > > +++ b/xen/common/keyhandler.c >

Re: [PATCH v2 1/2] x86/hvm: make stdvga support optional

2025-02-21 Thread Denis Mukhin
On Thursday, February 20th, 2025 at 1:53 AM, Jiqian Chen wrote: > > > From: Sergiy Kibrik sergiy_kib...@epam.com > > > Introduce config option X86_STDVGA so that stdvga driver can be > disabled on systems that don't need it. > > What's more, in function emulation_flags_ok, to check if toolstack

Re: [PATCH] xen/console: make console buffer size configurable

2025-02-21 Thread Denis Mukhin
On Tuesday, February 18th, 2025 at 8:05 AM, Jan Beulich wrote: > > > On 12.02.2025 23:31, dm...@proton.me wrote: > > > --- a/xen/drivers/char/Kconfig > > +++ b/xen/drivers/char/Kconfig > > @@ -96,6 +96,18 @@ config SERIAL_TX_BUFSIZE > > > > Default value is 32768 (32KiB). > > > > +config CONRING

Re: [PATCH v3] xen/console: print Xen version via keyhandler

2025-02-14 Thread Denis Mukhin
a long > > time. > > > > Signed-off-by: Denis Mukhin dmuk...@ford.com > > --- > > Changes since v2: > > - moved new function declarations to xen/lib.h > > - dropped xen_ prefix in new functions > > --- > > xen/common/keyhandler.c | 4 > >

Re: [PATCH] xen/console: pre-compute domain prefix for printouts

2025-02-13 Thread Denis Mukhin
On Thursday, February 13th, 2025 at 3:28 PM, Andrew Cooper wrote: > > > On 13/02/2025 10:35 pm, dm...@proton.me wrote: > > > Every guest_printk() call computes "(d%d) " prefix on every call. > > Move prefix generation to the domain creation time. > &

Re: [PATCH v2] xen/console: print Xen version via keyhandler

2025-02-13 Thread Denis Mukhin
significance of the xen_ prefixes here? We're in Xen sources after all. I followed the rest of the code in version.{h,c} which has `xen_` prefixes. I moved new definitions w/o prefix to xen/include/xen/lib.h where most of the debug tracing facilities are declared in v3. > > Jan Thanks, Denis

Re: [PATCH] xen/console: add keyhandler to print Xen version

2025-02-13 Thread Denis Mukhin
On Wednesday, February 12th, 2025 at 11:25 PM, Jan Beulich wrote: > > > On 13.02.2025 00:58, dm...@proton.me wrote: > > > Add Xen version printout via keyhandler mechanism. > > > > That is useful for debugging systems that have been left intact for a long > >

Re: [PATCH v3 15/24] xen/console: make console buffer size configurable

2025-02-12 Thread Denis Mukhin
On Tuesday, January 28th, 2025 at 11:53 PM, Jan Beulich wrote: > > > On 29.01.2025 04:04, Denis Mukhin wrote: > > > On Tuesday, January 28th, 2025 at 8:32 AM, Jan Beulich jbeul...@suse.com > > wrote: > > > > > On 04.01.2025 02:58, Denis Mukhin via B4

Re: [PATCH] xen/include: introduce resource.h

2025-02-10 Thread Denis Mukhin
On Monday, February 10th, 2025 at 1:27 AM, Jan Beulich wrote: > > > On 08.02.2025 03:54, Stefano Stabellini wrote: > > > On Fri, 7 Feb 2025, dm...@proton.me wrote: > > > > > Move resource definitions to a new architecture-agnostic shared header > > &g

Re: [PATCH v3 18/24] xen/include: introduce resource.h

2025-02-07 Thread Denis Mukhin
On Friday, January 3rd, 2025 at 5:58 PM, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > Move common resource definitions to a new architecture-agnostic shared header > file. Moved to: https://lore.kernel.org/xen-devel/20250207

Re: [PATCH v3 20/24] x86/hvm: add HVM-specific Kconfig

2025-02-07 Thread Denis Mukhin
On Thursday, January 30th, 2025 at 5:12 AM, Jan Beulich wrote: > > > On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add separate menu for configuring HVM build-time settings to help organizing > > H

Re: [PATCH v3 01/24] xen/ctype: introduce is_console_printable()

2025-02-06 Thread Denis Mukhin
On Thursday, January 23rd, 2025 at 1:11 PM, Denis Mukhin wrote: > > > On Tuesday, January 21st, 2025 at 11:19 PM, Jan Beulich jbeul...@suse.com > wrote: > > > On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > > > > > --- a/xen/include/xen/ctype.h

Re: [PATCH v3 15/24] xen/console: make console buffer size configurable

2025-01-28 Thread Denis Mukhin
On Tuesday, January 28th, 2025 at 8:32 AM, Jan Beulich wrote: > > > On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add new CONRING_SIZE Kconfig parameter to specify the boot console buffer > > siz

Re: [PATCH v3 19/24] xen/8250-uart: add missing definitions

2025-01-28 Thread Denis Mukhin
On Tuesday, January 28th, 2025 at 2:34 PM, Jason Andryuk wrote: > > > On 2025-01-03 20:58, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Added missing definitions needed for NS8250 UART emulator. > > > > Re-us

Re: [PATCH v3 03/24] arm/vuart: add hwdom prefix to UART emulator

2025-01-28 Thread Denis Mukhin
On Monday, January 27th, 2025 at 2:58 PM, Jason Andryuk wrote: > > > On 2025-01-03 20:58, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Using "vuart" in UART emulator designed for hardware domain debugging &

Re: [PATCH v3 01/24] xen/ctype: introduce is_console_printable()

2025-01-23 Thread Denis Mukhin
On Tuesday, January 21st, 2025 at 11:19 PM, Jan Beulich wrote: > > > On 04.01.2025 02:58, Denis Mukhin via B4 Relay wrote: > > > --- a/xen/include/xen/ctype.h > > +++ b/xen/include/xen/ctype.h > > @@ -4,6 +4,8 @@ > > /* > > * NOTE! This cty

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-09 Thread Denis Mukhin
On Thursday, January 9th, 2025 at 3:46 PM, Stefano Stabellini wrote: > > > On Thu, 9 Jan 2025, Roger Pau Monné wrote: > > > On Wed, Jan 08, 2025 at 04:29:24PM -0800, Stefano Stabellini wrote: > > > > > On Wed, 8 Jan 2025, Denis Mukhin wrote: > > >

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-09 Thread Denis Mukhin
On Thursday, January 9th, 2025 at 12:27 AM, Jan Beulich wrote: > > > On 08.01.2025 23:15, Denis Mukhin wrote: > > > On Wednesday, January 8th, 2025 at 12:35 AM, Roger Pau Monné > > roger@citrix.com wrote: > > > > > On Wed, Jan 08, 2025

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-08 Thread Denis Mukhin
gt; > > > > > > On 08.01.2025 00:40, Stefano Stabellini wrote: > > > > > > > > > On Tue, 7 Jan 2025, Jan Beulich wrote: > > > > > > > > > > > On 06.01.2025 19:48, Stefano Stabellini wrote: > > > > &g

Re: Xen 4.20 Development Update [December]

2025-01-07 Thread Denis Mukhin
t; > - Ross Lagerwall > > - > > https://patchew.org/Xen/20240313150748.791236-1-ross.lagerw...@citrix.com/ > > > > * MSI-X support with qemu in stubdomain, and other related changes (v8) > > - Marek Marczykowski-Górecki > > - > > http

Re: [PATCH v2 33/35] x86/domain: implement domain_has_vuart()

2025-01-07 Thread Denis Mukhin
On Tuesday, January 7th, 2025 at 7:16 AM, Roger Pau Monné wrote: > > > On Sat, Jan 04, 2025 at 05:19:07AM +0000, Denis Mukhin wrote: > > > On Friday, December 13th, 2024 at 4:23 AM, Roger Pau Monné > > roger@citrix.com wrote: > > > > > Albeit PVH is

Re: [PATCH v2 31/35] x86/hvm: introduce NS8250 UART emulator

2025-01-06 Thread Denis Mukhin
On Monday, January 6th, 2025 at 1:19 AM, Jan Beulich wrote: > > > On 04.01.2025 06:31, Denis Mukhin wrote: > > > On Monday, December 16th, 2024 at 7:04 AM, Jan Beulich jbeul...@suse.com > > wrote: > > > > > On 06.12.2024 05:42, Denis Mukhin via B4 R

Re: [PATCH v2 19/35] xen/console: introduce console_set_owner()

2025-01-06 Thread Denis Mukhin
On Monday, January 6th, 2025 at 1:58 AM, Jan Beulich wrote: > > > On 04.01.2025 04:30, Denis Mukhin wrote: > > > On Thursday, December 12th, 2024 at 2:12 AM, Roger Pau Monné > > roger@citrix.com wrote: > > > > > On Thu, Dec 05, 2024 at 08:41:49PM

Re: [PATCH v2 31/35] x86/hvm: introduce NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Friday, December 13th, 2024 at 3:43 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:42:01PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add initial in-hypervisor emulator for NS8250/

Re: [PATCH v2 31/35] x86/hvm: introduce NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Monday, December 16th, 2024 at 7:04 AM, Jan Beulich wrote: > > > On 06.12.2024 05:42, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add initial in-hypervisor emulator for NS8250/NS16x50-compatible UARTs under > >

Re: [PATCH v2 33/35] x86/domain: implement domain_has_vuart()

2025-01-03 Thread Denis Mukhin
On Friday, December 13th, 2024 at 12:45 PM, Stefano Stabellini wrote: > > > On Fri, 13 Dec 2024, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:42:03PM -0800, Denis Mukhin via B4 Relay wrote: > > > > > From: Denis Mukhin dmuk...@ford.com > > >

Re: [PATCH v2 33/35] x86/domain: implement domain_has_vuart()

2025-01-03 Thread Denis Mukhin
On Monday, December 16th, 2024 at 7:11 AM, Jan Beulich wrote: > > > On 06.12.2024 05:42, Denis Mukhin via B4 Relay wrote: > > > --- a/tools/libs/light/libxl_x86.c > > +++ b/tools/libs/light/libxl_x86.c > > @@ -8,7 +8,11 @@ int libxl__arch_domain_prepare_config(

Re: [PATCH v2 33/35] x86/domain: implement domain_has_vuart()

2025-01-03 Thread Denis Mukhin
On Friday, December 13th, 2024 at 4:23 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:42:03PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add new emulation flag for virtual UART on x86 and plumb it throug

Re: [PATCH v2 24/35] xen/console: introduce hwdom_crashconsole=

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 4:29 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:54PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > The new command line switch `hwdom_crashconsole=BOOL` allows to

Re: [PATCH v2 10/35] xen/domain: add get_initial_domain_id()

2025-01-03 Thread Denis Mukhin
On Wednesday, December 11th, 2024 at 8:50 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:40PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Move get_initial_domain_id() to a public API and enable for al

Re: [PATCH v2 32/35] x86/hvm: add debugging facility to NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Monday, December 16th, 2024 at 7:08 AM, Jan Beulich wrote: > > > On 06.12.2024 05:42, Denis Mukhin via B4 Relay wrote: > > > +static void ns8250_keyhandler_init(void) > > +{ > > + register_keyhandler('1', ns8250_keyhandler_sh

Re: [PATCH v2 32/35] x86/hvm: add debugging facility to NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Friday, December 13th, 2024 at 4:08 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:42:02PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Enable keyhandler mechanism for dumping state of emul

Re: [PATCH v2 00/35] Introduce NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Monday, December 16th, 2024 at 1:04 AM, Roger Pau Monné wrote: > > > On Sat, Dec 14, 2024 at 07:05:15PM +0100, Marek Marczykowski-Górecki wrote: > > > On Thu, Dec 05, 2024 at 08:41:30PM -0800, Denis Mukhin via B4 Relay wrote: > > > > > The patch series

Re: [PATCH v2 00/35] Introduce NS8250 UART emulator

2025-01-03 Thread Denis Mukhin
On Saturday, December 14th, 2024 at 10:05 AM, Marek Marczykowski-Górecki wrote: > > > On Thu, Dec 05, 2024 at 08:41:30PM -0800, Denis Mukhin via B4 Relay wrote: > > > The patch series introduces initial in-hypervisor emulator for > > NS8250/NS16x50-compatible UARTs under

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 2:18 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:50PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > console_owner_domid() is introduced to obtain the "console

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-03 Thread Denis Mukhin
On Tuesday, December 10th, 2024 at 11:33 PM, Jan Beulich wrote: > > > On 10.12.2024 23:11, Jason Andryuk wrote: > > > On 2024-12-05 23:41, Denis Mukhin via B4 Relay wrote: > > > > > From: Denis Mukhin dmuk...@ford.com > > > > > > console

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-03 Thread Denis Mukhin
On Tuesday, December 10th, 2024 at 11:28 PM, Jan Beulich wrote: > > > On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > console_owner_domid() is introduced to obtain the "console owner" domai

Re: [PATCH v2 20/35] xen/console: introduce console_owner_domid()

2025-01-03 Thread Denis Mukhin
On Tuesday, December 10th, 2024 at 2:11 PM, Jason Andryuk wrote: > > > On 2024-12-05 23:41, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > console_owner_domid() is introduced to obtain the "console owner" domai

Re: [PATCH v2 16/35] xen/console: introduce printk_common()

2025-01-03 Thread Denis Mukhin
t; > > > On 12.12.2024 10:14, Roger Pau Monné wrote: > > > > > > > > > On Thu, Dec 05, 2024 at 08:41:46PM -0800, Denis Mukhin via B4 Relay > > > > > wrote: > > > > > > > > > > > From: Denis Mukhin dmuk...@ford.com >

Re: [PATCH v2 30/35] x86/hvm: add helpers for raising guest IRQs

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 8:18 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:42:00PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Added convenience wrappers for asserting/de-asserting interrupts

Re: [PATCH v2 28/35] xen/8250-uart: add missing definitions

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 6:29 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:58PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Added missing definitions needed for NS8250 UART emulator. >

Re: [PATCH v2 28/35] xen/8250-uart: add missing definitions

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 7:07 AM, Jan Beulich wrote: > > > On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: > > > --- a/xen/include/xen/8250-uart.h > > +++ b/xen/include/xen/8250-uart.h > > @@ -32,16 +32,22 @@ > > #define UART_MCR 0x04 /*

Re: [PATCH v2 29/35] x86/hvm: add HVM-specific Kconfig

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 7:06 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:59PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add separate menu for configuring HVM build-time settings. >

Re: [PATCH v2 09/35] x86/domain: print emulation_flags

2025-01-03 Thread Denis Mukhin
On Wednesday, December 11th, 2024 at 7:19 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:39PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Print d->arch.emulation_flags on the console for better tr

Re: [PATCH v2 27/35] xen/console: flush console ring to physical console

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 6:21 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:57PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Messages printed before the serial and VGA consoles are init

Re: [PATCH v2 09/35] x86/domain: print emulation_flags

2025-01-03 Thread Denis Mukhin
On Tuesday, December 10th, 2024 at 5:30 AM, Jan Beulich wrote: > > > On 06.12.2024 05:41, Denis Mukhin via B4 Relay wrote: > > > Print d->arch.emulation_flags on the console for better traceability while > > debugging in-hypervisor hardware emulators. > >

Re: [PATCH v2 26/35] xen/console: make console buffer size configurable

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 4:47 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:56PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Add new CONRING_LOG_SHIFT Kconfig parameter to specify the boot c

Re: [PATCH v2 23/35] xen/console: introduce console_write()

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 4:04 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:53PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > PV Linux kernel uses HYPERVISOR_console_io hypercall for early c

Re: [PATCH v2 19/35] xen/console: introduce console_set_owner()

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 2:12 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:49PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > console_set_owner() is introduced for setting the new console o

Re: [PATCH v2 19/35] xen/console: introduce console_set_owner()

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 3:59 AM, Jan Beulich wrote: > > > On 12.12.2024 11:12, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:49PM -0800, Denis Mukhin via B4 Relay wrote: > > > > > +static struct domain *rcu_lock_d

Re: [PATCH v2 15/35] xen/console: rename console_rx to console_owner

2025-01-03 Thread Denis Mukhin
On Thursday, December 12th, 2024 at 12:58 AM, Roger Pau Monné wrote: > > > On Thu, Dec 05, 2024 at 08:41:45PM -0800, Denis Mukhin via B4 Relay wrote: > > > From: Denis Mukhin dmuk...@ford.com > > > > Preparation for the follow on change to switch console_owne

  1   2   3   >