Skip to content

Conversation

earlephilhower
Copy link
Owner

Fixes #2537

While waiting for a working direct cache flush routine, try and force the cache to evict all PSRAM values by reading a bunch of flash addresses (which share the XIP cache). This hurts performance when PSRAM is not used, but is required for correctness until we have a working XIP flush.

Fixes #2537

While waiting for a working direct cache flush routine, try and force the
cache to evict all PSRAM values by reading a bunch of flash addresses (which
share the XIP cache).  This hurts performance when PSRAM is not used, but
is required for correctness until we have a working XIP flush.
@earlephilhower earlephilhower changed the title Workaround PSRAM cache invalid'm by reading flash Workaround PSRAM cache invalid'n by reading flash Oct 23, 2024
@earlephilhower earlephilhower merged commit 599c226 into master Oct 23, 2024
26 checks passed
@earlephilhower earlephilhower deleted the psramcacheflush branch October 23, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flash operations break PSRAM interface

1 participant