Description of problem: The mainline kernel has already supported it in Linux-6.11. This patch series enable RISC-V ACPI NUMA support which was based on the recently approved ACPI ECR The code originates from the upstream, and we have made some interface modifications to adapt the Linux-6.6. Version-Release number of selected component (if applicable): How reproducible: Launch the Qemu machine qemu-system-riscv64 -nographic -machine virt,pflash0=pflash0,pflash1=pflash1 -smp 4 -m 8G -blockdev node-name=pflash0,driver=file,read-only=on,filename=RISCV_VIRT_CODE.fd -blockdev node-name=pflash1,driver=file,filename=RISCV_VIRT_VARS.fd -object memory-backend-ram,size=4G,id=m0 -object memory-backend-ram,size=4G,id=m1 -numa node,memdev=m0,cpus=0-1,nodeid=0 -numa node,memdev=m1,cpus=2-3,nodeid=1 -numa dist,src=0,dst=1,val=30 -kernel linux/arch/riscv/boot/Image -initrd buildroot/output/images/rootfs.cpio -append "root=/dev/ram ro console=hvc0 earlycon=sbi" Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5219