From b1195508ba52467dada3c9e476f3a2ab4a372077 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Fri, 3 Jun 2022 14:17:46 +0200 Subject: [PATCH] platform_drv: avoid filtering of dev in ALL policy ACPICA needs access to the host bridge 0:0.0 on Intel, which is also accessed by the Intel display driver. Since for the Intel display driver the PCI device is specified in the policy explicitly, the PCI device is filtered out for the ACPICA driver which uses the policy "ALL". Issue #4532 --- .../os/src/drivers/platform/legacy/x86/pci_session_component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/src/drivers/platform/legacy/x86/pci_session_component.h b/repos/os/src/drivers/platform/legacy/x86/pci_session_component.h index 68a8f7ecba..c157edf06c 100644 --- a/repos/os/src/drivers/platform/legacy/x86/pci_session_component.h +++ b/repos/os/src/drivers/platform/legacy/x86/pci_session_component.h @@ -405,7 +405,7 @@ class Platform::Session_component : public Rpc_object return; /* if this bdf is used by some policy - deny */ - if (find_dev_in_policy(bdf)) + if (alias != "ALL" && find_dev_in_policy(bdf)) return; throw true;