From: Jason Andryuk <jason.andryuk@amd.com>
To: Mykyta Poturai <Mykyta_Poturai@epam.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "Roger Pau Monné" <roger@xenproject.org>,
"Stewart Hildebrand" <stewart.hildebrand@amd.com>
Subject: Re: [PATCH v4 2/5] vpci: use a local variable for the BAR rangeset
Date: Mon, 19 Oct 2026 15:09:33 -0400 [thread overview]
Message-ID: <ddd26f66-34ab-4bad-bb4e-96d7c15b7f6c@amd.com> (raw)
In-Reply-To: <4bce74f6f5d2fc7b58c62acfd377956a9fee8651.1792072426.git.mykyta_poturai@epam.com>
On 2026-10-15 10:08, Mykyta Poturai wrote:
> From: Mykyta Poturai <Mykyta_Poturai@epam.com>
>
> In the BAR (un)mapping paths latch the rangeset of the BAR being
> processed into a local variable, instead of dereferencing struct
> vpci_bar on every use. Preparatory work for moving the rangesets out
> of struct vpci_bar.
>
> No functional change.
>
> Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
> Signed-off-by: Stewart Hildebrand <stewart.hildebrand@amd.com>
I guess you need a second S-o-B after Stewart's since you are
submitting? Unless...
> ---
> v3->v4:
> * new patch, split out of "vpci: Use pervcpu ranges for BAR mapping" so
> that the non-functional churn is separate from the functional change
... it is something totally created by you. Then you can drop Stewart -
I think.
> @@ -218,8 +219,7 @@ bool vpci_process_pending(struct vcpu *v)
> {
> spin_lock(&pdev->vpci->lock);
> /* Disable memory decoding unconditionally on failure. */
> - modify_decoding(pdev, v->vpci.cmd & ~PCI_COMMAND_MEMORY,
> - false);
> + modify_decoding(pdev, v->vpci.cmd & ~PCI_COMMAND_MEMORY, false);
This seems like an unrelated change. I think you should drop it and
incorporate into the next patch touching this line.
With that:
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
next prev parent reply other threads:[~2026-10-19 19:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 14:08 [PATCH v4 0/5] Implement SR-IOV support for PVH Mykyta Poturai
2026-10-15 14:08 ` [PATCH v4 1/5] vpci: Export functions required for SR-IOV support Mykyta Poturai
2026-10-19 19:09 ` Jason Andryuk
2026-10-15 14:08 ` [PATCH v4 2/5] vpci: use a local variable for the BAR rangeset Mykyta Poturai
2026-10-19 19:09 ` Jason Andryuk [this message]
2026-10-15 14:08 ` [PATCH v4 3/5] vpci: allow queueing of mapping operations Mykyta Poturai
2026-10-19 19:46 ` Jason Andryuk
2026-10-15 14:08 ` [PATCH v4 5/5] vpci: add SR-IOV support for DomUs Mykyta Poturai
2026-10-20 0:19 ` Jason Andryuk
2026-10-15 14:08 ` [PATCH v4 4/5] vpci: add SR-IOV support for PVH Dom0 Mykyta Poturai
2026-10-19 21:47 ` Jason Andryuk
2026-10-20 0:29 ` Jason Andryuk
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=ddd26f66-34ab-4bad-bb4e-96d7c15b7f6c@amd.com \
--to=jason.andryuk@amd.com \
--cc=Mykyta_Poturai@epam.com \
--cc=roger@xenproject.org \
--cc=stewart.hildebrand@amd.com \
--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.