]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc64: Make FORCE_MAX_ZONEORDER to 13 for ATU
authorAllen Pais <allen.pais@oracle.com>
Fri, 7 Jul 2017 07:38:12 +0000 (13:08 +0530)
committerAllen Pais <allen.pais@oracle.com>
Tue, 11 Jul 2017 07:36:49 +0000 (13:06 +0530)
This change allows ATU (new IOMMU) in SPARC systems to request
large (32M) contiguous memory during boot for creating IOTSB backing
store.

Orabug: 23239179

Reviewed-by: chris hyser <chris.hyser@oracle.com>
Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/Kconfig

index 0075cb6bb231c9a4431234358c98313769400fff..0f3ee99317c89f9d654a498508322b5e1ca8bffb 100644 (file)
@@ -97,6 +97,10 @@ config ARCH_PROC_KCORE_TEXT
 config CPU_BIG_ENDIAN
        def_bool y
 
+config ARCH_ATU
+       bool
+       default y if SPARC64
+
 config IOMMU_HELPER
        bool
        default y if SPARC64
@@ -379,6 +383,7 @@ config ARCH_SPARSEMEM_DEFAULT
 
 config FORCE_MAX_ZONEORDER
        int "Maximum zone order"
+       default "13" if ARCH_ATU
        default "13" if KEXEC
        default "16"
        help