Skip to content

Address Association Register setup for RP

Xu Yilun linux-coco linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI/IDE: Add/export mini helpers for platform TSM driversdrivers/pci/ide.c include/linux/pci-ide.h+9 -53 replies
2/3PCI/IDE: Add Address Association Register setup for RPdrivers/pci/ide.c include/linux/pci-ide.h+74 -110 replies
3/3coco/tdx-host: Illustrate IDE Address Association Register setupdrivers/virt/coco/tdx-host/tdx-host.c+4 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1