From patchwork Mon Dec 28 12:40:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352659 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9767012jai; Mon, 28 Dec 2020 06:01:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCj8B/LL225AR2YEe6QZ+DMZh2W2YrXHhioGaEJe+TdUinK1gtfDnUwcEDdEcbNY2uI9a4 X-Received: by 2002:adf:9cca:: with SMTP id h10mr51102789wre.77.1609164100268; Mon, 28 Dec 2020 06:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609164100; cv=none; d=google.com; s=arc-20160816; b=z8ATT5leUvWaYdrIzjd++23Y/sJJ1rD0lo0gyF/ULGfQEgUlhLT12y+GSPu9QeUu9Q C7c8mf0Wng9e7pF/2iyAJzJq9hUpHLo+s8mXVgowtk0CryPeXuezGPcKSQ+YuGmJ1aVB hZCNyIGlIBHy0Sv/ECnsV+28NXaxp63lY0JG4pXvbnmOjbBJB6C1xzdr2af9n0mMrROp JKRnvrWJf9iIPdV6UCbJQf2+2dynybkAnBMdKlx0Kf3pK9DN4eYDY6xZXvJX5FVwQra3 NgGeJNiWT9r4vOJbSxgRzYTDSBDrPCkimWcko/NsJdZsr6nTXdoq+sII0yfjSOPsFsIb HMpA== 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=gysAnXIGeECufERIxH931uw0wndol6+Nvq48o5leyyg=; b=aTtSBGPVK3kHQbWzl7T6ZmeaUvmyqFIvuGcnHJkPsiJuen+lGscQMQhYurYnz//Ahy Q3tX/mi42rAMsqFhh2z1x3/xwEjANPxn5fh2oaujJl5XA70FTM3KFCUxfsu94W+KYDm0 q3vDg91P9ztDjPXiKwQkLjjXwnox0Mn1O/JZVvifGdiYBEPgvl1XLR1uo7KVtelmo0os ojVxgaizQyujm/+lJWPxCTA4arzfOChA3UITbj7xj79H6v4pROQ7m2Fq6Nr3iuhzF0Mk M8/GHEhD81+mX30NUQtPuFbgMVdt1KO9JQmYf6Nf9UTB/pV/vQLj8o2amztjZn7qQxYs PKwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RP0bgb1r; 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 u24si18228703ejb.106.2020.12.28.06.01.40; Mon, 28 Dec 2020 06:01:40 -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=RP0bgb1r; 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 S2407978AbgL1OA1 (ORCPT + 14 others); Mon, 28 Dec 2020 09:00:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:34260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407939AbgL1OA1 (ORCPT ); Mon, 28 Dec 2020 09:00:27 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 37D3B208BA; Mon, 28 Dec 2020 13:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609163986; bh=a58iYTNaoZQ6Pi1U0ADfO+l0bypyoyXdCEEz0aVaPW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RP0bgb1rTYEOcko2EOlUQCbELeuPxSq7iiNsGfyah7FhqU39PEE4lTj1/4tGb52Ck JR1EwsRvd6OJkuhY469t0E1L8I9xPrk42yH2p6vkt4B+klfueF6HEkkOvLu8k5dlNj xvInk3TASRd2qIqYJbwDhmsPLUv7S7G3V1iGUpxM= 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.10 021/717] ARM: dts: aspeed: s2600wf: Fix VGA memory region location Date: Mon, 28 Dec 2020 13:40:19 +0100 Message-Id: <20201228125022.002687418@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@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 1deb30ec912cf..6e9baf3bba531 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 */ }; };