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

Bugs in MMIO #18

Open
PeterRugg opened this issue Feb 18, 2021 · 0 comments
Open

Bugs in MMIO #18

PeterRugg opened this issue Feb 18, 2021 · 0 comments

Comments

@PeterRugg
Copy link
Contributor

In our CHERI adaptation of Toooba, we identified a couple of bugs in MMIO that cause incorrect behaviour when accessing uncached devices. Unfortunately, the fixes aren't directly applicable to this repo because we are using our own AXI library, but I thought I'd report them here in case they trouble anybody else:

  • Instruction bytes go missing (e.g. from bootrom). (Fixed by CTSRD-CHERI@44e19af which should be applicable). Depending on alignment of fetches from uncached instruction memory, some bytes would be shifted out.
  • MMIO issues unaligned requests (Fixed by CTSRD-CHERI@cedb4c2 which isn't directly applicable). AXI flits had their widths hardwired to 8 bytes, even when accessing a small register within a memory mapped peripheral, causing unaligned requests that might confuse some peripherals.
louishobson pushed a commit to louishobson/Toooba that referenced this issue Dec 16, 2024
Using HPM information from one central struct
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

No branches or pull requests

1 participant