Re: [PATCH v2 6/6] RISC-V: Implement sparsemem

2018-12-17 Thread Logan Gunthorpe
On 2018-12-17 7:59 a.m., Nick Kossifidis wrote: > Having memory blocks of a minimum size of 1GB doesn't make much sense. > It makes it harder to implement hotplug on top of this since we'll only > able to add/remove 1GB at a time. ARM used to do the same and they > switched to 27bits (https:/

Re: [PATCH v2 6/6] RISC-V: Implement sparsemem

2018-12-17 Thread Nick Kossifidis
Hello Logan, Στις 2018-10-15 20:57, Logan Gunthorpe έγραψε: This patch implements sparsemem support for risc-v which helps pave the way for memory hotplug and eventually P2P support. We introduce Kconfig options for virtual and physical address bits which are used to calculate the size of the

[PATCH v2 6/6] RISC-V: Implement sparsemem

2018-10-15 Thread Logan Gunthorpe
This patch implements sparsemem support for risc-v which helps pave the way for memory hotplug and eventually P2P support. We introduce Kconfig options for virtual and physical address bits which are used to calculate the size of the vmemmap and set the MAX_PHYSMEM_BITS. The vmemmap is located di