Re: [PATCH] cxl/hdm: Fix hdm decoder init by adding COMMIT field check

From: Dave Jiang
Date: Thu Mar 02 2023 - 12:02:24 EST




On 3/2/23 9:28 AM, Davidlohr Bueso wrote:
On Thu, 02 Mar 2023, Dave Jiang wrote:

It does sound like a bug with QEMU emulation currently.

Agreed, but still, crashing the kernel is always a no no - like with
the passthrough decoder situation we had.

I wonder if we are missing a check in cxl_decoder_commit() to exit if COMMITTED bit is set in register. The current code just blindly start programming the registers.


Thanks,
Davidlohr