All of lore.kernel.org
 help / color / mirror / Atom feed
From: dmukhin@ford.com
To: "Rafael J. Wysocki (Intel)" <rafael@kernel.org>
Cc: dmukhin@ford.com, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] acpi: bus: Introduce acpi.skip_ids= boot parameter
Date: Thu, 13 Aug 2026 15:43:04 -0700	[thread overview]
Message-ID: <an5IePwLSjb9lGLJ@kraken> (raw)
In-Reply-To: <CAJZ5v0iB5JkQ_xso_exDjsrbC1ezH68vTAJAh7V4XwV57AqniQ@mail.gmail.com>

On Thu, Aug 13, 2026 at 12:09:41PM +0200, Rafael J. Wysocki (Intel) wrote:
> On Thu, Aug 13, 2026 at 4:41 AM <dmukhin@ford.com> wrote:
> >
> > From: Denis Mukhin <dmukhin@ford.com>
> >
> > In virtualized environments it is possible that a device managed by the
> > hypervisor or another VM is described in the ACPI tables. In these
> > cases, binding a device driver to it can cause functional issues.
> 
> Examples, please.

One example would be a system with two MMIO-based UARTs described in ACPI
tables. Both UARTs have the same _HID, but different _UIDs. One UART reserved
for the hypervisor console, another is assigned to the guest.

Both devices reported as present and same platform driver may probe both device
instances.

I understand that, ideally, guest ACPI tables should omit the unassigned
device or report it unavailable via _STA.

The proposed parameter was intended for configurations where the device
assignment varies between boot environments while the firmware-provided ACPI
description remains common.

What would be the preferred way to prevent Linux from enumerating or probing
one specific _HID/_UID instance in such a configuration?

Thanks,
Denis

      reply	other threads:[~2026-08-13 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13  2:41 [PATCH 0/2] acpi: add kernel option to skip binding drivers to certain devices dmukhin
2026-08-13  2:41 ` [PATCH 1/2] acpi: Use METHOD_NAME__UID instead of open-coded _UID dmukhin
2026-08-13  2:41 ` [PATCH 2/2] acpi: bus: Introduce acpi.skip_ids= boot parameter dmukhin
2026-08-13 10:09   ` Rafael J. Wysocki (Intel)
2026-08-13 22:43     ` dmukhin [this message]

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=an5IePwLSjb9lGLJ@kraken \
    --to=dmukhin@ford.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.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.