From patchwork Mon Dec 28 12:47:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352742 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp10016615ejs; Mon, 28 Dec 2020 08:11:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWrPXLmtfLD5ckdNMYSF2rkgmNVhSQS09cSiiwj0bYampEqmwvCc3fX68dLjMh0Wp+ZMd0 X-Received: by 2002:a05:6402:171a:: with SMTP id y26mr43727060edu.371.1609171908873; Mon, 28 Dec 2020 08:11:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609171908; cv=none; d=google.com; s=arc-20160816; b=QxEX8j4BCRH/NqxAHlA+rBotrFGdbGG4F860fiiceee/uWIuas8iqTtEJPmeKMZnpe lohAnPqhYfL76PypUcMHj4uIkcUWbq6ROKVVJK45MZUhBwDxWYl9w+9RaXZ0gpr1c/p9 9tbaQ0qy9wqapVAAGcMwrL1E1jHD6aAc8OFfOWJdrRlTQE8Hpxamm+yyWOdI+IGo4dHC fly9Kq8AnLxzgqL8B86/7tSQhSevgiXaYN+Wfdff5cVRJWb9zYcRsBg2KmlrtlxoRsKB mo6Lsa1XXkEbkXC+PjY8HUV9StklaBDOyrLaIBhc9HFbfJ16jbyqcPau65FOzqCZdhRA 1ggg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4BI4ohs7xlmc5itC1Kh48xoxGk3Yhkq9w59ZZty1bas=; b=HHhOUKoLH6HcG1vUgA73Q10jQlwg6XFurjEd1ARaFJycUVqd/tSgg+PaGCn1Amemnk unJJxyeWFRECcRLp3uyQhLUTl2SMszcGAhzAfOxmuAsfq9r6g/M6JjJHUtZ2Lpn4ZNNd z0Dgt4qco5uWhkm+y6YSEQqiyT/Z7jKWkC/jsB7gQNmZAKhCPQNtTrfHbim5GrV9mqLl 27W2ZKrgYfTuqhn8aSTiICfd7Fykfu7LCzUdZ1HlmQnlQuitTuZe9UaXnzFo2swZprp0 dJE2JYv61E8+V+7gDicDM4P7gw3e4Mq1ePJYO42PlVpl6CCM8fANAnpve+CLXAGWtHfl 9vjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B7CrZSSu; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 35si21593002edm.126.2020.12.28.08.11.48; Mon, 28 Dec 2020 08:11:48 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B7CrZSSu; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390223AbgL1QJH (ORCPT + 14 others); Mon, 28 Dec 2020 11:09:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:53524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388814AbgL1NY4 (ORCPT ); Mon, 28 Dec 2020 08:24:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BC39E206ED; Mon, 28 Dec 2020 13:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161856; bh=a3VtAI9EWvHTMsREjZvzqzchoZk68QqwDXfiu3G1nnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B7CrZSSu6JJLdySqmTVZ/1i1lSBh2WlTQkZ5+ZucOljE58Y6Lz5wZacmRNRmvKP3o SlvD/wEyG/qc/R9NvaXI2HUh7MdZkQJmS+3TrklbN4a4I3nnFS/6DLIOFFHddRd2mc UbesMTC1UbRo9fa/jQKHaiNEmqzWhOAve0gKANMM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John Wang , Joel Stanley , Sasha Levin Subject: [PATCH 4.19 105/346] ARM: dts: aspeed: s2600wf: Fix VGA memory region location Date: Mon, 28 Dec 2020 13:47:04 +0100 Message-Id: <20201228124924.859898132@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124919.745526410@linuxfoundation.org> References: <20201228124919.745526410@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Joel Stanley [ Upstream commit 9e1cc9679776f5b9e42481d392b1550753ebd084 ] The VGA memory region is always from the top of RAM. On this board, that is 0x80000000 + 0x20000000 - 0x01000000 = 0x9f000000. This was not an issue in practice as the region is "reserved" by the vendor's u-boot reducing the amount of available RAM, and the only user is the host VGA device poking at RAM over PCIe. That is, nothing from the ARM touches it. It is worth fixing as developers copy existing device trees when building their machines, and the XDMA driver does use the memory region from the ARM side. Fixes: c4043ecac34a ("ARM: dts: aspeed: Add S2600WF BMC Machine") Reported-by: John Wang Link: https://lore.kernel.org/r/20200922064234.163799-1-joel@jms.id.au Signed-off-by: Joel Stanley Signed-off-by: Sasha Levin --- arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts b/arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts index 22dade6393d06..d1dbe3b6ad5a7 100644 --- a/arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts +++ b/arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts @@ -22,9 +22,9 @@ #size-cells = <1>; ranges; - vga_memory: framebuffer@7f000000 { + vga_memory: framebuffer@9f000000 { no-map; - reg = <0x7f000000 0x01000000>; + reg = <0x9f000000 0x01000000>; /* 16M */ }; };