From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:51110 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756925Ab3EVVN1 (ORCPT ); Wed, 22 May 2013 17:13:27 -0400 Message-ID: <1369257193.3870.23.camel@pasglop> Subject: Re: Resource assignment oddities From: Benjamin Herrenschmidt To: Yinghai Lu Cc: Bjorn Helgaas , Gavin Shan , "linux-pci@vger.kernel.org" Date: Thu, 23 May 2013 07:13:13 +1000 In-Reply-To: References: <1367712653.11982.19.camel@pasglop> <1367712932.11982.20.camel@pasglop> <1367732090.11982.38.camel@pasglop> <1367740336.11982.41.camel@pasglop> <51871088.4594420a.0ccc.7300SMTPIN_ADDED_BROKEN@mx.google.com> <518786a7.64bbec0a.58a0.1f6bSMTPIN_ADDED_BROKEN@mx.google.com> <1369255424.3870.18.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org List-ID: On Wed, 2013-05-22 at 14:00 -0700, Yinghai Lu wrote: > > The simpler thing to do would have been to do the entire thing in two > > separate passes, one for MMIO and one for IO, and skip the second one > > entirely if there's no IO at the host bridge level :-) > > that will need more changes. > > also how about hostbridge only has mmio pref 64bit? MMIO pref and non-pref are somewhat linked, I'm not saying you should separate them or change your design, but IO should have absolutely no impact. Anyway, that's how it should have been... probably too late to change. Ben.