Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1314461yba; Tue, 2 Apr 2019 06:43:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqza3fYvOtVrdVBFmiKlJWriDDVn3N3Chz/45O+HMlYA4M1R0ZHPQzmauJm5/+izy/CPmdRO X-Received: by 2002:a17:902:e382:: with SMTP id ch2mr45252652plb.94.1554212591185; Tue, 02 Apr 2019 06:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554212591; cv=none; d=google.com; s=arc-20160816; b=bprUz4Yibw7rB+qQYZggn/LQJVtoTY03lXjb/8viVEc5Bz+aZ2XFqPdHllD5p6orGQ ZAPLtPG6M0Um4rX2tEo3xu5CuaRmJXF0pMc0cuLOBBLLgjxa//dKhdCBEG/aqzcAp+3/ h/ZbOk9nTpSe6YOcTdS6WpHyUA1i8oVIMNmaVKrVXVWbtjF6WMT6VNmU8+NRGok9tzQ9 UKCxf8BinAUXW4SdSx00aLZfR5YSyRncGtJw7Ozf7RLuYua2ypen4CWXk8K/cnu1Cnba pfcfQ5lAsFlOfDbwEstYtLXxpqTRFZOBwRj54TuQr/sTJgL7HV0WRDndNJYMmdiUhD7k qkig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=upwRs5MxwZkyMY/APLFotqdsc8Gci+5M6PCASb2uHX4=; b=UuUBTtn8BJv0fNzUTh+kt88QP44FdStDrS4sNMo2XXbdk5xB3pbxRZUvpcIWwtVS6t 71pudbd+Brne2u3KbVN3vJdPp2YiZcW41q14Z/KB+ffcKu+eiaBIhhRihmeVysjivk8N WbS4oN29J07NP7MY5KSqKM7jEJ2N/P1NgcJmqXFzu+OzgUVdSy3Ph+2rEk5m6cWVXjMO JBPmMk7g0eF4J83+nTRMXLarkYHPLKKetsCCO08n5C6Gr0FSsd/T5enHAVQMAE9dSO+w XII5ndJN6sMORIin7mCcbPGSC9D2IatlfLrSQbCFjZ0YNxF4zh+pz8ZHxTTs4RNBHo6f tlFw== 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 q4si11510896pfb.264.2019.04.02.06.42.55; Tue, 02 Apr 2019 06:43:11 -0700 (PDT) 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 S1731604AbfDBNkU (ORCPT + 99 others); Tue, 2 Apr 2019 09:40:20 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:43248 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731448AbfDBNkG (ORCPT ); Tue, 2 Apr 2019 09:40:06 -0400 Received: from [167.98.27.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hBJdu-0002mb-7Q; Tue, 02 Apr 2019 14:39:58 +0100 Received: from ben by deadeye with local (Exim 4.92) (envelope-from ) id 1hBJdt-0004r5-KX; Tue, 02 Apr 2019 14:39:57 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Ralf Baechle" , linux-mips@linux-mips.org, "Christoph Hellwig" , "Paul Burton" , "Maciej W. Rozycki" Date: Tue, 02 Apr 2019 14:38:27 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 09/99] MIPS: SiByte: Enable ZONE_DMA32 for LittleSur In-Reply-To: X-SA-Exim-Connect-IP: 167.98.27.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.65-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: "Maciej W. Rozycki" commit 756d6d836dbfb04a5a486bc2ec89397aa4533737 upstream. 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 Signed-off-by: Paul Burton Reviewed-by: Christoph Hellwig Patchwork: https://patchwork.linux-mips.org/patch/21107/ Fixes: cce335ae47e2 ("[MIPS] 64-bit Sibyte kernels need DMA32.") Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ben Hutchings --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -633,6 +633,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"