From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47CC7C2D0C1 for ; Thu, 19 Dec 2019 19:13:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14093222C2 for ; Thu, 19 Dec 2019 19:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576782787; bh=wCr4oXlxYFh5iatZpY7G7s/BwOUP0VA8+9jnlrIjENg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=VpmSYtsVzuxdO/Kz/F7CqKYC6rZp/6nENixZi8HBy/kkEpi5sdWcCwUdig1egVSiA 8yYnqntbxmTnKmFOJ15nqcPQlJZalkuI88j12Aa0jaq5VqyEEeqb0crvfBARAyYxTx woVAMTLUsPOnLBcsoyh0kXL0+VEn7sunOS01+NDk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727346AbfLSSfx (ORCPT ); Thu, 19 Dec 2019 13:35:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:52618 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbfLSSfw (ORCPT ); Thu, 19 Dec 2019 13:35:52 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 88EAD24683; Thu, 19 Dec 2019 18:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576780552; bh=wCr4oXlxYFh5iatZpY7G7s/BwOUP0VA8+9jnlrIjENg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lDXZdpDHDmhGEFu41ftcQVUoauHytDAoNjEIYGm7QEewDxN50rNp1QM5OthVlLlCU eFdN43uUsY2/tdJcpZ3SpfV12681nDWxEs7/H6ElLe4znqZFAoIePV07Wkvcsrpj7Y 4vUySayIXz8hTbc/KlP7ucM8cDHzwtHiJPVGrRM8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Maciej W. Rozycki" , Paul Burton , Christoph Hellwig , Ralf Baechle , linux-mips@linux-mips.org, Sasha Levin Subject: [PATCH 4.4 020/162] MIPS: SiByte: Enable ZONE_DMA32 for LittleSur Date: Thu, 19 Dec 2019 19:32:08 +0100 Message-Id: <20191219183208.127758298@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191219183150.477687052@linuxfoundation.org> References: <20191219183150.477687052@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Maciej W. Rozycki [ Upstream commit 756d6d836dbfb04a5a486bc2ec89397aa4533737 ] 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. [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: Sasha Levin --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 422624ca01329..596cbda9cb3d3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -773,6 +773,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" -- 2.20.1