Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2262999ybl; Thu, 19 Dec 2019 10:38:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxeW1FeLbO08sNzzKER1OVaik66ORpkDl06xVTqlZIM+A6VyZnb//riZpcKlS4zSturV0qj X-Received: by 2002:a05:6830:1d59:: with SMTP id p25mr10544776oth.308.1576780687447; Thu, 19 Dec 2019 10:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576780687; cv=none; d=google.com; s=arc-20160816; b=KwqbxzHB8MsoT9FZmDfS41TAvT+x7mxJeRYnTJhOe/k4c+nONqgrC4LZtbsLkxM64Q IJ+P+1L1RCXsqjSbCBRwhWJWogdFYK1zuAZDU66pLYwbXZu5Bk58Dd4f1by8YkGxZIKC nZFyHUu4dx9Bi03inDtYq+hYmGjczxaypqjJBSQ7X/sTFDLbuth0kTZOf+Duy2wrSlBa yMAq8xS7O1bzT0lrqVnwVKIcG6yWQS/RIYIoDV1txRJcGT69QU5opLvh3O+F8OYa6z9W tmpuWTfpYGZ2af9xLK1imep2LLKh+bQT1mu0yFCJ9w0c8a7yqXUS+sKOVPge2Vv1GBte P2PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bnrznBIyCsmtJJpt7RJu7gAD4JHUvSxyVbnUw3L1QPc=; b=TZ44piva9GuwCCFsU7da3YIezNiBlyuwUJfGRAZYl2wLjr/YFSRiEchI1A2pIvGgX1 lwbIWTg+0iLD82hTl6zV001EndOQCYieA1TC/FFwBgPIDp/a1AxivIgO/+5WIS+CCb+p c2DjN9bCaxc2iYXkC2fhQUSZVljRAfZFvOSzNplFXNG40Nm/lMziC0Ox4GJn3sSCIuG3 fsYLAZocs7FneSXfSana9J/suK/HWfPr0wKZfgiSK6KQjBHm5P2xzaaJZV1MqaAlHMsT hRBI66bSOvmcmeXiG4dHG5pm2FaqPI5PDZF23QMKNOrJox6QnExM31O0yPXpUajMD69H NHmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lDXZdpDH; 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 k77si3531318oih.103.2019.12.19.10.37.54; Thu, 19 Dec 2019 10:38:07 -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; dkim=pass header.i=@kernel.org header.s=default header.b=lDXZdpDH; 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 S1727351AbfLSSfy (ORCPT + 99 others); Thu, 19 Dec 2019 13:35:54 -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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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