[PATCH v2 6/8] riscv: Enable memory hotplugging for RISC-V
David Hildenbrand
david at redhat.com
Tue May 14 13:40:27 PDT 2024
On 14.05.24 20:17, Björn Töpel wrote:
> Alexandre Ghiti <alexghiti at rivosinc.com> writes:
>
>> On Tue, May 14, 2024 at 4:05 PM Björn Töpel <bjorn at kernel.org> wrote:
>>>
>>> From: Björn Töpel <bjorn at rivosinc.com>
>>>
>>> Enable ARCH_ENABLE_MEMORY_HOTPLUG and ARCH_ENABLE_MEMORY_HOTREMOVE for
>>> RISC-V.
>>>
>>> Signed-off-by: Björn Töpel <bjorn at rivosinc.com>
>>> ---
>>> arch/riscv/Kconfig | 2 ++
>>> 1 file changed, 2 insertions(+)
>>>
>>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
>>> index 6bec1bce6586..b9398b64bb69 100644
>>> --- a/arch/riscv/Kconfig
>>> +++ b/arch/riscv/Kconfig
>>> @@ -16,6 +16,8 @@ config RISCV
>>> select ACPI_REDUCED_HARDWARE_ONLY if ACPI
>>> select ARCH_DMA_DEFAULT_COHERENT
>>> select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
>>> + select ARCH_ENABLE_MEMORY_HOTPLUG if SPARSEMEM && 64BIT && MMU
>>
>> I think this should be SPARSEMEM_VMEMMAP here.
>
> Hmm, care to elaborate? I thought that was optional.
There was a discussion at LSF/MM today to maybe require
SPARSEMEM_VMEMMAP for hotplug. Would that work here as well?
--
Cheers,
David / dhildenb
More information about the linux-riscv
mailing list