From cba4e11d18b4cc1ddddd7c6ab66666079e3d8500 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 17 Aug 2016 15:13:24 +0300 Subject: [PATCH] 8445 uts: pci_bios_get_irq_routing() should check for BIOS --- arch/x86/kernel/platform/i86pc/os/pci_bios.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/platform/i86pc/os/pci_bios.c b/arch/x86/kernel/platform/i86pc/os/pci_bios.c index 9ee865c7d2..4c824c695a 100644 --- a/arch/x86/kernel/platform/i86pc/os/pci_bios.c +++ b/arch/x86/kernel/platform/i86pc/os/pci_bios.c @@ -76,6 +76,10 @@ pci_bios_get_irq_routing(pci_irq_route_t *routes, int nroutes, int *nneededp) if (nneededp) *nneededp = 0; + /* in UEFI system, there is no BIOS data */ + if (BOP_GETPROPLEN(bootops, "efi-systab") > 0) + return (0); + /* * Set up irq routing header with the size and address * of some useable low-memory data addresses. Initalize -- 2.11.4.GIT