[RFC] MAX_RESERVED_REGIONS hard-coded value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using a Device Tree with more then 32 reserved memory regions and
I'm seeing the following error while booting the Kernel:
[    0.000000] OF: reserved mem: not enough space all defined regions.

My understanding is that this is due to the hard-coded value of
MAX_RESERVED_REGIONS in drivers/of/of_reserved_mem.c

Googling around, I found this old discussion [1] in which Miles
suggests to add a CONFIG_MAX_OF_RESERVED_REGIONS kconfig option to
configure MAX_RESERVED_REGIONS. Rob replied to Miles' email saying
that he would prefer MAX_RESERVED_REGIONS to be dynamic. However,
later in the thread, it looks like making MAX_RESERVED_REGIONS dynamic
poses some implementation issues [2]. At that point the discussion
seemed to have stopped.

Is there any chance for the patch proposed by Miles to be reconsidered?

Regards,
Daniele

[1] https://lkml.org/lkml/2018/11/21/423
[2] https://lkml.org/lkml/2018/11/28/275



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux