From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ia0-f177.google.com ([209.85.210.177]:48927 "EHLO mail-ia0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755679Ab3BEBgY (ORCPT ); Mon, 4 Feb 2013 20:36:24 -0500 Received: by mail-ia0-f177.google.com with SMTP id h8so8840678iaa.22 for ; Mon, 04 Feb 2013 17:36:24 -0800 (PST) Date: Mon, 4 Feb 2013 17:36:10 -0800 From: Stephen Hemminger To: Alex Williamson Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, David Woodhouse , iommu@lists.linux-foundation.org Subject: Re: PCI warning on boot 3.8.0-rc1 Message-ID: <20130204173610.18a31d24@nehalam.linuxnetplumber.net> In-Reply-To: <1360017684.11144.547.camel@bling.home> References: <20130116143853.339dd89b@nehalam.linuxnetplumber.net> <20130204103645.38ae2d5e@nehalam.linuxnetplumber.net> <1360009684.11144.539.camel@bling.home> <1360017684.11144.547.camel@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-pci-owner@vger.kernel.org List-ID: On Mon, 04 Feb 2013 15:41:24 -0700 Alex Williamson wrote: > + > + if (pci_is_pcie(parent) && > + (pci_pcie_type(parent) == PCI_EXP_TYPE_ROOT_PORT || > + pci_pcie_type(parent) == PCI_EXP_TYPE_DOWNSTREAM)) { > + pr_warn("WARNING: Your hardware is broken, device %s appears to be a\n Legacy PCI device attached directly to a PCIe device which is not a\n PCIe-to-PCI bridge. Per section 7.8 of the PCI Express 3.0 spec, the\n PCI express capability structure is required for PCI express device\nfunctions.\n", > + pci_name(pdev)); Too whiny! Two short lines seems to be more the enough. Users can't do anything about hardware not following spec. Put any outher stuff into comments.