From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de ([212.227.126.171]:52418 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759516Ab3BGXdW (ORCPT ); Thu, 7 Feb 2013 18:33:22 -0500 From: Arnd Bergmann To: Thomas Petazzoni Subject: Re: Giving special alignment/size constraints to the Linux PCI core? Date: Thu, 7 Feb 2013 23:33:11 +0000 Cc: Bjorn Helgaas , Jason Gunthorpe , Lior Amsalem , Andrew Lunn , "Russell King - ARM Linux" , Jason Cooper , Stephen Warren , linux-pci@vger.kernel.org, Thierry Reding , "Eran Ben-Avi" , Nadav Haklai , Maen Suleiman , Shadi Ammouri , Gregory Clement , Tawfik Bayouk , linux-arm-kernel@lists.infradead.org References: <20130130120344.GA29490@avionic-0098.mockup.avionic-design.de> <20130206175019.GA24248@obsidianresearch.com> <20130207165009.73b1f340@skate> In-Reply-To: <20130207165009.73b1f340@skate> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Message-Id: <201302072333.12010.arnd@arndb.de> Sender: linux-pci-owner@vger.kernel.org List-ID: On Thursday 07 February 2013, Thomas Petazzoni wrote: > I am unfortunately starting to believe that using the standard PCI > resource allocator is too complicated for our hardware, and that we > should maybe have a dedicated allocator. But I would really like to > avoid that if possible. I see this just as more evidence that the emulated P2P bridge approach is not the easiest solution and that it would be easier to go back to adding the ports separately and make it possible to have every port assign the BARs first and then set the resources based on the physical address of the window we pick for it. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 7 Feb 2013 23:33:11 +0000 Subject: Giving special alignment/size constraints to the Linux PCI core? In-Reply-To: <20130207165009.73b1f340@skate> References: <20130130120344.GA29490@avionic-0098.mockup.avionic-design.de> <20130206175019.GA24248@obsidianresearch.com> <20130207165009.73b1f340@skate> Message-ID: <201302072333.12010.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 07 February 2013, Thomas Petazzoni wrote: > I am unfortunately starting to believe that using the standard PCI > resource allocator is too complicated for our hardware, and that we > should maybe have a dedicated allocator. But I would really like to > avoid that if possible. I see this just as more evidence that the emulated P2P bridge approach is not the easiest solution and that it would be easier to go back to adding the ports separately and make it possible to have every port assign the BARs first and then set the resources based on the physical address of the window we pick for it. Arnd