Re: Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-08 Thread Jonathan Cameron via
On Fri, 8 Mar 2024 10:01:34 +0800 Yuquan Wang wrote: > On 2024-03-07 20:10, jonathan.cameron wrote: > > > Hack is fine the relevant device with lspci -tv and then use > > setpci -s 0d:00.0 0x208.l=0 > > to clear all the mask bits for uncorrectable errors. > > Thanks! The suggestions from you

Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-07 Thread Yuquan Wang
On 2024-03-07 20:10, jonathan.cameron wrote: > Hack is fine the relevant device with lspci -tv and then use > setpci -s 0d:00.0 0x208.l=0 > to clear all the mask bits for uncorrectable errors. Thanks! The suggestions from you and Terry did work! BTW, is my understanding below about CXL RAS corr

Re: Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-06 Thread Terry Bowman
HI Yuquan, For your test, the first logging will come from the AER driver if everything is working correctly. You may want to check if the upstream pci bridge's AER UIE/CIE masks are set. This could prevent the error from handled by the OS's aer driver. Regards, Terry On 3/6/24 11:12, Terry B

Re: Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-06 Thread Terry Bowman
Hi Jon, This appears to partially address the same problem myself and Robert are working on. We are working to add support for CXL port devices to include root ports, RCECs, USPs, and DSPs. This was covered with LPC presentation and discussion. We did not originally include RCEC error handlin

Re: Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-06 Thread Terry Bowman
Hi Yuquan an Jon, I added responses inline below. On 3/6/24 07:23, Jonathan Cameron wrote: > On Wed, 6 Mar 2024 19:27:07 +0800 > Yuquan Wang wrote: > >> Hello, Jonathan >> >> Recently I met some problems on CXL RAS tests. >> >> I tried to use "cxl-inject-uncorrectable-errors" and >> "cxl-inje

Enabling internal errors for VH CXL devices: [was: Re: Questions about CXL RAS injection test in qemu]

2024-03-06 Thread Jonathan Cameron via
On Wed, 6 Mar 2024 19:27:07 +0800 Yuquan Wang wrote: > Hello, Jonathan > > Recently I met some problems on CXL RAS tests. > > I tried to use "cxl-inject-uncorrectable-errors" and > "cxl-inject-correctable-error" > qmp to inject CXL errors, however, there was no any kernel printing > informat

Questions about CXL RAS injection test in qemu

2024-03-06 Thread Yuquan Wang
Hello, Jonathan Recently I met some problems on CXL RAS tests. I tried to use "cxl-inject-uncorrectable-errors" and "cxl-inject-correctable-error" qmp to inject CXL errors, however, there was no any kernel printing information in my qemu machine. And the qmp connection was unstable that made