Return-path: Received: from mail-qy0-f174.google.com ([209.85.216.174]:59504 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757005Ab1DMXgs convert rfc822-to-8bit (ORCPT ); Wed, 13 Apr 2011 19:36:48 -0400 MIME-Version: 1.0 In-Reply-To: References: <1302634375-2378-1-git-send-email-zajec5@gmail.com> <20110413163113.GA24015@kroah.com> <1302726703.8015.1.camel@dev.znau.edu.ua> <1302727516.8015.9.camel@dev.znau.edu.ua> <1302729243.8479.1.camel@dev.znau.edu.ua> From: Jonas Gorski Date: Thu, 14 Apr 2011 01:36:27 +0200 Message-ID: Subject: Re: [RFC][PATCH V4] axi: add AXI bus driver To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: George Kashperko , Greg KH , linux-wireless@vger.kernel.org, "John W. Linville" , b43-dev@lists.infradead.org, =?UTF-8?Q?Michael_B=C3=BCsch?= , Larry Finger , Arend van Spriel , linux-arm-kernel@lists.infradead.org, Russell King , Arnd Bergmann , Andy Botting , linuxdriverproject , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 13 April 2011 23:19, Rafał Miłecki wrote: > 2011/4/13 George Kashperko : >>> I had no idea what you were referring to. We do not dig into PCIe >>> functions yet, so I believe for now we need this "if". >> You are already deep inside. Your host code drives pci function. > > But I don't use multiple PCIe functions, do not focus on that at all. I think what George meant is the following (please correct me if I understood you wrong) and has nothing to do with PCIe functions: The chipcommon and PCIe core registers seem to be always available on PCIe and no core switching is necessary for them. So as long as you only access the core registers of chipcommon, PCIe + one other core, you never need to do any switching (except for the initial switch to the other core) But If you need to access the agent registers you do have to do adapt the PCIe windows. (This seems to apply also to PCI cards with a PCI core revision >= 13, but this is probably only relevant for SSB - unless Arend says there are/were also PCI cards with AMBA AXI backplanes ;-). Jonas