mirror of https://gitlab.com/qemu-project/qemu
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.
![]() In the original model, each subsystem (PSP, SSP, and TSP) created its own set of 13 UART devices, resulting in a total of 39 UART instances. However, on real AST2700 hardware, there is only one set of 13 UARTs shared among all processors. This commit reworks the UART handling to correctly model the shared hardware design. The PSP now creates the full set of 13 UART instances, while the SSP and TSP link to the corresponding shared UART device through object properties. Changes include: - Add "DEFINE_PROP_LINK("uart", ...)" and "DEFINE_PROP_INT32("uart-dev", ...)" to allow each coprocessor to reference a specific shared UART instance. - Modify SSP to link to PSP’s UART4, and TSP to link to PSP’s UART7. - Introduce "uart_alias" to remap the UART’s MMIO region into the coprocessor’s memory space. - Redirect the UART interrupt to the coprocessor’s NVIC, replacing the default routing to the PSP’s GIC. With this change, only one set of 13 UART devices is instantiated by the PSP, while the SSP and TSP reuse them via aliasing and shared interrupt routing, matching the real AST2700 hardware behavior. 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/20251015062210.3128710-7-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com> |
1 day ago | |
---|---|---|
.. | ||
allwinner-a10.h | 10 months ago | |
allwinner-h3.h | 10 months ago | |
allwinner-r40.h | 10 months ago | |
armsse-version.h | 5 years ago | |
armsse.h | 2 years ago | |
armv7m.h | 2 years ago | |
aspeed.h | 4 months ago | |
aspeed_coprocessor.h | 1 day ago | |
aspeed_soc.h | 1 week ago | |
bcm2835_peripherals.h | 1 year ago | |
bcm2836.h | 2 years ago | |
bcm2838.h | 2 years ago | |
bcm2838_peripherals.h | 2 years ago | |
boot.h | 4 months ago | |
bsa.h | 8 months ago | |
digic.h | 5 years ago | |
exynos4210.h | 2 years ago | |
fdt.h | ||
fsl-imx6.h | 6 months ago | |
fsl-imx6ul.h | 6 months ago | |
fsl-imx7.h | 9 months ago | |
fsl-imx8mp.h | 7 months ago | |
fsl-imx25.h | 6 months ago | |
fsl-imx31.h | 6 months ago | |
linux-boot-if.h | 5 years ago | |
max78000_soc.h | 4 months ago | |
msf2-soc.h | 2 years ago | |
npcm7xx.h | 8 months ago | |
npcm8xx.h | 5 months ago | |
nrf51.h | ||
nrf51_soc.h | 9 months ago | |
omap.h | 5 months ago | |
primecell.h | ||
raspberrypi-fw-defs.h | 1 year ago | |
raspi_platform.h | 2 years ago | |
smmu-common.h | 1 month ago | |
smmuv3.h | 2 years ago | |
soc_dma.h | 5 months ago | |
stm32f100_soc.h | 2 years ago | |
stm32f205_soc.h | 2 months ago | |
stm32f405_soc.h | 1 year ago | |
stm32l4x5_soc.h | 6 months ago | |
virt.h | 3 weeks ago | |
xlnx-versal-version.h | 2 weeks ago | |
xlnx-versal.h | 2 weeks ago | |
xlnx-zynqmp.h | 2 weeks ago |