From: Andrii Sultanov <sultanovandriy@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: "Andrii Sultanov" <sultanovandriy@gmail.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [PATCH v3 0/3] drivers: Simplify handling of pci_sbdf_t in passthrough/amd
Date: Tue, 18 Mar 2025 15:30:20 +0000 [thread overview]
Message-ID: <cover.1742311401.git.sultanovandriy@gmail.com> (raw)
Step-by-step, use pci_sbdf_t directly where appropriate instead of
handling seg and bdf separately. This removes conversions, reduces code
size and simplifies code in general.
Andrii Sultanov (3):
drivers: Change amd_iommu struct to contain pci_sbdf_t, simplify code
drivers: Change find_iommu_for_device function to take pci_sbdf_t,
simplify code
drivers: Make ioapic_sbdf and hpet_sbdf contain pci_sbdf_t
xen/drivers/passthrough/amd/iommu.h | 11 +--
xen/drivers/passthrough/amd/iommu_acpi.c | 56 +++++++--------
xen/drivers/passthrough/amd/iommu_cmd.c | 10 +--
xen/drivers/passthrough/amd/iommu_detect.c | 18 ++---
xen/drivers/passthrough/amd/iommu_init.c | 39 +++++------
xen/drivers/passthrough/amd/iommu_intr.c | 76 ++++++++++-----------
xen/drivers/passthrough/amd/iommu_map.c | 8 +--
xen/drivers/passthrough/amd/pci_amd_iommu.c | 50 +++++++-------
8 files changed, 132 insertions(+), 136 deletions(-)
--
2.49.0
next reply other threads:[~2025-03-18 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-18 15:30 Andrii Sultanov [this message]
2025-03-18 15:30 ` [PATCH v3 1/3] drivers: Change amd_iommu struct to contain pci_sbdf_t, simplify code Andrii Sultanov
2025-03-20 16:05 ` Jan Beulich
2025-03-18 15:30 ` [PATCH v3 2/3] drivers: Change find_iommu_for_device function to take " Andrii Sultanov
2025-03-18 15:30 ` [PATCH v3 3/3] drivers: Make ioapic_sbdf and hpet_sbdf contain pci_sbdf_t Andrii Sultanov
2025-03-20 16:30 ` Jan Beulich
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=cover.1742311401.git.sultanovandriy@gmail.com \
--to=sultanovandriy@gmail.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.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.