Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5963577imu; Tue, 13 Nov 2018 14:46:15 -0800 (PST) X-Google-Smtp-Source: AJdET5eQQ6axi5VFsX2DXSng7uldfrn5MWQao/J+90CBTSDIh1S4OgUgYbxXy3jWtmT/BSB4euFO X-Received: by 2002:a17:902:6686:: with SMTP id e6-v6mr6913189plk.173.1542149174960; Tue, 13 Nov 2018 14:46:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542149174; cv=none; d=google.com; s=arc-20160816; b=Khp/fL3IACBTjy9eNJwmz6cFYIS7FDob7PlSawVimm7PDfaNHhdd/Lr6+vmJR+9ZW4 xSaxJbnsi5jcEcRzq4L26Cn55A++BPZsfk4PYwyyNg5GG6N6HRMs3LJ4Nprn9d6C2gV/ FcPxgjhUuWDzKZL+u3IGRcRzI3qRKqvcBPapYNRgBRsWTCcjHAlLzXgHNwyfmdFI+XJm x3wlGvD5jpSd+l0iGERCYN4Enn3J2zUP9REyktS38EnFSJTCMGkdnC5BjL5jqurbY/cI rkdTawykOuK4PVSg3CAbCEWaSgiojv++N5nMoSm8DVJUYXyDGWnTedHEiZA9u35hkqJs R7VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=+rkJ089TaSjn3F4si4p8kqIOZBHngP+WQaSzf3iB7f4=; b=ZNDEoo+LOrrg76+hrwZjDhHeNBUkoPDy0G+bA8PKVc2gvtiU4aY3MYtEiPze6/gJHH RLLCHtvqATdCH9EZBqRpk2yGeEgqt0lUfIFE7OReEDbMNKHnQd9BUtNFt/hgCeqXvzYC biePCjqOXpXMDBq/vWYfz/qCSZ/z3oK/SDqRsEHrKk3vqMQRpVD+j9kYIFylUlWl3Yqf EjzmhPS7Mxle/4WUZ+ZvCLuhz5e39iRAKflkEbuDrLjaEbXUdVQ2k2WfJOIgwtly6g7b hhJrFHYRl7SxeN2UG58I9VAnKATaHso+td+Qtv32bT5I5ex+9gw9dYlgddgFsF2IaJjB SdaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u69si3083116pfj.219.2018.11.13.14.45.59; Tue, 13 Nov 2018 14:46:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731575AbeKNIoe (ORCPT + 99 others); Wed, 14 Nov 2018 03:44:34 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:38758 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726022AbeKNIoX (ORCPT ); Wed, 14 Nov 2018 03:44:23 -0500 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23993052AbeKMWmhraj5x (ORCPT ); Tue, 13 Nov 2018 23:42:37 +0100 Date: Tue, 13 Nov 2018 22:42:37 +0000 (GMT) From: "Maciej W. Rozycki" To: Ralf Baechle , Paul Burton cc: Christoph Hellwig , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] MIPS: SiByte: Enable ZONE_DMA32 for LittleSur In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LittleSur board is marked for high memory support and therefore clearly must provide a way to have enough memory installed for some to be present outside the low 4GiB physical address range. With the memory map of the BCM1250 SOC it has been built around it means over 1GiB of actual DRAM, as only the first 1GiB is mapped in the low 4GiB physical address range[1]. Complement commit cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.") then and also enable ZONE_DMA32 for LittleSur. References: [1] "BCM1250/BCM1125/BCM1125H User Manual", Revision 1250_1125-UM100-R, Broadcom Corporation, 21 Oct 2002, Section 3: "System Overview", "Memory Map", pp. 34-38 Signed-off-by: Maciej W. Rozycki Fixes: cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.") --- New in v3. --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) linux-mips-sibyte-littlesur-zone-dma32.diff Index: linux-20181104-littlesur64-defconfig/arch/mips/Kconfig =================================================================== --- linux-20181104-littlesur64-defconfig.orig/arch/mips/Kconfig +++ linux-20181104-littlesur64-defconfig/arch/mips/Kconfig @@ -805,6 +805,7 @@ config SIBYTE_LITTLESUR select SYS_SUPPORTS_BIG_ENDIAN select SYS_SUPPORTS_HIGHMEM select SYS_SUPPORTS_LITTLE_ENDIAN + select ZONE_DMA32 if 64BIT config SIBYTE_SENTOSA bool "Sibyte BCM91250E-Sentosa"