Page MenuHomeFreeBSD

Add to sysreg definition for coproc regs required for virtualization
ClosedPublic

Authored by mihai on Aug 3 2017, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 12, 4:34 AM
Unknown Object (File)
Feb 23 2024, 6:54 AM
Unknown Object (File)
Feb 23 2024, 6:54 AM
Unknown Object (File)
Feb 8 2024, 4:36 AM
Unknown Object (File)
Dec 26 2023, 3:20 PM
Unknown Object (File)
Dec 23 2023, 4:01 AM
Unknown Object (File)
Dec 22 2023, 6:39 PM
Unknown Object (File)
Dec 22 2023, 6:39 PM

Details

Summary

Add to sysreg definition for coproc regs required for virtualization

Diff Detail

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

Event Timeline

In the future can you please include full context (details on https://wiki.freebsd.org/Phabricator) e.g.

git diff -U999999 other-branch
svn diff --diff-cmd=diff -x -U999999

This looks good. I'm assuming the registers are correct.

This revision is now accepted and ready to land.Aug 3 2017, 5:17 PM

I checked the numbers and they look good.

mmel added inline comments.
sys/arm/include/sysreg.h
86 ↗(On Diff #31529)

Please, keep the list sorted - here and below.
And yes, the whole hyp. related block is misordered - It should be at the end of C0 section.

323 ↗(On Diff #31529)

I'm only curious here - why a '2' suffix and do you really need LPAE version of TTBR registers?

sys/arm/include/sysreg.h
323 ↗(On Diff #31529)

On hyp-mode LPAE is the only supported page table format.

sys/arm/include/sysreg.h
323 ↗(On Diff #31529)

It's 2 because is the 64bit version (2 registers). CP15_TTBR0/1 already exists for 32bits. I would have the same name. Please provide another naming convention if this is not ok.

mihai edited edge metadata.

Ordered entries. If they are not order, please provide the methodology of ordering them.

This revision now requires review to proceed.Aug 4 2017, 7:54 PM
mmel added inline comments.
sys/arm/include/sysreg.h
323 ↗(On Diff #31818)

Rather, I would prefer <foo>_LPAE or something like. But this is only my "soft" personal preference.

This revision is now accepted and ready to land.Aug 11 2017, 11:23 AM
This revision was automatically updated to reflect the committed changes.