mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
The previous commit to add cache flushing for memory being changed from a cacheable memory to non-cacheable memory did not check if the new memory type would be marked as a valid mapping. Because of this, if the cacheability is changed on memory that has `EFI_MEMORY_RP` set, the flush be VA would still be invoked which would cause a synchronous data abort. Additionally, this commit removes flushing the cache if no attribute was provided by the caller. It have been observed that in some cases, including the core itself, the caller does not provide a cacheability attribute and this code will default to a unused (so device) index. To avoid unexpected behavior, we must ignore this scenario since it is already in err and this shouldn't be made worse. Signed-off-by: Chris Fernald <chfernal@microsoft.com> |
||
|---|---|---|
| .. | ||
| Drivers | ||
| Filesystem/SemihostFs | ||
| Include | ||
| Library | ||
| Universal/Smbios | ||
| ArmPkg.ci.yaml | ||
| ArmPkg.dec | ||
| ArmPkg.dsc | ||