public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-discuss] Need memory barriers in IoLib for AARCH64
@ 2020-07-10 12:49 Wasim Khan
  2020-07-12  5:17 ` Wasim Khan
  0 siblings, 1 reply; 7+ messages in thread
From: Wasim Khan @ 2020-07-10 12:49 UTC (permalink / raw)
  To: michael.d.kinney@intel.com, liming.gao@intel.com,
	devel@edk2.groups.io

Hello,

MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf:
IoLib library uses IoLibArm.c for AARCH64/ARM architecture and IoLib.c for other architectures. 

While IoLib.c already has memory barriers in MmioWrite functions, there barriers are missing in IoLibArm.c
Is there any reason for **not** adding these memory barriers in IoLibArm.c to guarantee that all MMIO operations
are serialized ?

I am facing some issues and I need to add memory barriers in IoLibArm.c for AARCH64 also .


Regards,
Wasim


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

end of thread, other threads:[~2020-07-18 20:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-10 12:49 [edk2-discuss] Need memory barriers in IoLib for AARCH64 Wasim Khan
2020-07-12  5:17 ` Wasim Khan
2020-07-12 16:54   ` [edk2-devel] " Andrew Fish
2020-07-13 15:31     ` Laszlo Ersek
2020-07-13 15:57       ` Andrew Fish
2020-07-17  6:43       ` Wasim Khan
2020-07-18 20:08         ` Andrew Fish

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