|
From: | Cédric Le Goater |
Subject: | Re: [PATCH] hw/sd/sdcard: Fix calculation of size when using eMMC boot partitions |
Date: | Tue, 5 Nov 2024 17:31:58 +0100 |
User-agent: | Mozilla Thunderbird |
On 11/5/24 17:13, Michael Tokarev wrote:
28.10.2024 19:23, Jan Luebbe wrote:The sd_bootpart_offset() function calculates the *runtime* offset which changes as the guest switches between accessing the main user data area and the boot partitions by writing to the EXT_CSD_PART_CONFIG_ACC_MASK bits, so it shouldn't be used to calculate the main user data area size. Instead, subtract the boot_part_size directly (twice, as there are two identical boot partitions defined by the eMMC spec).Should I pick this up for stable-9.1 branch?
yes. Thanks, C.
[Prev in Thread] | Current Thread | [Next in Thread] |