Re: [PATCH] hw/cxl: Fix background completion percentage calculation

Davidlohr Bueso
2024-07-30T05:24:48Z

On Mon, 29 Jul 2024, ajay.opensrc@micron.com wrote:\n
>From: Ajay Joshi <ajayjoshi@micron.com>
>
>The current completion percentage calculation
>does not account for the relative time since
>the start of the background activity, this leads
>to showing incorrect start percentage vs what has
>actually been completed.
>
>This patch calculates the percentage based on the actual
>elapsed time since the start of the operation.
>
>Fixes: 221d2cfbdb ("hw/cxl/mbox: Add support for background operations")
>
>Signed-off-by: Ajay Joshi <ajay.opensrc@micron.com>

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>