Commit Graph
13 Commits
Author SHA1 Message Date
armando 80a7d826b5 fix(cache): fixed cache sync ops concurrent call issue
Closes https://github.com/espressif/esp-idf/issues/18023
2025-12-25 10:01:08 +08:00
armando 7a7b1d2707 feat(mmu): use cache freeze for mmap apis 2025-06-11 14:50:45 +08:00
armando 9dfbc9a59c fix(cache): fixed l2 cache suspended/frozen but l1cache triggers l2 writeback issue 2025-04-02 18:11:02 +08:00
armando 7948c53dde Revert "fix(cache): disable branch predictor when cache freeze"
This reverts commit 6bb78e4573.
2025-04-02 18:07:40 +08:00
armando 6bb78e4573 fix(cache): disable branch predictor when cache freeze 2025-03-26 18:59:37 +08:00
Jeroen Domburg df4195062d change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-30 16:02:03 +08:00
Armando 0df418facd change(cache): update to use heap cap malloc flags 2024-04-15 15:34:51 +08:00
Armando de70ed1c84 feat(cache): added cache_prefer_m/calloc 2024-03-26 18:03:15 +08:00
Armando 1f8f0a5285 feat(cache): added private API to get cache alignment requirements 2023-10-10 18:09:01 +08:00
Armando fc4b9d9507 refactor(esp_mm): reformat code with astyle_py 2 2023-10-09 15:29:31 +08:00
Armando e8813ddd1d feat(cache): added an helper API for cache-align-malloc 2023-09-22 14:19:41 +08:00
Armando 1ecd1e3bf0 esp_mm: fix dependency to esp_psram 2023-02-28 10:42:22 +08:00
Armando d6844051fc esp_mm: new virtual memory mapping apis via mmu 2023-02-07 20:23:52 +08:00