]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ssi/aspeed_smc: Allow 64-bit wide flash accesses
authorJoe Komlodi <komlodi@google.com>
Tue, 22 Apr 2025 00:27:47 +0000 (00:27 +0000)
committerCédric Le Goater <clg@redhat.com>
Mon, 5 May 2025 07:38:55 +0000 (09:38 +0200)
commit47cdaa46f3f2c6710911543f2ec836eeb624969e
tree45db112c241380643aa216b6ebd08e02620fd682
parentba27ba302a264117c8b8427f944ced1bed17c438
hw/ssi/aspeed_smc: Allow 64-bit wide flash accesses

cde3247651dc998da5dc1005148302a90d72f21f fixed atomicity for LDRD, which
ends up making accesses 64-bits wide. However, the AST2600 bootloader
can sometimes compile with LDRD instructions, which causes the acceses
to fail when accessing the memory-mapped SPI flash.

To fix this, increase the MMIO region valid access size to allow for
64-bit accesses.

Signed-off-by: Joe Komlodi <komlodi@google.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250422002747.2593465-1-komlodi@google.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/ssi/aspeed_smc.c