qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/ufs: Fix mcq register range determination logic


From: Minwoo Im
Subject: Re: [PATCH] hw/ufs: Fix mcq register range determination logic
Date: Fri, 5 Jul 2024 05:54:53 +0900

On 24-07-03 17:54:10, Jeuk Kim wrote:
> The function ufs_is_mcq_reg() only evaluated the range of the
> mcq_op_reg offset, which is defined as a constant.
> Therefore, it was possible for ufs_is_mcq_reg() to return true
> despite ufs device is configured to not support the mcq.
> This could cause ufs_mmio_read()/ufs_mmio_write() to overflow the
> buffer. So fix it.
> 
> Fixes: 5c079578d2e4 ("hw/ufs: Add support MCQ of UFSHCI 4.0")
> Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>

Reviewed-by: Minwoo Im <minwoo.im@samsung.com>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]