From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:54837 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbcD2WD6 (ORCPT ); Fri, 29 Apr 2016 18:03:58 -0400 Subject: Re: [PATCH] arm64: Relocate screen_info.lfb_base on PCI BAR allocation To: Bjorn Helgaas References: <1461795744-28837-1-git-send-email-agraf@suse.de> <20160428162035.GB19785@localhost> <57223D46.7070102@suse.de> <20160428180641.GA25125@localhost> <57228317.1030808@suse.de> <20160429134126.GA949@localhost> <20160429200609.GA28261@localhost> <35998183-0322-49D4-91CD-4D441577C44F@linaro.org> <5723C956.4040907@suse.de> <20160429213751.GB5359@localhost> <5723D7AF.3080108@suse.de> Cc: Ard Biesheuvel , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-pci@vger.kernel.org, Lorenzo Pieralisi From: Alexander Graf Message-ID: <5723DA4B.5010501@suse.de> Date: Sat, 30 Apr 2016 00:03:55 +0200 MIME-Version: 1.0 In-Reply-To: <5723D7AF.3080108@suse.de> Content-Type: text/plain; charset=windows-1252 Sender: linux-pci-owner@vger.kernel.org List-ID: On 29.04.16 23:52, Alexander Graf wrote: > > > On 29.04.16 23:37, Bjorn Helgaas wrote: > > Can you point me to the code that does "read[ing] the BARs"? So far my > impression was that we don't even try to read out the current BAR values > from pci config space, but I can't claim I fully grasp the Linux pci > code quite yet. I should've probably read Lorenzos email more closely before - it contains the pointer. Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: agraf@suse.de (Alexander Graf) Date: Sat, 30 Apr 2016 00:03:55 +0200 Subject: [PATCH] arm64: Relocate screen_info.lfb_base on PCI BAR allocation In-Reply-To: <5723D7AF.3080108@suse.de> References: <1461795744-28837-1-git-send-email-agraf@suse.de> <20160428162035.GB19785@localhost> <57223D46.7070102@suse.de> <20160428180641.GA25125@localhost> <57228317.1030808@suse.de> <20160429134126.GA949@localhost> <20160429200609.GA28261@localhost> <35998183-0322-49D4-91CD-4D441577C44F@linaro.org> <5723C956.4040907@suse.de> <20160429213751.GB5359@localhost> <5723D7AF.3080108@suse.de> Message-ID: <5723DA4B.5010501@suse.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 29.04.16 23:52, Alexander Graf wrote: > > > On 29.04.16 23:37, Bjorn Helgaas wrote: > > Can you point me to the code that does "read[ing] the BARs"? So far my > impression was that we don't even try to read out the current BAR values > from pci config space, but I can't claim I fully grasp the Linux pci > code quite yet. I should've probably read Lorenzos email more closely before - it contains the pointer. Alex