Closed fuzhongl closed 2 years ago
Need to modify the RTVM kernel config: From: CONFIG_SERIAL_8250_NR_UARTS=32 CONFIG_SERIAL_8250_RUNTIME_UARTS=4
To: CONFIG_SERIAL_8250_NR_UARTS=16 CONFIG_SERIAL_8250_RUNTIME_UARTS=16
[External_System_ID] ACRN-7100
Fixed in V2.7
Describe the bug A clear and concise description of what the bug is.
Platform TGL
Codebase V2.6
Scenario Industry
To Reproduce 1.Use config-tool app to config 1 legacy vUART and 7 PCI based vUARTs as below and change 16 to 32 for MAX_EMULATED_MMIO as32
And then generate new xml file. Rebuild ACRN with the generated xml file
2.boot SOS and RTVM
In RTVM, $ lspci |grep MosChip ; to find out all PCI vuart serial controllers.
$ dmesg |grep ttyS* ; to find out all ttyS devices.
Expected result
in RTVM can find all ttyS* devices for PCI based VUART
Actual result
can find 7 PCI VUART serial controllers with " lspci |grep MosChip ";
but only can find 3 pci vuart devices with "demsg | grep ttyS or ls /dev/ttyS "