From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970851AbeCSTGO (ORCPT ); Mon, 19 Mar 2018 15:06:14 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:43874 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031749AbeCSS2i (ORCPT ); Mon, 19 Mar 2018 14:28:38 -0400 Date: Mon, 19 Mar 2018 14:28:31 -0400 (EDT) Message-Id: <20180319.142831.793002554436316260.davem@davemloft.net> To: helgaas@kernel.org Cc: khalid.aziz@oracle.com, sparclinux@vger.kernel.org, linux-pci@vger.kernel.org, yinghai@kernel.org, linux-kernel@vger.kernel.org, david.ahern@oracle.com, linux@iam.tj Subject: Re: [PATCH v1 0/2] PCI: Sparc 64-bit resource fixups From: David Miller In-Reply-To: <20180319171140.GA52750@bhelgaas-glaptop.roam.corp.google.com> References: <20180220233935.GE32228@bhelgaas-glaptop.roam.corp.google.com> <20180318.120734.1936832399192758981.davem@davemloft.net> <20180319171140.GA52750@bhelgaas-glaptop.roam.corp.google.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas Date: Mon, 19 Mar 2018 12:11:40 -0500 > I could have worded the changelog better. This is about reserving PCI > bus addresses 0xc0000-0xc7fff, not the VGA framebuffer at > 0xa0000-0xbffff. > > If I understand correctly, a VGA device will respond to the > framebuffer at 0xa0000-0xbffff, but the device itself will not respond > to the 0xc0000-0xc7fff range. I think the typical x86 PC arrangement > is that the BIOS reads the VGA option ROM using the normal relocatable > expansion ROM BAR and copies it into system memory at 0xc0000, so it > is in real physical memory. > > I don't know what sparc firmware does, but I'm assuming the VGA PCI > device behaves the same in that it wouldn't respond to 0xc0000 itself. The Sparc firmware doesn't copy the VGA option ROM. That physical address location 0xc0000 in system memory is just normal memory and most likely the kernel image itself is residing there. >> I could understand removing the System ROM resource altogether, that >> makes a lot of sense to me. > > Do you want me to remove the System ROM resource? If so, I'll > make a separate patch to remove it, followed by one that does > whatever we figure out is the right thing for the video ROM. Porbably it makes the most sense to remove both, given the above.