On Tue, 18 Jun 2024 at 17:37, Zheyu Ma <zheyum...@gmail.com> wrote:
>
> The Exynos4210 RNG module requires 32-bit (4-byte) accesses to its registers.
> According to the User Manual Section 25.3[1], the registers for RNG operations
> are 32-bit. This change ensures that the memory region operations for the
> RNG module enforce the correct access sizes, preventing invalid memory 
> accesses.
>
> [1] 
> http://www.mediafire.com/view/8ly2fqls3c9c31c/Exynos_4412_SCP_Users_Manual_Ver.0.10.00_Preliminary0.pdf
>
> Reproducer:
> cat << EOF | qemu-system-aarch64 -display none \
> -machine accel=qtest, -m 512M -machine smdkc210 -qtest stdio
> readb 0x10830454
> EOF
>
> Suggested-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> Signed-off-by: Zheyu Ma <zheyum...@gmail.com>
> ---
> Changes in v3:
> - point to the device specification

Applied to target-arm.next, thanks.

-- PMM

Reply via email to