The main purpose of this patch series is to enhance existing support (Identify Switch Device & Get Physical Port State) as well as add new support (Physical Port Control) of FM-API based physical switch command set as per CXL spec r3.2 Table 8-230:Physical Switch.
[Patch 1/3] stores port info during enumeration for both mailbox and mctp based component command interface (cci). This not only simplifies command support of Identify Switch Device (Opcode 5100h) and Get Physical Port State (Opcode 5101h) but also provides necessary physical port information for future additions hence [Patch 2/3]. [Patch 3/3] and final patch adds command support of Physical Port Control(Opcode 5102h). This includes assert-deassert PERST and reset PPB based on the requested physical port as response payload. The patches are generated against the Johnathan's tree https://gitlab.com/jic23/qemu.git and branch cxl-2025-03-20. Signed-off-by: Arpit Kumar <arpit1.ku...@samsung.com> Arpit Kumar (3): hw/cxl: Storing physical ports info during enumeration hw/cxl: Simplified Identify Switch Device & Get Physical Port State hw/cxl: Add Physical Port Control (Opcode 5102h) hw/cxl/cxl-mailbox-utils.c | 423 +++++++++++++++++++++++++++--------- include/hw/cxl/cxl_device.h | 36 +++ 2 files changed, 352 insertions(+), 107 deletions(-) -- 2.34.1