[PATCH v3 0/3] i3c: mipi-i3c-hci: Add support for AMD_PT and PIO fixes

Jian-Ming Liao tim678910 at gmail.com
Mon Aug 17 01:26:44 PDT 2026


This patch series introduces support for the AMD_PT I3C controller and
includes several improvements to the MIPI I3C HCI driver to enhance
stability and compliance with the latest specifications.

Summary of changes:
- Patch 1: Fix missing STAT_IBI_STATUS_THLD in PIO mode by enabling
  IBI threshold interrupts alongside error interrupts.
- Patch 2: Add explicit PIO queue management (enablement, starting,
  and stop/restart logic) for compliance with HCI v1.2.
- Patch 3: Add device ID and platform support for the AMD_PT I3C
  controller.

Changes in v3:
- Addressed review feedback from Adrian Hunter:
  - Patch 1: Added Fixes tag; updated commit message and code
    comment to reflect missing STAT_IBI_STATUS_THLD and interrupt
    activation on first transfer; aligned From: and Signed-off-by:.
  - Patch 2: Aligned From: and Signed-off-by: email addresses.
  - Patch 3: Restored Frank's Reviewed-by tag from v1; formatted
    platform_device_id entry with '{' on a separate line; moved
    amd_pt_info to match device table order; added space before
    closing brace in PCI device table; aligned email addresses.

Changes in v2:
- Patch 1: Removed unverified "Hot-Join" wording from comments and
  commit message.
- Patch 2: Addressed review feedback from Frank Li:
  - Removed '-' prefixes from commit message.
  - Reverted unnecessary debug line movements and cleaned up 
    macro alignments.
  - Removed redundant manual kfree(pio) to prevent double-free issues.
  - Adopted a helper macro for HCI version checks instead of hardcoding.
- Patch 3: No changes (rebased).

Testing:
These changes have been validated on the Intel Panther Lake (PTL) and
AMD_PT platforms. No regressions were observed for existing
controllers.

Jian-Ming Liao (3):
  i3c: mipi-i3c-hci: Fix missing STAT_IBI_STATUS_THLD in PIO mode
  i3c: mipi-i3c-hci: Add PIO queue management support for HCI v1.2
  i3c: mipi-i3c-hci: Add support for AMD_PT I3C controller

 drivers/i3c/master/mipi-i3c-hci/core.c        |  5 ++
 drivers/i3c/master/mipi-i3c-hci/hci.h         |  5 ++
 .../master/mipi-i3c-hci/mipi-i3c-hci-pci.c    |  9 +++
 drivers/i3c/master/mipi-i3c-hci/pio.c         | 74 +++++++++++++++++--
 4 files changed, 87 insertions(+), 6 deletions(-)

-- 
2.43.0




More information about the linux-i3c mailing list