linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pci, add FW_BUG warning to pci= kernel option
@ 2014-11-01 18:11 Prarit Bhargava
  2014-11-11  3:59 ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: Prarit Bhargava @ 2014-11-01 18:11 UTC (permalink / raw)
  To: linux-pci; +Cc: Prarit Bhargava, Myron Stowe

The kernel should boot PCI without the use of kernel parameters.  Display
a FW_BUG warning when pci= is used.

Cc: Myron Stowe <mstowe@redhat.com>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
---
 drivers/pci/pci.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 625a4ac..5172060b 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -4515,6 +4515,8 @@ static int __init pci_setup(char *str)
 		}
 		str = k;
 	}
+	add_taint(TAINT_FIRMWARE_WORKAROUND, LOCKDEP_STILL_OK);
+	pr_crit(FW_BUG "The PCI configuration has been overridden thorugh the use of pci=.  Please report the issue you are attempting to resolve to your hardware vendor.\n");
 	return 0;
 }
 early_param("pci", pci_setup);
-- 
1.7.9.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-18 14:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-01 18:11 [PATCH] pci, add FW_BUG warning to pci= kernel option Prarit Bhargava
2014-11-11  3:59 ` Bjorn Helgaas
2014-11-17 23:42   ` Bjorn Helgaas
2014-11-18 12:42     ` Prarit Bhargava
2014-11-18 14:00       ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).