From patchwork Mon Dec 28 12:45:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352731 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9845581jai; Mon, 28 Dec 2020 07:52:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJy020KmHcbff/QUyzcNWFPTs3ehSyKWTBL4ZSDVaOuhEg5/umxVqF7B0iFeeeJrv43CMPlP X-Received: by 2002:aa7:cf85:: with SMTP id z5mr43048457edx.274.1609170741811; Mon, 28 Dec 2020 07:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609170741; cv=none; d=google.com; s=arc-20160816; b=j5w2IP8sVIXIWmkB3Bx452n3EdyF7ix9yoc21+Q0nDbF+Re9NmUDWZUdAzosVyaATy PTwXeK3N32kqSazAcuFsyjSfOjhmEFnKPZF1KJ3jDuwdrFrCPZVY6/YQr4TpIdUHjsY1 UhvIRx0p2RviBgITVqvy3gsSlpQBhVuggXc1zvOzOcTyfVU5MaXmmDXCREiX6scc0ipp /ntF25Bg5H4Qv8cw+rsCsyVBxfBAnfVu1iPJk4XEaWFWgVdUWTjAmQF2O35LtCmLK3du ZRWfqMrVHZJ5xIViFVZSixBIRP+gGylgyWL+M3ujaRvtpRBqK/Jugk0N18ee1uV7+Wsr kaZg== 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=C5s5EK1FOaQ/x599mYJApKRqYY15Z4UJ1OfZ9AXEvxwe5CyQKrUe10FfYIy0Ng1oNd jP2cqqTfxCflQPJVxlzrU+2ms9N4hSpvAnx9gW+V5uyzY7cUIonj1isbbtSE4j8xUBK4 fW3Kt8ODMpQ/XEkvNMRgEBBIVOFmOJ35SytDJSl0HEMG1JycmGGp0b0/fUwl7JkWGU+1 agFFd14hhkn6gt4PHMrYNDCGcHosRhvnOXAE9PPIktML+yM4CcOG6E6kTOzXqrMXy4It bgV9eEnjSf46A42QVva4AtpHTrdfijTQU6XVVL0ClPQQg9BXj77WjppDVumZ+oDuCkzc JgyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZBz+AcTO; 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 bu15si18351543ejb.667.2020.12.28.07.52.21; Mon, 28 Dec 2020 07:52:21 -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=ZBz+AcTO; 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 S2403998AbgL1Nlj (ORCPT + 14 others); Mon, 28 Dec 2020 08:41:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:40824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391674AbgL1NlO (ORCPT ); Mon, 28 Dec 2020 08:41:14 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0EB6B21D94; Mon, 28 Dec 2020 13:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609162858; bh=a3VtAI9EWvHTMsREjZvzqzchoZk68QqwDXfiu3G1nnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZBz+AcTO8mI8C1uDfKJdbkn+zOzfdVFVeP56YQCCYIFWG+GpE7Ut3jNOTALeHt1vn XvUJBzR7tzAo4eUDk9zEOEQwvuQ0Ubk6oYOGu5Oc2xzsjsfq/DPvzLXT4fD4NSKcFa Bd1HziZHLbhpNgEcASdM1AriwQv44fvy+1fP3yuQ= 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 5.4 086/453] ARM: dts: aspeed: s2600wf: Fix VGA memory region location Date: Mon, 28 Dec 2020 13:45:22 +0100 Message-Id: <20201228124941.369267197@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124937.240114599@linuxfoundation.org> References: <20201228124937.240114599@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 */ }; };