From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH 2/2] PCI: Add legacy firmware support for Cavium ThunderX host controller Date: Mon, 20 Mar 2017 12:02:41 +0100 Message-ID: <20170320110241.GG16822@rric.localdomain> References: <1489564155-3881-1-git-send-email-tn@semihalf.com> <1489564155-3881-3-git-send-email-tn@semihalf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1489564155-3881-3-git-send-email-tn@semihalf.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Bjorn Helgaas Cc: Lorenzo.Pieralisi@arm.com, Sunil.Goutham@cavium.com, rafael@kernel.org, Tomasz Nowicki , linu.cherian@cavium.com, linux-pci@vger.kernel.org, ddaney@caviumnetworks.com, geethasowjanya.akula@gmail.com, linux-acpi@vger.kernel.org, Vadim.Lomovtsev@caviumnetworks.com, linux-arm-kernel@lists.infradead.org List-Id: linux-acpi@vger.kernel.org On 15.03.17 08:49:15, Tomasz Nowicki wrote: > During early days of PCI quirks support ThunderX firmware did not provide > PNP0c02 node with PCI configuration space and PEM-specific register ranges. > This means that for legacy FW we are not reserving these resources and > cannot gather PEM-specific resources for further PEM initialization. > > In order to support already deployed legacy FW calculate PEM-specific ranges > and provide resources reservation as fallback scenario into PEM driver when > we could not gather PEM reg base from ACPI tables. > > Signed-off-by: Tomasz Nowicki > Signed-off-by: Vadim Lomovtsev Works with old and new firmware. Tested-by: Robert Richter Acked-by: Robert Richter -Robert