qemu/hw/ssi
Jamin Lin 13ed972b4c hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030
On AST1030, reading the FMC_WDT2 register always returns 0xFFFFFFFF.
This issue is due to the aspeed_smc_read function, which checks for the
ASPEED_SMC_FEATURE_WDT_CONTROL feature. Since AST1030 was missing this
feature flag, the read operation fails and returns -1.

To resolve this, add the WDT_CONTROL feature to AST1030's feature set
so that FMC_WDT2 can be correctly accessed by firmware.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Fixes: 2850df6a81 ("aspeed/smc: Add AST1030 support ")
Link: https://lore.kernel.org/qemu-devel/20250804014633.512737-1-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-08-04 09:07:38 +02:00
..
allwinner-a10-spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
aspeed_smc.c hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030 2025-08-04 09:07:38 +02:00
bcm2835_spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
ibex_spi_host.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
imx_spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
Kconfig hw/ssi: Allwinner A10 SPI emulation 2024-10-15 15:16:17 +01:00
meson.build hw/ssi: Allwinner A10 SPI emulation 2024-10-15 15:16:17 +01:00
mss-spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
npcm7xx_fiu.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
npcm_pspi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
pl022.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
pnv_spi.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
sifive_spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
ssi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
stm32f2xx_spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/ssi: Allwinner A10 SPI emulation 2024-10-15 15:16:17 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xilinx_spi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
xilinx_spips.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
xlnx-versal-ospi.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00