Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D$: support specifying the cache index when aliasing possible #2697

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

aswaterman
Copy link
Member

Since the same physical address can legally live in multiple places for
caches that support aliasing, we can expose this additional degree of
freedom. It is useful for decoupled accelerators whose memory addresses
have been converted up front. If they use the physical address directly,
then they'll often access the wrong set, causing an aliasing miss. If
they happen to know which alias is most likely, they can use this new
mechanism to choose it.

No change for the non-aliasing case.

Related issue:

Type of change: other enhancement

Impact: API addition (no impact on existing code)

Development Phase: implementation

Release Notes

Since the same physical address can legally live in multiple places for
caches that support aliasing, we can expose this additional degree of
freedom. It is useful for decoupled accelerators whose memory addresses
have been converted up front.  If they use the physical address directly,
then they'll often access the wrong set, causing an aliasing miss.  If
they happen to know which alias is most likely, they can use this new
mechanism to choose it.

No change for the non-aliasing case.
@aswaterman aswaterman merged commit 4074969 into master Nov 2, 2020
@aswaterman aswaterman deleted the dcache-explicit-idx branch November 2, 2020 20:51
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.

1 participant