Re: CXL memory device not created correctly
From: Jonathan Cameron
Date: Fri May 19 2023 - 11:10:28 EST
On Thu, 18 May 2023 18:38:46 -0700
Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote:
> 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
That just failed to make it into an upstream pull request today due to some
bugs in a the poison list set that came before it :(
v6 or poison list and events support are both on list now and hopefully will make
this QEMU cycle so be in 8.1
Jonathan
>
> Thanks,
> Davidlohr