You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/dma
Yannick Voßen a344e22917 hw/dma/zynq-devcfg: Fix register memory
Registers are always 32 bit aligned. R_MAX is not the maximum
register address, it is the maximum register number. The memory
size can be determined by 4 * R_MAX.

Currently every register with an offset bigger than 0x40 will be
ignored, because the memory size is set wrong. This effects the
MCTRL register and makes it useless. This commit restores the
correct behaviour.

Cc: qemu-stable@nongnu.org
Fixes: 034c2e6902 ("dma: Add Xilinx Zynq devcfg device model")
Signed-off-by: YannickV <Y.Vossen@beckhoff.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251111102836.212535-9-corvin.koehne@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
Kconfig hw/dma: Implement a Xilinx CSU DMA model 5 years ago
bcm2835_dma.c qom: Have class_init() take a const data argument 7 months ago
i8257.c qom: Make InterfaceInfo[] uses const 7 months ago
i82374.c qom: Have class_init() take a const data argument 7 months ago
meson.build hw/dma: Remove pxa2xx_dma 1 year ago
omap_dma.c hw/arm: Replace TABs for spaces in OMAP board and device code 7 months ago
pl080.c qom: Have class_init() take a const data argument 7 months ago
pl330.c qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 1 month ago
rc4030.c qom: Have class_init() take a const data argument 7 months ago
sifive_pdma.c qom: Have class_init() take a const data argument 7 months ago
soc_dma.c hw/dma: avoid apparent overflow in soc_dma_set_request 2 years ago
sparc32_dma.c qom: Have class_init() take a const data argument 7 months ago
trace-events hw/dma: Add a trace log for a description loading failure 1 year ago
trace.h
xilinx_axidma.c qom: Make InterfaceInfo[] uses const 7 months ago
xlnx-zdma.c qom: Have class_init() take a const data argument 7 months ago
xlnx-zynq-devcfg.c hw/dma/zynq-devcfg: Fix register memory 2 weeks ago
xlnx_csu_dma.c hw/dma/xlnx_csu_dma: skip automatic zero-init of large array 6 months ago
xlnx_dpdma.c qom: Have class_init() take a const data argument 7 months ago