Page MenuHomeFreeBSD

Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options
ClosedPublic

Authored by Sgalabov_gmail.com on Jan 26 2016, 10:41 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Dec 2, 5:35 AM
Unknown Object (File)
Mon, Nov 11, 6:04 PM
Unknown Object (File)
Nov 3 2024, 10:49 AM
Unknown Object (File)
Oct 5 2024, 2:55 PM
Unknown Object (File)
Oct 3 2024, 12:11 AM
Unknown Object (File)
Oct 2 2024, 10:05 PM
Unknown Object (File)
Oct 2 2024, 8:02 PM
Unknown Object (File)
Oct 2 2024, 8:39 AM

Details

Summary

This revision does the following renames:
CPU_MIPS24KC -> CPU_MIPS24K
CPU_MIPS74KC -> CPU_MIPS74K
CPU_MIPS1004KC -> CPU_MIPS1004K

It also adds the following new CPU_MIPSxxx options:
CPU_MIPS24KE, CPU_MIPS34K, CPU_MIPS1074K, CPU_INTERAPTIV, CPU_PROAPTIV

CPU_MIPSxxxxKC is limiting and possibly misleading as it implies the MIPSxxxxK CPU has no FPU.
It would be better if the CPUs are named after their standard functionalities only and the presence or absence of FPU can then be controlled via the CPU_HAVEFPU option.

I will send out another dependent revision that moves MIPS 32 r2 and r3 CPUs to use the EHB instruction for clearing hazards instead of NOP/SSNOP.

Diff Detail

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

Event Timeline

Sgalabov_gmail.com retitled this revision from to Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.
Sgalabov_gmail.com updated this object.
Sgalabov_gmail.com edited the test plan for this revision. (Show Details)
Sgalabov_gmail.com added a reviewer: MIPS.
Sgalabov_gmail.com set the repository for this revision to rS FreeBSD src repository - subversion.
Sgalabov_gmail.com added a project: MIPS.
imp edited edge metadata.
This revision is now accepted and ready to land.Jan 27 2016, 6:02 AM
Sgalabov_gmail.com edited edge metadata.

After discussion with imp@, removed the CPU_MIPS24KE option, as 24KE is not really different than 24K, apart from having DSP ASE, which can be detected dynamically via Config3 register.

This revision now requires review to proceed.Jan 27 2016, 7:47 AM

This fine by me; it reminds me that we never started using the mips24k pieces for those atheros SoC cores (all the ar71xx, ar91xx, ar933x, etc) that are actually mips24k. They're mips4k.

We can fix that later though!

I meant to talk to you about possibly moving the Atheros SoCs to MIPS24K, but then got distracted with other things :-)
Yeah, I guess we can move the SoCs later. I did that for the Ralink SoCs in sys/mips/ralink for now, will be using the new cpu options with the Ralink/Mediatek FDT stuff too.

This revision was automatically updated to reflect the committed changes.