All of lore.kernel.org
 help / color / mirror / Atom feed
From: dmkhn@proton.me
To: Jan Beulich <jbeulich@suse.com>
Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech,
	julien@xen.org, michal.orzel@amd.com, oleksii.kurochko@gmail.com,
	roger.pau@citrix.com, sstabellini@kernel.org, dmukhin@ford.com,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH v1 14/16] drivers/vuart: move simple MMIO-based UART emulator
Date: Thu, 10 Jul 2025 01:52:08 +0000	[thread overview]
Message-ID: <aG8cxNMGSyWWL9m0@kraken> (raw)
In-Reply-To: <a63ac9d5-152e-47b0-8169-bf470611c059@suse.com>

On Wed, Jun 25, 2025 at 07:25:29AM +0200, Jan Beulich wrote:
> On 25.06.2025 00:54, dmkhn@proton.me wrote:
> > On Tue, Jun 24, 2025 at 09:40:02AM +0200, Jan Beulich wrote:
> >> On 24.06.2025 09:36, dmkhn@proton.me wrote:
> >>> On Tue, Jun 24, 2025 at 07:53:04AM +0200, Jan Beulich wrote:
> >>>> On 24.06.2025 05:57, dmkhn@proton.me wrote:
> >>>>> --- a/xen/drivers/vuart/Kconfig
> >>>>> +++ b/xen/drivers/vuart/Kconfig
> >>>>> @@ -3,6 +3,15 @@ config HAS_VUART
> >>>>>
> >>>>>  if (ARM_32 || ARM_64)
> >>>>>
> >>>>> +config HAS_VUART_MMIO
> >>>>> +	bool "Simple MMIO-based emulated UART support"
> >>>>
> >>>> Perhaps in a separate change this should be renamed. HAS_* should never
> >>>> have prompts.
> >>>
> >>> Oh, so HAS_ flags are non-interactive selectors by design?
> >>
> >> Well "has" simply by the word means "this is available". Any user-selectable item
> >> deriving from the mere availability would then have a "depends on HAS_...", thus
> >> hiding the option in situation where the functionality isn't available (be it per
> >> arch or for other reasons).
> >
> > I see there's a lot of drivers (UARTs) which are selectable by the user via
> > HAS_ symbols (drivers/char/Kconfig), e.g:
> >
> > CONFIG_HAS_NS16550:
> 
> Iirc it was prompt-less up to some point. And when the prompt was added, the name
> wasn't changed / split. Other UARTs then followed suit (when they shouldn't have).

I can submit a separate patch to address the naming, if there are no
objections.

> 
> Jan
> 



  reply	other threads:[~2025-07-10  1:52 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24  3:54 [PATCH v1 00/16] xen: framework for UART emulators dmkhn
2025-06-24  3:55 ` [PATCH v1 01/16] arm/vpl011: rename virtual PL011 Kconfig option dmkhn
2025-06-24  6:13   ` Orzel, Michal
2025-06-24  7:24     ` dmkhn
2025-07-17 15:43       ` Alejandro Vallejo
2025-07-17 19:58         ` dmkhn
2025-07-18 11:10           ` Alejandro Vallejo
2025-06-24  3:55 ` [PATCH v1 02/16] arm/vpl011: move DT node parsing to PL011 emulator code dmkhn
2025-06-24  7:49   ` Orzel, Michal
2025-06-24 21:56     ` dmkhn
2025-06-25  6:57       ` Orzel, Michal
2025-07-31 21:02         ` dmkhn
2025-06-24  3:55 ` [PATCH v1 03/16] arm/vpl011: use vuart_ prefix in vpl011 public calls dmkhn
2025-06-24 10:11   ` Orzel, Michal
2025-06-24 22:17     ` dmkhn
2025-07-31 21:11     ` dmkhn
2025-06-24  3:55 ` [PATCH v1 04/16] arm/vpl011: use raw spin_lock_{irqrestore,irqsave} dmkhn
2025-06-24  5:46   ` Jan Beulich
2025-06-24  7:50     ` Orzel, Michal
2025-06-24 21:46       ` dmkhn
2025-06-25  6:52         ` Orzel, Michal
2025-07-31 21:03           ` dmkhn
2025-06-24  3:55 ` [PATCH v1 05/16] arm/vpl011: use void pointer in domain struct dmkhn
2025-06-25  7:21   ` Orzel, Michal
2025-06-24  3:55 ` [PATCH v1 06/16] arm/vpl011: remove vpl011 header file dmkhn
2025-06-24  3:55 ` [PATCH v1 07/16] arm/vuart: rename 'virtual UART' Kconfig option dmkhn
2025-06-24  6:37   ` Orzel, Michal
2025-06-24  7:14     ` dmkhn
2025-06-25  7:07       ` Orzel, Michal
2025-07-31 21:02         ` dmkhn
2025-06-24  3:56 ` [PATCH v1 08/16] arm/vuart: move simple MMIO-based vUART declarations to common header dmkhn
2025-06-24  3:56 ` [PATCH v1 09/16] arm/vuart: use void pointer in domain struct dmkhn
2025-06-24  3:56 ` [PATCH v1 10/16] arm/vuart: merge vuart_print_char() with vuart_mmio_write() dmkhn
2025-06-24  3:56 ` [PATCH v1 11/16] xen/domain: introduce common emulation flags dmkhn
2025-06-24  3:56 ` [PATCH v1 12/16] xen/domain: introduce domain-emu.h dmkhn
2025-07-09 14:57   ` Jan Beulich
2025-07-31 20:55     ` dmkhn
2025-08-01  6:02       ` Jan Beulich
2025-08-01 19:30         ` dmkhn
2025-08-04  7:13           ` Jan Beulich
2025-08-05  0:24             ` dmkhn
2025-06-24  3:56 ` [PATCH v1 13/16] drivers/vuart: move PL011 emulator code dmkhn
2025-06-24  5:50   ` Jan Beulich
2025-06-24  7:31     ` dmkhn
2025-06-24  7:33       ` Jan Beulich
2025-07-10  1:59         ` dmkhn
2025-07-10  8:15           ` Jan Beulich
2025-07-10 17:00             ` Stefano Stabellini
2025-07-31 20:47               ` dmkhn
2025-07-10 18:32             ` dmkhn
2025-06-24  3:57 ` [PATCH v1 14/16] drivers/vuart: move simple MMIO-based UART emulator dmkhn
2025-06-24  5:53   ` Jan Beulich
2025-06-24  7:36     ` dmkhn
2025-06-24  7:40       ` Jan Beulich
2025-06-24 22:54         ` dmkhn
2025-06-25  5:25           ` Jan Beulich
2025-07-10  1:52             ` dmkhn [this message]
2025-06-24  3:57 ` [PATCH v1 15/16] drivers/vuart: introduce framework for UART emulators dmkhn
2025-06-24  3:57 ` [PATCH v1 16/16] drivers/vuart: hook simple MMIO-based UART to vUART framework dmkhn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aG8cxNMGSyWWL9m0@kraken \
    --to=dmkhn@proton.me \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=dmukhin@ford.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=oleksii.kurochko@gmail.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.