public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fix a bug that prevents PMEM access
@ 2018-09-25  6:21 Ruiyu Ni
  2018-09-25  6:21 ` [PATCH v2 1/4] MdeModulePkg/PciHostBridge: Enhance boundary check in Io/Mem.Read/Write Ruiyu Ni
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ruiyu Ni @ 2018-09-25  6:21 UTC (permalink / raw)
  To: edk2-devel

The patch sets fix a bug in PciHostBridge driver that prevents PMEM access
sometimes. Additionally, it enhances the boundary check and add a new macro
to simplify the code.

V2: Patch 3/4 uses Resource as parameter instead of R and treat the parameter
              as a pointer.
    Patch 4/4 is a new patch suggested by Star to move declaration of mIoMmu to
              header file.

Ruiyu Ni (4):
  MdeModulePkg/PciHostBridge: Enhance boundary check in
    Io/Mem.Read/Write
  MdeModulePkg/PciHostBridge: Fix a bug that prevents PMEM access
  MdeModulePkg/PciHostBridge: Add RESOURCE_VALID() to simplify code
  MdeModulePkg/PciHostBridge: Move declaration of mIoMmu to header file

 .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c       |   4 +-
 .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.h       |   3 +
 .../Bus/Pci/PciHostBridgeDxe/PciRootBridge.h       |   1 -
 .../Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c     | 126 ++++++++++++---------
 4 files changed, 78 insertions(+), 56 deletions(-)

-- 
2.16.1.windows.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-09-25 12:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25  6:21 [PATCH v2 0/4] Fix a bug that prevents PMEM access Ruiyu Ni
2018-09-25  6:21 ` [PATCH v2 1/4] MdeModulePkg/PciHostBridge: Enhance boundary check in Io/Mem.Read/Write Ruiyu Ni
2018-09-25  6:21 ` [PATCH v2 2/4] MdeModulePkg/PciHostBridge: Fix a bug that prevents PMEM access Ruiyu Ni
2018-09-25  6:21 ` [PATCH v2 3/4] MdeModulePkg/PciHostBridge: Add RESOURCE_VALID() to simplify code Ruiyu Ni
2018-09-25  6:21 ` [PATCH v2 4/4] MdeModulePkg/PciHostBridge: Move declaration of mIoMmu to header file Ruiyu Ni
2018-09-25 10:43   ` Laszlo Ersek
2018-09-25 10:44   ` Laszlo Ersek
2018-09-25 12:12 ` [PATCH v2 0/4] Fix a bug that prevents PMEM access Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox