Re: [PATCH v4 9/9] cxl/mem: Add payload dumping for debug

2021-02-16 Thread Dan Williams
On Tue, Feb 16, 2021 at 7:50 AM Jonathan Cameron wrote: > > On Mon, 15 Feb 2021 17:45:38 -0800 > Ben Widawsky wrote: > > > It's often useful in debug scenarios to see what the hardware has dumped > > out. As it stands today, any device error will result in the payload not > > being copied out, so

Re: [PATCH v4 9/9] cxl/mem: Add payload dumping for debug

2021-02-16 Thread Jonathan Cameron
On Mon, 15 Feb 2021 17:45:38 -0800 Ben Widawsky wrote: > It's often useful in debug scenarios to see what the hardware has dumped > out. As it stands today, any device error will result in the payload not > being copied out, so there is no way to triage commands which weren't > expected to fail (

[PATCH v4 9/9] cxl/mem: Add payload dumping for debug

2021-02-15 Thread Ben Widawsky
It's often useful in debug scenarios to see what the hardware has dumped out. As it stands today, any device error will result in the payload not being copied out, so there is no way to triage commands which weren't expected to fail (and sometimes the payload may have that information). The functi