Some platforms do not implement cache management operations. i.e DMA drivers seem to depend on the underlying CPU/cache functions to simply return if such functionality is not implemented. However this causes issue with CMO implementation which has an assert, causing flow to hang within debug environment. While it is not an issue in production environment, there is a recommendation to convert this assert in to a harmless logger message. Eventually platform/drivers need to have better guard for such functionality.
Signed-off-by: Dhaval Sharma <dha...@rivosinc.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Zhiguang Liu <zhiguang....@intel.com> Cc: Sunil V L <suni...@ventanamicro.com> Cc: Andrei Warkentin <andrei.warken...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Pedro Falcato <pedro.falc...@gmail.com> Cc: Yang Cheng <yangcheng.w...@foxmail.com> Code: https://github.com/tianocore/edk2/pull/5267 Dhaval (1): MdePkg/BaseCacheMaintenanceLib: RV64 replace asserts with logs MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113989): https://edk2.groups.io/g/devel/message/113989 Mute This Topic: https://groups.io/mt/103805229/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-