]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/aspeed: Set impl.min_access_size to 4
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 22 May 2025 02:33:02 +0000 (10:33 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit5c14d7cbd42326bf35d18cb765015edfc9883272
tree665e3d5aa2c028dd1128beb6de5b3f2360d83a36
parent5071c229106dc6fc46fd1b7667ffa12e0bc47b1d
hw/intc/aspeed: Set impl.min_access_size to 4

This patch explicitly sets ".impl.min_access_size = 4" to match the
declared ".valid.min_access_size = 4", enforcing stricter access size
checking and preventing inconsistent partial accesses to the interrupt
controller registers.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250522023305.2486536-2-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/intc/aspeed_intc.c