Skip to content

Cortex-R Cache line size might be wrong #97513

@natto1784

Description

@natto1784

Describe the bug

Cortex-R5F Technical Reference Manual by Arm says DMINLINE is the Log2 of the minimum number of words in a cache line. However we see that it calculates the size based on number of halfwords instead:

dcache_line_size = 2 << dminline;

I think it is supposed to be

dcache_line_size = 4 << dminline; 

or am I missing something?

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

No response

Additional Context

dcache_line_size = 2 << dminline;

Metadata

Metadata

Assignees

Labels

area: ARMARM (32-bit) ArchitecturebugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions