[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-arm
Subject: Re: [PATCH] hw/nvram: Avoid unnecessary Xilinx eFuse backstore write
From: Philippe_Mathieu-Daudé <philmd () linaro ! org>
Date: 2023-04-28 23:08:40
Message-ID: 67418868-d8d7-7aee-3065-08b6f6691850 () linaro ! org
[Download RAW message or body]
On 26/4/23 23:16, Tong Ho wrote:
> Add a check in the bit-set operation to write the backstore
> only if the affected bit is 0 before.
>
> With this in place, there will be no need for callers to
> do the checking in order to avoid unnecessary writes.
>
> Signed-off-by: Tong Ho <tong.ho@amd.com>
> ---
> hw/nvram/xlnx-efuse.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic