From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:59791 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbaBUT4k (ORCPT ); Fri, 21 Feb 2014 14:56:40 -0500 Message-ID: <1393012403.6771.89.camel@pasglop> Subject: Re: pci-mvebu driver on km_kirkwood From: Benjamin Herrenschmidt To: Bjorn Helgaas Cc: Jason Gunthorpe , Thomas Petazzoni , Gerlando Falauto , "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Andrew Lunn , Sebastian Hesselbarth , Jason Cooper , "Longchamp, Valentin" , Ezequiel Garcia , Lior Amsalem , Gavin Shan Date: Sat, 22 Feb 2014 06:53:23 +1100 In-Reply-To: References: <20130711163220.2b3adf38@skate> <53039894.10905@keymile.com> <20140218212751.07c2aeb5@skate> <53046D98.6020801@keymile.com> <20140219102658.76eec91e@skate> <53047BBB.6040108@keymile.com> <20140219143749.65ff3155@skate> <20140220095518.7ca36f0a@skate> <20140221002438.GE19893@obsidianresearch.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org List-ID: On Fri, 2014-02-21 at 12:05 -0700, Bjorn Helgaas wrote: > But I wonder if powerpc has a similar issue here: I think EEH might > need, for example 16MB bridge window alignment. Since > pcibios_window_alignment() only affects the *starting* address, could > the core assign a 9MB window whose starting address is 16MB-aligned? > Could EEH deal with that? What if the PCI core assigned the space > right after the 9MB window to another device? Gavin, did you guys deal with that at all ? Are we aligning the size as well somewhat ? Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 From: benh@kernel.crashing.org (Benjamin Herrenschmidt) Date: Sat, 22 Feb 2014 06:53:23 +1100 Subject: pci-mvebu driver on km_kirkwood In-Reply-To: References: <20130711163220.2b3adf38@skate> <53039894.10905@keymile.com> <20140218212751.07c2aeb5@skate> <53046D98.6020801@keymile.com> <20140219102658.76eec91e@skate> <53047BBB.6040108@keymile.com> <20140219143749.65ff3155@skate> <20140220095518.7ca36f0a@skate> <20140221002438.GE19893@obsidianresearch.com> Message-ID: <1393012403.6771.89.camel@pasglop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 2014-02-21 at 12:05 -0700, Bjorn Helgaas wrote: > But I wonder if powerpc has a similar issue here: I think EEH might > need, for example 16MB bridge window alignment. Since > pcibios_window_alignment() only affects the *starting* address, could > the core assign a 9MB window whose starting address is 16MB-aligned? > Could EEH deal with that? What if the PCI core assigned the space > right after the 9MB window to another device? Gavin, did you guys deal with that at all ? Are we aligning the size as well somewhat ? Cheers, Ben.