Hi All, Any updates on this patch? Thanks, From: Tuan Phan via groups.io When the range instruction cache invalidating not supported, the whole instruction cache should be invalidated instead. Signed-off-by: Tuan Phan <tp...@ventanamicro.com> --- MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c b/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c index 67a3387ff3c6..a744b2a6f889 100644 --- a/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c +++ b/MdePkg/Library/BaseCacheMaintenanceLib/RiscVCache.c @@ -76,7 +76,10 @@ InvalidateInstructionCacheRange ( IN UINTN Length ) { - DEBUG ((DEBUG_ERROR, "%a:RISC-V unsupported function.\n", __FUNCTION__)); + DEBUG ((DEBUG_WARN, + "%a:RISC-V unsupported function.\n" + "Invalidating the whole instruction cache instead.\n", __func__)); + InvalidateInstructionCache (); return Address; }
-- 2.25.1 -=-=-=-=-=-= Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100744): https://edk2.groups.io/g/devel/message/100744 Mute This Topic: https://groups.io/mt/97429987/7027451 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [tp...@ventanamicro.com] -=-=-=-=-=-= _._,_._,_
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100961) |
|
Mute This Topic
| New Topic _._,_._,_
|
- [edk2-devel] [PATCH] MdePkg/BaseCacheMaintenanceLi... Tuan Phan
- Re: [edk2-devel] [PATCH] MdePkg/BaseCacheMain... Sunil V L
- [edk2-devel] [PATCH v2] MdePkg/BaseCacheM... Tuan Phan
- Re: [edk2-devel] [PATCH v2] MdePkg/Ba... Sunil V L
- Re: [edk2-devel] [PATCH] MdePkg/BaseCacheMain... Tuan Phan
- 回复: [edk2-devel] [PATCH] MdePkg/BaseCache... gaoliming via groups.io
- Re: 回复: [edk2-devel] [PATCH] MdePkg/B... Sunil V L