Created attachment 1367 [details] dmesg日志 Description of problem: 系统启动的时候报错:too many entries; ignoring [mem 0x70695000-0x70696fff] Version-Release number of selected component (if applicable): How reproducible: 插上CXL设备,循环启动,偶现 Actual results: 系统启动的时候报错:too many entries; ignoring [mem 0x70695000-0x70696fff] Expected results: 无报错 Additional info:
有部分数据无法写入到E820表里,系统能正常启动。 来自UEFI的内存分片数量应该是320+25条(因为报错了25次)
by designed, 因为内核的e820 table当前最大可以存放320条entries,除了默认的还会把boot parameter里传入的entries append到e820 table entries的末尾。这里可以推测是bios通过boot parameter传入的entries过多。 需要评估是否把config_nodes_shift扩大以支持更多的entries。
(In reply to zelin from comment #2) > by designed, 因为内核的e820 table当前最大可以存放320条entries,除了默认的还会把boot > parameter里传入的entries append到e820 table entries的末尾。这里可以推测是bios通过boot > parameter传入的entries过多。 需要评估是否把config_nodes_shift扩大以支持更多的entries。 另外确认了一下不能在config里扩展nodes_shift,否则会导致page flags不够用。可以考虑直接增大e820 table的entries size。 可以转交给x86的同学评估一下