Commit cf942d0268 for qemu.org

commit cf942d0268d8f431ab0794f39700c3efe9210a06
Author: Bernhard Beschow <shentey@gmail.com>
Date:   Mon Jul 27 10:28:47 2026 +0100

    hw/net/can/flexcan: Fix RXIMR reset mask

    The RXIMR registers are not affected by soft reset, so their reset mask
    must preserve all entries. Set the mask for the entire array instead of
    only the first register.

    Signed-off-by: Bernhard Beschow <shentey@gmail.com>
    Tested-by: Pavel Pisa <pisa@fel.cvut.cz>
    Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Message-id: 20260723070059.6332-9-shentey@gmail.com
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

diff --git a/hw/net/can/flexcan.c b/hw/net/can/flexcan.c
index f84f090a7f..205d0d6413 100644
--- a/hw/net/can/flexcan.c
+++ b/hw/net/can/flexcan.c
@@ -140,7 +140,7 @@ static const FlexcanRegs flexcan_regs_reset_mask = {
         .data = { 0xFFFFFFFF, 0xFFFFFFFF },
     } },
     ._reserved4 = {0},
-    .rximr = {0xFFFFFFFF},
+    .rximr = { [0 ... 63] = 0xFFFFFFFF },
     ._reserved5 = {0},
     .gfwr_mx6 = 0,
     ._reserved6 = {0},