Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-08 Thread dmukhin
On Mon, Sep 08, 2025 at 11:29:03AM +0300, Mykola Kvach wrote: > On Sat, Sep 6, 2025 at 2:27 AM wrote: [..] > > +++ b/xen/common/emul/vuart/Kconfig > > @@ -0,0 +1,6 @@ > > +config VUART_FRAMEWORK > > + bool > > If VUART_FRAMEWORK has no dependencies, it can be enabled on any > architecture.

Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-08 Thread Mykola Kvach
On Sat, Sep 6, 2025 at 2:27 AM wrote: > > From: Denis Mukhin > > Introduce a driver framework to abstract UART emulators in the hypervisor. > > That allows for architecture-independent handling of virtual UARTs in the > console driver and simplifies enabling new UART emulators. > > The framework

Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-08 Thread Jan Beulich
On 08.09.2025 10:29, Mykola Kvach wrote: > On Sat, Sep 6, 2025 at 2:27 AM wrote: >> --- /dev/null >> +++ b/xen/common/emul/vuart/Kconfig >> @@ -0,0 +1,6 @@ >> +config VUART_FRAMEWORK >> + bool > > If VUART_FRAMEWORK has no dependencies, it can be enabled on any > architecture. For example,

Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-08 Thread dmukhin
On Sat, Sep 06, 2025 at 12:43:01PM +0300, Mykola Kvach wrote: > Hi Denis, > > On Sat, Sep 6, 2025 at 2:27 AM wrote: [..] > > + > > +const static struct vuart * > > +vuart_find_by_console_permission(const struct domain *d) > > Other functions that search for a console (e.g., by compatible string

Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-06 Thread Mykola Kvach
Hi Denis, On Sat, Sep 6, 2025 at 2:27 AM wrote: > > From: Denis Mukhin > > Introduce a driver framework to abstract UART emulators in the hypervisor. > > That allows for architecture-independent handling of virtual UARTs in the > console driver and simplifies enabling new UART emulators. > > The

Re: [PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-05 Thread Stefano Stabellini
On Fri, 5 Sep 2025, dmuk...@xen.org wrote: > From: Denis Mukhin > > Introduce a driver framework to abstract UART emulators in the hypervisor. > > That allows for architecture-independent handling of virtual UARTs in the > console driver and simplifies enabling new UART emulators. > > The fram

[PATCH v6 01/15] emul/vuart: introduce framework for UART emulators

2025-09-05 Thread dmukhin
From: Denis Mukhin Introduce a driver framework to abstract UART emulators in the hypervisor. That allows for architecture-independent handling of virtual UARTs in the console driver and simplifies enabling new UART emulators. The framework is built under CONFIG_VUART_FRAMEWORK, which will be