Skip to content

mem: select HBMCtrl pseudo-channels from their address ranges - #10

Open
Basemism wants to merge 1 commit into
stagingfrom
staging-basem/hbmctrl-fixes
Open

mem: select HBMCtrl pseudo-channels from their address ranges#10
Basemism wants to merge 1 commit into
stagingfrom
staging-basem/hbmctrl-fixes

Conversation

@Basemism

@Basemism Basemism commented Sep 2, 2026

Copy link
Copy Markdown

HBMCtrl previously selected a pseudo-channel using address bit 6. That assumption breaks when the configured interleave granularity differs from a 64-byte cache line and can route requests, including atomics, to an interface that does not own their address.

Select the destination by querying each DRAM interface's address range and panic when neither interface owns the request. This makes pseudo-channel routing follow the ranges constructed by the memory configuration.

HBMCtrl previously selected a pseudo-channel using address bit 6. That
assumption breaks when the configured interleave granularity differs from a
64-byte cache line and can route requests, including atomics, to an interface
that does not own their address.

Select the destination by querying each DRAM interface's address range and
panic when neither interface owns the request. This makes pseudo-channel
routing follow the ranges constructed by the memory configuration.
@Basemism Basemism self-assigned this Sep 2, 2026
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