Page MenuHomeFreeBSD

Identify emag 8180 CPU
ClosedPublic

Authored by tuexen on Aug 18 2019, 9:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 4 2024, 4:25 PM
Unknown Object (File)
Dec 22 2023, 11:39 PM
Unknown Object (File)
Dec 21 2023, 7:09 AM
Unknown Object (File)
Dec 16 2023, 1:58 PM
Unknown Object (File)
Dec 13 2023, 8:15 AM
Unknown Object (File)
Oct 20 2023, 11:11 AM
Unknown Object (File)
Oct 17 2023, 9:30 PM
Unknown Object (File)
Oct 4 2023, 12:30 PM
Subscribers

Details

Summary

Allow the emag 8180 CPU used in Ampere Computing systems to be identified. This is based on NetBSD as suggested in PR237055.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I tried a similar version of this change and my eMAG reports CPU 0: APM eMAG 8180 r3p2 affinity: 0 0

I used 'ampere' in the struct name and comments though.
https://github.com/emaste/freebsd/commit/d7bcf2058a7258fb89ef87f9e43604dec203cb3c

This revision is now accepted and ready to land.Aug 21 2019, 1:22 PM

Don't report APM and Ampere to be consistent with other entries. Also add comments to note that the CPU comes from Ampere even though using constants from Applied Micro.

This revision now requires review to proceed.Aug 26 2019, 1:18 PM

I tried a similar version of this change and my eMAG reports CPU 0: APM eMAG 8180 r3p2 affinity: 0 0

I used 'ampere' in the struct name and comments though.

I think not reporting APM and Ampere improves consistency. So I changed that. However, I left the apm in the structure names since it corresponds with the APM in the constant for the implementer constant and the implementer name. However, I added a comment to provide a hint that these CPUs are now managed by Ampere Computing.

https://github.com/emaste/freebsd/commit/d7bcf2058a7258fb89ef87f9e43604dec203cb3c

This revision is now accepted and ready to land.Aug 26 2019, 2:45 PM
This revision was automatically updated to reflect the committed changes.