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

Snapdragon 820 L1d cache size #8

Closed
psiha opened this issue Oct 8, 2018 · 4 comments
Closed

Snapdragon 820 L1d cache size #8

psiha opened this issue Oct 8, 2018 · 4 comments

Comments

@psiha
Copy link

psiha commented Oct 8, 2018

arm/cache.c sets l1d.size = 24kB for the said uarch which is a bit weird/non-power-of-2 size for a data cache plus it does not correspond to the value of 32kB specified in the first link ([1] http://www.anandtech.com/show/9837/snapdragon-820-preview/2) ...

@Maratyszcza
Copy link
Collaborator

There is no bug in cpuinfo here, the table from Anandtech is wrong

@psiha
Copy link
Author

psiha commented Oct 8, 2018

Do you have a more authoritative source? This also suggests a 32kB L1d cache http://www.cs.man.ac.uk/~nobren/files/NunoNobre_TasterProjectReport.pdf ...

@Maratyszcza
Copy link
Collaborator

Some Snapdragon 820/821 devices have cache leaf in sysfs, and they report parameters as in cpuinfo.

@psiha
Copy link
Author

psiha commented Oct 8, 2018

Interesting, thanks for the answer...adding this comment to the source as well will at least prevent future tickets :)
...and so utterly strange the Qualcomm does not simply provide such basic information about their hardware...

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

2 participants