答复: 答复: [PATCH] hw/arm/aspeed: fix connect_serial_hds_to_uarts

2024-12-13 Thread kenneth_jia--- via
> Which QEMU machine are you using ? ast2600-evb Thanks, Kenneth -邮件原件- 发件人: Cédric Le Goater 发送时间: 2024年12月13日 17:57 收件人: Kenneth Jia(贾纪东_华硕上海) ; 'qemu-...@nongnu.org' 抄送: 'Cédric Le Goater' ; 'Philippe Mathieu-Daudé' ; 'Jamin Lin' ; 'Andrew Jeffery' ; 'Gavin Shan' ; 'open lis

答复: [PATCH] hw/arm/aspeed: fix connect_serial_hds_to_uarts

2024-12-13 Thread kenneth_jia--- via
We plans to use a relatively large number of UART connections, and currently test all UARTs that can be used. When we use qumu for simulation, the problem was discovered. The current code does not allocate char devices with index 5 (label serial5). And even if there are more serial devices, th

[PATCH] hw/arm/aspeed: fix connect_serial_hds_to_uarts

2024-12-12 Thread kenneth_jia--- via
From 24d3badbbb9dcc0d220609a7dd30f8da5002cba7 Mon Sep 17 00:00:00 2001 From: Kenneth Jia Date: Thu, 12 Dec 2024 20:42:04 +0800 Subject: [PATCH]hw/arm/aspeed: fix connect_serial_hds_to_uarts In the loop, we need ignore the index increase when uart == uart_chosen We should increase the in