MdeModulePkg/PciBus: Revert "Enable BM on P2P bridges on demand"
This reverts commit 5db417ed25
.
"MdeModulePkg/PciBusDxe: Enable Bus Master on P2P bridges on demand"
We met some compatibility issues when doing Windows S4 resume.
Reverting the BME disabling patches to fix the S4 resume issue.
Signed-off-by: Ruiyu Ni <Ruiyu.ni@intel.com>
Signed-off-by: Michael Turner <michael.turner@microsoft.com>
Cc: Michael D Kinney <Michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Supporting functions implementaion for PCI devices management.
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -711,12 +711,7 @@ StartPciDevicesOnBridge (
|
||||
0,
|
||||
&Supports
|
||||
);
|
||||
//
|
||||
// By default every bridge's IO and MMIO spaces are enabled.
|
||||
// Bridge's Bus Master will be enabled when any device behind it requests
|
||||
// to enable Bus Master.
|
||||
//
|
||||
Supports &= (UINT64) (EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY);
|
||||
Supports &= (UINT64)EFI_PCI_DEVICE_ENABLE;
|
||||
PciIoDevice->PciIo.Attributes (
|
||||
&(PciIoDevice->PciIo),
|
||||
EfiPciIoAttributeOperationEnable,
|
||||
@@ -768,12 +763,7 @@ StartPciDevicesOnBridge (
|
||||
0,
|
||||
&Supports
|
||||
);
|
||||
//
|
||||
// By default every bridge's IO and MMIO spaces are enabled.
|
||||
// Bridge's Bus Master will be enabled when any device behind it requests
|
||||
// to enable Bus Master.
|
||||
//
|
||||
Supports &= (UINT64) (EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY);
|
||||
Supports &= (UINT64)EFI_PCI_DEVICE_ENABLE;
|
||||
PciIoDevice->PciIo.Attributes (
|
||||
&(PciIoDevice->PciIo),
|
||||
EfiPciIoAttributeOperationEnable,
|
||||
|
Reference in New Issue
Block a user