[PATCH v2 0/4] RME-DA preparatory work

Jim MacArthur posted 4 patches 3 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260904-jmac-rme-da-prep-v2-0-fb461d78bbb2@linaro.org
Maintainers: John Snow <jsnow@redhat.com>, "Denis V. Lunev" <den@openvz.org>, "Michael S. Tsirkin" <mst@redhat.com>
hw/ide/ich.c                       | 72 +++++++++++++++++++++++++++++++++++++-
hw/pci-bridge/gen_pcie_root_port.c | 38 ++++++++++++++++++++
hw/pci/msi.c                       | 19 ++++++----
hw/pci/pcie.c                      | 15 ++++++++
include/hw/pci/msi.h               |  1 +
include/hw/pci/pcie.h              |  3 ++
include/hw/pci/pcie_regs.h         |  8 +++++
7 files changed, 149 insertions(+), 7 deletions(-)
[PATCH v2 0/4] RME-DA preparatory work
Posted by Jim MacArthur 3 weeks, 1 day ago
This is a subset of patches from Gustavo Romero's SMMU DA branch work,
featuring patches from Pierrick Bouvier and Viresh Kumar. These add
capabilities to the PCIe root port and ICH9 SATA driver, and also refactor
some code in hw/pci/msi.c for future use.

The goal here is to upstream work which is independent of Tao Tang's SMMU-V3
patches, while those are being reviewed. If/when Tao Tang's patches are
accepted, we can proceed with the remainder of the SMMU DA work.

I have spent some time understanding these patches and believe them to be
sensible, but some parts of them may be outside my understanding. In 
particular, we may be incorrectly advertising features here which are not
actually implemented; although this doesn't cause any problems I can see
with Linux or our test suites, I can quite easily set the feature flags to
zero and keep the code structure if that's a problem.

Jim

Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
---
Changes in v2:
- Removed RFC tag, rebased to current master. No other changes.
- Link to v1: https://lore.kernel.org/qemu-devel/20260818-jmac-rme-da-prep-v1-0-30fab951bc75@linaro.org

---
Pierrick Bouvier (4):
      hw/pci: add IDE + TEE capability to PCIe root port
      sata: add SPDM + IDE + TEE pci support
      hw/pci: add DVSEC RMEDA capability to PCIe root port
      hw/pci/msi: extract msi_message_address_register

 hw/ide/ich.c                       | 72 +++++++++++++++++++++++++++++++++++++-
 hw/pci-bridge/gen_pcie_root_port.c | 38 ++++++++++++++++++++
 hw/pci/msi.c                       | 19 ++++++----
 hw/pci/pcie.c                      | 15 ++++++++
 include/hw/pci/msi.h               |  1 +
 include/hw/pci/pcie.h              |  3 ++
 include/hw/pci/pcie_regs.h         |  8 +++++
 7 files changed, 149 insertions(+), 7 deletions(-)
---
base-commit: d2843fbf80260e4346c856819e8cea11768c9d0e
change-id: 20260818-jmac-rme-da-prep-8096fc816eee

Best regards,
-- 
Jim MacArthur <jim.macarthur@linaro.org>
Re: [PATCH v2 0/4] RME-DA preparatory work
Posted by Jim MacArthur 3 days, 6 hours ago
On Fri, Sep 04, 2026 at 05:05:00PM +0100, Jim MacArthur wrote:
> This is a subset of patches from Gustavo Romero's SMMU DA branch work,
> featuring patches from Pierrick Bouvier and Viresh Kumar. These add
> capabilities to the PCIe root port and ICH9 SATA driver, and also refactor
> some code in hw/pci/msi.c for future use.
> 
> The goal here is to upstream work which is independent of Tao Tang's SMMU-V3
> patches, while those are being reviewed. If/when Tao Tang's patches are
> accepted, we can proceed with the remainder of the SMMU DA work.
> 
> I have spent some time understanding these patches and believe them to be
> sensible, but some parts of them may be outside my understanding. In 
> particular, we may be incorrectly advertising features here which are not
> actually implemented; although this doesn't cause any problems I can see
> with Linux or our test suites, I can quite easily set the feature flags to
> zero and keep the code structure if that's a problem.
> 
> Jim
> 
> Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
> ---
> Changes in v2:
> - Removed RFC tag, rebased to current master. No other changes.
> - Link to v1: https://lore.kernel.org/qemu-devel/20260818-jmac-rme-da-prep-v1-0-30fab951bc75@linaro.org
> 

Thanks to Michael and Phillipe for reviewing this - it clearly needs more documentation on it; I'll have a new version up with better explanations shortly.

Jim