Linux PCI subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Ben Cressey" <ben@cressey.dev>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: Add ID@path device format for pci= parameters
Date: Sat, 19 Sep 2026 21:05:41 +0000	[thread overview]
Message-ID: <20260919210541.C8E031F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260919-pci-idpath-selector-v1-1-5881de83f248@cressey.dev>

> The <pci_dev> grammar shared by pci=resource_alignment=,
> pci=disable_acs_redir= and pci=config_acs= names a device either by
> address, with an optional path, or by ID. When one command line serves
> more than one platform, neither form limits an entry to the intended
> device: an address applies to whatever occupies it on each platform, and
> an ID applies to every instance, such as all Downstream Ports of a
> switch rather than the one that needs different ACS settings.
> 
> Accept pci:<vendor>:<device>[:<subvendor>:<subdevice>]@<path>, where
> <path> is the address format, and match only when both halves match. An
> entry written for one platform is then inert on another where that
> address holds a different device. For example,
> 
>   pci=config_acs=xx111x1@pci:10b5:8749@0000:80:02.0/00.0/08.0
> 
> configures ACS on the Downstream Port at that path only if it is a
> PEX 8749 port, and matches nothing on a system where 0000:80:02.0 leads
> to some other device.
> 
> The path goes last since pci_dev_str_match_path() consumes up to the
> next ';'. The <order>@ and <flags>@ prefixes of resource_alignment and
> config_acs are stripped before pci_dev_str_match() is called, so the
> callers are unchanged.
> 
> Reviewed-by: Anthony Vardaro (Anthropic) <me@anthonyvardaro.com>
> Signed-off-by: Ben Cressey <ben@cressey.dev>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260919-pci-idpath-selector-v1-1-5881de83f248@cressey.dev?part=1


  reply	other threads:[~2026-09-19 21:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-19 20:56 [PATCH] PCI: Add ID@path device format for pci= parameters Ben Cressey
2026-09-19 21:05 ` sashiko-bot [this message]
2026-09-23 14:54 ` Wei Wang

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=20260919210541.C8E031F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=ben@cressey.dev \
    --cc=linux-pci@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox