audk/MdeModulePkg/Bus/Pci/PciBusDxe
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
..
ComponentName.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
ComponentName.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciBus.c MdeModulePkg/Pci: Add DeviceSecurity support. 2019-11-11 19:04:05 +08:00
PciBus.h MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability 2021-01-04 08:25:28 +00:00
PciBusDxe.inf MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability 2021-01-04 08:25:28 +00:00
PciBusDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciBusDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciCommand.c MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads 2019-06-11 18:51:06 +02:00
PciCommand.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciDeviceSupport.c MdeModulePkg: fix UninstallMultipleProtocolInterfaces() calls 2019-10-09 09:40:10 +02:00
PciDeviceSupport.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciDriverOverride.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciDriverOverride.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciEnumerator.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciEnumerator.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciEnumeratorSupport.c MdeModulePkg/PciBusDxe: Improve the flow of testing support attributes 2021-09-26 02:43:46 +00:00
PciEnumeratorSupport.h MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability 2021-01-04 08:25:28 +00:00
PciHotPlugSupport.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciHotPlugSupport.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciIo.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciIo.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciLib.c MdeModulePkg/PciBusDxe: Fix possible uninitialized use 2021-05-19 01:39:49 +00:00
PciLib.h MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability 2021-01-04 08:25:28 +00:00
PciOptionRomSupport.c MdeModulePkg PciBusDxe: Increase the width of data read during oprom shadow 2021-06-17 03:01:55 +00:00
PciOptionRomSupport.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciPowerManagement.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciPowerManagement.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciResourceSupport.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciResourceSupport.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciRomTable.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciRomTable.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00