audk/MdeModulePkg/Bus/Pci
xueshengfeng 46b4606ba2 MdeModulePkg/PciBusDxe: Improve the flow of testing support attributes
https://bugzilla.tianocore.org/show_bug.cgi?id=3635

Currently, in order to test the supported attributes,
the PciTestSupportedAttribute() will set the command register
to 0x27 (EFI_PCI_COMMAND_IO_SPACE, EFI_PCI_COMMAND_MEMORY_SPACE,
EFI_PCI_COMMAND_BUS_MASTER, EFI_PCI_COMMAND_VGA_PALETTE_SNOOP) firstly,
and then read back to check whether these attributes are
set successfully in the device.
This will cause the other enabled bits
 (other than EFI_PCI_COMMAND_IO_SPACE,EFI_PCI_COMMAND_MEMORY_SPACE,
 EFI_PCI_COMMAND_BUS_MASTER,EFI_PCI_COMMAND_VGA_PALETTE_SNOOP)
 be cleared for a short of time
 This patch fixes this issue by keeping the origina
 enabled bits when setting 0x27.

Signed-off-by: xueshengfeng <xueshengfeng@byosoft.com.cn>
Reviewed-by: Ray <ray.ni@intel.com>
2021-09-26 02:43:46 +00:00
..
EhciDxe MdeModulePkg/EhciDxe: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
EhciPei MdeModulePkg/EhciPei: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
IdeBusPei MdeModulePkg: Remove BootInRecoveryMode PPI 2019-05-09 20:52:41 +08:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Fix various typos 2021-05-17 02:10:31 +00:00
NonDiscoverablePciDeviceDxe MdeModulePkg/NonDiscoverablePciDeviceDxe: Add NULL pointer check 2020-09-18 02:45:21 +00:00
NvmExpressDxe MdeModulePkg:Increase Nvme capacity display 2021-08-30 03:44:08 +00:00
NvmExpressPei MdeModulePkg/NvmExpressPei: Fix Opal S3 unlock issue 2019-10-30 08:17:49 +08:00
PciBusDxe MdeModulePkg/PciBusDxe: Improve the flow of testing support attributes 2021-09-26 02:43:46 +00:00
PciHostBridgeDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciSioSerialDxe MdeModulePkg/PciSioSerialDxe: Flush Tx before config change 2020-12-19 01:29:44 +00:00
SataControllerDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SdMmcPciHcDxe MdeModulePkg/SdMmcPciHcDxe: Fix PIO transfer mode 2020-03-05 01:51:59 +00:00
SdMmcPciHcPei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UfsPciHcDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UfsPciHcPei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UhciDxe MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
UhciPei MdeModulePkg/UhciPei: Initialize the variable RequestMap 2019-11-04 08:56:12 +08:00
XhciDxe MdeModulePkg/Xhci: Fix TRT when data length is 0 2021-06-02 07:55:57 +00:00
XhciPei MdeModulePkg/Xhci: Fix TRT when data length is 0 2021-06-02 07:55:57 +00:00