[PATCH 0/3] Address Association Register setup for RP

Xu Yilun
2025-09-28T06:40:15Z

This patchset is for Address Association Register setup for RP. It is
based on devsec/tdx but the first 2 patches could be cleanly applied to
devsec/staging.

The last patch is not for apply. It takes TDX Connect as an example to
illustrate the usage of these newly introduced helpers.

ARM is expected to get benifit from this extra support in
pci_ide_stream_setup(). Intel TDX Connect should retrieve the address
range info from pci_ide.partner[PCI_IDE_RP].mem64 and use firmware call
for setup. AMD is expected to bypass the setup or does the setup but no
harm.

Xu Yilun (3):
PCI/IDE: Add/export mini helpers for platform TSM drivers
PCI/IDE: Add Address Association Register setup for RP
coco/tdx-host: Illustrate IDE Address Association Register setup

include/linux/pci-ide.h | 17 +++++++
drivers/pci/ide.c | 72 ++++++++++++++++++++++++---
drivers/virt/coco/tdx-host/tdx-host.c | 33 ++----------
3 files changed, 87 insertions(+), 35 deletions(-)

--
2.25.1