Messages in this thread | | | Date | Wed, 9 Nov 2022 15:33:17 +0100 | From | Robert Richter <> | Subject | Re: [PATCH v2 07/12] cxl: Remove dev_is_cxl_root_child() check in devm_cxl_enumerate_ports() |
| |
Vishal,
On 21.10.22 06:32:33, Verma, Vishal L wrote: > I was waiting to post the cxl-cli patches for this until the kernel > discussion settles - but maybe this topology layout is settled enough? > > In the meanwhile I've pushed a branch with these fixups here: > https://github.com/pmem/ndctl/tree/vv/rch-support
I sent out the v3 series today, patch #1 contains the change of the port's reference device. You need to adopt the ndctl patches for this. To find the alias in sysfs, you need to lookup the firmware_node instead of the physical_node. I would suggest to change the implemenation to just check for both entries.
Thanks,
-Robert
| |