[edk2-devel] ArmVirtPkg: boot fail on numa system

2022-07-05 Thread Mark-PK Tsai via groups.io
When qemu aarch64 is configured as NUMA, the EDK2 boot fail. Below is my test command: ``` qemu-system-aarch64 \ -nographic \ -serial tcp:localhost:54320 -serial tcp:localhost:54321 \ -smp 4 \ -s -S -machine virt,secure=on,mte=off,gic-version=3,virtualization=false \ -cpu max,sve=off \ -d unimp -se

[edk2-devel] [PATCH] ArmVirtPkg: Fix boot fail on numa system.

2022-07-05 Thread Mark-PK Tsai via groups.io
If "numa-node-id" is specified in a memory node, take node 0 as system memory instead of taking the first memory node. Cc: YJ Chiang Signed-off-by: Mark-PK Tsai --- ArmVirtPkg/PrePi/FdtParser.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a