Hi Shrihari, The protocol-selection checks now reject the bad writes from my previous review. The TC/VC map defaults need another change, though.
On 3c99db7705c1 plus this series, Resource Control sets 1 and 2 read zero at cold boot and after a system reset on the tested CXL root, upstream and downstream ports and Type-3 devices. PCIe 6.2 section 7.9.29.7 requires the TC/VC Map default to match Table 2-46: TC3 to VC3 and TC4 to VC4. Software that keeps the default map and only selects UIO and sets VC Enable writes 0x80000200, which reads back 0x200. Restoring defaults of 0x08 and 0x10 makes that read-modify-write produce 0x80000208 and 0x80000210; both then retain VC Enable. Could init and reset restore those map bits while leaving VC Enable clear? Many thanks, Junjie
