|
From: | Richard Henderson |
Subject: | Re: [PATCH v4] hw/arm/smmuv3: Add GBPA register |
Date: | Sat, 11 Feb 2023 13:48:57 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/10/23 12:19, Mostafa Saleh wrote:
@@ -1512,6 +1553,10 @@ static const VMStateDescription vmstate_smmuv3 = {VMSTATE_END_OF_LIST(),}, + .subsections = (const VMStateDescription * []) { + &vmstate_gbpa, + NULL + }
Actually, I suspect that you need a pre_load hook that resets gbpa, which will then be overwritten if and only if the saved value != reset value.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |