summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dc32e82)
This patch caused Windows 10 S4 resume failure.
Considering the similar changes are reverted from PciBus driver,
revert the patch from AtaAtapiPassThru as well.
Revert "MdeModulePkg/AtaAtapiPassThru: disable only BM-DMA at
ExitBootServices()"
This reverts commit
76fd5a660d704538a1b14a58d03a4eef9682b01c.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
- Disable Bus Master DMA on the device when exiting the boot services.\r
+ Disable the device (especially Bus Master DMA) when exiting the boot\r
+ services.\r
\r
@param[in] Event Event for which this notification function is being\r
called.\r
\r
@param[in] Event Event for which this notification function is being\r
called.\r
PciIo->Attributes (\r
PciIo,\r
EfiPciIoAttributeOperationDisable,\r
PciIo->Attributes (\r
PciIo,\r
EfiPciIoAttributeOperationDisable,\r
- Instance->EnabledPciAttributes & EFI_PCI_IO_ATTRIBUTE_BUS_MASTER,\r
+ Instance->EnabledPciAttributes,\r
LIST_ENTRY NonBlockingTaskList;\r
\r
//\r
LIST_ENTRY NonBlockingTaskList;\r
\r
//\r
- // For disabling Bus Master DMA on the device at ExitBootServices().\r
+ // For disabling the device (especially Bus Master DMA) at\r
+ // ExitBootServices().\r
//\r
EFI_EVENT ExitBootEvent;\r
} ATA_ATAPI_PASS_THRU_INSTANCE;\r
//\r
EFI_EVENT ExitBootEvent;\r
} ATA_ATAPI_PASS_THRU_INSTANCE;\r