Loading arch/arm64/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,16 @@ config NEED_SG_DMA_LENGTH config SMP def_bool y config HOTPLUG_SIZE_BITS int "Memory hotplug block size(28 => 256MB 30 => 1GB)" depends on SPARSEMEM default 30 help Selects granularity of hotplug memory. Block size for memory hotplug is represent as a power of 2. If unsure, stick with default value. config ARM64_DMA_USE_IOMMU bool select ARM_HAS_SG_CHAIN Loading arch/arm64/configs/msm-auto-perf_defconfig +1 −0 Original line number Diff line number Diff line CONFIG_HOTPLUG_SIZE_BITS=28 CONFIG_LOCALVERSION="-perf" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_FHANDLE=y Loading arch/arm64/configs/msm-auto_defconfig +1 −0 Original line number Diff line number Diff line CONFIG_HOTPLUG_SIZE_BITS=28 # CONFIG_LOCALVERSION_AUTO is not set CONFIG_FHANDLE=y CONFIG_AUDIT=y Loading arch/arm64/include/asm/sparsemem.h +4 −0 Original line number Diff line number Diff line Loading @@ -18,7 +18,11 @@ #ifdef CONFIG_SPARSEMEM #define MAX_PHYSMEM_BITS 48 #ifndef CONFIG_MEMORY_HOTPLUG #define SECTION_SIZE_BITS 30 #else #define SECTION_SIZE_BITS CONFIG_HOTPLUG_SIZE_BITS #endif #endif #endif Loading
arch/arm64/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -203,6 +203,16 @@ config NEED_SG_DMA_LENGTH config SMP def_bool y config HOTPLUG_SIZE_BITS int "Memory hotplug block size(28 => 256MB 30 => 1GB)" depends on SPARSEMEM default 30 help Selects granularity of hotplug memory. Block size for memory hotplug is represent as a power of 2. If unsure, stick with default value. config ARM64_DMA_USE_IOMMU bool select ARM_HAS_SG_CHAIN Loading
arch/arm64/configs/msm-auto-perf_defconfig +1 −0 Original line number Diff line number Diff line CONFIG_HOTPLUG_SIZE_BITS=28 CONFIG_LOCALVERSION="-perf" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_FHANDLE=y Loading
arch/arm64/configs/msm-auto_defconfig +1 −0 Original line number Diff line number Diff line CONFIG_HOTPLUG_SIZE_BITS=28 # CONFIG_LOCALVERSION_AUTO is not set CONFIG_FHANDLE=y CONFIG_AUDIT=y Loading
arch/arm64/include/asm/sparsemem.h +4 −0 Original line number Diff line number Diff line Loading @@ -18,7 +18,11 @@ #ifdef CONFIG_SPARSEMEM #define MAX_PHYSMEM_BITS 48 #ifndef CONFIG_MEMORY_HOTPLUG #define SECTION_SIZE_BITS 30 #else #define SECTION_SIZE_BITS CONFIG_HOTPLUG_SIZE_BITS #endif #endif #endif