Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752205AbaLISWs (ORCPT ); Tue, 9 Dec 2014 13:22:48 -0500 Received: from mail-qg0-f44.google.com ([209.85.192.44]:48444 "EHLO mail-qg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbaLISWp convert rfc822-to-8bit (ORCPT ); Tue, 9 Dec 2014 13:22:45 -0500 MIME-Version: 1.0 In-Reply-To: <54873A45.3050009@gmail.com> References: <1418075552-26495-1-git-send-email-yinghai@kernel.org> <1418079372.13358.9.camel@kernel.crashing.org> <20141209001119.GA24661@shangw> <20141209022601.GA16207@richard> <54873A45.3050009@gmail.com> From: Bjorn Helgaas Date: Tue, 9 Dec 2014 11:22:24 -0700 Message-ID: Subject: Re: [PATCH] PCI: Clear bridge MEM_64 flag if one child does not support it To: =?UTF-8?Q?Marek_Kord=C3=ADk?= Cc: Yinghai Lu , Wei Yang , Alexey Voronkov , Gavin Shan , Benjamin Herrenschmidt , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 9, 2014 at 11:07 AM, Marek Kordík wrote: > On 12/09/2014 08:20 AM, Yinghai Lu wrote: >> >> On Mon, Dec 8, 2014 at 6:26 PM, Wei Yang >> wrote: >>> >>> On Tue, Dec 09, 2014 at 11:11:19AM +1100, Gavin Shan wrote: >>>> >>>> >>>> I'm going to give it a spin and Richard, could you please apply >>>> Yinghai's >>>> patch to see if your SRIOV code can work properly? >>>> >>> >>> I did a quick test on my machine. This patch doesn't affect the MMIO >>> allocation on out platform, so SRIOV works fine. >>> >>> I will spend more time to read the patch to get more understanding about >>> the >>> problem. >> >> >> Hi Marek, >> >> Can you boot following branch with "debug ignore_loglevel pci=realloc" >> on your setup? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git >> for-pci-allocate-fit-3.18 >> >> it has >> 8f74af9: PCI, x86: Allocate mmio near end of free range >> 1ff91c1: PCI: Don't allocate small resource in big free space. >> 108b43b: resources: Add allocate_resource_fit() >> b6a22f0: resources: Make find_resource could return just fit resource >> cf50e16: resources: Split out __allocate_resource() >> >> on top the v3.18, and it will allocate resource in fit way. >> >> Thanks >> >> Yinghai >> > Hi Yinghai, > > I have built and booted your branch and it works well. Do you want me to > attach some logs? > (I am new here and I have read http://www.tux.org/lkml/ and I don't want to > break some rules for attachment size) Please attach logs to the bugzilla and make their type "text/plain". That's the easiest to browse. Bjorn -- 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/