Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038AbbFZUn5 (ORCPT ); Fri, 26 Jun 2015 16:43:57 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:60198 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131AbbFZUnt (ORCPT ); Fri, 26 Jun 2015 16:43:49 -0400 From: Arnd Bergmann To: Duc Dang Cc: linux-arm , Bjorn Helgaas , Catalin Marinas , Ian Campbell , Pawel Moll , Rob Herring , Mark Rutland , Kumar Gala , Will Deacon , "David S. Miller" , devicetree@vger.kernel.org, linux-pci@vger.kernel.org, patches , linux-kernel@vger.kernel.org, Tanmay Inamdar Subject: Re: [PATCH 1/1] pci: xgene: Enable huge outbound bar support Date: Fri, 26 Jun 2015 22:43:32 +0200 Message-ID: <1674778.6xGik39Z0J@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <46305464.n5SOjGAhJb@wuerfel> References: <1435280756-24455-1-git-send-email-dhdang@apm.com> <46305464.n5SOjGAhJb@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:inlrFgRigU+yqpMDcv7K2swnT9VNro7K/n2Wi/Eg+OpnqB+YcAa RZzUyJs+Q4YoNQQP89sNg+T6I5mYHG2PTJSZqUhYSmnqGQ31o86YYJA2ydxJAANP3GkHwbe ZCsYl3vffj3FfmzIRd905Z+3oVtumCE+eYcpYX4ttDlzrH00jXNMIWPZB2tOH9FKuD7Ircw y4WyEOPKqjXbeofMsSCGg== X-UI-Out-Filterresults: notjunk:1;V01:K0:FvSeuaIY+nA=:INOHpsCjBs+sw4pVCQSEzt JvsdXL0ItbarCQMtgu50gvwO8RbtF5bfInFESmkdC8XXk/SlU7tQdnUURtJPE0tm4TgLxMKf0 /xQtI1cdtkzC0PXlr6vYeCdTznUoiKJsVa5Jxzc3IO4dYpFqbgLo0j/1qDgaACXJLztU22gVM qMUVCXSEsZSuUqrbPeF8SNmlxewge6U+dOrqbktpnbLwHkgpawSYjYbGlzPyWJ377g2J12/fe 5HZ0zotuwAbwVnDpJkeTO7nXd02aqSl6qFGeec0Ylg5U1bAiFIswVjzsn11pYyRjqLsSPxYdK tUn48+dHecWzJZts3StOhHd390HeoQjlniLy3NhGa3kbHlWvZ8hYn3mSBBFsbPCPynisQG4b+ Ul6u1mbpZc2X5DIGPjMF8YSXRXBcoPau4SOzZULlsFr3vwqp4RsA0LK8FGQmP8FqWz5k0Jt0k Xj36x/kXUr5vOlrnlB5ZCi8LGEsv8LqS0l98WByl48M9Ud3Zp7gwLL8vifU4Gg6jS7Mi3oKJm lSdz/hDUF5Skp4WE0zgeiwYgNGafXxXDZchi7GyZ+zGKZVRUj9GGVDI6V6+DCd2eEcM238LjN m+PrFJJib5F6zncxhs4s9dIneix0FmxdKqVnmZ2PwhShS1iMRz3qy8eYrEGpYDFMnTbiU9Kn5 VnfXoD1CtxrU3PJzIr6GgDEivS7PhHdF6PppIJtqq+J+J8g== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 22 On Friday 26 June 2015 22:35:08 Arnd Bergmann wrote: > > > > > > Can you configure one of the two windows as prefetchable for improved performance? > > > > > The new huge window will be prefetchable. > > The DT marks it as non-prefetchable, so the kernel will now try to allocate > space for non-prefetchable BARs from this area, which is a bug. If the second > memory window is always prefetchable, you have to mark it accordingly in DT, > to prevent it from being used for normal 64 bit BARs. Forget what I wrote here, I just remembered that 64-bit BARs are by definition prefetchable. You should still mark the range accordingly in DT for correct operation, but it won't be used for non-prefetchable 64-bit BARs if you don't because they do not exist. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/