Re: CXL memory device not created correctly

From: Davidlohr Bueso
Date: Thu May 18 2023 - 22:12:36 EST


On Fri, 19 May 2023, LiuLele wrote:

In my testing CXL device /sys/bus/cxl/devices/mem0 not created, and the get error messages :

```
cxl_pci 0000:0d:00.0: Failed to get interrupt for event Info log
```

My test environment is a qemu CXL emulator with qemu v8.0.0, Linux kernel v6.3.0.
While with kernel 5.9.13, /sys/bus/cxl/devices/mem0 can be created.

Yes, this can be annoying and would argue the probe should not error out.
Regardless, the actual qemu support is in Jonathan's tree:

https://gitlab.com/jic23/qemu/-/commit/a04e6476df363d1f6bc160577b30dda6564d3f67

Thanks,
Davidlohr