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
This commit is contained in:
Alexander Boettcher 2022-06-03 14:17:46 +02:00 committed by Christian Helmuth
parent f4f2b456b6
commit b1195508ba

View File

@ -405,7 +405,7 @@ class Platform::Session_component : public Rpc_object<Session>
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;