On 12/18/2025 11:08 PM, Alison Schofield wrote:
> On Wed, Dec 17, 2025 at 01:56:35PM -0600, Cheatham, Benjamin wrote:
>> On 12/16/2025 10:47 PM, Alison Schofield wrote:
>>> On Mon, Dec 15, 2025 at 03:36:23PM -0600, Ben Cheatham wrote:
>
>>>
>>> I have no test for the protocol errors. Is there anything you can
>>> share for that?
>>
>> I don't have any at the moment. My first idea for one is to modify the CXL
>> test module(s)
>> to replace /sys/kernel/debug/cxl/einj_inject with a dummy that prints a
>> message to the dmesg
>> then check for that message in the test after running the command. That
>> would somewhat match
>> the real use case, but doesn't test any actual error injection. If you think
>> that would
>> be useful let me know and I'll put something together.
>
> As you may have guessed from my other comments, I got this running on
> real system, and am able to sanity check the cxl-cli commands for the
> protocol errors.
>
> Does qemu have support for any of this?
No, QEMU doesn't support EINJ. I think it's expected you do error injection
through
the QEMU monitor instead.